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   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-15 11:38:24 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Tim Waugh 2000-08-15 11:05:33 EDT
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 11:38:22 EDT
It also happens with TERM=linux, on the console.

But with TERM=ansi, it doesn't happen.
Comment 2 Crutcher Dunnavant 2000-08-15 11:56:29 EDT
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.

Comment 3 David Balažic 2000-08-25 03:59:57 EDT
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 04:10:20 EDT
see also bug #11294 for more info