Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!ames!sgi!shinobu!odin!ramoth.esd.sgi.com!msc From: msc@ramoth.esd.sgi.com (Mark Callow) Newsgroups: comp.sys.sgi Subject: Re: How to do non-blocking keyboard input Message-ID: <8953@odin.corp.sgi.com> Date: 14 Jun 90 18:00:36 GMT References: <9006140143.aa19050@WOLF.BRL.MIL> Sender: news@odin.corp.sgi.com Reply-To: msc@sgi.com Organization: Silicon Graphics Inc., Entry Systems Division Lines: 24 In article <9006140143.aa19050@WOLF.BRL.MIL>, mike@BRL.MIL (Mike Muuss) writes: |> The best way to do it is to use the select() system call. |> |> Here is a portable subroutine that will show you how to do it. |> Best, |> -Mike |> |> ------- |> /* |> * B S D S E L E C T |> * |> * Ordinarily, a stub for select() could have been implemented here, |> * but the IRIS defines a graphics library routine select(). |> * On non-BSD systems, select() is a name likely to have been reused, The GL routine "select" was renamed gselect in release 3.0 more than 2 years ago. -- From the TARDIS of Mark Callow msc@ramoth.sgi.com, ...{ames,decwrl}!sgi!msc "There is much virtue in a window. It is to a human being as a frame is to a painting, as a proscenium to a play. It strongly defines its content."