Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mailrus!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.sys.ibm.pc Subject: TurboC terminal-input problem Message-ID: <12350@iuvax.cs.indiana.edu> Date: 3 Sep 88 00:08:36 GMT Reply-To: bobmon@iuvax.UUCP (RAMontante) Organization: malkaryotic Lines: 25 Hi, everybody, and Help! I just ran into a crazy problem (or TurboC just ran into a crazy user?) Consider the following "subtle" code, in TC v1.5: #include void main() { char a[81]; puts("String Test: "); puts(gets(a)); } I expect this to print the message, wait for keyboard input, echo what it gets, print the result (so I see the input twice), and stop. Using MSDOSv3.21 (Zenith release), IFF I have nansi.sys or Fansi-console loaded, this works as I expect. But with no terminal driver loaded, i.e. I boot up with a "minimal" "plain vanilla" o.s., the program never ever sees any input. It prints the message, then sits there until I give it the three-fingered salute (at least I _can_ keyboard-reboot...). Shouldn't the program run without an ansi-like terminal driver? Or have I missed a point in there somewhere? -- -- bob,mon (bobmon@iuvax.cs.indiana.edu) -- "Aristotle was not Belgian..." - Wanda