On Thu, 8 Aug 2002 08:01:24 -0500 (Central Daylight Time), Mark Wonsil
<[log in to unmask]> wrote:
>The fast and sleazy way is to set the system variable HPTYPEAHEAD to TRUE
>before your program starts or reopen STDINX in your program after setting
>it.
>
>Have you considered using the READX intrinsic in stead of getc?
>
>Found some examples for fcontrol in C on the list:
>
>http://raven.utc.edu/cgi-bin/WA.EXE?A2=ind9803B&L=hp3000-l&P=R11449 by Kevin
>Miller
>
>http://raven.utc.edu/cgi-bin/WA.EXE?A2=ind9506B&L=hp3000-l&P=R1259 by Jim
>Wowchuk
>
Thanks for those examples.
Tried using READX instead of getchar but READX doesn't seem to wait
for a key to be pressed so the output just scrolled off the screen - I
don't really want to use up all the CPU looping on READX and checking
for a len of zero. What am I doing wrong?
--
http://www.wadmag.org.ukhttp://uk.geocities.com/ukwebring - UK Motorcycle site webring
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *