Subject: Re: Creeping PCism...
To: None <netbsd-users@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: netbsd-users
Date: 02/09/2004 02:37:21
Johnny Billquist <bqt@update.uu.se> wrote:

> My latest problem (and the reason for my mail) was that an xterm I create,
> which does a telnet to a remote node, have this new PCish mapping locally.
> That means when I escape telnet, I have erase bound to ^H there, which
> messes with the fact that I have seen to it that my "<-" key sends a DEL.
> 
> Or, to express that specific problem another way: how do I get a tty to
> bind erase to ^? when that tty just is created to run a telnet command?

I use the following, which might be an overkill but it eradicates
pc'ish "backspace".

XTerm*ttyModes:                 erase ^?
XTerm*ptyInitialErase:          True
XTerm*backarrowKeyIsErase:      False
XTerm*VT100*backarrowKey:       False

XTerm*VT100*Translations:#override \
        <Key>BackSpace:         string(0x7f)            \n

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen