Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!im4u!milano!ghostwheel!ned From: ned@ghostwheel.UUCP Newsgroups: comp.sys.att,comp.editors Subject: Re: vi editor problem on UNIX-pc Message-ID: <114@ghostwheel.UUCP> Date: Thu, 19-Nov-87 18:05:48 EST Article-I.D.: ghostwhe.114 Posted: Thu Nov 19 18:05:48 1987 Date-Received: Sat, 21-Nov-87 17:14:21 EST References: <50@cjsa.UUCP> <113@ghostwheel.UUCP> Reply-To: ned@ghostwheel.aca.mcc.com.UUCP (Ned Nowotny) Organization: MCC Database Program, Austin, Texas Lines: 18 Keywords: vi editor unix-pc Xref: utgpu comp.sys.att:1578 comp.editors:17 In article <113@ghostwheel.UUCP> ned@ghostwheel.aca.mcc.com.UUCP (Ned Nowotny) writes: >In article <50@cjsa.UUCP> jeff@cjsa.UUCP (C. Jeffery Small) writes: >>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, ... > >Generally, if wrapmargin ("wm") is non-zero, a >join which results in a line of about the lengths you describe will be badly >mangled. Many of the characters from the "joined" line are lost. If >wrapmargin is zero, these problems do not seem to occur. My suspicion is that >this is a fairly widespread vi bug. Pardon my faulty memory. The problem I described occurs when "putting" (Pp) deleted or yanked text into a line when wrapmargin is non-zero. If the line created is longer than some amount, it becomes mangled. This is true of every implementation of vi that I have used, but I have not encountered the problem with joining lines. Ned Nowotny (ned@ghostwheel.aca.mcc.com.UUCP)