Your message dated Wed, 06 Jul 2016 16:49:59 +0000
with message-id <[email protected]>
and subject line Bug#822426: fixed in ncurses 6.0+20160625-1
has caused the Debian Bug report #822426,
regarding libncursesw5: wget_wch() returning KEY_CODE_YES with xterm 
Ctrl/Alt/Shift keys outside the range KEY_MIN <= key <= KEY_MAX
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 [email protected]
immediately.)


-- 
822426: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822426
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libncursesw5
Version: 5.9+20140913-1+b1
Severity: normal

Dear Maintainer,

I am the author of a curses-based terminal emulator, and noticed that
wget_wch() is returning KEY_CODE_YES with values that are outside the
range KEY_MIN and KEY_MAX.  This behavior is inconsistent with the
documented API.

I have confirmed that xterm is doing the right thing, e.g.
   PgUp       = "CSI 5 ~"
   Ctrl-PgUp  = "CSI 5;5 ~"
   Alt-PgUp   = "CSI 5;3 ~"

Keystrokes and values I have seen (these are decimal values, not
octal) returned from wget_wch() include:
 
    538 == Alt-Ins
    517 == Alt-Del
    533 == Alt-Home
    528 == Alt-End
    540 == Ctrl-Ins
    519 == Ctrl-Del
    555 == Ctrl-PgUp
    550 == Ctrl-PgDn
    535 == Ctrl-Home
    530 == Ctrl-End
    553 == Shift-PgUp
    548 == Shift-PgDn

I can replicate this behavior on xterm, xfce-terminal, and konsole.  I
suspect that this might be terminfo rather than ncurses.

I have put a small test program to demonstrate this behavior over at
http://qodem.sf.net/misc/ncurses_wget_wch_tester.c .  'gcc -o test
ncurses_wget_wch_tester.c -lncursesw' builds it.  Run it, press Ctrl-C
to exit.

I think this behavior started somewhere in Jessie, but possibly
Wheezy.  Between Sarge and Squeeze wget_wch() would return the full
xterm sequence which I could parse myself.

-- System Information:
Debian Release: 8.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libncursesw5 depends on:
ii  libc6              2.19-18+deb8u4
ii  libtinfo5          5.9+20140913-1+b1
ii  multiarch-support  2.19-18+deb8u4

Versions of packages libncursesw5 recommends:
ii  libgpm2  1.20.4-6.1+b2

libncursesw5 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ncurses
Source-Version: 6.0+20160625-1

We believe that the bug you reported is fixed in the latest version of
ncurses, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sven Joachim <[email protected]> (supplier of updated ncurses package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 06 Jul 2016 18:00:26 +0200
Source: ncurses
Binary: libtinfo5 libtinfo5-udeb libncurses5 libtinfo-dev libtinfo5-dbg 
libncurses5-dev libncurses5-dbg libncursesw5 libncursesw5-dev libncursesw5-dbg 
lib64ncurses5 lib64ncurses5-dev lib32ncurses5 lib32ncurses5-dev lib32ncursesw5 
lib32ncursesw5-dev lib64tinfo5 lib32tinfo5 lib32tinfo-dev ncurses-bin 
ncurses-base ncurses-term ncurses-examples ncurses-doc
Architecture: source
Version: 6.0+20160625-1
Distribution: unstable
Urgency: low
Maintainer: Craig Small <[email protected]>
Changed-By: Sven Joachim <[email protected]>
Description:
 lib32ncurses5 - shared libraries for terminal handling (32-bit)
 lib32ncurses5-dev - developer's libraries for ncurses (32-bit)
 lib32ncursesw5 - shared libraries for terminal handling (wide character 
support) (
 lib32ncursesw5-dev - developer's libraries for ncursesw (32-bit)
 lib32tinfo-dev - developer's library for the low-level terminfo library 
(32-bit)
 lib32tinfo5 - shared low-level terminfo library for terminal handling (32-bit)
 lib64ncurses5 - shared libraries for terminal handling (64-bit)
 lib64ncurses5-dev - developer's libraries for ncurses (64-bit)
 lib64tinfo5 - shared low-level terminfo library for terminal handling (64-bit)
 libncurses5 - shared libraries for terminal handling
 libncurses5-dbg - debugging/profiling libraries for ncurses
 libncurses5-dev - developer's libraries for ncurses
 libncursesw5 - shared libraries for terminal handling (wide character support)
 libncursesw5-dbg - debugging/profiling libraries for ncursesw
 libncursesw5-dev - developer's libraries for ncursesw
 libtinfo-dev - developer's library for the low-level terminfo library
 libtinfo5  - shared low-level terminfo library for terminal handling
 libtinfo5-dbg - debugging/profiling library for the low-level terminfo library
 libtinfo5-udeb - shared low-level terminfo library for terminal handling - 
udeb (udeb)
 ncurses-base - basic terminal type definitions
 ncurses-bin - terminal-related programs and man pages
 ncurses-doc - developer's guide and documentation for ncurses
 ncurses-examples - test programs and examples for ncurses
 ncurses-term - additional terminal type definitions
Closes: 515609 816887 822426 823658
Changes:
 ncurses (6.0+20160625-1) unstable; urgency=low
 .
   * New upstream patchlevel.
     - Make linux3.0 entry the default linux entry (Closes: #823658, #515609).
     - Improve manual pages for wgetch and wget_wch to point out that they
       might return values without names in curses.h (Closes: #822426).
     - Amend change to _nc_do_color to restore the early return for the
       special case used in _nc_screen_wrap (report by Dick Streefland,
       Closes: #816887).
   * Update xterm.ti from xterm 325.
   * Enable the bindnow hardening flag.
   * Really install the Debian FAQ into the libtinfo5 package.
   * Update links in the Debian FAQ.
Checksums-Sha1:
 19100c2ee48e236a9961b464ad8ffbff4654eec6 3742 ncurses_6.0+20160625-1.dsc
 fe78c7887c8b373cdc3000cf51d2c8844cee5d78 3167182 
ncurses_6.0+20160625.orig.tar.gz
 677f3422962ba3424d7755e05c916455f70be321 52508 
ncurses_6.0+20160625-1.debian.tar.xz
Checksums-Sha256:
 676762505dde61298bcc87de15d9d7b98853a22240e7df6c24cf4b2b14b99d3c 3742 
ncurses_6.0+20160625-1.dsc
 aaccc026de6f2f112dd56085ec7f38923429edc91a010ae1c8e68b5c53c60acd 3167182 
ncurses_6.0+20160625.orig.tar.gz
 5e01e261431c57e2f8856de0c8fe58565814ae2bc737ae991ae161406772bbc6 52508 
ncurses_6.0+20160625-1.debian.tar.xz
Files:
 8e09478b520c77dd6b59dfa7aa4bb540 3742 libs required ncurses_6.0+20160625-1.dsc
 b53b7a18bdcc29a2826b485411bab607 3167182 libs required 
ncurses_6.0+20160625.orig.tar.gz
 9e62305d82ad7b351636b4d1553311df 52508 libs required 
ncurses_6.0+20160625-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXfSvOAAoJEDsQbnGNazGs0SAP/2Hw2JJ8dys98ae0G/jE7Xe6
A/kCY56Dc/AskMThsWMGOsCnCJ11b/MsDRNPK9vnNzZyvrYAgGlfeJAzeri4rgK3
rBjp2c/MKMwKmrQcJrCGtwzQtohL463boMn1BwA8rcvK8tV1ZRC0Dp748k8EqQQg
5KcXQfRWNs6k7LzUmzVrLATgmVL498kPrn0UuS1rE1ITfxpqGuXhCrS/ORTyJGiE
PUC0eeN7Xt54sUjTZL54M4yg1tbdVGThuSg8oAFqKKA/HEHZhVzScgHaRZDYc10L
vI+paOiPAzwVaIvaZiDz68ehV3eSUR2P4jYMbbJaKUpSl2nJ6SlHCpjrK23MYjpj
BN0IoDMPECuOT/Ypb9TboMRzNidqF6zZeglvgo9rYy8ciba6PAhB4uq6K/qHCda9
3+lI+pAVY//P+hSc3bBaDSmo/Hvj28+t4ILT7tTvu8gTgYJYb+xmwDzAOVXdRGhk
AZd/EUkxPD0waDq5e1EdE6uKBEuMB5NMzwkIdeZEqrZ/gCmGULAvsRxNg5iRDGq8
OPRSeuiAyvp5geZKMRABTM4mtHAzbGi02J6vikRAatk2gXqLPlAVGKEEaSnv9axv
azUld1LdLZa0cuSS3aeeFustoeBgQrrA2KQun2lM8ngWlq4tpbe+uoS+rtDEAkd+
JQ7eWb5MGJqfjCy8KgM6
=BEPE
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to