[comp.bugs.sys5] vi -x encryption bug

flint@gistdev.UUCP (05/20/89)

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.