Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 448610

Summary: sys-libs/ncurses - Provided xterm terminfo database (/etc/terminfo/x/xterm) has incorrect format strings.
Product: Gentoo Linux Reporter: Mark I Manning IV <mark4th>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal CC: dickey
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark I Manning IV 2012-12-25 22:41:19 UTC
The format strings for kcuu1 and kcud1 are incorrect (cursor up and cursor down).  These are \EOA and \EOB as reported by infocmp which in binary would be 0x1e, 0x4f, 0x41 and 0x1e, 0x4f, 0x42 respectivly.  The key presses however return \E]A and \E]B  or 0x1e, 0x5b, 0x41 and 0x1e, 0x5b, 0x42.  

I have not tested any of the other format strings but i believe that the entire terminfo file for Xterm needs to be revisited and verified.