[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alt key
From: |
Bob Rossi |
Subject: |
Re: alt key |
Date: |
Thu, 7 Dec 2006 14:09:32 -0500 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
On Thu, Dec 07, 2006 at 12:36:38PM -0600, Dan Nelson wrote:
> 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.
Hmm, so there is no portable way to receive this data I guess, if it's
not descrbied in the term entries?
Thanks,
Bob Rossi