Path: utzoo!utgpu!attcan!uunet!yale!husc6!husc8!nakada From: nakada@husc8.HARVARD.EDU (Paul Nakada) Newsgroups: comp.unix.questions Subject: how to poll keyboard Message-ID: <5065@husc6.harvard.edu> Date: 3 Aug 88 18:08:22 GMT Sender: news@husc6.harvard.edu Reply-To: nakada@husc8.UUCP (Paul Nakada) Organization: Harvard Univ. Science Center Lines: 21 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@husc4.harvard.edu Harvard College nakada@husc4.bitnet Cambridge, MA {ihnp4!think, seismo, rutgers}!harvard!husc4!nakada _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_