home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
telecom
/
uucp_442
/
uucp2.lzh
/
uucp2
/
man
/
UUSer
< prev
Wrap
Text File
|
1991-01-02
|
3KB
|
79 lines
UUSER.DOC
UUSER V2.00
UUSER: (C) Copyright 1989-1990 by Matthew Dillon, All Rights Reserved.
The UUSER device is used to interface programs to the serial port,
including remote shells. The device communicates with programs via
FIFO: and FIFO.LIBRARY through fifos.
UUSER depends on the proper operation of carrier-detect to work
properly. To run a program via the UUSER: device, use the *
qualification to the command in your passwd file:
test,fubar,100,0,(Test Login),ram:,*ram:test
Programs will not be able to tell the difference between operation
over UUSER: and operation over a normal console.
NOTE 1: ^C-^F can be propogated to the program over the serial
device, the program must properly handle these signals.
NOTE 2: You can run a shell by specifying a non-*'d script file
called UUCP:SC/UUShell. However, note that it is possible
to break out of the program. Specifically, if you hack the
script to run a script file on shell startup, it is
possible to remotely break out of the script file with ^D
test,fubar,100,0,(Test Login),ram:,uucp:sc/UUShell
UUSER USES FIFO: AND FIFO.LIBRARY, the slave side is given to the
program and the master side is controlled by UUSER:
It is easy to monitor and/or control the session in tandem with the
remote operator by running the RemCLI program using a FIFO
specification of the same name as used by UUSER: .. UUSER: uses the
following specification to run the slave side:
UUSER:<device>/<unit>/<flags>
is passed to FIFO: with
FIFO:uuser.<device>.<unit>/<flags>
Note that Getty handles this, passing the flags 'rwkecs' to UUSER: You
can run remcli to monitor/control as follows (example):
1> remcli uuser.serial.device.0
UUSER FLAGS
(1) any valid fifo flag (see FIFO.DOC for full list):
r open for reading
w open for writing
k
e EOF on remote close
c COOKED console operation (else defaults to RAW operation)
s SHELL mode (must be specified if running a shell)
(2) UUSER: specific flags
T<#> Timeout. After <#> seconds of idle in both directions
UUSER: will attempt to disconnect. Example: T300
(3) Getty Operation
Getty will run the program using the form in example #1 below.
The timeout is hardwired at 600 seconds (10 minutes)
EXAMPLE OF MANUAL OPERATION:
1> FuBar <UUSER:serial.device/0/rcT600 >UUSER:serial.device/0/weT600
2> NewShell UUSER:serial.device/0/rwkecsT600