SOURCES (AC-branch): bashrc - removed stty erase setting to `tput ...

Tomasz Pala gotar at polanet.pl
Fri Jul 1 15:05:34 CEST 2005


On Fri, Jul 01, 2005 at 13:38:49 +0200, Jan Rekorajski wrote:

> I got somewhere, first what it looks like on RH 7.3:
> 
> [baggins at absurd baggins]$ echo $TERM
> xterm

Hmmmm... why have you xterm not xterm-color? They differ...

> [baggins at absurd baggins]$ infocmp | grep kbs
>         kbeg=\EOE, kbs=\177, kc1=\EOq, kc3=\EOs, kcub1=\EOD, 

xterm-color at FC2:
        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 

> [baggins at absurd baggins]$ grep -i backarrowkey /usr/X11R6/lib/X11/app-defaults/XTerm
> *VT100*backarrowKey: false

This is default setting (according to xterm man page).

> [baggins at absurd baggins]$ stty -a | grep erase
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;

erase setting on RH is propagated from your local terminal. Try:

1. 'stty erase ^H' on your local terminal
2. ssh to RH
3. check stty settings.

> So what we need to do:
> 
> a) kill X11-XTerm.ad.patch or s/0x08/\177/ and/or add *VT100*backarrowKey: false

The problem is XTerm-color includes XTerm, so the line:

~Meta<Key>BackSpace: string(\177)\n\

would apply for both of them.

> b) the same with XTerm.ad-pl
> c) s/^H/^?/ in terminfo entries for xterm

-- 
GoTaR <priv0.onet.pl->gotar>        http://vfmg.sourceforge.net/
                                    http://tccs.sourceforge.net/



More information about the pld-devel-en mailing list