Bug 32572
Summary: | Change to terminfo database to reflect 'screen' terminal BackSpace key changes | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | dan | ||||
Component: | ncurses | Assignee: | Bernhard Rosenkraenzer <bero> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Aaron Brown <abrown> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0 | Keywords: | FutureFeature | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-05-03 15:32:50 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 38957 | ||||||
Attachments: |
|
Description
dan
2001-03-21 21:04:41 UTC
Created attachment 13287 [details]
Patch to terminfo database to reflect 'screen' terminal BS key change
This breaks things rather than fixing them. Try adding your patch to ncurses, then running the kernel's make menuconfig in a screen session, and using backspace when inputting a value. Works without the patch, but not with it. I've noticed previously that along with applying the proposed patch to ncurses package the "Red Hat Hack" patch could (and should) be removed from screen package. So in fact this is a complex enhancement change regarding two packages (ncurses and screen). If necessary, I could open corresponding bug for screen package. Someone please close this as NOTABUG. The cause of this situation is a bug in the screen program. The bug is pretty old and still not fixed ( as of screen 3.9.9 ). The bug is that for a certain key screen fails to convert the physical code ( as received from the physical terminal ) to the screen virtual terminal code ( as sent by the screen program to an application running in a screen virtual terminal ). This key is the backspace key. The screen man page and the screen terminfo/termcap ( both the one from http://www.tuxedo.org/terminfo and the on distributed with screen ) say that the backspace code from the physical terminal is converted to the code ^H in the virtual terminal. The redhat hack is in fact a correct fix for this bug. Your patch would just migrate the problem from physical terminals that send ^? for backspace to the ones that send ^H ( because screen would pass that code through instead of converting, due to the discussed bug ) |