Package: ncurses-base
Version: 5.7-1
Severity: normal

Hi,

I'm in an XTerm (package version 237-1):

% echo $TERM
xterm
% infocmp -L G -Eo 'key_(home|end|up|down)=[^,]*'
key_down=\EOB
key_end=\EOF
key_home=\EOH
key_up=\EOA

but XTerm sends these sequences:

% read
^[[B^[[4~^[[1~^[[A

They match the sequences defined for the linux console and comply with
the recommend “9.8. Keyboard configuration” of the Debian Policy:

% infocmp -L linux G -Eo 'key_(home|end|up|down)=[^,]*'
key_down=\E[B
key_end=\E[4~
key_home=\E[1~
key_up=\E[A

So you should change the terminfo for xterm otherwise some programs might
not work, because they expect wrong key sequences read from the terminfo.

Bye, Jörg.

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.27
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ncurses-base depends on:
ii  libncurses5                   5.7-1      shared libraries for terminal hand

ncurses-base recommends no packages.

ncurses-base suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to