TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Pete Lyall 76703,4230 (X)
from: Jim Peasley 72726,1153
date: 1991-01-08 00:32:05
subject: #9046-#`C` help

#: 9058 S3/Languages
    08-Jan-91  00:32:05
Sb: #9046-#'C' help
Fm: Jim Peasley 72726,1153
To: Pete Lyall 76703,4230 (X)

Pete;

  All the /w descriptors are dittos.  And CC3io?  I _think_ that I've patched
it... I usually follow patches pretty closely. (This is one of my New Year's
resolutions -- to *accurately* LOG all system changes on the MM/1!)

  See previous msg. to JJ for code fragment and more info.

 re: portability

  Not _too_ bad, if you start with it in mind, but somewhat of a pain.  I've
gotten the program to run on both machines, but there's just one more thing
(isn't there always?) that I'd like to change.
  Taking a note from your 'more' program, I'm using "read(1,keyin,1);"  where
"keyin[1]" to get a user response without having to press .  Under DOS,
I've tried "read(stdin,keyin,1);"  which the manual says SHOULD work, but
alas, the value returned is "\5" rather that the "y" or "n" I'm expecting.
What is different about the DOS version of "read"?  Any ideas?
I'd kindaolike to use the same function for both versions if I could.

 ...Jim



There are 2 Replies.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.