[net.unix-wizards] small bug in vi

terryl (01/11/83)

     Actually, it's a little more subtle than was reported (and yes it is a bug
because vi does not write the buffer back out, so the file does stay the same).
The subtlety is that it is the action of deleting the last line in the file
that changes vi's idea of if the file was modified or not. The following
sequence of commands produces the same results (this being in ex command mode):

		1,$-1d
		1d (or $d, etc.)

     If one then quits the editor without writing the file out, ex/vi will let
you do that. Very strange indeed!!!!!


				Terry Laskodi
				     of
				Tektronix

porges (04/07/83)

#R:wjh12:-19400:inmet:10300001:000:270
inmet!porges    Apr  5 12:17:00 1983

	Another way to suppress csh's prompt when it's not a login shell
is to put your "set prompt" in .login, not in .cshrc.   This worked for us.

					-- Don Porges
					...harpo!inmet!porges
					...hplabs!sri-unix!cca!ima!inmet!porges
					...yale-comix!ima!inmet!porges