I've seen a similar problem running vi under SunOS 4.1. (SunOS 4.1 is shipped with some System-V version of vi). The display of lines gets scrambled, the file isn't actually changed, ctrl-L redraws the screen to exactly the same confused state, but strangely enough, ctrl-G will fix the display. -- Felix Lee flee at cs.psu.edu