🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #42

Re: Checking for a key to be hit

#42
From: Mike Stefanik
Date: Mon, 02 Nov 1992 16:35
10 lines
866 bytes
In an article, meredith@porthos.cs.ua.edu (Don Meredith) writes:
:I am currently porting a DOS program to be run on a IBM RS/6000 running
:AIX.  What I am trying to figure out is how to check to see when a key is
:hit?  What I am doing is timing out if the user does not respond within
:a 20 second time limit.  Any ideas on how to do this?

Read your manual pages on termio(4), ioctl(2), signal(2) and alarm(2).
-- 
Mike Stefanik  mike@pacsoft.com  ...!uunet!pacsoft!mike  (714) 681-2623
Pacific Software Group, Riverside, CA
Technical Details
Message-ID: <1451@pacsoft.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!pacsoft!mike
References: <1992Oct30.154726.135553@ua1ix.ua.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pacsoft!mike
From: mike@pacsoft.com (Mike Stefanik)
Newsgroups: comp.unix.programmer
Subject: Re: Checking for a key to be hit
Message-ID: <1451@pacsoft.com>
Date: 2 Nov 92 16:35:04 GMT
References: <1992Oct30.154726.135553@ua1ix.ua.edu>
Organization: Pacific Software Group, Riverside, CA
Lines: 10