Scripts to deal with A/UX's buggy UUCP

Paul Dumais dumais at mauxci.uucp
Thu Mar 28 10:30:19 AEST 1991


In article <1991Mar27.014105.5418 at intacc.uucp> mann at intacc.uucp (Jeff Mann) writes:
>In article <1991Mar10.194813.10357 at panix.uucp> alexis at panix.uucp (Alexis Rosen) writes:
>>A few days ago I mentioned some scripts I had written to make life with A/UX's
>>UUCP more bearable. As I got over a dozen requests, I'm posting both scripts
>>here.

[stuff deleted]

>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 admit that I'm not pleased with the UUCP delivered with A/UX but it has been
fixed quite a bit in A/UX 2.0.1.  Thank you Vicki et al.

And.....

I have UUCP working just fine for both dial-in and dial-out on mauxci.UUCP.
There is NO REASON to play with run levels.  Alexis <alexis at panix.uucp> has
written some code to enhance the administration of UUCP but he is not mucking
around with gettys or run levels.

Here are my settings on mauxci:
(Macintosh IIfx, 8MbRAM, 500Mb, A/UX 2.0.1, TrailBlazer Plus)

--
GETTYDEFS
--
pd_2400# B2400 # B2400 HUPCL SANE2 TAB3 # ~MODEM ~DTR ~FLOW #login: #pd_1200

[stuff deleted]

BL_19200# B19200 HUPCL OPOST ONLCR TAB3 BRKINT IGNPAR ISTRIP IXON IXANY ECHO ECHOE ECHOK ICANON ISIG CS8 CREAD # B19200 HUPCL OPOST ONLCR TAB3 BRKINT IGNPAR ISTRIP IXON IXANY ECHO ECHOE ECHOK ICANON ISIG CS8 CREAD # FLOW ~DTR ~MODEM #Apple Canada, Inc. (mauxci) \r\n\nlogin: #BL_19200

Note: I only use the 19200 line for my TrailBlazer so it points back to itself.
The modem does the baud adjusting. I am using Hardware flow control.

--
INITTAB
--
[stuff deleted]
co::respawn:/etc/loginrc		# System Console Window
00:2:off:/etc/getty tty0 pd_2400	# Modem Pool (Out only)
01:2:respawn:/etc/getty tty1 BL_19200	# TrailBlazer Plus (In/Out)

--
CABLE
--
Here are the pinouts for Modem -> Mac cable that supports HW Flow control:

                DB-25           DIN-8
                4--+------------1
                   |
                20-+

                5---------------2

                2---------------3

                7------------+--4
                             |
                             +--8

                3---------------5

                n/c          ---6

                n/c          ---7


=============================================================================

-- 

.	.	.	.	.	.	.	.	.	.    .
.  Paul E. Dumais   A/UX Specialist 	 	Apple Canada, Inc.	     .
.  Internet: dumais at apple.com			7495 Birchmount Rd.	     .



More information about the Comp.unix.aux mailing list