Subject: Re: About to put a sledgehammer through my keyboard
To: Christos Zoulas <christos@zoulas.com>
From: Roger Ivie <rivie@ridgenet.net>
List: port-i386
Date: 01/06/2005 12:55:06
On Fri, 24 Dec 2004, Christos Zoulas wrote:
> In article <Pine.NEB.4.61.0412240712370.19259@Stench.no.domain>,
> Roger Ivie <rivie@ridgenet.net> wrote:
>> The problem with this is that xterm keeps switching randomly between
>> using ^H and DEL for the backspace key. After using DEL for a while,
>> it'll spontaneously switch to using ^H for a while. And then, just when
>> I've been perfectly happy with "stty erase ^H", it'll suddenly switch
>> back and I'll have to "stty erase ^?" to be happy again.
>
> Add a line like this to your .Xdefaults or .Xresources:
>
> xterm*ttyModes: susp ^Z dsusp ^Y intr ^C quit ^\\ kill ^U eof ^D eol ^@ swtch ^@ erase ^?

Doesn't fix the problem; the character sent by the backspace key still
jumps back and forth. Example:

> stench> stty erase ^X    <---- So you can see what backspace sends
> stench> ^?^?             <---- here I press backspace twice
> ^?^?: Command not found.
> stench> ^H^H             <--- Here I scroll up and down with the
>                               scrollbar, then press backspace twice

The character sent by the backspace key has changed! Why, and what do I
do about it?
-- 
Roger Ivie
rivie@ridgenet.net
http://anachronda.webhop.org/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/P d- s:+++ a+ C++ UB--(++++) !P L- !E W++ N++ o-- K w O- M+ V+++ PS+
PE++ Y+ PGP t+ 5+ X-- R tv++ b++ DI+++ D+ G e++ h--- r+++ z+++ 
------END GEEK CODE BLOCK------