|
From: | Pierre Abbat |
Subject: | Re: alt key |
Date: | Thu, 07 Dec 2006 11:29:55 -0500 |
User-agent: | Mozilla Thunderbird 1.0.5 (Windows/20050711) |
Bob Rossi wrote:
Hi, How does ncurses handle reading alt combinations from the keyboard? If the uesr types 'Alt-e', what does ncurses get from the terminal? Is this described in the terminfo database?
I've typed alt-keys in various keyboard layouts. Alt plus a letter (whether it's Latin, Cyrillic, or whatever) turns into escape plus the letter, but IIRR alt plus a function key has its own code. I wrote a routine which turns escape+letter into one code.
phma
[Prev in Thread] | Current Thread | [Next in Thread] |