Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698318 - sys-libs/ncurses backspace patch
Summary: sys-libs/ncurses backspace patch
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: PATCH
Depends on:
Reported: 2019-10-23 07:42 UTC by James Cloos
Modified: 2021-03-17 04:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Fix screen and eterm terminfos to use ^? for kbs. Patch courtesy of debian. (02-debian-backspace.diff,1.37 KB, patch)
2019-10-23 07:42 UTC, James Cloos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2019-10-23 07:42:33 UTC
Created attachment 593684 [details, diff]
Fix screen and eterm terminfos to use ^? for kbs.  Patch courtesy of debian.

Debian carries a patch for ncurses which makes the terminfo files default to kbs=^? instead of kbs=^H.

With that patch, the BACKSPACE keys works correctly for emacs in screen, whereas without it BACKSPACE does the wrong thing.

(That is to say, if screen(1) is run on a debian box then emacs works fine therein, but if screen is run on a gentoo box then emacs fails to work.)

I’ve attached their patch as found in their ncurses_6.1+20190803-1.debian.tar.xz.

The patch references:

and makes the change for Eterm|Eterm-color and screen.

Screen is much more usable in gentoo with this change.