🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #473

Re: ReadKey like Function in C

#473
From: Gregg Townsend
Date: Wed, 16 Aug 1989 18:19
13 lines
1093 bytes
The proposed ANSI standard provides

    setvbuf (file, NULL, _IONBF, 0)

for setting non-buffered mode on a file.  This would be the "standard"
approach to reading keys as they are hit, and this is the spec
implementors should follow when providing such a facility.

**HOWEVER**, support for control of buffering is implementation-defined,
and in fact I don't know of any system on which this works now.

    Gregg Townsend / Computer Science Dept / Univ of Arizona / Tucson, AZ 85721
    +1 602 621 4325      gmt@Arizona.EDU       110 57 16 W / 32 13 45 N / +758m
Technical Details
Message-ID: <13280@megaron.arizona.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!csd4.csd.uwm.edu!bionet!ig!arizona!gmt
References: <148@trigon.UUCP> <207600029@s.cs.uiuc.edu> <941@lakesys.UUCP> <21175@cup.portal.com> <3705@buengc.BU.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!csd4.csd.uwm.edu!bionet!ig!arizona!gmt
From: gmt@arizona.edu (Gregg Townsend)
Newsgroups: comp.std.c
Subject: Re: ReadKey like Function in C
Message-ID: <13280@megaron.arizona.edu>
Date: 16 Aug 89 18:19:46 GMT
References: <148@trigon.UUCP> <207600029@s.cs.uiuc.edu> <941@lakesys.UUCP> <21175@cup.portal.com> <3705@buengc.BU.EDU>
Reply-To: gmt@arizona.edu (Gregg Townsend)
Distribution: usa
Organization: U of Arizona CS Dept, Tucson
Lines: 13