Scripts to deal with A/UX's buggy UUCP

Tom Unger unger at mitem.uucp
Sat Apr 6 15:21:23 AEST 1991


In article <1991Mar27.014105.5418 at intacc.uucp> mann at intacc.uucp (Jeff Mann) writes:
>I don't know if you've done something else to get around this, or what,
>but on my system uucico will die if there is a getty on the line, 
>regardless of whether you do an stty -modem. In other words, your
>>		# have to worry about a getty. If not, we need to handle the
>>		# getty by doing a stty -modem.
>doesn't work for me. I have had to use the old method of specifiying
>run levels which getty can exist in, and using init to turn the getty
>on or off. Am I missing something? Anyone else with the same problem?
>I'm planning to post my code which handles this, but part of it runs
>suid root to handle the init, and if there's another way around it...

I have a program called uugetty that lets one line be used for incomming
and outgoing modem calls.  uugetty does the following:

	1) initializes modem
	2) Listens for incomming calls on modem or other traffic on 
	   the port.
	3) If a call arrives it execs the standard getty to log the user in.
	4) If there is other traffic uugetty "gives up" the line  until
	   the outbound call is done.  (it knows it is done when the lock
	   file goes away).

This all works very well for me.  I would be glad to send it to anyone who
requests it.  I would post it here but the soure code is 14Kbytes.

Tom Unger.
MITEM



More information about the Comp.unix.aux mailing list