vi missing commands on 3b1

Peter Fales psfales at cbnewsc.ATT.COM
Fri Sep 15 07:23:36 AEST 1989


In article <15580 at duke.cs.duke.edu>, pusateri at romeo.cs.duke.edu (Thomas J. Pusateri) writes:
> Does anyone know why ctrl-^ doesn't work with the unix-pc 3.51 version of vi?
> Once you specify an alternate file to edit, it is supposed to switch back
> and forth between the two files. It works fine on every other System V and
> BSD version of vi I have ever used, but for some reason it has been
> disabled on the unix-pc.

I believe the problem here is not vi, but the way that characters are mapped
to the keyboard.  Holding down shift, control, and the "6" key does not
send a ctrl-^ character.  IMHO this is wrong, however 
I have spoken to the person at AT&T who does the kernel updates and he 
doesn't want to make a change here because the current keycodes for 
ctrl-shift-^ and ctrl-shift-_ are documented.  With the stock kernel, 
there is not even a way to generate the characters with ASCII values
0x1e or 0x1f from the keyboard.  The "fixdisk" currently
under development will be able to generate these codes from the keyboard
using a different key combination (such as ctrl-period). 
As an alternative, you can run the  keyfix.c program posted by Michael 
Ditto some time back.

> Also I have noticed that I cannot directly enter a '@' character on the
> unix-pc version of vi. I have to enter a ^V first and then the '@ character.
> Who's been adding features (?) to vi?

Have you changed your "kill" character?  The default unix line kill 
character is @ and if you haven't changed it using "stty" vi will use
it for the same purpose.

-- 
Peter Fales			AT&T, Room 5B-420
				2000 N. Naperville Rd.
UUCP:	...att!peter.fales	Naperville, IL 60566
Domain: peter.fales at att.com	work:	(312) 979-8031



More information about the Comp.sys.att mailing list