-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 2 Aug 2003 03:19:07 -0400, Buz Davis wrote:
> I would like a routine to read the keyboard and report the single key > pressed, > and give me control back without waiting for ENTER to be pressed. > Under MSDOS (where all of my c experience has been) there was a c > routine > called getch() that would do just this. I can't seem to find one under > Linux. It requires quite a bit more than calling a single function. Find a program that does it and read its source code. From the top of my head, I know that "sidplay2" http://sf.net/projects/sidplay2 does it, for instance. > Unfortunately, although the man pages for individual curses routines > (like it's getch) > say 'see also curses(3x)' there apparently is no such page on my > system, so > I really don't know if I am misusing things or not. > (Second question: is there an overview of Curses available somewhere ?). In the "ncurses-devel" package you get all manual pages for ncurses, including ncurses(3x). - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K3XI0iMVcrivHFQRAvs+AJ9r9ltjE57RGuD01Y93NNE7bp32+QCeOwh4 3+TfRUxe3RqdXElbdycDRW0= =KH8/ -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
