how to poll keyboard
Paul Nakada
nakada at husc8.HARVARD.EDU
Thu Aug 4 04:08:22 AEST 1988
I am in need of a way to read a terminal keyboard without
stopping if there is no keypress... this is the scenario..
for(ever)
checkkeypress();
dostuff according to keypress()
endforever
what i need is to do the keyprocessing even if there is no keypress..
in essence skipping over the checkkeypress if there is no keypress...
is there any way to do this? i have been unsuccessful in using
rawmode and curses.... can someone please enlighten me??
thanks... please respond by email...
-paul
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Paul Nakada '89 #8-) nakada at husc4.harvard.edu
Harvard College nakada at husc4.bitnet
Cambridge, MA {ihnp4!think, seismo, rutgers}!harvard!husc4!nakada
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the Comp.unix.questions
mailing list