HP3000-L Archives

August 2002, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Smithson <[log in to unmask]>
Reply To:
Peter Smithson <[log in to unmask]>
Date:
Thu, 8 Aug 2002 10:01:44 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
 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.uk
http://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 *

ATOM RSS1 RSS2