*BSD News Article 39709


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!news.clark.edu!netnews.nwnet.net!ns1.nodak.edu!plains.NoDak.edu!ortmann
From: ortmann@plains.NoDak.edu (Daniel Ortmann)
Subject: Re: dialout device speed
Sender: usenet@ns1.nodak.edu (Usenet login)
Message-ID: <D10uu5.Kxw@ns1.nodak.edu>
Date: Sun, 18 Dec 1994 19:44:29 GMT
References: <3cdvar$ssa@pdq.coe.montana.edu>
Nntp-Posting-Host: plains.nodak.edu
Organization: North Dakota Higher Education Computing Network
Lines: 34

In article <3cdvar$ssa@pdq.coe.montana.edu>,
Dan Dartman <uffda@cs.montana.edu> wrote:
>
>I have two questions.
>
>1) How do I get faster than 9600 baud in kermit? I set speed 57600, set modem
>hayes. I get "cannot change speed to 14,400". What am I doing wrong?

(Please gurus, no flames...corrections welcomed.:-)

After entering kermit and setting the line to your cua0? dialout, run
stty -f /dev/cua0? speed 38400.  Then try changing your speed in
kermit.  (Careful with your terminology: bps != Baud; and it should be capitalized.)

I just changed /sys/sys/ttydefaults.h to default to 38400 bps using
CRTSCTS and no software flow control.

>2) Why were the serial line device files in FreeBSD 1.02 tty files, and now
>they are cua device files in FreeBSD 1.1.5.1?

As I understand it, cua are for dialOUT on a modem (also called
dial"up"), ttyd are for dialIN on a modem, and tty0 are for hardwired
terminals (i.e. EIA-232 serial ports without a modem).  Then there are
also the pseudo tty devices so that software using the network can
have a controlling device file.

If you have a modem on ttyd0 (using sio0) with a getty running on it,
you can still dialOUT using that same modem using cua00, because the
getty for dialIN on ttyd0 is put to sleep until the dialOUT is no
longer being used.

What are the different cua* names for???  I don't understand that
(yet).