bug-ncurses
[Top][All Lists]
Advanced

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

Re: alt key


From: Thomas Dickey
Subject: Re: alt key
Date: Thu, 07 Dec 2006 17:53:21 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Dec 07, 2006 at 02:09:32PM -0500, Bob Rossi wrote:
> 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?

right.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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