[comp.sys.nsc.32k] uucp and the tty driver.

phil@cs.wwu.EDU (Phil Nelson) (06/15/91)

>I use Karl's (?) uucp port but have not tried dialing out.  The original
>comments state that dialouts would not work because of missing hooks
>in the tty driver.

What hooks are needed?  I'll add them if I can.  I've been considering
adding the following to the tty driver.

  1) Sending a break by setting Baud to 0.  (Should have been there in
     the first place.)

  2) Sending a SIGHUP on loss of DTR (or what ever the right control
     signal is.)

  3) Some way to detect an incomming break from a user program.  I could
     take the time to look it up, but I thought I'd just ask "how does
     UNIX do this?" and see if any one already knows.

  4) "Software" control of hardware handshaking by flags in the tty
     minor device number.

Any thing else I should add?

-Phil

bdale@col.hp.COM (Bdale Garbee) (06/15/91)

>   1) Sending a break by setting Baud to 0.  (Should have been there in
>      the first place.)

??  I thought the "right" thing to do when baud=0 was drop DTR?  Sending a
break seems like the wrong thing to do?

>   2) Sending a SIGHUP on loss of DTR (or what ever the right control
>      signal is.)

Loss of carrier detect, actually.  What that pin is labelled as I couldn't
day without digging out my docs.

>   4) "Software" control of hardware handshaking by flags in the tty
>      minor device number.

Hmmm.  Ok.  Hardware flow control compatible with a Telebit modem under uucp
would be a neat deal... or has Dave hacked this in at home already?  :-)

Bdale

phil@cs.wwu.EDU (Phil Nelson) (06/15/91)

>Hmmm.  Ok.  Hardware flow control compatible with a Telebit modem under uucp
>would be a neat deal... or has Dave hacked this in at home already?  :-)
It should have the hardware flow control already in there.  It is a
configure option in /usr/include/minix/config.h.  I spent quite a while
trying to make sure that it worked.  I even used a break out box to
control the hareware signals to make sure that things stopped and restarted
again with the hardware control lines.  That is why I was thinking about
making minor device number controled so some lines could have hardware
flow control and others could run without it.

--Phil