Bug 16248

Summary: bad backspace binding
Product: [Retired] Red Hat Linux Reporter: Tim Waugh <twaugh>
Component: screenAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-15 15:38:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Waugh 2000-08-15 15:05:33 UTC
Running 'emacs -nw' in screen and typing stuff and then using backspace
acts as though I've pressed control-H.  vi is fine.

This only seems to happen with TERM=xterm.

Comment 1 Tim Waugh 2000-08-15 15:38:22 UTC
It also happens with TERM=linux, on the console.

But with TERM=ansi, it doesn't happen.

Comment 2 Crutcher Dunnavant 2000-08-15 15:56:29 UTC
There are some nasty, nasty issues with screen's translation, and its occasional
refusal to do so. 
However, that said, screen thinks that backspace == ^H, and it will try to
translate to get to this point.
It is in the man pages.

This is not something that I can fix, as it is (somewhat) documented behaviour.

closing.

Comment 3 David Balažic 2000-08-25 07:59:57 UTC
the backspace -> ^H translation is in the man page,
and also int the screen termcap entry, but NOT in the actual
screen code !
Recently ( a recent redhat screen package ) a line was added
in /etc/screenrc to fix this.
( the line is : bindkey -k kb stuff ^H )


Comment 4 David Balažic 2000-08-25 08:10:20 UTC
see also bug #11294 for more info