🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #475

Re: readkey()

#475
From: Mark Levison
Date: Thu, 17 Aug 1989 20:51
17 lines
1142 bytes
  For all of the people advocating the readkey() or some such
other mechanism to get get the next character without an echo    
there are some enviroments were this is not possible.  In the
IBM VM/CMS enviroment the front processor doesn't give the 
main machine any of your keystrokes until you hit <enter> or
one of the PF keys (Blue speak).  So in the CMS enviroment 
it is not possible to implement this routine.  I am sure that
most enviroments  that can implement this function do.  To
implement a standard function for all your programs across
all your favorite enviroments create a function called readkey()
and make it do the right thing for each enviroment.  See that
wasn't so difficult after all.

Mark Levison                | Time to go back to work now.
levisonm@qucis.queensu.ca   |
#incldue "disclaimer.h"     |
Technical Details
Message-ID: <216@qusunr.queensu.CA>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!qucis!levisonm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!qucis!levisonm
From: levisonm@qucis.queensu.CA (Mark Levison)
Newsgroups: comp.std.c
Subject: Re: readkey()
Message-ID: <216@qusunr.queensu.CA>
Date: 17 Aug 89 20:51:31 GMT
Organization: Queen's University, Kingston, Ontario, Canada
Lines: 18