.TH PCRC 1
.SH NAME
pcrc, termrc, newterm \- octopus start-up scripts
.SH SYNOPSIS
.B pcrc
.br
.B termrc
.br
.B newterm
.I event
.SH DESCRIPTION
.I Pcrc
starts the central computer services for the octopus. It converts a
local inferno in the PC for the octopus.
.I Termrc
plugs the local inferno as a terminal in the PC. It converts the
local inferno in a octopus terminal.
Both scripts are meant to be customized for particular users, although
they might just fit as provided.
.PP
The script
.I pcrc
starts DNS, the connection service, and authentication services. It defines the
.B $PC
environment variable, and spawns listeners for services expected at the PC in
the octopus. In particular, it provides a registry and also import and export
ports via Op to import terminal devices and to export the central name space to
terminals.
It arranges for
.B o/newterm
to run each time a new terminal is plugged into the octopus or plugged out.
.PP
The script
.I termrc
asks for the location of the terminal and for the name of the central PC. It defines
environment variables
.B $location
and
.B $pc
reflecting that. Then, it updates context information for the terminal
(kept at
.B /term/what )
and dials the PC both to export local devices to the PC and to
import the central name space from the PC (using Op in both cases). An editor/shell
program is started to browse
.B /pc ,
which now contains the shared name space from the central PC.
.PP
.SH EXAMPLE
.PP
This is an example session:
.EX
% o/termrc
location? [home]
PC? [alboran.lsub.org]
welcome to your octopus terminal at home
PC is alboran.lsub.org 212.128.4.124
importing /pc
terminal with radius 0562
exporting /what /who /fs
%
.EE
.SH SOURCE
.BR /usr/octopus/port/pcrc ,
.BR /usr/octopus/port/termrc ,
.BR /usr/octopus/port/newterm .
|