bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixing xterm terminfos


From: Mike Sharov
Subject: Fixing xterm terminfos
Date: Mon, 22 Oct 2007 17:02:17 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.6) Gecko/20070907 SeaMonkey/1.1.4

Dear terminfo maintainer,

The key sequences for xterm, rxvt, and xterm-color are currently
incorrect in the terminfo.src definition. I am using the xterm that
comes with Xorg 6.9.0 and F1-F4, Home, End, KP Center, and the arrow
keys are not correctly defined. The correct values are "\033OP" -
"\033OS", "\033[H", "\033[F", "\033[E", and 033[D,\033[A,\033[B,\033[C.
xterm-color does not have these values either.

rxvt definition is correct for the most keys except the keypad, where
arrows generate different codes than the non-keypad ones. However, rxvt
does not by default set TERM to rxvt (Rxvt v2.7.10), probably because
the rxvt terminfo does not specify the correct color sequences, which
should be the same as the ones in xterm and xterm-color.

I am wondering what, if anything, can be done about these problems. Were
the current values valid at some point? Is your policy to maintain them
for backward compatibility (with what?), or should they be updated to
reflect the current software's behavior?
-- 
Mike Sharov
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]