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

Bug 74262

Summary: Linux console keycodes in rxvt breaks terminfo (see bug 22325)
Product: Gentoo Linux Reporter: DC <gtbgs>
Component: Current packagesAssignee: Mamoru KOMACHI (RETIRED) <usata>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description DC 2004-12-12 23:45:03 UTC
In response to bug 22325, rxvt now uses the Linux console keycodes for home and end instead of the original rxvt keycodes. This breaks terminfo apps like nano that expect the rxvt keycodes. Nano no longer responds properly to home and end.

Original rxvt keycodes:
home=\E[7~ end=\E[8~

When rxvt is compiled with -DLINUX_KEYS:
home=\E[1~ end=\E[4~

But the terminfo db still expects the original keys:
khome=\E[7~ kend=\E[8~

Reproducible: Always
Steps to Reproduce:
1. Emerge rxvt-2.7.10-r1.
2. Start nano.
3. Try the home and end keys.
4. Observe they insert junk characters instead of moving the cursor.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-29 09:03:26 UTC
I don't have time and machine to look into the problem.
Sorry for that.
In the meantime, please use rxvt-2.7.10.
(The difference between rxvt-2.7.10 and rxvt-2.7.10-r1
is -DLINUX_KEYS)

*** This bug has been marked as a duplicate of 22325 ***