🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #139

Re: for DOS CTTY command, what pins do I need?

#139
From: Steve Madsen
Date: Thu, 09 Apr 1992 17:07
30 lines
1794 bytes
> I've been trying to hook up a standard terminal to a PC through
> the COM1 port using the dos CTTY command.  So far, no luck.  I've 
> tried all manner of MODE settings for the com port, so far to no avail.
> 
> When I disassembled a terminal connector attached to the 
> campus network, the only lines present in the terminal-end
> DB25 were
>    2  - red
>    3  - green
>    7  - black
>    20 - green

        My guess for the solution to this problem would be to make sure that
your DTR (data terminal ready) and the DCD (data carrier detect) lines are both
asserted (high) when you issue the CTTY command.

        I used this command to kludge a "shell to DOS" command for a BBS I ran
for my old high school last year, and this command was only used during an
online session when both DTR and DCD were high (since someone was calling in). 
This seems to make sense because CTTY needs to make sure that things it sends
can actually go out the port (which is only possible when DTR is high).

-- 
Steve Madsen       !  Internet: sjmadsen@miavx1.acs.muohio.edu  (preferred)
Miami University   !    Bitnet: sjmadsen@miavx1
Oxford, Ohio       !

"VAX.  For those who care enough to steal the very best."  -- A microscopic
  message on the silicon chip inside one of Digital Equipment's often stolen
  computer designs.
Technical Details
Message-ID: <1992Apr9.120704.10659@miavx1.acs.muohio.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!sjmadsen
References: <1992Apr7.184042.4675@coe.montana.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!sjmadsen
From: sjmadsen@miavx1.acs.muohio.edu (Steve Madsen)
Newsgroups: alt.msdos.programmer
Subject: Re: for DOS CTTY command, what pins do I need?
Message-ID: <1992Apr9.120704.10659@miavx1.acs.muohio.edu>
Date: 9 Apr 92 17:07:04 GMT
References: <1992Apr7.184042.4675@coe.montana.edu>
Distribution: usa
Organization: Miami of Ohio
Lines: 30