[Also posted the news group]
The problem was to capture key presses from a vtty (including such function
keys as your keymap will allow) so they do not echo - as you might want to
do in developing a full-screen text-mode interface or a simple console-type
game.
Here is my solution in demo form,
On Sat, Sep 15, 2007 at 03:11:54AM -0500, Lars Eighner wrote:
> What I really want to do: capture keypresses (including function keys) from
> a (virtual) terminal without their echoing or without having to enter
> a new line (i.e. hit return).
man newterm
man filter
--
Thomas E. Dickey
http://i
On Sat, 15 Sep 2007 03:11:54 -0500 (CDT)
Lars Eighner <[EMAIL PROTECTED]> wrote:
> What I really want to do: capture keypresses (including function
> keys) from a (virtual) terminal without their echoing or without
> having to enter a new line (i.e. hit return).
>
> Why I do not want to use (n)c
What I really want to do: capture keypresses (including function keys) from
a (virtual) terminal without their echoing or without having to enter
a new line (i.e. hit return).
Why I do not want to use (n)curses: to use keypad in ncurses, I have
to initscr() and ncurses will then blank the screen