Subject: Re: Trouble using 'cu' with modem on serial port -- help!
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: Tim Bessie <tbessie@eci.net>
List: port-mac68k
Date: 11/24/1997 13:07:34
At 12:25 PM 11/24/97 -0800, Bill Studenmund wrote:
>Unfortunatly opur cu is a bit of an orphan at the moment. tip
>works better, but only marginally.
>
>What are you trying to do with the port?

Simply use it as an outgoing modem... same as if
I connected a terminal directly to it, to control
it through commands entered on the keyboard.
Just running 'cu -s 19200 -l /dev/tty00' (tty01 is my
console port) has the effect I mentioned, simply hanging.

>The only non-standard serial port mode is cdtrcts, which is a hardware flow
>control mode. It sounds like you're doing stuff which wouldn't need it.

I thouht there was another, similar-sounding mode, crtscts, or
something similar.  Are these all accessible via the 'stty'
command? Or do I have to write a program to do the ioctl()?

>Try tip. Also, cat /dev/tty00 will keep the port open, and then you can
>use stty to play with the modes. Or you can set local in /etc/ttys
>(as one of the tty flags for that line).

I'll try tip -- I may just not have read enough of the
documentation to figure out how to configure the port
through a file someplace (eg. /etc/ttys).

- Tim

------------------------------------------------------------
Tim Bessie
tbessie@eci.net
bessie@apshit.com