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