new xterm and erase setting

Satish Balay balay at fastmail.fm
Wed Jun 30 18:46:10 UTC 2004



On Wed, 30 Jun 2004, Harry Putnam wrote:

> Satish Balay <balay at fastmail.fm> writes:
>
>> On Wed, 30 Jun 2004, Harry Putnam wrote:
>>
>>> Mike doesn't seem to be paying attention to this somewhat dated
>>> thread but in case anyone else is noticing.... it seems the erase
>>> setting is different than previous xterms.  I get
>>>  erase = ^?
>>> looking at stty -a output.
>>>
>>> I think this means that the backspace key in emacs -nw will not
>>> function as expected (without some elisp correction) but will call
>>> `help' instead.
>>>
>>> Very disconcerting when coding at full speed.
>>>
>>> One can set erase to ^H in .bash_profile or similar but then there is
>>> the need to keep up with that setting when changing users or etc.
>>>
>>> I'm guessing the old defualt was `erase = ^H' but not really sure.  I
>>> don't see any settings in my rc files so apparently it didn't need any
>>> setting before.
>>
>> Actually this affects other tools as well (not just emacs). For eg: in
>> 'less filename' with '/' for search - I can't use the backspace key.
>>
>> /fdsafa^H^H^H^H
>>
>> However doing 'stty -a' gives the same values on both the old and new
>> xterms. (so the old setting is still erase = ^?)
>
> Maybe my `old' was older than your `old' hehe.
>
> I was using 179 before updateing to.

Just to be sure - I noted the version of the old xterm - 179-5 (FC1)

>
> I haven't had to piddle around with the erase setting for a very long
> time, but now with new xterm  I get the behavior described, in emacs -nw.
>
> I see what you mean about `less'.  That has changed too.  So this
> must be another setting... maybe the `-/+ ie' (initiate erase)

I did a diff of all the settings (from 'stty -a > log' ) and they
were the same (except for the screen size of the 2 xterms)

Satish





More information about the test mailing list