Thread View: comp.unix.programmer
1 messages
1 total messages
Started by Duncan Sinclair
Sat, 01 Dec 1990 19:10
Keypress with time-out.
Author: Duncan Sinclair
Date: Sat, 01 Dec 1990 19:10
Date: Sat, 01 Dec 1990 19:10
16 lines
1034 bytes
1034 bytes
Simple, easy question: Can anyone supply me with portable code which will "poll" my tty for (say) five seconds, and return any keypress which it gets? This is mainly for SunOS, but we also have some SYSV-type systems... Thanks, -- Duncan Sinclair | Try one sinclair@cs.glasgow.ac.uk Computing Science Research Student | of these: sinclair@uk.ac.glasgow.cs University of Glasgow |..!mcsun!ukc!uk.ac.glasgow.cs!sinclair Quote: "It takes a smart man to know when he's stupid." -- Barney Rubble
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads