Annotation of 42BSD/usr.bin/uucp/UUAIDS/L.sys, revision 1.1.1.1

1.1       root        1: #
                      2: #      Example L.sys file
                      3: # None of the below are guaranteed to be correct,
                      4: # though it is hoped that they are.
                      5: #
                      6: #
                      7: # The following entry indicates that system 'mcnc' can be called any time,
                      8: # and is accessible over a hard-wired tty line (tty01) at 4800 baud.
                      9: # The login sequence is:
                     10: #      ""              expect nothing (sort of a kludge)
                     11: #      ""              send carriage return
                     12: #      ogin:--ogin:    look for 'login:', if not received send carriage return
                     13: #                      and look again.
                     14: #      Urti            login as Urti
                     15: #      ssword:         look for Password:
                     16: #      fatchance       supply the password.
                     17: #
                     18: mcnc Any DIR 4800 tty01 "" "" ogin:--ogin:--ogin: Urti ssword: fatchance
                     19: #
                     20: # The following entry shows that the machine 'rti-sel' can be called any time
                     21: # via /dev/tty02 at 300 baud.  The send-expect sequence is complex
                     22: # because it is operating a Racal-Vadic auto-dialer.  An easier method would
                     23: # be to use the code supplied for a Vadic auto-dialer.  See the Notes.L.sys
                     24: # and L-devices files.
                     25: # This is an unusual use of send-expect, but shows its capabilities.
                     26: #      ""              expect nothing
                     27: #      \05             send ^E return (activate auto-dialer)
                     28: #      *-\05-*        look for *, if no such reactivate dialer, and look again
                     29: #      d               send 'd' to enter a phone number
                     30: #      NUMBER?-d...    look for prompt from auto-dialer
                     31: #      7654321\r\d     send number, then return, then pause, then return
                     32: #      LINE            wait for modem to say 'ON LINE'
                     33: #      \r\d\r          send return, pause, then send return again
                     34: #      ogin:-\b-...    look for login, if not found send a 'break'
                     35: #                      look again, if still not found send another 'break'
                     36: #                      and look one more time before giving up.
                     37: #
                     38: rti-sel Any ttyh3 300 ttyh3 "" \05 *-\05-* d NUMBER?-d-NUMBER? 7654321\r\d LINE \r\d\r ogin:-\b-ogin:-\b-ogin: Urti ssword: fatchance
                     39: #
                     40: # The next entry is for a normal ACU.  uucp normally handles only a DN11.
                     41: # However, the 'condevs.c' routine can be modified to handle any kind
                     42: # of auto-dialer desired.  (This is, however, an awful part of uucp.)
                     43: # Calls can be placed any day but only between 11pm and 8am.
                     44: # The connection is 300 baud.
                     45: #
                     46: ftl-sel Any2300-0700 ACU 300 13057654321 ogin:--ogin: Urti ssword: fatchance
                     47: #
                     48: # The next entry is for a UNET (TM 3Com Corp.) TCP-IP connection.
                     49: # There must be a #define UNET in uucp.h, and you must install
                     50: # a 'uucpsrv' uucico server daemon in /etc/UNET.
                     51: # uucpsrv, in uuaids, should be set[ug]id to uucp, so it can exec uucico.
                     52: # Also, add an entry to /etc/UNET/UNET.servers, such as:
                     53: #      33  uucpsrv  33
                     54: # The '33' is the port number chosen for uucpsrv, which must match the
                     55: # port number in the L.sys entry.
                     56: # The fields are: remote uucpname, time-to-call, UNET, remote unetname,
                     57: # and remote-server-port-number.
                     58: # Sane installations will have identical uucp- and unet- names.
                     59: #
                     60: ncsu Any UNET ncsu 33
                     61: #
                     62: # If ncsu cannot be raised by the method above, use the ACU.
                     63: # uucico tries each entry for ncsu in turn, until one of them connects.
                     64: # Calls on the ACU are only permitted when phone rates are cheap.
                     65: #
                     66: ncsu Any2300-0700|Sa|Su0000-01700 ACU unused 987-6543  ogin:--ogin: Urti  ssword: fatchance

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.