xref: /original-bsd/usr.bin/uucp/UUAIDS/L.sys (revision bd226a66)
1# This file contains the majority of the information used to call
2# the destination system. It should not be readable to the world, as
3# there are logins and passwords stored here
4#
5# A line beginning with a # is a comment
6# If the last character of a line is \
7# the next line is considered to be a continuation of the first.
8#
9# If the time is suffixed with ";N", then N is used as the retry time
10# insterad of the default. E.g. Any;1 or Evening;60
11#
12# If the time is suffixed with "/X", then only files of grade X or
13# lower will be sent during this time period.
14# Multiple grades may be used in conjunction with the ",". E.g.
15#	Any/C,Evening/a,Night
16# which send grades C and lower anytime, grades a and lower in the Evening
17# and everything at Night
18#
19# The time may be any of the following:
20#	Any		Anytime
21#	Evening		When Evening rates are in effect
22#	NonPeak		Tymnet/Telenets non-peak rates
23#	Night		When Nighttime Phone rates are in effect
24#	Wk		Any Week Day
25#	Mo		Mondays
26#	Tu		Tuesdays
27#	We		Wednesdays
28#	Th		Thursdays
29#	Fr		Fridays
30#	Sa		Saturdays
31#	Su		Sundays
32# These time may be suffixed with a time range nnnn-mmmm in thge 24 hour clock
33# E.g.
34#	Evening = Wk1700-0800,Sa,Su
35#	NonPeak = Wk1800-0700,Sa,Su
36#	Night = Any2300-0800,Sa,Su0800-1700
37#	Wk = Mo,Tu,We,Th,Fr
38#
39# If the expect part of the expect/send sequence is suffixed with a ~number,
40# then that number will be used for the timeout instead of the default
41# MAXMSGTIME, which is delivered as 45 seconds.
42# E.g.   ogin~10-\r-ogin~15-\b-ogin
43# will look for ogin for 10 seconds and if it doesn't find it, send a CR
44# then look for ogin for 15 seconds and if it doesn't fint it send a break
45# then look for ogin for MAXMSTIME seconds then exit
46#
47#
48#	Example L.sys file
49#
50# The following entry indicates that system 'mcnc' can be called any time,
51# and is accessible over a hard-wired tty line (tty01) at 4800 baud.
52# The login sequence is:
53#	""		expect nothing (sort of a kludge)
54#	""		send carriage return
55#	ogin:--ogin:	look for 'login:', if not received send carriage return
56#			and look again.
57#	Urti		login as Urti
58#	ssword:		look for Password:
59#	fatchance	supply the password.
60#
61mcnc Any DIR 4800 tty01 "" "" ogin:--ogin:--ogin: Urti ssword: fatchance
62#
63# The following entry shows that the machine 'rti-sel' can be called any time
64# via /dev/tty02 at 300 baud.  The send-expect sequence is complex
65# because it is operating a Racal-Vadic auto-dialer.  An easier method would
66# be to use the code supplied for a Vadic auto-dialer.  See the Notes.L.sys
67# and L-devices files.
68# This is an unusual use of send-expect, but shows its capabilities.
69#	""		expect nothing
70#	\05		send ^E return (activate auto-dialer)
71#	*~2-\05-*~2	look for *, wait 2 seconds, if no such reactivate
72#			dialer, and look again for 2 seconds
73#	d		send 'd' to enter a phone number
74#	NUMBER?~3-d...	look for prompt from auto-dialer
75#	7654321\r\d	send number, then return, then pause, then return
76#	LINE		wait for modem to say 'ON LINE'
77#	\r\d\r		send return, pause, then send return again
78#	ogin:-\b-...	look for login, if not found send a 'break'
79#			look again, if still not found send another 'break'
80#			and look one more time before giving up.
81#
82rti-sel Any ttyh3 300 ttyh3 "" \05 *~2-\05~2-* d NUMBER?~3-d-NUMBER?~3 7654321\r\d LINE \r\d\r ogin:-\b-ogin:-\b-ogin: Urti ssword: fatchance
83#
84# The next entry is for a normal ACU.  uucp normally handles only a DN11.
85# However, the 'condevs.c' routine can be modified to handle any kind
86# of auto-dialer desired.  (This is, however, an awful part of uucp.)
87# Calls can be placed any day but only between 11pm and 8am.
88# The connection is 300 baud.
89#
90rti-sel Any2300-0800 ACU 300 13057654321 ogin:--ogin: Urti ssword: fatchance
91#
92# The next entry is for a 4.2BSD TCP-IP connection.
93# There must be a #define BSDTCP in uucp.h, and you must install
94# a 'uucpd' uucico server daemon in /etc.
95# Also, add an entry to /etc/services, such as:
96#	uucp		540/tcp		uucpd
97# The '540' is the port number chosen for uucpd.
98
99# The fields are: remote uucpname, time-to-call, TCP, portnumber, networkname.
100# Sane installations will have identical uucp and networknames. However,
101# arpanet machines will probably have to add their domain. Make sure that
102# the network name (in this case seismo.CSS.GOV) is the entry returned for
103# the sites hostname by gethostbyaddr(). An alias will not (always) work.
104# This is mandatory if you are running the domain name server.
105#
106seismo Any TCP uucp seismo.CSS.GOV ogin: uucplogin ssword: uucppassword
107#
108# If ncsu cannot be raised by the method above, use the ACU.
109# uucico tries each entry for ncsu in turn, until one of them connects.
110# Calls on the ACU are only permitted when phone rates are cheap.
111# Send grade Z or lower in the evening and if you fail retry as
112# fast as 1 minute. send everything else at night.
113#
114ncsu Evening/Z;1,Night ACU unused 987-6543  ogin:--ogin: Urti  ssword: fatchance
115#
116# Connect to ihnp4 using PC Pursuit
117#
118#	chicago is the PCPursuit City name.
119#	6907171 is the phone number for ihnp4
120#
121ihnp4 NonPeak PCP chicago 6907171 "" \d@ ogin:~5-BREAK-ogin:~5-\r-ogin: UULOGIN ssword: PASWORD
122