🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #327

A new problem with vi

#327
From: naiman
Date: Tue, 13 Nov 1984 17:36
28 lines
1729 bytes
<yum, yum>

I noticed a problem with vi which I haven't seen mentioned before.
I'm running System V release two on a 3B-20S, although I've seen the
problem with release one.  The version of vi is 3.9 2/9/83.

The problem occurs when you type <CTRL>^ to get to an alternate file
when there is no alternate file.  Vi will put the text from the last line
of your file on the line your cursor is sitting and will usually
not execute the undo command correctly.  I happened across this
when I had not type :n for the next file yet and typed <CTRL>^ to get
to it.  To repeat the bug input the following commands :

vi /tmp/some_file	# It has to be writable by you.
igarbage		# The i is to put you in input mode.
more garbage		# Make sure to press <RETURN> after this line
			# so your bottom line of text is empty.
<ESC>H<CTRL>^		# Go out of input mode, move to the top of
			# your file and try to go to the alternate file.

If you have the bug, a blank line should appear on the first line.
The bug is not in vi's open mode.

Any ideas ?

-- 
==> Ephrayim J. Naiman @ AT&T Information Systems Laboratories (201) 576-6259
Paths: [ihnp4, allegra, hogpc, maxvax, cbosgd, lzmi, ...]!pegasus!naiman
Technical Details
Message-ID: <1906@pegasus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!hogpc!pegasus!naiman

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site pegasus.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!hogpc!pegasus!naiman
From: naiman@pegasus.UUCP
Newsgroups: net.bugs
Subject: A new problem with vi
Message-ID: <1906@pegasus.UUCP>
Date: Tue, 13-Nov-84 12:36:59 EST
Article-I.D.: pegasus.1906
Posted: Tue Nov 13 12:36:59 1984
Date-Received: Wed, 14-Nov-84 04:57:00 EST
Organization: AT&T Information Systems, Lincroft NJ
Lines: 28