bug-ncurses
[Top][All Lists]
Advanced

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

Re: Problem with keys


From: galapogos
Subject: Re: Problem with keys
Date: Tue, 6 May 2008 19:09:50 -0700 (PDT)



Thomas Dickey-2 wrote:
> 
> On Tue, 6 May 2008, galapogos wrote:
> 
>> Thomas Dickey-2 wrote:
>>> If kbs is ^H, then ncurses looks for control/H.
>>> But if your terminal sends ^?, then ncurses will not know it is
>>> backspace.
>>>
>>> Most of the Linux distributions make changes as needed to make the
>>> terminal emulators send ^? for "backspace", while almost everyone else
>>> uses ^H.  They should also modify the terminfo entries in ncurses, but
>>> not all of the Linux distributions do _that_.
>>>
>> So basically I have to make sure the key mapping in the terminal
>> emulator(termcap/terminfo) matches the terminfo entries in ncurses?
> 
> yes, that's correct
> 
Thanks. Can I assume this to be hardware independent? i.e. if I modify the
ncurses terminfo as well as the system terminfo, and move this configuration
around different machines, it will display the same behavior? I'm also
concerned about different types of keyboards around the world. Some of them
don't seem to follow the same exact layout, eg Japanese keyboards
-- 
View this message in context: 
http://www.nabble.com/Problem-with-keys-tp17009973p17093722.html
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.





reply via email to

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