On Mon, 2006-11-27 at 13:53 +0000, Timothy Murphy wrote: > > If you want something really simple, there is: > > vi -x filename > > It will prompt for the encryption key and keep the file > > copy encrypted. > > I actually use this for some information, > but I've often wondered if there is any way of un-encrypting the file? > > I know that one can _see_ the file OK after giving the key, > but I don't know what I would do if a new version of vim came out > which did not work with -x ... Funny you should mention that. On my FC5 box: # vi -x VIM - Vi IMproved 7.0 (2006 May 7, compiled Jul 25 2006 10:55:33) Unknown option argument: "-x" More info with: "vim -h" I mostly use Centos... In the old days, the encryption was compatible with the command line tool, 'crypt', but that seems to be missing too. -- Les Mikesell lesmikesell@xxxxxxxxx