Article View: comp.os.msdos.programmer
Article #151CTTY AND DOS 5.0
From: Homer Smith
Date: Wed, 04 Nov 1992 16:07
Date: Wed, 04 Nov 1992 16:07
43 lines
1792 bytes
1792 bytes
From a beginner.
I need to drive a graphics tube through COM2 using watcom
fortran. I am able to write to the tube but not able to read from it
using
OPEN (8,FILE='COM2') etc.
The same thing happens in vanilla DOS with CTTY COM2,
I get the DOS prompt on
the dumb terminal and can even type but then when I hit the return key
it either freezes or I get,
General error reading com2. This also happens with a dumb terminal
in place of the graphics tube.
The pc is willing for me to type at the 'abort, retry, fail'
prompt, and even echoes back what I type giving me the message over
and over again, but when I hit the return
key it jams again. Hitting the break key gets me back to the prompt.
I can type commands at the prompt but when I hit the return key
it freezes.
Kermit on the other hand is able and willing to both read and
write between my pc and anything I stick on com2 including the
graphics tube and the dumb terminal. Of course kermit is passing
nothing to the command interpreter, and I feel that its not a problem
with reading but with the returns or something else.
I am using a null modem cable
2 ------ 3
3 ------ 2
4 ------ 5
5 ------ 4
6 ------ 20
20 ------ 6
7 ------ 7
8 ------ 8
Need help desperately,
Homer
Technical Details
Message-ID:
<1992Nov4.160718.29235@tc.cornell.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!batcomputer!theory.TC.Cornell.EDU!homerShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!caen!batcomputer!theory.TC.Cornell.EDU!homer From: homer@theory.TC.Cornell.EDU (Homer Smith) Subject: CTTY AND DOS 5.0 Message-ID: <1992Nov4.160718.29235@tc.cornell.edu> Sender: news@tc.cornell.edu Nntp-Posting-Host: theory.tc.cornell.edu Organization: Cornell Theory Center Date: Wed, 4 Nov 1992 16:07:18 GMT Lines: 43