bug-ncurses
[Top][All Lists]
Advanced

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

Re: alt key


From: Dan Nelson
Subject: Re: alt key
Date: Thu, 7 Dec 2006 12:36:38 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

In the last episode (Dec 07), Bob Rossi said:
> 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 don't think there are any terminfo caps describing it.  Some OSes (or
terminal emulators) will send ESC and the key when Alt-key is pressed. 
Others will send the key with the high bit set (i.e. alt-is-meta mode). 
Others just send the regular key.

-- 
        Dan Nelson
        address@hidden




reply via email to

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