* vi keyoard mappings
@ 1997-06-16 4:00 Frank Maritato
1997-06-17 4:00 ` Dan Pop
0 siblings, 1 reply; 2+ messages in thread
From: Frank Maritato @ 1997-06-16 4:00 UTC (permalink / raw)
Hey OSF1 and vi gurus--
My keyboard generates a "^?" when I hit the backspace key. Now, on
the
terminal I can type "stty erase ^?" to generate the erase action, but in
the vi editor
I still get a "^?". Is there any way I can map "^?" to "^H" in vi? (is
there a
vi newsgroup somewhere?)
Thanks in advance!
--
**************************************************************
Frank Maritato, Jr. Jet Propusion Laboratory
frank@uccs.jpl.nasa.gov 4800 Oak Grove Drive
Office: (818) 306-6109 mailstop 525-3632
FAX: (818) 306-6818 Pasadena, CA 91109-8099
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: vi keyoard mappings
1997-06-16 4:00 vi keyoard mappings Frank Maritato
@ 1997-06-17 4:00 ` Dan Pop
0 siblings, 0 replies; 2+ messages in thread
From: Dan Pop @ 1997-06-17 4:00 UTC (permalink / raw)
In <33A5857D.23B4C2F9@uccs.jpl.nasa.gov> Frank Maritato <frank@uccs.jpl.nasa.gov> writes:
> My keyboard generates a "^?" when I hit the backspace key.
This is because your keyboard has no backspace key. That is the delete
key.
>Now, on the
>terminal I can type "stty erase ^?" to generate the erase action, but in
>the vi editor
>I still get a "^?". Is there any way I can map "^?" to "^H" in vi?
If you do it properly at the shell level, i.e.
stty erase ^\?
or
stty erase '^?'
vi will "understand" it and no special setting is required.
If you're in an X environment (workstation or X terminal), you can
remap the delete key to be the backspace key. Use xmodmap or the user
friendly interface, dxkeycaps.
Dan
--
Dan Pop
CERN, IT Division
Email: Dan.Pop@cern.ch
Mail: CERN - PPE, Bat. 31 1-014, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-06-17 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-16 4:00 vi keyoard mappings Frank Maritato
1997-06-17 4:00 ` Dan Pop
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox