L.cmds - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

UU CP Installation
UUCP Implementation Description
class
phone
login
This is usually the
li~f
sp;ed for the call (for example, 300). The exception is when
the
C
library routine,,,tdialout" is available in which case this is the dialout class.
The phone number is made up of an optional alphabetic abbreviation and a numeric
part. The abbreviation should be one that appears in the L-ditJIcode, file (for exam-
ple, mh5900, boston995-0080). For the hardwired devices, this field contains the
same string as used for the de",'ce field.
The login information is given as a series of fields and subfields in the format
[ ex pect send] ...
where ezpect is the string expected to be read and .end is the string to
be
sent when
the ezpect string is received.
The expect field may be made up of subfields of the form
expect[-send-expect] ...
where the .endis sent if the prior ezpect is no' successfully read and the ezpect fol-
lowing the .end is the next expected string. For example:
login--Iogin
expects to see the word login; if it gets it, the program proceeds to the next field; if
it does not get login, it sends nuU followed by a new line, then expects login again.
There are two special names available to be sent during the login sequence. The
string EaT sends an EOT character and the string BREAK tries to send a BREAK
character. The BREAK character is simulated using line speed changes and null
characters and may not work on all devices and/or systems. A number from 1 to 0
may follow the BREAK. For example, BREAKl sends 1 null character instead of
the default of 3. Note that BREAKl usually works best for 300/1200 baud lines.
The following escape sequences are also recognized:
\r
send a carriage-return.
\n
send a newline (linefeed) character.
\d
delay for 1 second.
\c
suppress newline at end of .ent.istring.
\s
send a space.
A typical entry in the
L
.sys file would be:
sys Any ACU 300 mh7654 login:-EOT-Iogin:-BREAK-Iogin: uucp
85WOrd:
word
The expect algorithm matches all or part of the input string as illustrated in the password field
above. Very complex expect-send sequences are often required if the called system is connected
to a terminal concentrator or a front end.
9.9.
L.cmds
'L.cmd, contains a list of commands which uuzq'is allowed to execute. The commands should
be one per line. At a minimum, L.cmth should contain the command "rmail". Other com-
mands often allowed are "rnews", "uusend", and "Ipr".
16
7 January 1984

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents