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

Bug#505297: marked as done (ncurses-base: Wrong terminfo for xterm keys up, down, end, home)



Your message dated Sat, 5 Dec 2009 18:48:58 -0500 (EST)
with message-id <20091205184618.R3044@mail101.his.com>
and subject line Re: Bug#505297: #505297 ncurses-base: Wrong terminfo for xterm keys up, down, end, home
has caused the Debian Bug report #505297,
regarding ncurses-base: Wrong terminfo for xterm keys up, down, end, home
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
505297: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505297
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
On Sat, 5 Dec 2009, Jörg Sommer wrote:

Hi Thomas,

Thomas Dickey hat am Fri 04. Dec, 20:45 (-0500) geschrieben:
On Fri, 4 Dec 2009, Jörg Sommer wrote:

But the applications jed and vi receive the strings:

Home: \E[1~
End: \E[4~

by the way, these codes come from a non-default setting

This was a good hint. I've found an old snippet in my .Xresources file.
After removing it, all works fine. So this wasn't a bug, but a failure
of mine.

sounds good (I got on the wrong track with the application-mode ;-)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--- End Message ---

Reply to: