Xref: utzoo comp.unix.wizards:16700 comp.unix.questions:14071 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: keyscan wanted Message-ID: <1760@auspex.auspex.com> Date: 6 Jun 89 18:33:48 GMT References: <1006@twwells.uucp> <607@wn2.sci.kun.nl> <1d5J02BR328401@amdahl.uts.amdahl.com> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 14 >As long as the machine in question has select(2), which automatically assumes >a UNIX with some BSD extensions - SYSV hacks will have to use poll(2) instead. Unless, of course: 1) their System V doesn't have "poll" (releases before S5R3 didn't have it, unless there was some version that snuck it in as an undocumented feature, say); 2) their System V doesn't have the device that you're trying to "poll" as a streams device, and doesn't support "poll" on non-streams devices (I've not seen any release from AT&T that 1) has *all* its ttys as streams devices or 2) supports "poll" on non-streams devices, although S5R4 may do both).