From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e40ee44f35c4bd16 X-Google-Attributes: gidfee84,public From: Dan.Pop@cern.ch (Dan Pop) Subject: Re: vi keyoard mappings Date: 1997/06/17 Message-ID: #1/1 X-Deja-AN: 249118975 Sender: news@news.cern.ch (USENET News System) X-Nntp-Posting-Host: ues5.cern.ch References: <33A5857D.23B4C2F9@uccs.jpl.nasa.gov> Organization: CERN European Lab for Particle Physics Newsgroups: comp.unix.osf.osf1 In <33A5857D.23B4C2F9@uccs.jpl.nasa.gov> Frank Maritato 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