Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!deimos.cis.ksu.edu!uxc!uxc.cso.uiuc.edu!gistdev!flint From: flint@gistdev.UUCP Newsgroups: comp.bugs.sys5 Subject: vi -x encryption bug Message-ID: <7400004@gistdev> Date: 19 May 89 18:21:00 GMT Lines: 15 Nf-ID: #N:gistdev:7400004:000:531 Nf-From: gistdev.UUCP!flint May 19 13:21:00 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.