Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!stanonik@nprdc.arpa From: stanonik@nprdc.arpa (Ron Stanonik) Newsgroups: comp.unix.wizards Subject: vi bug? Message-ID: <939@brl-adm.ARPA> Date: Wed, 19-Nov-86 12:40:14 EST Article-I.D.: brl-adm.939 Posted: Wed Nov 19 12:40:14 1986 Date-Received: Wed, 19-Nov-86 21:43:25 EST Sender: news@brl-adm.ARPA Lines: 32 One of our users pointed out a problem with vi (we're running 4.2bsd on a vax 780, but the problem seems to also occur on suns running release 3 and ats running ibm xenix 2.0). His note is pretty clear. Any fixes/ideas? Thanks, Ron Stanonik stanonik@nprdc.arpa From: trejo (Len Trejo) Date: 18 November 1986 0844-PST (Tuesday) To: stanonik Subject: A problem with vi This is a file that will serve to demonstrate a problem I'm having with the vi editor. The problem is a failure of vi to properly "put" a large (half a line or so) chunk of text into another line when two conditions exist: 1) The wrapmargin is set to some non-zero value (i.e. 5 or 10); 2) The put is done near the end of the line (i.e., the inserted text will cross the wrapmargin). Here is a prescription to demonstrate the problem. Down below is some text to be yanked and then put elsewhere. First, set the wrapmargin from command mode by typing ':se wm=10'. Then yank the text below and put it at the target location on this line, which is marked with a capital t: .........T You can do this by moving the cursor to the text below and typing 'y$' from command mode then moving the cursor to the target location (T) and typing 'P' from command mode. When I do this the "put" loses many characters and then opens a new line below the target line and puts some text there. It's really very messy because it can't be completely undone with the 'undo' command. Please let me know if this occurs for you also. Len