[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: Fri, 12 May 2006 15:02:54 +0200 (CEST)
User-agent: Mutt/1.4i-ja.1

 On Thursday, May 11, 2006 at 11:44:24 -0400, Aaron Davies wrote:

> On 5/11/06, Alain Bench <address@hidden> wrote:
>>| $ infocmp -1 | grep kbs
>>|     kbs=^H,
> Nope, I get \177

    Good. It's the good kbs value, describing PuTTY's default config
Terminal -> Keyboard -> Backspace: Control-? (127). So all directly
running apps are correctly informed about what the key sends, and they
do work. Screen itself also could need this information.

    But still Screen's prompt fails, and apps running inside Screen
fail. For some reason Screen does not seem to translate the key code
between the real terminal and apps for the [backspace] key, as it does
for other keys as say [F1]. I don't know why. And I'm not sure what
would be the best solution.

    What about trying a specialized "screen.putty" terminfo overriding
"screen"s fixed idea of backspace? Do "tic -x screen.putty.src" as
simple user, verify TERM=putty, start Screen, and verify it
automatically exported TERM=screen.putty (otherwise screenrc
interferes). Does the [backspace] key work in apps?

    Otherwise wipe ~/.terminfo/ to restore previous state.

Bye!    Alain.
When you post a new message, beginning a new topic, use the "mail" or
"post" or "new message" functions.
When you reply or followup, use the "reply" or "followup" functions.
Do not do the one for the other, this breaks or hijacks threads.

Attachment: screen.putty.src
Description: Text document

reply via email to

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