vi -x encryption bug

flint at gistdev.UUCP flint at gistdev.UUCP
Sat May 20 04:21:00 AEST 1989


I believe this represents a bug in vi:

Create a normal ascii text file with vi.

Enter it with "vi -x file" on the un-encrypted file.

Use ! to run a command on part of the file and it works fine: the command
invoked by !  is fed un-encrypted data.  Save the file so that now it is
encrypted. 

Now do a "vi -x file" on the encrypted file, and try to use !  again: the
command invoked with !  is fed encrypted data, and the returned result is
garbage.  What gets fed to the !  command ought to always be unencrypted
information. 



More information about the Comp.bugs.sys5 mailing list