|
From: | Thomas Dickey |
Subject: | Re: Problem with keys |
Date: | Tue, 6 May 2008 12:29:53 -0400 (EDT) |
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 -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |