[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backspace/Delete Issues?

From: Alain Bench
Subject: Re: Backspace/Delete Issues?
Date: Wed, 17 May 2006 18:29:38 +0200 (CEST)
User-agent: Mutt/1.4i-ja.1

 On Monday, May 15, 2006 at 11:02:47 -0400, Aaron Davies wrote:

> [PuTTY's] TERM is xterm by default

    I know: It's available virtually everywhere, but is suboptimal. If
all hosts you connect to have a recent enough "putty" entry in their
terminfo database, or even a "putty-256color" one, it would be better to
declare such terminal type string.

> I ran screen as "TERM=screen screen"

    I assume you ran "TERM=putty screen" of course: Nonsense otherwise.

> it had TERM=screen.putty inside, and backspace behaved as my last case
> above--it was completely ignored by screen and registered as ^H by
> other things.

    I see: Reconfigure PuTTY's backspace to default 127, disable ssh
backspace/delete swap, and verify "stty -a" prints "erase = ^?".

> One good test is searching in less--less a file, do a "/" search, and
> try to backspace on the search string.

    Here less backspaces OK when I type [backspace] or ALT+127, and
prints "^H" when I type ^H. Same outside and inside Screen. Less seems
to follow stty erase, if nothing in ~/.less(key) interferes.

Bye!    Alain.
 KW> Program received signal SIGSEGV, Segmentation fault.
 I'm not really here, but also try nuking your header cache.
  -- BC in "Real Programmers Don't Eat Cache on Holidays" --

reply via email to

[Prev in Thread] Current Thread [Next in Thread]