Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Dan.Pop@cern.ch (Dan Pop)
Subject: Re: vi keyoard mappings
Date: 1997/06/17	[thread overview]
Message-ID: <danpop.866571257@news.cern.ch> (raw)
In-Reply-To: 33A5857D.23B4C2F9@uccs.jpl.nasa.gov


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



      reply	other threads:[~1997-06-17  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-16  4:00 vi keyoard mappings Frank Maritato
1997-06-17  4:00 ` Dan Pop [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox