From: ctwilson@rock.concert.net (Charles T Wilson -- Personal Account) Subject: Re: Remapping backspace as del in X11 Date: 10 Sep 1993 02:22:55 GMT
In article <26lj9p$vj2@msuinfo.cl.msu.edu> bilan@cps.msu.edu (Thomas J Bilan) writes:
>Does anyone know how I can remap the backspace key as
>the delete key in an xterm window?
>
>My TERMCAP variable is = vs but I don't know what entries I have to
>change in /etc/termcap to get it to work.
Not really sure (not a termcap expert ), but a workaround for now is
issuing the command:
stty erase [hit the backspace or a del key here if interactive]
or
stty erase '?'
in a file that you execute.
I had the same problem in XFree86 1.2. It's the kind of thing that
prompts one to buy a book on termcaps which I haven't needed to use
yet because XFree 1.3 fixed that (uses del instead of control-h).
The only reference I can find in that book for 'vs' (for visual start)
says it's for cursor intensity; when visual mode (vi) was added to ex
(the real name of this editor), this mode has added to termcaps:
"makes the cursor very visible", such as a flashing block instead of
an underline. The def to look for is 'bs' which represents ^H. To
use something else, bc= capability must be used. I'm not really sure
what to make of the rest...sorry. This is one of the first good looks
I've had at this book. It's one of the Nutshell series and looks pretty
good.
-- /-----------------------------------------------------------------------\ | Tom Wilson | "I can't complain, but sometimes | | ctwilson@rock.concert.net | I still do." | | | -Joe Walsh |