Xref: utzoo comp.sys.att:7572 unix-pc.general:3728 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!att!cbnewsc!psfales From: psfales@cbnewsc.ATT.COM (Peter Fales) Newsgroups: comp.sys.att,unix-pc.general Subject: Re: vi missing commands on 3b1 Keywords: vi 3b1 Message-ID: <3192@cbnewsc.ATT.COM> Date: 14 Sep 89 21:23:36 GMT References: <15580@duke.cs.duke.edu> Distribution: usa Organization: AT&T Bell Laboratories Lines: 33 In article <15580@duke.cs.duke.edu>, pusateri@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@att.com work: (312) 979-8031