Solved: Re: What to use for conio?

2007-09-16 Thread Lars Eighner
[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,

Re: What to use for conio?

2007-09-15 Thread Thomas Dickey
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

Re: What to use for conio?

2007-09-15 Thread cpghost
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 to use for conio?

2007-09-15 Thread Lars Eighner
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