Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 1995 14:42:30 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        terry@cs.weber.edu (Terry Lambert)
Cc:        current@FreeBSD.org
Subject:   Re: bin/407: Odd tset -I behaviour, termcap says xterm kb=^H
Message-ID:  <9505151842.AA18796@halloran-eldar.lcs.mit.edu>
In-Reply-To: <9505151809.AA10141@cs.weber.edu>
References:  <199505141409.AAA28510@godzilla.zeta.org.au> <9505151809.AA10141@cs.weber.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 15 May 95 12:09:41 MDT, terry@cs.weber.edu (Terry Lambert) said:

> Most X terminals interpret this as a request to send an ASCII Backspace
> character (^H, 0x08) to the slave side of the PTY they are using.

> You can change this interpretation by modifying your .Xdefaults, like
> follows:

> xterm*TtyModes:		erase ^?

> Of course, this isn't recommended, since in principle, the key should
> send the ASCII kvalue that its keycap label implies it sends.

Of course, not all keyboards are the same.  My LK-401 has a keycap
labeled
   ___
  / X|
  \__|

and I defy you to state definitively that this symbol implies any
ASCII code at all.  DEC being typically obnoxious decided to make it
send BS; I use this magic to make it send something sensible:

xmodmap - << EOF
keysym BackSpace = Delete
# more stuff goes here
EOF

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9505151842.AA18796>