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" --


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to