Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!hsi!cjsa!jeff From: jeff@cjsa.UUCP (C. Jeffery Small) Newsgroups: comp.sys.att,comp.editors Subject: vi editor problem on UNIX-pc Message-ID: <50@cjsa.UUCP> Date: Mon, 16-Nov-87 17:10:48 EST Article-I.D.: cjsa.50 Posted: Mon Nov 16 17:10:48 1987 Date-Received: Wed, 18-Nov-87 04:32:59 EST Organization: C. Jeffery Small and Associates - New Haven, CT Lines: 31 Keywords: vi editor unix-pc Xref: mnetor comp.sys.att:1778 comp.editors:12 I have had an annoying problem with vi on my 3b1 starting with Version 3.5 of the OS and continuing with 3.51. (I never noticed the problem back under Version 3.0). Occasionally, when I am editing a file with long lines (say 130 cols or more) or when I perform a join (J) of two lines to create a long line, vi will get very confused and loose track of its screen representation. The cursor will appear in one spot but vi thinks it is in another location or, at other times, the long lines will wrap around but the wrapped portion will be mangled in mysterious ways. This is very troublesome since you will delete one or more lines only to find that something else has disappeared. A ^L will repaint the screen correctly, but as soon as you scroll, vi gets confused once again. The really annoying part of this is that I can't make vi repeat this odd behavior in a uniform fashion. Sometimes it works just fine with a file of long lines - other times it acts up. This problem has occurred on more than one machine, so I don't believe that it is a hardware problem. This is occurring on the console with TERM always set to s4. I have never noticed a problem with lines which wrap around just a little (say 85-95 columns) and I have no explanation for this! I know that this is a little too "loose" of a problem to expect someone to track down the cause. However, has anyone else experienced any similar problems on their 3B1/unix-pc machines? -- Jeffery Small (203) 776-2000 UUCP: uunet!---\ C. Jeffery Small and Associates ihnp4!--- hsi!cjsa!jeff 123 York Street, New Haven, CT 06511 hao!noao!---/