Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

X Menu Item

Status
Not open for further replies.

AHinMaine

ISP
Nov 27, 2002
264
US
I was just wondering if anyone had a more clever way of doing this.

I keep a file of notes encrypted and I open the file like this:


Code:
aterm -bg black -fg white -fn fixed -g 70x20+837+728 -title notes -name notesterm -tr -trsb -e ~/stuff/notes.sh

Creates a little window down in the corner of my screen that prompts for my pgp password after running this:

notes.sh:
Code:
#!/bin/sh

cd ~/stuff
pgp notes.pgp
if [ -f notes ] ; then
        rm notes.pgp
        gvim -f -geometry 87x53+407+140 notes
        pgp -ew notes [i]{snip myuserid}[/i]

fi
This leaves the 'password' window open until I close out of gvim.

Just wondering if anyone had any more stylish ways of using pgp with a gui. --
Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top