Vi bug: saves too often
Pat Myrto
pat at rwing.UUCP
Mon Apr 3 06:27:02 AEST 1989
In article <10671 at stb.UUCP>, michael at stb.UUCP (Michael) writes:
> Does anyone have a way to stop vi from saving a file if you use a shell
> escape or if you type :n?
The reason vi is behaving as you describe is because you have the
autowrite feature on. In the .kshrc file a line sets EXINIT to
'set ai aw sm' or there is a similar line in your .exrc file. You
simply need to remove the 'aw' from that line, or from a 'set' command
in the .exrc file if one is used. Or you can issue from within vi the
command 'set noaw' if you simply want to turn the feature off for the
one editing session. Hope this helps.
--
Pat Myrto @ Seattle, WA
UUCP: {backbones} ...!uunet!nwnexus!happym!rwing!pat
"Travelling unarmed is like boating without a life jacket"
More information about the Unix-pc.general
mailing list