larson@c3.lanl.gov (Theodore W. Larson) (08/30/90)
Earlier today, I was editing a file in vi and after a great deal of modification, I decided it was time to save and then compile. So, I went to exit vi in the usual manner by typing :x This would simply save my file and exit. Unfortunatly, this time I accidentally typed :X and it asked for an encryption key. Naturally, not knowing what this ment, I hit escape, and then typed :x and saved and exited my file. Imagine my suprise when I went to compile and realized my file was now ecrypted in some strange format! So, now I have lost about three days of work and around 2,000 lines of new code. HOW DO I UNENCRYPT MY FILE??!?!? All the documentation I have on vi and ex says NOTHING about this crummy feature. I called Sun Microsystems because I am using a Sun-4 workstation, and they were no help at all. They couldn't figure out who to route me to that would know. Do you know?!?!?!? I would be most grateful if you could tell me what to do. - Ted (larson@lanl.gov) 505-665-4170
gerard@Bull.NL (GerardJan Vinkesteyn) (08/31/90)
In article <61556@lanl.gov>, larson@c3.lanl.gov (Theodore W. Larson) writes: > > ... So, now I have lost about three days of work and around > 2,000 lines of new code. HOW DO I UNENCRYPT MY FILE??!?!? Vi, in it's reagan distribution, so with encrypt, can be called with as 'vi -x file' That should prompt you with something like "Key:" Also there should be a program called "crypt" on your machine, type "crypt <infputfile" and that also prompts you with "Key:". Try type ESC, or better ^V^[, and you'll have your file back. -- Gerard Jan Vinkesteyn Bull Netherlands Internet: gerard@bull.nl Hoogoorddreef 66-68 Uucp: nlbull!gerard 1101 BE Amsterdam # name change because of French Connection... s/gertjan/gerard/