bug-ncurses
[Top][All Lists]
Advanced

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

Re: Snow Leopard Cursor Keys broken.


From: Thomas Dickey
Subject: Re: Snow Leopard Cursor Keys broken.
Date: Sun, 11 Apr 2010 06:34:05 -0400 (EDT)

On Sun, 11 Apr 2010, Nicholas Cole wrote:

The script you've sent uses keyname for the first part, which is the only
one that _could_ produce "KEY_LEFT".

Yes, I should have made that clear.  I just copied and pasted a script
I sometimes use for debugging this sort of thing.

On the version in 10.6.3, though, the other values are also different,
so I get:

D and 68
A and 65
B and 66
C and 67

Where I should get KEY_LEFT and 260 etc.

It seems I'm not the only one who has encountered this and I have
reported it to Apple.

How do I look up the patch date?

More than one way:
        a) if tic and infocmp are installed, they call curses_version(),
           and display the patch-date with the -V option, e.g.,

~ (101) tic -V
ncurses 5.7.20100410

        b) if the development header-files are installed, those define
           the same information, e.g.,

#define NCURSES_VERSION_MAJOR 5
#define NCURSES_VERSION_MINOR 7
#define NCURSES_VERSION_PATCH 20100410

Lacking either of these (or a program that can call curses_version()), I'd do a "strings" on the ncurses library, grep for ncurses. (If your system has split-out the tinfo library, it would be there):

ncurses 5.7.20100410

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




reply via email to

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