[prev in list] [next in list] [prev in thread] [next in thread]
List: ncurses-bug
Subject: Re: F-keys weirdness under Wide version
From: Thomas Dickey <dickey () his ! com>
Date: 2008-11-29 2:02:50
Message-ID: 20081129020250.GA17322 () invisible-island ! net
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Mon, Nov 24, 2008 at 11:26:04AM -0700, Ricardo Cantu wrote:
> Somewhere between version 5.6 patched to 20080621-patch and 5.7, F-keys are
> not working right in the wide character version.
Checking further - the _library_ is correct, but the test-program is
incorrect. It's not apparent in the 20070612 NEWS item, but the rewrite
of key_name() fixed a case where it was not returning the value as
specified in
http://www.opengroup.org/onlinepubs/007908799/xcurses/key_name.html
keyname() parameter can be a key (0-255) or key-code (the KEY_xxx stuff).
key_name() parameter is only a wide-character - no key-codes.
So the fix for test/ncurses.c would be to use the keyname() function where
it's using key_name().
--
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
["signature.asc" (application/pgp-signature)]
_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ncurses
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic