First, case matters to *nix.  The serial devices are /dev/cua* aka
/dev/ttyS*.  At some point, a scheme for controlling access to serial
devices was devised, whereby /dev/cua* would be the callout device, and
/dev/ttyS* would be the callin device.  So, if you are dialing out using
/dev/cua0, anything that tries to use /dev/ttyS0 will find it busy, but
it is still possible to _read_ /dev/cua0.  That scheme is in the process
of being discarded, and the preferred names are /dev/ttyS*, for callin
or callout, since in fact you can't do both at the same time on the same
device, so if you want to do either, you'd best get control of the
device first.

HTH

Lawson
          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.


On Wed, 28 Apr 1999, Ricardo Denis wrote:

> hi all,
> 
> what is the difference between a /dev/cua* device and a /dev/ttys*
device? i
> know the /dev/cua* are the serial ports (com1, com2) etc and from what
i've
> read they are supposed to be related somehow to the /dev/ttys* devices
but i
> am not clear on the differences. i ask because for an external modem
that i
> have connected on /dev/cua1, if i refer to it as /dev/cua1 i can
comunicate
> with it with a terminal program but, if i refer to it as /dev/ttys1
then the
> terminal program cannot acces the modem. also, where can i find more
info on
> all the different devices in the /dev directory? thanks for any help.
> 
> -rick
> 
> -- rick
> 
> 




___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to