Re: Newbie C programming question - OT
On Mon, Apr 29, 2002 at 09:53:44PM -0700, Sean 'Shaleh' Perry wrote:
> ncurses programs are almost always icky. Consider: mutt, any
> of the console web browsers, dselect.
>
> There is an O'Reilly book on curses. You could start there.
I've got the O'Reilly book. I don't recommend it. It's little
more than a reprint of some obsolete man pages. It contains
little or nothing on the form or menu libraries.
> Because ncurses apps really do not have an event loop, I do not
> expect them to be event driven like GUI apps usually are.
> OnExit(and enter) work because there is a loop somewhere
> getting events and sending them to the right place.
Actually, it appears that the form library does provide a
semi-event-driven model where you can attach callbacks to
various fields and events. See "man form_hook" for example.
--
Grant Edwards
grante@visi.com
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: