wwb (04/02/83)
The following is a manual page for a modified version of
arff which is user friendly and interactive. If anyone is
interested in it, mail me (cbl!wwb) a copy of your license and I'll post
the program to you.
ARFF(8) UNIX Programmer's Manual ARFF(8)
NAME
arff - archiver and copier for floppy
SYNOPSIS
/etc/arff [ key ] [ name ... ]
DESCRIPTION
_A_r_f_f saves and restores files on the floppy disk. Its
actions are controlled by the _k_e_y argument. The _k_e_y is a
string of characters containing at most one function letter
and possibly one or more function modifiers. Other argu-
ments to the command are file names specifying which files
are to be dumped or restored.
The program prompts for further commands after executing the
command line. The format for these is the same as that for
the command line, with the exception that all flag arguments
are toggled.
Files names have restrictions, because of radix50 considera-
tions. They must be in the form 1-6 alphanumerics followed
by "." followed by 0-3 alphanumerics. Case distinctions are
lost. Only the trailing component of a pathname is used.
The function portion of the key is specified by one of the
following letters:
r The named files are replaced where found on the
floppy, or added taking up the minimal possible por-
tion of the first empty spot on the floppy.
x The named files are extracted from the floppy.
d The named files are deleted from the floppy. Arff
will combine contiguous deleted files into one empty
entry in the rt-11 directory.
t The names of the specified files are listed each
time they occur on the floppy. If no file argument
is given, all of the names on the floppy are listed.
h A list of commands is listed to the terminal.
? Alias for h.
n The working (unix) directory is changed (via
chdir(2)) to the value of the argument. If no argu-
ment is given, no action is taken.
s The argument is passed to a subshell (as defined by
the enviroment variable SHELL) for execution, and
the child is waited for until termination. If no
Printed 4/2/83 1
ARFF(8) UNIX Programmer's Manual ARFF(8)
argument is given, an interactive subshell is
envoked.
! Alias for s
q Cause the program to exit to the shell (quit).
The following characters may be used in addition to the
letter which selects the function desired.
v Normally _a_r_f_f does its work silently. The v (ver-
bose) option causes it to type the name of each
file it treats preceded by the function letter.
With the t function, v gives more information
about the floppy entries than just the name.
f causes _a_r_f_f to use the next argument as the name
of the archive instead of /dev/floppy.
m causes _a_r_f_f not to use the mapping algorithm
employed in interleaving sectors around a floppy
disk. In conjunction with the f option it may be
used for extracting files from rt11 formatted car-
tridge disks, for example.
FILES
/dev/floppy
AUTHORS
Keith Sklower, Richard Tuck, William Barker
BUGS
Floppy errors are handled ungracefully; _A_r_f_f does not handle
multi-segment rt11 directories.
Printed 4/2/83 2