BSD 4_1c_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Sat, 12 Feb 1983 18:15:20 +0000 (10:15 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Sat, 12 Feb 1983 18:15:20 +0000 (10:15 -0800)
Work on file usr/man/man5/ar.5
Work on file usr/man/man5/fstab.5
Work on file usr/man/man5/group.5
Work on file usr/man/man5/mtab.5
Work on file usr/man/man5/passwd.5
Work on file usr/man/man5/plot.5
Work on file usr/man/man5/ttytype.5
Work on file usr/man/man5/ttys.5
Work on file usr/man/man5/uuencode.5
Work on file usr/man/man5/tar.5
Work on file usr/man/man6/aardvark.6
Work on file usr/man/man6/aliens.6
Work on file usr/man/man6/arithmetic.6
Work on file usr/man/man6/adventure.6
Work on file usr/man/man6/banner.6
Work on file usr/man/man6/backgammon.6
Work on file usr/man/man6/bcd.6
Work on file usr/man/man6/chess.6
Work on file usr/man/man6/chase.6
Work on file usr/man/man6/boggle.6
Work on file usr/man/man6/cribbage.6
Work on file usr/man/man6/ching.6
Work on file usr/man/man6/fish.6
Work on file usr/man/man6/hangman.6
Work on file usr/man/man6/fortune.6
Work on file usr/man/man6/mille.6
Work on file usr/man/man6/quiz.6
Work on file usr/man/man6/number.6
Work on file usr/man/man6/monop.6
Work on file usr/man/man6/rogue.6
Work on file usr/man/man6/snake.6
Work on file usr/man/man6/trek.6
Work on file usr/man/man6/wump.6
Work on file usr/man/man6/worm.6
Work on file usr/man/man6/zork.6
Work on file usr/man/man6/worms.6
Work on file usr/man/man6/rain.6
Work on file usr/man/man6/doctor.6
Work on file usr/man/man7/ascii.7
Work on file usr/man/man7/eqnchar.7
Work on file usr/man/man7/me.7
Work on file usr/man/man7/ms.7
Work on file usr/man/man7/environ.7
Work on file usr/man/man8/arcv.8
Work on file usr/man/man3/l3tol.3
Work on file usr/man/man1/apply.1
Work on file usr/man/man1/chfn.1
Work on file usr/man/man1/finger.1
Work on file usr/man/man1/lock.1
Work on file usr/man/man1/msgs.1
Work on file usr/man/man1/symorder.1
Work on file usr/man/man1/tabs.1
Work on file usr/man/man1/uudiff.1c
Work on file usr/man/man1/tk.1
Work on file usr/man/man1/trman.1
Work on file usr/man/man1/netcp.1
Work on file usr/man/man1/net.1
Work on file usr/man/man1/netlogin.1
Work on file usr/man/man1/netlog.1
Work on file usr/man/man1/netmail.1
Work on file usr/man/man1/netq.1
Work on file usr/man/man1/netlpr.1
Work on file usr/man/man1/netrm.1
Work on file usr/man/man1/nettroff.1
Work on file usr/man/man7/term.7
Work on file usr/man/man1/apropos.1

Synthesized-from: CSRG/cd1/4.1c.2

66 files changed:
usr/man/man1/apply.1 [new file with mode: 0644]
usr/man/man1/apropos.1 [new file with mode: 0644]
usr/man/man1/chfn.1 [new file with mode: 0644]
usr/man/man1/finger.1 [new file with mode: 0644]
usr/man/man1/lock.1 [new file with mode: 0644]
usr/man/man1/msgs.1 [new file with mode: 0644]
usr/man/man1/net.1 [new file with mode: 0644]
usr/man/man1/netcp.1 [new file with mode: 0644]
usr/man/man1/netlog.1 [new file with mode: 0644]
usr/man/man1/netlogin.1 [new file with mode: 0644]
usr/man/man1/netlpr.1 [new file with mode: 0644]
usr/man/man1/netmail.1 [new file with mode: 0644]
usr/man/man1/netq.1 [new file with mode: 0644]
usr/man/man1/netrm.1 [new file with mode: 0644]
usr/man/man1/nettroff.1 [new file with mode: 0644]
usr/man/man1/symorder.1 [new file with mode: 0644]
usr/man/man1/tabs.1 [new file with mode: 0644]
usr/man/man1/tk.1 [new file with mode: 0644]
usr/man/man1/trman.1 [new file with mode: 0644]
usr/man/man1/uudiff.1c [new file with mode: 0644]
usr/man/man3/l3tol.3 [new file with mode: 0644]
usr/man/man5/ar.5 [new file with mode: 0644]
usr/man/man5/fstab.5 [new file with mode: 0644]
usr/man/man5/group.5 [new file with mode: 0644]
usr/man/man5/mtab.5 [new file with mode: 0644]
usr/man/man5/passwd.5 [new file with mode: 0644]
usr/man/man5/plot.5 [new file with mode: 0644]
usr/man/man5/tar.5 [new file with mode: 0644]
usr/man/man5/ttys.5 [new file with mode: 0644]
usr/man/man5/ttytype.5 [new file with mode: 0644]
usr/man/man5/uuencode.5 [new file with mode: 0644]
usr/man/man6/aardvark.6 [new file with mode: 0644]
usr/man/man6/adventure.6 [new file with mode: 0644]
usr/man/man6/aliens.6 [new file with mode: 0644]
usr/man/man6/arithmetic.6 [new file with mode: 0644]
usr/man/man6/backgammon.6 [new file with mode: 0644]
usr/man/man6/banner.6 [new file with mode: 0644]
usr/man/man6/bcd.6 [new file with mode: 0644]
usr/man/man6/boggle.6 [new file with mode: 0644]
usr/man/man6/chase.6 [new file with mode: 0644]
usr/man/man6/chess.6 [new file with mode: 0644]
usr/man/man6/ching.6 [new file with mode: 0644]
usr/man/man6/cribbage.6 [new file with mode: 0644]
usr/man/man6/doctor.6 [new file with mode: 0644]
usr/man/man6/fish.6 [new file with mode: 0644]
usr/man/man6/fortune.6 [new file with mode: 0644]
usr/man/man6/hangman.6 [new file with mode: 0644]
usr/man/man6/mille.6 [new file with mode: 0644]
usr/man/man6/monop.6 [new file with mode: 0644]
usr/man/man6/number.6 [new file with mode: 0644]
usr/man/man6/quiz.6 [new file with mode: 0644]
usr/man/man6/rain.6 [new file with mode: 0644]
usr/man/man6/rogue.6 [new file with mode: 0644]
usr/man/man6/snake.6 [new file with mode: 0644]
usr/man/man6/trek.6 [new file with mode: 0644]
usr/man/man6/worm.6 [new file with mode: 0644]
usr/man/man6/worms.6 [new file with mode: 0644]
usr/man/man6/wump.6 [new file with mode: 0644]
usr/man/man6/zork.6 [new file with mode: 0644]
usr/man/man7/ascii.7 [new file with mode: 0644]
usr/man/man7/environ.7 [new file with mode: 0644]
usr/man/man7/eqnchar.7 [new file with mode: 0644]
usr/man/man7/me.7 [new file with mode: 0644]
usr/man/man7/ms.7 [new file with mode: 0644]
usr/man/man7/term.7 [new file with mode: 0644]
usr/man/man8/arcv.8 [new file with mode: 0644]

diff --git a/usr/man/man1/apply.1 b/usr/man/man1/apply.1
new file mode 100644 (file)
index 0000000..7e20f78
--- /dev/null
@@ -0,0 +1,79 @@
+.TH APPLY 1 "24 February 1979"
+.SH NAME
+apply \- apply a command to a set of arguments
+.SH SYNOPSIS
+.B apply
+[
+.B \-a\fIc\fP
+] [
+.B \-\fIn\fP
+] command args ...
+.SH DESCRIPTION
+.I Apply
+runs the named
+.I command
+on each
+argument
+.I arg
+in turn.
+Normally arguments are chosen singly; the optional number
+.I n
+specifies the number of arguments to be passed to
+.I command.
+If
+.I n
+is zero,
+.I command
+is run without arguments once for each
+.I arg.
+Character sequences of the form %\fId\fP
+in
+.I command,
+where
+.I d
+is a digit from 1 to 9,
+are replaced by the
+\fId\fP'th following unused
+.I arg.
+If any such sequences occur,
+.I n
+is ignored,
+and the number of arguments passed to
+.I command
+is the maximum value of
+.I d
+in
+.I command.
+The character `%' may be changed by the
+.B \-a
+option.
+.PP
+Examples:
+.RS
+apply echo *
+.RE
+is similar to ls(1);
+.RS
+apply \-2 cmp a1 b1 a2 b2 ...
+.RE
+compares the `a' files to the `b' files;
+.RS
+apply \-0 who 1 2 3 4 5
+.RE
+runs who(1) 5 times; and
+.RS
+apply \(aaln %1 /usr/joe\(aa *
+.RE
+links all files in the current directory to the directory /usr/joe.
+.SH "SEE ALSO"
+sh(1)
+.SH AUTHOR
+Rob Pike
+.SH BUGS
+Shell metacharacters in
+.I command
+may have bizarre effects; it is best to enclose complicated
+commands in single quotes \(aa\ \(aa.
+.sp
+There is no way to pass a literal `%2' if `%' is the
+argument expansion character.
diff --git a/usr/man/man1/apropos.1 b/usr/man/man1/apropos.1
new file mode 100644 (file)
index 0000000..8a5c111
--- /dev/null
@@ -0,0 +1,40 @@
+.TH APROPOS 1 "24 February 1979"
+.SH NAME
+apropos \- locate commands by keyword lookup
+.SH SYNOPSIS
+.B apropos
+keyword ...
+.SH DESCRIPTION
+.I Apropos
+shows which manual sections contain instances of any of the given
+keywords in their title.
+Each word is considered separately and case of letters is ignored.
+Words which are part of other words are considered thus looking for
+compile will hit all instances of `compiler' also.
+Try
+.IP
+apropos password
+.PP
+and
+.IP
+apropos editor
+.PP
+If the line starts `name(section) ...' you can do
+`man section name' to get the documentation for it.
+Try `apropos format' and then `man 3s printf' to get the manual
+on the subroutine
+.I printf.
+.PP
+.I Apropos
+is actually just the
+.B \-k
+option to the
+.IR man (2)
+command.
+.SH FILES
+.DT
+/usr/lib/whatis                data base
+.SH "SEE ALSO"
+man(1), whatis(1), catman(8)
+.SH AUTHOR
+William Joy
diff --git a/usr/man/man1/chfn.1 b/usr/man/man1/chfn.1
new file mode 100644 (file)
index 0000000..576a117
--- /dev/null
@@ -0,0 +1,53 @@
+.TH CHFN 1 "17 March 1982 deprecated"
+.UC 4
+.SH NAME
+chfn \- change full name of user
+.SH SYNOPSIS
+.B chfn
+name
+string
+.SH DESCRIPTION
+.I Chfn
+is a command similar to
+.IR passwd (1)
+except that it is used to change the gcos field of the password
+file rather than the password entry.
+Note that the string specified will replace the entire gecos field of the
+specified user.
+If (as on the UCB system) this field contains information in addition
+to the user's full name, this information must be included in string
+or it will be deleted.
+Hence chfn can be used to fix phone numbers, offices, etc.
+.PP
+An example use of this command would be
+.PP
+.DT
+       chfn mark \'& Horton,508E,7686,5240633\'
+.PP
+Note that the string must in general be quoted to shield blanks
+and special characters from the shell.
+The field should consist of the users name,
+followed by their office number,
+followed by the last 4 digits of their office extension
+and finally their home phone number.
+Any of these can be omitted.
+At UCB, offices can be given as ``508E'' for 508 Evans, and ``187MC'' for
+187M Cory.
+There should be no spaces in the entry except for those in your name.
+.PP
+It is a good idea to run 
+.IR finger (1)
+on the user before and after
+.I chfn
+to make sure you have formatted the data correctly.
+.SH SEE\ ALSO
+finger(1), passwd(5), chsh(1), passwd(1)
+.SH AUTHOR
+Mark Horton
+.SH BUGS
+The encoding of the office and extension information is installation dependent.
+.PP
+A new user-information data base is in the works which will supplant
+this program;
+.I chfn's
+days are numbered.
diff --git a/usr/man/man1/finger.1 b/usr/man/man1/finger.1
new file mode 100644 (file)
index 0000000..37381e5
--- /dev/null
@@ -0,0 +1,76 @@
+.TH FINGER 1 "18 January 1983"
+.UC 4
+.SH NAME
+finger \- user information lookup program
+.SH SYNOPSIS
+.B finger
+[
+options
+] name ...
+.SH DESCRIPTION
+By default
+.I finger
+lists the login name, full name, terminal name and write status
+(as a '*' before the terminal name if write permission is denied),
+idle time, login time, and office location and phone number
+(if they are known) for each current UNIX user.
+(Idle time is minutes if it is a single integer, hours and minutes if a ':'
+is present, or days and hours if a 'd' is present.)
+.PP
+A longer format also exists and is used by
+.I finger
+whenever a list of peoples names is given.  (Account names as well as
+first and last names of users are accepted.)
+This format is multi-line, and includes all the information described above
+as well as the user's home
+directory and login shell, any plan which the person has placed in the file
+.I \&.plan
+in their home
+directory, and the project on which they are working from the file
+.I \&.project
+also in the home directory.
+.PP
+.I Finger
+options include:
+.TP
+.B \-m
+Match arguments only on user name.
+.TP
+.B \-l
+Force long output format.
+.TP
+.B \-p
+Suppress printing of the
+.I \&.plan
+files
+.TP
+.B \-s
+Force short output format.
+.SH FILES
+.ta 2i
+/etc/utmp      who file
+.br
+/etc/passwd    for users names, offices, ...
+.br
+/usr/adm/lastlog       last login times
+.br
+~/.plan        plans
+.br
+~/.project     projects
+.SH "SEE ALSO"
+w(1), who(1)
+.SH AUTHOR
+Earl T. Cohen
+.SH BUGS
+Only the first line of the
+.I .project
+file is printed.
+.PP
+The encoding of the gcos field is UCB dependent \- it knows that an office
+`197MC' is `197M Cory Hall', and that `529BE' is `529B Evans Hall'.
+.PP
+A user information data base is in the works and will radically alter
+the way the information that
+.I finger
+uses is stored.  Finger will require extensive modification when
+this is implemented.
diff --git a/usr/man/man1/lock.1 b/usr/man/man1/lock.1
new file mode 100644 (file)
index 0000000..d124e7d
--- /dev/null
@@ -0,0 +1,17 @@
+.TH LOCK 1 "24 February 1979"
+.UC
+.SH NAME
+lock \- reserve a terminal
+.SH SYNOPSIS
+.B lock
+.SH DESCRIPTION
+.I Lock
+requests a password from the user, then prints "LOCKED" on
+the terminal and refuses to relinquish the terminal until
+the password is repeated.  If the user forgets the password,
+he has no other recourse but to login elsewhere and kill
+the lock process.
+.SH AUTHOR
+Kurt Shoens
+.SH BUGS
+Should timeout after 15 minutes.
diff --git a/usr/man/man1/msgs.1 b/usr/man/man1/msgs.1
new file mode 100644 (file)
index 0000000..08347c2
--- /dev/null
@@ -0,0 +1,152 @@
+.TH MSGS 1 "18 January 1983"
+.UC 4
+.SH NAME
+msgs \- system messages and junk mail program
+.SH SYNOPSIS
+.B msgs
+[
+.B \-fhlpq
+] [
+number
+] [
+\-number
+]
+.SH DESCRIPTION
+.I Msgs
+is used to read system messages.
+These messages are
+sent by mailing to the login `msgs' and should be short
+pieces of information which are suitable to be read once by most users
+of the system.
+.PP
+.I Msgs
+is normally invoked each time you login, by placing it in the file
+.I \&.login
+.I (\&.profile
+if you use
+.IR /bin/sh ).
+It will then prompt you with the source and subject of each new message.
+If there is no subject line, the first few non-blank lines of the
+message will be displayed.
+If there is more to the message, you will be told how
+long it is and asked whether you wish to see the rest of the message.
+The possible responses are:
+.TP 7
+.B y
+type the rest of the message
+.TP 7
+RETURN
+synonym for y.
+.TP 7
+.B n
+skip this message
+and go on to the next message.
+.TP 7
+.B \-
+redisplay the last message.
+.TP 7
+.B q
+drops you out of
+.I msgs;
+the next time you run the program it will pick up where you left off.
+.TP 7
+.B s
+append the current message to the file ``Messages'' in the current directory;
+`s\-' will save the previously displayed message. A `s' or `s\-' may
+be followed by a space and a filename to receive the message replacing
+the default ``Messages''.
+.TP 7
+.B m
+or `m\-' causes a copy of the specified message to be placed in a temporary
+mailbox and 
+.IR mail (1)
+to be invoked on that mailbox.
+Both `m' and `s' accept a numeric argument in place of the `\-'.
+.PP
+.I Msgs
+keeps track of the next message you will see by a number in the file
+.I \&.msgsrc
+in your home directory.
+In the directory
+.I /usr/msgs
+it keeps a set of files whose names are the (sequential) numbers
+of the messages they represent.
+The file
+.I /usr/msgs/bounds
+shows the low and high number of the messages in the directory
+so that
+.I msgs
+can quickly determine if there are no messages for you.
+If the contents of
+.I bounds
+is incorrect it can be fixed by removing it;
+.I msgs
+will make a new
+.I bounds
+file the next time it is run.
+.PP
+Options to msgs include:
+.TP 7
+.B \-f
+which causes it not to say ``No new messages.''.
+This is useful in your
+.I \&.login
+file since this is often the case here.
+.TP 7
+.B \-q
+Queries whether there are messages, printing
+``There are new messages.'' if there are.
+The command ``msgs \-q'' is often used in login scripts.
+.TP 7
+.B \-h
+causes
+.I msgs
+to print the first part of messages only.
+.TP 7
+.B \-l
+option causes only locally originated messages to be reported.
+.TP 7
+\fInum\fR
+A message number can be given
+on the command line, causing
+.I msgs
+to start at the specified message rather than at the next message
+indicated by your
+.I \&.msgsrc
+file.
+Thus
+.IP "" 7
+    msgs \-h 1
+.IP "" 7
+prints the first part of all messages.
+.TP 7
+.I "\-number"
+will cause
+.I msgs
+to start
+.I number
+messages back from the one indicated by your 
+.I \&.msgsrc
+file, useful for reviews of recent messages.
+.TP 7
+.B \-p
+causes long messages to be piped through
+.IR more (1).
+.PP
+Within
+.I msgs
+you can also go to any specific message by typing its number when
+.I msgs
+requests input as to what to do.
+.SH FILES
+.ta 2i
+/usr/msgs/*    database
+.br
+~/.msgsrc      number of next message to be presented
+.SH AUTHORS
+William Joy
+.br
+David Wasley
+.SH SEE ALSO
+mail(1), more(1)
+.SH BUGS
diff --git a/usr/man/man1/net.1 b/usr/man/man1/net.1
new file mode 100644 (file)
index 0000000..39e6efb
--- /dev/null
@@ -0,0 +1,117 @@
+.TH NET 1 "6 February 1980"
+.UC 4
+.ds s 1
+.ds o 1
+.SH NAME
+net \- execute a command on a remote machine
+.SH SYNOPSIS
+.B net
+[
+.B \-m
+machine ] [
+.B \-l
+login
+] [
+.B \-p
+password ] [
+.B \-r
+respfile ] [
+.B \-
+] [
+.B \-f
+] [
+.B \-n
+] [
+.B \-q
+]
+command
+.SH DESCRIPTION
+The
+.I net
+command sends the specified 
+.I command
+(which should be enclosed in quotes) over the network to the specified
+(or default) remote machine.
+The network will notify the user when the command has
+been executed and will return to him any output or error indication by `writing'
+(see
+.IR  write (\*o))
+to the terminal if he is still logged in, or `mailing' (see
+.IR  mail (\*o))
+otherwise.
+.PP
+There are a number of options, which must precede the command.
+Options may be specified on the command line, preceding
+the command, or in a file ``.netrc'' in the user's login directory.
+The ``.netrc'' file is not described here.
+The
+.B \-m
+option specifies the desired remote machine.
+If a remote machine is not specified, the default one is used.
+The machine name may be a one letter abbreviation or a full name;
+upper\- and lower\-case distinctions are ignored.
+If the standard output and standard error files are to be saved, the
+.B \-r
+option returns to the originating user a file
+.I (respfile)
+containing the standard output and error files
+when the command was executed on the remote machine.
+If this option is used, no message is written back.
+The presence of a non-zero length
+.I respfile
+indicates completion.
+The
+.B \-q
+option suppresses all acknowledgements unless an error occurs, there is
+output from the command, or the exit code of
+.I command
+is non-zero.
+.PP
+If the
+.B \-l
+and
+.B \-p
+options are not specified,
+and the login name and password are not in the ``.netrc'' file,
+a remote login name and password is prompted for on the terminal;
+the
+.B \-f
+flag forces login name and password prompting.
+A single
+.B \-
+indicates that the standard input from the local machine is to be taken
+and transmitted to the remote machine, where it will be the standard input for
+.I command.
+The
+.B \-n
+flag forces all acknowledgment and output messages to be mailed
+rather than written on the terminal.
+Options do not need to be separated by spaces,
+i.e. either ``\-m C'' or ``\-mC'' is accepted.
+There are also other options intended to be used by
+higher level application programs and shell scripts only;
+they will not be described here.
+.PP
+The net command prepares a file to be sent to the remote machine
+and queues it in the `network queue.'
+.I Netq
+(\*s) gives information about the queues.
+.SH AUTHOR
+Eric Schmidt
+.SH FILES
+.ta 2.5i
+/usr/spool/berknet/logfile     logfile with information about net activity
+.br
+/usr/spool/berknet/plogfile?   log file including packet transmission statistics
+.br
+/usr/spool/berknet/netstat?    statistics file
+.br
+/usr/net/network.map   local network names and topology
+.SH BUGS
+.B \-q
+should be the default.
+.SH "SEE ALSO"
+netrm(\*s), netq(\*s), netlog(\*s), netcp(\*s),
+netlpr(\*s), netmail(\*s), netlogin(\*s), mail(\*o)
+.br
+``An Introduction to the Berkeley Network", by Eric Schmidt
diff --git a/usr/man/man1/netcp.1 b/usr/man/man1/netcp.1
new file mode 100644 (file)
index 0000000..4efac95
--- /dev/null
@@ -0,0 +1,90 @@
+.TH NETCP 1 "6 February 1980"
+.UC 4
+.ds s 1
+.ds o 1
+.SH NAME
+netcp \- remote copy of files through the net
+.SH SYNOPSIS
+.B netcp
+[
+.B \-l
+login ] [
+.B \-p
+password ]
+[
+.B \-f
+] [
+.B \-n
+] [
+.B \-q
+] fromfile tofile
+.SH DESCRIPTION
+.I Netcp
+copies files between machines and is similar to
+.IR cp (\*o).
+At least one of
+.I fromfile
+and
+.I tofile
+must be remote.
+The
+.B \-l,
+.B \-p,
+.B \-f,
+.B \-q,
+and
+.B \-n
+behave exactly as in
+.IR net (\*s).
+.PP
+.I Fromfile
+and
+.I tofile
+follow these conventions:
+.TP 4
+1.
+A simple filename is assumed to be local and from the current directory.
+.TP 4
+2.
+A filename preceded by a machine designator (see below)
+is a reference to a file on the specified remote machine.
+If a full pathname is not given, it is assumed to be from the login directory.
+.PP
+Examples:
+.IP "    grades.p" 20
+file in the current directory on local machine
+.IP "    C:junk" 20
+file in your login directory on C
+.IP "    /usr/lib/pq" 20
+file on local machine
+.IP "    C:comp/c2.c" 20
+file in a subdirectory on C machine
+.PP
+When files are being ``fetched'', that is, the
+.I fromfile
+is remote and the 
+.I tofile
+is local, the
+.I tofile
+is created zero-length mode 600.
+For security reasons, when the ``fetched'' file's contents
+arrive at the local machine, the file must still be zero-length
+and mode 0600.
+No confirmation is sent to the user that the file has been ``fetched'';
+a non-zero file length indicates completion.
+.PP
+.I Netcp
+executes the
+.IR net (\*s) 
+command.
+.SH "SEE ALSO"
+net(\*s), netrm(\*s), netq(\*s), netlog(\*s),
+netlpr(\*s), netmail(\*s), netlogin(\*s), cp(\*o), mail(\*o)
+.SH AUTHOR
+Eric Schmidt
+.SH BUGS
+The second filename may not be defaulted to a directory name as in
+.IR cp (\*o),
+it must be given explicitly.
+.br
+The file mode may or may not be set correctly.
diff --git a/usr/man/man1/netlog.1 b/usr/man/man1/netlog.1
new file mode 100644 (file)
index 0000000..3879c15
--- /dev/null
@@ -0,0 +1,21 @@
+.TH NETLOG 1 "6 February 1980"
+.UC 4
+.ds s 1
+.ds o 1
+.SH NAME
+netlog \- print the last few lines of the network log file
+.SH SYNOPSIS
+.B netlog
+[ \-lines ]
+.SH DESCRIPTION
+.I Netlog
+prints the last few lines of the network log file indicating recent network
+activity.
+.SH FILES
+.ta 2.5i
+/usr/spool/berknet/logfile     the log
+.SH SEE ALSO
+net(\*s), netrm(\*s), netq(\*s), netcp(\*s),
+netlpr(\*s), netmail(\*s), netlogin(\*s),
+mail(\*o)
+.SH BUGS
diff --git a/usr/man/man1/netlogin.1 b/usr/man/man1/netlogin.1
new file mode 100644 (file)
index 0000000..e5f6141
--- /dev/null
@@ -0,0 +1,69 @@
+.TH NETLOGIN 1 "6 February 1980"
+.UC 4
+.ds s 1
+.ds o 1
+.SH NAME
+netlogin \- provide login name and password for a remote machine
+.SH SYNOPSIS
+.B netlogin
+.B \-m
+machine [
+.B \-l
+login
+]
+.SH DESCRIPTION
+The
+.I netlogin
+command sets the login name and password for the specified
+.I machine
+in a rather unusual way.
+The user should type (to the C shell)
+.IP
+setenv\ MACH\fImachine\fR\ \(ganetlogin\ \-m\ \fImachine\fR\(ga
+.LP
+or (to the default Version 7 ``Bourne'' shell)
+.IP
+MACH\fImachine\fR=\(ganetlogin\ \-m\ \fImachine\fR\(ga; export MACH\fImachine\fR
+.PP
+to his login shell.  (Note the back-quotes).
+For example,
+.IP
+setenv\ MACHA\ `netlogin\ \-m\ A`
+.PP
+will prompt the user for his login name and password on the A machine and
+.IP
+setenv\ MACHA\ `netlogin\ \-m\ A \-l\ myname`
+.PP
+will prompt the user for the password to account `A:myname'.
+.PP
+The 
+.IR net (\*s)
+command will read the environment looking for environment variables
+beginning with ``MACH'' and followed by a valid machine name on the
+local network.
+If found it will use that information rather than prompt the user
+every time he executes a network command.
+This environment information is ignored if login names and passwords
+are specified on the command line of network commands using the 
+.B \-l
+and 
+.B \-p
+options or in the
+.I \&.netrc
+file.
+.PP
+This procedure for specifying passwords is somewhat safer than
+putting the remote passwords in the
+.I \&.netrc
+file.
+The passwords in the environment are encrypted and the environment
+information is useless after the user logs out.
+Use the 
+.IR printenv (\*o)
+command to see the encrypted password.
+.SH AUTHOR
+Eric Schmidt
+.SH "SEE ALSO"
+net(\*s), netrm(\*s), netq(\*s), netlog(\*s), netcp(\*s),
+netlpr(\*s), netmail(\*s), printenv(\*o), csh(\*o)
+.SH BUGS
diff --git a/usr/man/man1/netlpr.1 b/usr/man/man1/netlpr.1
new file mode 100644 (file)
index 0000000..9dbfd0f
--- /dev/null
@@ -0,0 +1,68 @@
+.TH NETLPR 1 "6 February 1980"
+.UC 4
+.ds s 1
+.ds o 1
+.SH NAME
+netlpr \- use a remote lineprinter through the net
+.SH SYNOPSIS
+.B netlpr
+[
+.B \-m
+machine ] [
+.B \-l
+login
+] [
+.B \-p
+password
+]
+[
+.B \-f
+] [
+.B \-q
+] [
+.B \-n
+] [
+.B \-c
+command ] [ name1 ... namen ]
+.SH DESCRIPTION
+.I Netlpr
+sends the named files, (or the standard input if none are named),
+to a remote lineprinter; the 
+.B \-m
+option forces the files to be printed on the specified machine.
+(If not specified, the default machine is used.)
+The
+.B \-l, 
+.B \-p, 
+.B \-f,
+.B \-q,
+and 
+.B \-n
+options behave exactly as in
+.IR net (\*s).
+If the
+.B \-c
+option is specified, the 
+.I command
+is used in place of `lpr'.
+This allows the use of different lineprinters on the remote machine.
+See the file
+.I `/usr/net/network.map'
+for a list of available commands.
+Any other options are passed through to
+.IR lpr (\*o)
+on the remote machine.
+Copies of the files are not made on the remote machine.
+.PP
+.I Netlpr
+executes the
+.IR net (\*s)
+command.
+.SH FILES
+.ta 2.5i
+/usr/net/network.map   lists the allowed local printer names
+.SH "SEE ALSO"
+net(\*s), netrm(\*s), netq(\*s), netlog(\*s), netcp(\*s),
+netmail(\*s), netlogin(\*s), mail(\*o), lpr(\*o)
+.SH AUTHOR
+Eric Schmidt
diff --git a/usr/man/man1/netmail.1 b/usr/man/man1/netmail.1
new file mode 100644 (file)
index 0000000..bf24cf4
--- /dev/null
@@ -0,0 +1,76 @@
+.TH NETMAIL 1 "6 February 1980"
+.UC 4
+.ds s 1
+.ds o 1
+.SH NAME
+netmail \- read mail on a remote machine over the network
+.SH SYNOPSIS
+.B netmail
+[
+.B \-l
+username ] [
+.B \-p
+password ] [
+.B \-c
+] [
+.B \-q
+] [
+.B \-n
+] [
+.B \-f
+] [ machine:username ]
+.SH DESCRIPTION
+Mail is checked and/or read on the specified
+.I machine.
+If the machine specification is omitted, the default machine is used.
+The command has two distinct modes depending on whether the 
+.B \-c
+option is specified.
+.PP
+If 
+.B \-c
+is specified, the presence of mail is checked on the remote machine.
+No password is required so it can be put in C shell `.netrc' file.
+A message is written or mailed back (see 
+.IR net (\*s))
+if there is or is not any unread mail.
+.PP
+If the 
+.B \-c
+option is not specified, mail is read and mailed back to the user.
+A password is required.
+Mail is also appended to the remote file
+.I `mbox'
+as a precaution.
+.PP
+The 
+.B \-q 
+option suppresses the message sent back if there is no mail.
+The options
+.B \-l,
+.B \-p,
+.B \-f,
+and
+.B \-n
+behave exactly as in
+.IR net (\*s).
+(The login name can be specified either with the
+.B \-l
+option or by `machine:username'.)
+.PP
+.I Netmail
+executes the
+.IR net (\*s)
+command.
+.PP
+Examples:
+.IP "    netmail\ \-c\ X:uname" 30
+checks if there is mail for `uname' on the X machine, no password required.
+.IP "    netmail\ X:uname" 30
+reads mail for `uname' on the X machine, mails it back, password is required.
+.SH AUTHOR
+Eric Schmidt
+.SH "SEE ALSO"
+net(\*s), netrm(\*s), netq(\*s), netlog(\*s), netcp(\*s),
+netlpr(\*s), netlogin(\*s), mail(\*o)
+.SH BUGS
diff --git a/usr/man/man1/netq.1 b/usr/man/man1/netq.1
new file mode 100644 (file)
index 0000000..2b253e3
--- /dev/null
@@ -0,0 +1,55 @@
+.TH NETQ 1 "6 February 1980"
+.UC 4
+.ds s 1
+.ds o 1
+.SH NAME
+netq \- print contents of network queue
+.SH SYNOPSIS
+.B netq
+[
+.B \-a
+] [ machine ]
+.SH DESCRIPTION
+.I Netq
+lists the contents of the network queue,
+one request per line, for each directly-connected machine.
+For each request, it shows the login name and machine of the originator,
+the destination machine and login name,
+and the length (in bytes) of the request
+(this will be larger than any files transferred (e.g. by
+.I netcp),
+because of header information).
+Also described are the queue filename which may be used
+as an argument to
+.IR netrm (\*s),
+the time entered the queue, and the command being sent.
+.PP
+.I Netq
+summarizes requests by other users.
+If the 
+.B \-a
+option is specified, requests from all users are listed.
+.PP
+If a
+.I machine
+is specified, only the queue for that directly-connected machine is listed.
+.PP
+The requests are listed in the order they will be sent;
+the queue for each machine is totally independent from the
+other machine's queues.
+.SH AUTHOR
+Eric Schmidt
+.SH FILES
+.ta 2.5i
+/usr/spool/berknet/send?       the directories where the queues are
+.br
+/usr/spool/berknet/logfile     the log
+.SH "SEE ALSO"
+net(\*s), netrm(\*s), netlog(\*s), netcp(\*s),
+netlpr(\*s), netmail(\*s), netlogin(\*s), mail(\*o)
+.SH BUGS
+.I Netq
+should also list files in net queues on intermediate machines.
+.br
+The commands are sent shortest-job first.
+There is no way to delay a shorter, earlier request.
diff --git a/usr/man/man1/netrm.1 b/usr/man/man1/netrm.1
new file mode 100644 (file)
index 0000000..be37624
--- /dev/null
@@ -0,0 +1,43 @@
+.TH NETRM 1 "6 February 1980"
+.UC 4
+.ds s 1
+.ds o 1
+.SH NAME
+netrm \- remove a command from the network queue
+.SH SYNOPSIS
+.B netrm
+[
+.B \-
+] [ name1 ... namen ]
+.SH DESCRIPTION
+.I Netrm
+removes files from the network queue which have been queued for transmission to remote machines (but not yet sent).
+The
+.I names
+specified are the filenames reported by the
+.IR netq (\*s)
+command.
+The
+.B \-
+option indicates that all files
+owned by the person logged in are to be removed.
+.PP
+Only the owner of the file or super-user can
+.I netrm
+the file.
+.SH AUTHOR
+Eric Schmidt
+.SH FILES
+.ta 2.5i
+/usr/spool/berknet/send?       the directories where the queues are
+.SH BUGS
+Files on network queues on intermediate machines cannot be removed.
+.br
+There should be a 
+.B \-m
+flag to use with 
+.B \-
+to remove all your requests to one particular machine.
+.SH "SEE ALSO"
+net(\*s), netq(\*s), netcp(\*s), netlpr(\*s), netmail(\*s), netlogin(\*s),
+mail(\*o)
diff --git a/usr/man/man1/nettroff.1 b/usr/man/man1/nettroff.1
new file mode 100644 (file)
index 0000000..c3cd938
--- /dev/null
@@ -0,0 +1,48 @@
+.TH NETTROFF 1 "6 February 1980"
+.UC 4
+.SH NAME
+nettroff \- troff to the phototypesetter over the network
+.SH SYNOPSIS
+.B nettroff
+troff arguments
+.SH DESCRIPTION
+.I Nettroff
+runs
+.IR troff (1)
+and sends the output over the network to the machine at the Computer Center
+with the phototypesetter (currently the ``A'' machine.)
+It will prompt you for an account name and password on the A machine unless
+you have provided these in your
+.I \&.netrc
+file.
+The
+.I troff
+.B \-s
+option is unnecessary and not permitted.
+.LP
+.I Nettroff
+jobs are limited to 15 feet of typesetter output.
+It is also a good idea to limit the size of the individual files sent,
+as the network uses a shortest-job-first scheduling algorithm.
+Jobs of 25000 characters or less are preferable; in no case will the
+network accept jobs longer than 100000 characters.
+.SH SEE ALSO
+vtroff(1), net(1), troff(1)
+.SH BUGS
+There is no way to specify special font mounts on the A machine.
+.br
+The 
+.B \-l
+and 
+.B \-p
+options of the 
+.IR net (1)
+command may not be specified.
+.br
+This command is not supported by the Computer Center.
+.br
+If on a Computer Center machine (B, C, D, or E) use the
+.I troff
+command (see
+.IR troff (1))
+for more information.
diff --git a/usr/man/man1/symorder.1 b/usr/man/man1/symorder.1
new file mode 100644 (file)
index 0000000..3deba23
--- /dev/null
@@ -0,0 +1,23 @@
+.TH SYMORDER 1 "20 October 1979"
+.UC
+.SH NAME
+symorder \- rearrange name list
+.SH SYNOPSIS
+.B symorder
+orderlist symbolfile
+.SH DESCRIPTION
+.I Orderlist
+is a file containing symbols to be found in symbolfile,
+1 symbol per line.
+.PP
+.I Symbolfile
+is updated in place to put the requested symbols first
+in the symbol table, in the order specified.  This is done
+by swapping the old symbols in the required spots with the
+new ones.  If all of the order symbols are not found, an
+error is generated.
+.PP
+This program was specifically designed to cut down on the
+overhead of getting symbols from /vmunix.
+.SH "SEE ALSO"
+nlist(3)
diff --git a/usr/man/man1/tabs.1 b/usr/man/man1/tabs.1
new file mode 100644 (file)
index 0000000..0603559
--- /dev/null
@@ -0,0 +1,27 @@
+.TH TABS 1  "18 January 1983"
+.SH NAME
+tabs \- set terminal tabs
+.SH SYNOPSIS
+.B tabs
+[
+.B \-n
+] [
+terminal
+]
+.SH DESCRIPTION
+.I Tabs
+sets the tabs on a variety of terminals.
+Various terminal names given in
+.IR term (7)
+are recognized;
+the default is, however, suitable for most 300
+baud terminals.
+If the
+.B \-n
+flag is present then the left
+margin is not indented as is normal.
+.SH SEE ALSO
+stty(1), term(7)
+.SH BUGS
+It's much better to use
+.IR tset (1).
diff --git a/usr/man/man1/tk.1 b/usr/man/man1/tk.1
new file mode 100644 (file)
index 0000000..7150e5a
--- /dev/null
@@ -0,0 +1,60 @@
+.TH TK 1  "18 January 1983"
+.SH NAME
+tk \- paginator for the Tektronix 4014
+.SH SYNOPSIS
+.B tk
+[
+.B \-t
+]
+[
+.B \-\c
+.I  N
+]
+[
+.B \-p\c
+.I  L
+]
+[
+file
+]
+.SH DESCRIPTION
+The output of
+.I tk
+is intended for a Tektronix 4014 terminal.
+.I Tk
+arranges for 66 lines to fit on the screen,
+divides the screen into
+.I N
+columns,
+and
+contributes an eight space page offset
+in the (default) single-column case.
+Tabs, spaces, and backspaces are collected and plotted
+when necessary.
+Teletype Model 37 half- and reverse-line sequences
+are interpreted and plotted.
+At the end of each page
+.I tk
+waits for a newline (empty line) from the keyboard before
+continuing on to the next page.
+In this wait state, the command
+.BI ! command
+will send the
+.I command
+to the shell.
+.PP
+The command line options are:
+.TP
+.B \-t
+Don't wait between pages; for directing output into a file.
+.PP
+.TP
+.BI \- N
+Divide the screen into \fIN\fR columns and
+wait after the last column.
+.TP
+.BI \-p L
+Set page length to \fIL\fR
+lines.
+.SH SEE ALSO
+pr(1)
diff --git a/usr/man/man1/trman.1 b/usr/man/man1/trman.1
new file mode 100644 (file)
index 0000000..02861eb
--- /dev/null
@@ -0,0 +1,17 @@
+.TH TRMAN 1 "24 February 1979"
+.UC
+.SH NAME
+trman \- translate version 6 manual macros to version 7 macros
+.SH SYNOPSIS
+.B trman
+[ file  ]
+.SH DESCRIPTION
+.I Trman
+reads the input file, which should be nroff/troff input and attempts
+to translate the version 6 manual sections therein to version 7 format.
+It is largely successful, but seems to have trouble
+with indented paragraphs and complicated font control.
+You should expect to have to fix up long sections by hand somewhat.
+.SH SEE ALSO
+man(7)
+.SH BUGS
diff --git a/usr/man/man1/uudiff.1c b/usr/man/man1/uudiff.1c
new file mode 100644 (file)
index 0000000..c018e4a
--- /dev/null
@@ -0,0 +1,81 @@
+.TH UUDIFF 1C  "18 January 1983"
+.SH NAME
+uudiff \- directory comparison between machines
+.SH SYNOPSIS
+.B uudiff
+[ \-d ]
+local-name remote-name
+.SH DESCRIPTION
+.I Uudiff
+compares the files in the directory
+.I local-name
+and the directory
+.I remote-name,
+(where
+.I remote-name
+may be of the form
+.I system-name!directory-name
+and
+.I system-name
+is a 
+.I uucp
+Unix name).
+It reports (via mail)
+which files are added, deleted, or changed, and provides
+a
+.I diff(1)
+of altered printable files.
+.PP
+If a part of
+.I remote-name
+is omitted
+(either the system or the directory)
+the corresponding part of
+.I local-name
+is used.
+If
+.I local-name
+is a file, rather than a directory,
+.I remote-name
+is also assumed to be a file and the program degenerates into
+.IR diff(1) .
+.PP
+The option
+.B \-d
+does not diff altered files; only
+the summary by file names is prepared.
+.SH FILES
+Lots.  Files zz[abcdeglmn]????? are used for scratch space;
+files brought back from the remote machine for
+.I diffing
+are stored (and left around) as
+.I name.?????
+and the final report is left in
+.I uudiff.?????
+(the exact name is reported by mail).
+.SH "SEE ALSO"
+diff(1), uucp(1)
+.SH DIAGNOSTICS
+Almost none.  Anything more serious than misspelling
+.I local-name
+causes unpredictable and obscure results.
+.SH BUGS
+In addition to the standard
+.I uucp
+requirements a hook is needed at the remote
+system, and at present is only installed
+on the systems "research" and "inter".
+.br
+This program is written in shell and should be translated
+to C so it could give diagnostics.
+.br
+Even if "remote-system" is the local system, uudiff
+is subject to delays in uucp traffic.
+.br
+It should probably write the standard output, instead of insisting
+on going into the background.
+.br
+Since checksums are used there is a probability of 1 in 2**32
+of missing differences between files.
+.br
+The ~userid syntax is not recognized.
diff --git a/usr/man/man3/l3tol.3 b/usr/man/man3/l3tol.3
new file mode 100644 (file)
index 0000000..9ce8533
--- /dev/null
@@ -0,0 +1,33 @@
+.TH L3TOL 3  "19 January 1983"
+.SH NAME
+l3tol, ltol3 \- convert between 3-byte integers and long integers
+.SH SYNOPSIS
+.nf
+.B l3tol(lp, cp, n)
+.B long *lp;
+.B char *cp;
+.PP
+.B ltol3(cp, lp, n)
+.B char *cp;
+.B long *lp;
+.fi
+.SH DESCRIPTION
+.I L3tol
+converts a list of
+.I n
+three-byte integers packed into a character string
+pointed to by 
+.I cp
+into a list of long integers pointed to by
+.IR lp .
+.PP
+.I Ltol3
+performs the reverse conversion from long integers
+.RI ( lp )
+to three-byte integers
+.RI ( cp ).
+.PP
+These functions are useful for file-system maintenance
+where the i-numbers are three bytes long.
+.SH SEE ALSO
+filsys(5)
diff --git a/usr/man/man5/ar.5 b/usr/man/man5/ar.5
new file mode 100644 (file)
index 0000000..109f51d
--- /dev/null
@@ -0,0 +1,54 @@
+.TH AR 5  "15 January 1983"
+.SH NAME
+ar \- archive (library) file format
+.SH SYNOPSIS
+.B #include <ar.h>
+.SH DESCRIPTION
+.PP
+The archive command
+.I ar
+combines several files into one.
+Archives are used mainly as libraries to be searched by the link-editor
+.I ld.
+.PP
+A file produced by
+.I ar
+has a magic string at the start,
+followed by the constituent files, each preceded by a file header.
+The magic number and header layout as described in the include file are:
+.RS
+.PP
+.nf
+.ta \w'#define 'u +\w'SARMAG 'u
+.ec %
+.so /usr/include/ar.h
+.ec \
+.fi
+.RE
+.LP
+The name is a blank-padded string.
+The
+.I ar_fmag
+field contains ARFMAG to help verify the presence of a header.
+The other fields are left-adjusted, blank-padded numbers.
+They are decimal except for
+.IR ar_mode ,
+which is octal.
+The date is the modification date of the file
+at the time of its insertion into the archive.
+.PP
+Each file begins on a even (0 mod 2) boundary;
+a new-line is inserted between files if necessary.
+Nevertheless the size given reflects the
+actual size of the file exclusive of padding.
+.PP
+There is no provision for empty areas in an archive file.
+.PP
+The encoding of the header is portable across machines.
+If an archive contains printable files, the archive itself is printable.
+.SH "SEE ALSO"
+ar(1), ld(1), nm(1)
+.SH BUGS
+File names lose trailing blanks.
+Most software dealing with archives takes even
+an included blank as a name terminator.
diff --git a/usr/man/man5/fstab.5 b/usr/man/man5/fstab.5
new file mode 100644 (file)
index 0000000..c653da4
--- /dev/null
@@ -0,0 +1,120 @@
+.TH FSTAB 5  "15 January 1983"
+.SH NAME
+fstab \- static information about the filesystems
+.SH SYNOPSIS
+.B #include <fstab.h>
+.SH DESCRIPTION
+The file
+.I /etc/fstab
+contains descriptive information about the various file
+systems.
+.I /etc/fstab
+is only
+.I read
+by programs, and not written;
+it is the duty of the system administrator to properly create 
+and maintain this file.
+.PP
+These programs use
+.I /etc/fstab:
+.I dump,
+.I mount,
+.I umount,
+.I swapon,
+.I fsck
+and
+.I df.
+The order of records in
+.I /etc/fstab
+is important,
+for both
+.I fsck,
+.I mount,
+and
+.I umount
+sequentially iterate through
+.I /etc/fstab
+doing their thing.
+.PP
+The special file name is the 
+.B block
+special file name, 
+and not the character special file name.
+If a program needs the character special file name,
+the program must create it by appending a ``r'' after the
+last ``/'' in the special file name.
+.PP
+If
+.I fs_type
+is ``rw'' or ``ro'' then the file system whose name is given in the
+.I fs_file
+field is normally mounted read-write or read-only on the specified special
+file.
+The
+.I fs_freq
+field is used for these file systems by the
+.IR dump (8)
+command to determine which file systems need to be dumped.
+The
+.I fs_passno
+field is used by the
+.IR fsck (8)
+program to determine the order in which file system checks are done
+at reboot time.
+The root file system should be specified with a
+.I fs_passno
+of 1, and other file systems should have larger numbers.  File systems
+within a drive should have distinct numbers, but file systems on different
+drives can be checked on the same pass to utilize parallelism available in
+the hardware.
+.PP
+If
+.I fs_type
+is ``sw'' then the special file is made avaiable as a piece of swap
+space by the
+.IR swapon (8)
+command at the end of the system reboot procedure.
+The fields other than
+.I fs_spec
+and
+.I fs_type
+are not used in this case.
+.PP
+.I Fs_type
+may be specified as ``xx'' to cause an entry to be ignored.
+This is useful to show disk partitions which are currently not
+used but will be used later.
+.sp 1
+.nf
+.ta \w'#define 'u +\w'FSTABARG(p) 'u \w'#define 'u+\w'char\ \ 'u+\w'fs_spec[FSNMLG]; 'u
+#define        FSTAB           "/etc/fstab"
+#define        FSNMLG          16
+
+#define        FSTABFMT        "%16s:%16s:%2s:%d:%d\en"
+#define        FSTABARG(p)     (p)\->fs_spec, (p)\->fs_file, \e
+               (p)\->fs_type, &(p)\->fs_freq, &(p)\->fs_passno
+#define        FSTABNARGS      5
+
+#define        FSTAB_RW        "rw"            /* read write device */
+#define        FSTAB_RO        "ro"            /* read only device */
+#define        FSTAB_SW        "sw"            /* swap device */
+#define        FSTAB_XX        "xx"            /* ignore totally */
+
+.ta \w'#define 'u +\w'char\ \ 'u +\w'fs_spec[FSNMLG]; 'u
+struct fstab {
+       char    fs_spec[FSNMLG];        /* block special device name */
+       char    fs_file[FSNMLG];        /* file system path prefix */
+       char    fs_type[3];             /* rw,ro,sw or xx */
+       int     fs_freq;                /* dump frequency, in days */
+       int     fs_passno;              /* pass number on parallel dump */
+};
+.fi
+
+.PP
+The proper way to read records from
+.I /etc/fstab
+is to use the routines getfsent(), getfsspec() or getfsfile().
+.SH FILES
+/etc/fstab
+.SH SEE ALSO
+getfsent(3)
diff --git a/usr/man/man5/group.5 b/usr/man/man5/group.5
new file mode 100644 (file)
index 0000000..b1d8907
--- /dev/null
@@ -0,0 +1,41 @@
+.TH GROUP 5  "15 January 1983"
+.SH NAME
+group \- group file
+.SH DESCRIPTION
+.I Group
+contains for each group the
+following information:
+.HP 10
+group name
+.br
+.ns
+.HP 10
+encrypted password
+.br
+.ns
+.HP 10
+numerical group ID
+.br
+.ns
+.HP 10
+a comma separated list of all users allowed in the group
+.PP
+This is an ASCII file.
+The fields are separated
+by colons;
+Each group is separated from the next by a new-line.
+If the password field is null, no password is demanded.
+.PP
+This file resides in directory /etc.
+Because of the encrypted
+passwords, it can and does have general read
+permission and can be used, for example,
+to map numerical group ID's to names.
+.SH FILES
+/etc/group
+.SH "SEE ALSO"
+newgrp(1), crypt(3), passwd(1), passwd(5)
+.SH BUGS
+The
+.IR passwd (1)
+command won't change the passwords.
diff --git a/usr/man/man5/mtab.5 b/usr/man/man5/mtab.5
new file mode 100644 (file)
index 0000000..aa31a9f
--- /dev/null
@@ -0,0 +1,34 @@
+.TH MTAB 5  "15 January 1983"
+.SH NAME
+mtab \- mounted file system table
+.SH DESCRIPTION
+.I Mtab
+resides in directory
+.I /etc
+and contains a table of devices mounted by the
+.I mount
+command.
+.I Umount
+removes entries.
+.PP
+Each entry is 64 bytes long;
+the first 32 are the null-padded name of the
+place where the special file is mounted;
+the second 32 are the null-padded name of the special
+file.
+The special file has all its directories
+stripped away;
+that is, everything through the last `/' is thrown
+away.
+.PP
+This table is present only so people can look at it.
+It does not matter to
+.I mount
+if there are duplicated entries nor
+to
+.I umount
+if a name cannot be found.
+.SH FILES
+/etc/mtab
+.SH "SEE ALSO"
+mount(8)
diff --git a/usr/man/man5/passwd.5 b/usr/man/man5/passwd.5
new file mode 100644 (file)
index 0000000..b32e6f4
--- /dev/null
@@ -0,0 +1,68 @@
+.TH PASSWD 5  "15 January 1983"
+.SH NAME
+passwd \- password file
+.SH DESCRIPTION
+.I Passwd
+contains for each user the
+following information:
+.HP 10
+name (login name, contains no upper case)
+.br
+.ns
+.HP 10
+encrypted password
+.br
+.ns
+.HP 10
+numerical user ID
+.br
+.ns
+.HP 10
+numerical group ID
+.br
+.ns
+.HP 10
+user's real name, office, extension, home phone.
+.br
+.ns
+.HP 10
+initial working directory
+.br
+.ns
+.HP 10
+program to use as Shell
+.PP
+The name may contain `&', meaning insert the login name.
+This information is set by the
+.IR chfn (1)
+command and used by the
+.IR finger (1)
+command.
+.PP
+This is an ASCII file.  Each field within each user's entry
+is separated from the next by a colon.
+Each user is separated from the next by a new-line.
+If the password field is null, no password is demanded;
+if the Shell field is null, then
+.I /bin/sh
+is used.
+.PP
+This file resides in directory /etc.
+Because of the encrypted
+passwords, it can and does have general read
+permission and can be used, for example,
+to map numerical user ID's to names.
+.PP
+Appropriate precautions must be taken to lock the file against changes
+if it is to be edited with a text editor;
+.IR vipw (8)
+does the necessary locking.
+.SH FILES
+/etc/passwd
+.SH "SEE ALSO"
+getpwent(3), login(1), crypt(3), passwd(1), group(5), chfn(1), finger(1),
+vipw(8), adduser(8)
+.SH BUGS
+A binary indexed file format should be available for fast access.
+.PP
+User information (name, office, etc.) should be stored elsewhere.
diff --git a/usr/man/man5/plot.5 b/usr/man/man5/plot.5
new file mode 100644 (file)
index 0000000..c4089eb
--- /dev/null
@@ -0,0 +1,118 @@
+.TH PLOT 5  "15 January 1983"
+.SH NAME
+plot \- graphics interface
+.SH DESCRIPTION
+Files of this format are produced by routines
+described in 
+.IR  plot (3),
+and are interpreted for various devices
+by commands described in
+.IR  plot (1).
+A graphics file is a stream of plotting instructions.
+Each instruction consists of an ASCII letter
+usually followed by bytes of binary information.
+The instructions are executed in order.
+A point is designated by
+four bytes representing
+the
+x and y
+values;
+each value
+is a signed integer.
+The last designated point in an
+.B "l, m, n,"
+or
+.B p
+instruction becomes the `current point'
+for the next instruction.
+.PP
+Each of the following descriptions begins with the name
+of the corresponding routine in
+.IR  plot (3).
+.TP 3
+.B  m
+move: The next four bytes give a new current point.
+.TP 3
+.B  n
+cont: Draw a line from the current point to
+the point given by the next four bytes.
+See
+.IR  plot (1).
+.TP 3
+.B  p
+point: Plot the point given by the next four bytes.
+.TP 3
+.B  l
+line: Draw a line from the point given by the next
+four bytes to the point given by the following four bytes.
+.TP 3
+.B  t
+label: Place the following ASCII string so that its
+first character falls on the current point.
+The string is terminated by a newline.
+.TP 3
+.B  a
+arc:
+The first four bytes give the center, the next four give the
+starting point,
+and the last four give the end point of a circular arc.
+The least significant coordinate of the end point is
+used only to determine the quadrant.
+The arc is drawn counter-clockwise.
+.TP 3
+.B  c
+circle:
+The first four bytes give the center of the circle,
+the next two the radius.
+.TP 3
+.B  e
+erase: Start another frame of output.
+.TP 3
+.B  f
+linemod: Take the following string, up to a newline,
+as the style for drawing further lines.
+The styles are
+`dotted,'
+`solid,' `longdashed,' `shortdashed,' and `dotdashed.'
+Effective only in 
+.I plot 4014
+and
+.I plot ver.
+.TP 3
+.B  s
+space: The next four bytes give
+the lower left corner of the plotting area;
+the following four give the upper right corner.
+The plot will be magnified or reduced to fit
+the device as closely as possible.
+.IP
+Space settings that exactly fill the plotting area
+with unity scaling appear below for
+devices supported by the filters of
+.IR  plot (1).
+The upper limit is just outside the plotting area.
+In every case the plotting area is taken to be square;
+points outside may be displayable on
+devices whose face isn't square.
+.RS
+.TP 10n
+4014
+space(0, 0, 3120, 3120);
+.br
+.ns
+.TP 
+ver
+space(0, 0, 2048, 2048);
+.br
+.ns
+.TP 
+300, 300s
+space(0, 0, 4096, 4096);
+.br
+.ns
+.TP 
+450
+space(0, 0, 4096, 4096);
+.RE
+.SH "SEE ALSO"
+plot(1), plot(3), graph(1)
diff --git a/usr/man/man5/tar.5 b/usr/man/man5/tar.5
new file mode 100644 (file)
index 0000000..f87a43b
--- /dev/null
@@ -0,0 +1,115 @@
+.TH TAR 5  "15 January 1983"
+.SH NAME
+tar \- tape archive file format
+.SH DESCRIPTION
+.IR Tar ,
+(the tape archive command)
+dumps several files into one, in a medium suitable for transportation.
+.PP
+A ``tar tape'' or file is a series of blocks.  Each block is of size TBLOCK.
+A file on the tape is represented by a header block which describes
+the file, followed by zero or more blocks which give the contents of the
+file.  At the end of the tape are two blocks filled with binary
+zeros, as an end-of-file indicator.  
+.PP
+The blocks are grouped for physical I/O operations.  Each group of
+.I n
+blocks (where
+.I n
+is set by the 
+.B b
+keyletter on the 
+.IR tar (1)
+command line \(em default is 20 blocks) is written with a single system
+call; on nine-track tapes, the result of this write is a single tape
+record.  The last group is always written at the full size, so blocks after
+the two zero blocks contain random data.  On reading, the specified or
+default group size is used for the
+first read, but if that read returns less than a full tape block, the reduced
+block size is used for further reads.
+.PP
+The header block looks like:
+.RS
+.PP
+.nf
+#define TBLOCK 512
+#define NAMSIZ 100
+
+union hblock {
+       char dummy[TBLOCK];
+       struct header {
+               char name[NAMSIZ];
+               char mode[8];
+               char uid[8];
+               char gid[8];
+               char size[12];
+               char mtime[12];
+               char chksum[8];
+               char linkflag;
+               char linkname[NAMSIZ];
+       } dbuf;
+};
+.ta \w'#define 'u +\w'SARMAG 'u
+.fi
+.RE
+.LP
+.IR Name
+is a null-terminated string.
+The other fields are zero-filled octal numbers in ASCII.  Each field
+(of width w) contains w-2 digits, a space, and a null, except
+.IR size
+and
+.IR mtime ,
+which do not contain the trailing null.
+.IR Name
+is the name of the file, as specified on the 
+.I tar
+command line.  Files dumped because they were in a directory which
+was named in the command line have the directory name as prefix and
+.I /filename
+as suffix.
+.  \"Whatever format was used in the command line
+.  \"will appear here, such as
+.  \".I \&./yellow
+.  \"or
+.  \".IR \&../../brick/./road/.. .
+.  \"To retrieve a file from a tar tape, an exact prefix match must be specified,
+.  \"including all of the directory prefix information used on the command line
+.  \"that dumped the file (if any).
+.IR Mode
+is the file mode, with the top bit masked off.
+.IR Uid
+and
+.IR gid
+are the user and group numbers which own the file.
+.IR Size
+is the size of the file in bytes.  Links and symbolic links are dumped
+with this field specified as zero.
+.IR Mtime
+is the modification time of the file at the time it was dumped.
+.IR Chksum
+is a decimal ASCII value which represents the sum of all the bytes in the
+header block.  When calculating the checksum, the 
+.IR chksum
+field is treated as if it were all blanks.
+.IR Linkflag
+is ASCII `0' if the file is ``normal'' or a special file, ASCII `1'
+if it is an hard link, and ASCII `2'
+if it is a symbolic link.  The name linked-to, if any, is in
+.IR linkname,
+with a trailing null.
+Unused fields of the header are binary zeros (and are included in the
+checksum).
+.PP
+The first time a given i-node number is dumped, it is dumped as a regular
+file.  The second and subsequent times, it is dumped as a link instead.
+Upon retrieval, if a link entry is retrieved, but not the file it was
+linked to, an error message is printed and the tape must be manually
+re-scanned to retrieve the linked-to file.
+.PP
+The encoding of the header is designed to be portable across machines.
+.SH "SEE ALSO"
+tar(1)
+.SH BUGS
+Names or linknames longer than NAMSIZ produce error reports and cannot be
+dumped.
diff --git a/usr/man/man5/ttys.5 b/usr/man/man5/ttys.5
new file mode 100644 (file)
index 0000000..95119ec
--- /dev/null
@@ -0,0 +1,36 @@
+.TH TTYS 5  "15 January 1983"
+.SH NAME
+ttys \- terminal initialization data
+.SH DESCRIPTION
+The
+.I ttys
+file is read by the
+.I init
+program and specifies which terminal special files are to have
+a process created for them so that people can log in.
+There is one line in the 
+.I ttys
+file per special file.
+.PP
+The first character of a line in the 
+.I ttys
+file is either `0' or `1'.  If the first character on the line is a `0', the 
+.I init
+program ignores that line.  If the first character on the line is a `1', the
+.I init
+program creates a login process for that line.
+The second character on each line is used as an argument to
+.IR getty (8),
+which performs such tasks as baud-rate recognition, reading the login name,
+and calling
+.I login.
+For normal lines, the character is `0';
+other characters can be used, for example, with hard-wired terminals
+where speed recognition is unnecessary or which have special characteristics.
+.RI ( Getty
+will have to be fixed in such cases.)
+The remainder of the line is the terminal's entry in the device directory, /dev.
+.SH FILES
+/etc/ttys
+.SH "SEE ALSO"
+init(8), getty(8), login(1)
diff --git a/usr/man/man5/ttytype.5 b/usr/man/man5/ttytype.5
new file mode 100644 (file)
index 0000000..0870675
--- /dev/null
@@ -0,0 +1,22 @@
+.TH TTYTYPE 5 "25 October 1979"
+.SH NAME
+ttytype \- data base of terminal types by port
+.SH SYNOPSIS
+/etc/ttytype
+.SH DESCRIPTION
+.I Ttytype
+is a database containing, for each tty port on the system,
+the kind of terminal that is attached to it.
+There is one line per port,
+containing the terminal kind (as a name listed in termcap (5)),
+a space, and the name of the tty, minus /dev/.
+.PP
+This information is read by
+.IR tset (1)
+and by
+.IR login (1)
+to initialize the TERM variable at login time.
+.SH "SEE ALSO"
+tset(1), login(1)
+.SH BUGS
+Some lines are merely known as \*(lqdialup\*(rq or \*(lqplugboard\*(rq.
diff --git a/usr/man/man5/uuencode.5 b/usr/man/man5/uuencode.5
new file mode 100644 (file)
index 0000000..73e6352
--- /dev/null
@@ -0,0 +1,48 @@
+.TH UUENCODE 5 "1 June 1980"
+.SH NAME
+uuencode \- format of an encoded uuencode file
+.SH DESCRIPTION
+Files output by
+.I uuencode(1)
+consist of a header line,
+followed by a number of body lines,
+and a trailer line.
+.I Uudecode(1)
+will ignore any lines preceding the header or
+following the trailer.
+Lines preceding a header must not, of course,
+look like a header.
+.PP
+The header line is distinguished by having the first
+6 characters \*(lqbegin\ \*(rq.
+The word
+.I begin
+is followed by a mode (in octal),
+and a string which names the remote file.
+A space separates the three items in the header line.
+.PP
+The body consists of a number of lines, each at most 62 characters
+long (including the trailing newline).
+These consist of a character count,
+followed by encoded characters,
+followed by a newline.
+The character count is a single printing character,
+and represents an integer, the number of bytes
+the rest of the line represents.
+Such integers are always in the range from 0 to 63 and can
+be determined by subtracting the character space (octal 40)
+from the character.
+.PP
+Groups of 3 bytes are stored in 4 characters, 6 bits per character.
+All are offset by a space to make the characters printing.
+The last line may be shorter than the normal 45 bytes.
+If the size is not a multiple of 3, this fact can be determined
+by the value of the count on the last line.
+Extra garbage will be included to make the character count a multiple
+of 4.
+The body is terminated by a line with a count of zero.
+This line consists of one ASCII space.
+.PP
+The trailer line consists of \*(lqend\*(rq on a line by itself.
+.SH SEE\ ALSO
+uuencode(1), uudecode(1), uusend(1), uucp(1), mail(1)
diff --git a/usr/man/man6/aardvark.6 b/usr/man/man6/aardvark.6
new file mode 100644 (file)
index 0000000..1173d2a
--- /dev/null
@@ -0,0 +1,19 @@
+.TH AARDVARK 6 "1 February 1983"
+.UC 4
+.SH NAME
+aardvark \- yet another exploration game
+.SH SYNOPSIS
+.B /usr/games/aardvark
+.SH DESCRIPTION
+Aardvark is yet another computer fantasy simulation game
+of the adventure/zork genre.
+This one is written in DDL (Dungeon Definition Language)
+and is intended primarily as an example of how to write
+a dungeon in DDL.
+.SH FILES
+.ta \w'/usr/games/lib/aardvark'u
+/usr/games/lib/ddlrun  ddl interpreter
+.br
+/usr/games/lib/aardvark        internal form of aardvark dungeon
+.SH AUTHOR
+Mike Urban, UCLA
diff --git a/usr/man/man6/adventure.6 b/usr/man/man6/adventure.6
new file mode 100644 (file)
index 0000000..477276f
--- /dev/null
@@ -0,0 +1,18 @@
+.TH ADVENTURE 6 "1 February 1983"
+.SH NAME
+adventure \- an exploration game
+.SH SYNOPSIS
+.B /usr/games/adventure
+.SH DESCRIPTION
+The object of the game is to
+locate and explore Colossal Cave, find the treasures hidden there,
+and bring them back to the building with you.
+The program is self-describing to a point, but part of the game is to discover
+its rules.
+.PP
+To terminate a game, type `quit';
+to save a game for later resumption, type `suspend'.
+.SH BUGS
+.PP
+Saving a game creates a large executable file instead of just
+the information needed to resume the game.
diff --git a/usr/man/man6/aliens.6 b/usr/man/man6/aliens.6
new file mode 100644 (file)
index 0000000..d5442af
--- /dev/null
@@ -0,0 +1,12 @@
+.TH ALIENS 6 "2 April 1981"
+.UC 4
+.SH NAME
+aliens \- The alien invaders attack the earth
+.SH SYNIOPSIS
+.B /usr/games/aliens
+.SH DESCRIPTION
+.PP
+This is a UNIX version of Space Invaders.  The program is pretty much self
+documenting.
+.SH FILES
+/usr/games/lib/aliens.log      Score file
diff --git a/usr/man/man6/arithmetic.6 b/usr/man/man6/arithmetic.6
new file mode 100644 (file)
index 0000000..c853144
--- /dev/null
@@ -0,0 +1,53 @@
+.TH ARITHMETIC 6  "1 February 1983"
+.SH NAME
+arithmetic \- provide drill in number facts
+.SH SYNOPSIS
+.B /usr/games/arithmetic
+[
+.B +\-x/
+] [ range ]
+.SH DESCRIPTION
+.I Arithmetic
+types out simple arithmetic problems, and waits for an answer to be typed in.
+If the answer is correct, it types back \*(lqRight!\*(rq, and a new problem.
+If the answer is wrong, it replies \*(lqWhat?\*(rq,
+and waits for another answer.
+Every twenty problems, it publishes
+statistics on correctness and the time required to answer.
+.PP
+To quit the program, type an interrupt (delete).
+.PP
+The first optional argument determines the kind of problem to be generated;
+.B +\-x/
+respectively cause addition, subtraction, multiplication, and division
+problems to be generated.
+One or more characters can be given;
+if more than one is given, the different types of
+problems will be mixed in random order; default is
+.B +\-
+.PP
+.I Range
+is a decimal number;
+all addends, subtrahends, differences, multiplicands, divisors,
+and quotients will be less than or equal to the value of
+.IR range .
+Default
+.I range
+is 10.
+.PP
+At the start, all numbers less than or equal to
+.I range
+are equally likely to appear.
+If the respondent makes a mistake,
+the numbers in the problem which was missed
+become more likely to reappear.
+.PP
+As a matter of educational philosophy, the program will
+not give correct answers, since the learner should, in principle,
+be able to calculate them.
+Thus the program is intended to provide drill for
+someone just past the first learning stage, not to teach number facts
+.I de
+.IR novo .
+For almost all users, the relevant statistic should be
+time per problem, not percent correct.
diff --git a/usr/man/man6/backgammon.6 b/usr/man/man6/backgammon.6
new file mode 100644 (file)
index 0000000..3a93761
--- /dev/null
@@ -0,0 +1,8 @@
+.TH BACKGAMMON 6  "1 February 1983"
+.SH NAME
+backgammon \- the game
+.SH SYNOPSIS
+.B /usr/games/backgammon
+.SH DESCRIPTION
+This program does what you expect.
+It will ask whether you need instructions.
diff --git a/usr/man/man6/banner.6 b/usr/man/man6/banner.6
new file mode 100644 (file)
index 0000000..e0d903d
--- /dev/null
@@ -0,0 +1,38 @@
+.TH BANNER 6 "1 February 1983"
+.UC
+.SH NAME
+banner \- print large banner on printer
+.SH SYNOPSIS
+.B /usr/games/banner
+[
+.BI \-w n
+]
+message ...
+.SH DESCRIPTION
+.I Banner
+prints a large, high quality banner on the standard output.
+If the message is omitted, it prompts for and
+reads one line of its standard input.  If
+.B \-w
+is given, the output is scrunched down from a width of 132 to
+.I n ,
+suitable for a narrow terminal.  If
+.I n
+is omitted, it defaults to 80.
+.PP
+The output should be printed on a hard-copy device, up to 132 columns wide,
+with no breaks between the pages. The volume is enough that you want
+a printer or a fast hardcopy terminal, but if you are patient, a
+decwriter or other 300 baud terminal will do.
+.SH BUGS
+Several ASCII characters are not defined, notably <, >, [, ], \\,
+^, _, {, }, |, and ~.  Also, the characters ", ', and & are funny
+looking (but in a useful way.)
+.PP
+The
+.B \-w
+option is implemented by skipping some rows and columns.
+The smaller it gets, the grainier the output.
+Sometimes it runs letters together.
+.SH AUTHOR
+Mark Horton
diff --git a/usr/man/man6/bcd.6 b/usr/man/man6/bcd.6
new file mode 100644 (file)
index 0000000..a4462ba
--- /dev/null
@@ -0,0 +1,13 @@
+.TH BCD 6  "1 February 1983"
+.SH NAME
+bcd \- convert to antique media
+.SH SYNOPSIS
+.B /usr/games/bcd
+text
+.SH DESCRIPTION
+.I Bcd
+converts the literal
+.I text
+into a form familiar to old-timers.
+.SH "SEE ALSO"
+dd(1)
diff --git a/usr/man/man6/boggle.6 b/usr/man/man6/boggle.6
new file mode 100644 (file)
index 0000000..b0532ab
--- /dev/null
@@ -0,0 +1,43 @@
+.TH BOGGLE 6 "1 February 1983"
+.UC 4
+.SH NAME
+boggle \- play the game of boggle
+.SH SYNOPSIS
+.B /usr/games/boggle
+[
+.B +
+] [
+.B ++
+]
+.SH DESCRIPTION
+This program is intended for people wishing to sharpen their
+skills at Boggle (TM Parker Bros.).
+If you invoke the program with 4 arguments of 4 letters each,
+.RI ( e.g.
+.RB \*(lq "boggle appl epie moth erhd" \*(rq)
+the program forms the obvious Boggle grid and lists all the words from
+.B /usr/dict/words
+found therein. If you invoke the program without arguments, it will generate
+a board for you, let you enter words for 3 minutes, and then tell you
+how well you did relative to
+.BR /usr/dict/words .
+.PP
+The object of Boggle is to find, within 3
+minutes, as many words as possible in a 4 by 4 grid of letters. Words
+may be formed from any sequence of 3 or more adjacent letters in the
+grid. The letters may join horizontally, vertically, or diagonally.
+However, no position in the grid may be used more than once within any
+one word. In competitive play amongst humans, each player is given
+credit for those of his words which no other player has found.
+.PP
+In interactive play, enter your words separated by spaces, tabs,
+or newlines. A bell will ring when there is 2:00, 1:00, 0:10, 0:02,
+0:01, and 0:00 time left. You may complete any word started before the
+expiration of time. You can surrender before time is up by hitting
+\&'break'. While entering words, your erase character is only effective
+within the current word and your line kill character is ignored.
+.PP
+Advanced players may wish to invoke the program with 1 or 2 +'s as
+the first argument. The first + removes the restriction that positions
+can only be used once in each word. The second + causes a position to
+be considered adjacent to itself as well as its (up to) 8 neighbors.
diff --git a/usr/man/man6/chase.6 b/usr/man/man6/chase.6
new file mode 100644 (file)
index 0000000..2c08b74
--- /dev/null
@@ -0,0 +1,27 @@
+.TH CHASE 6 "1 April 1981"
+.UC 4
+.SH NAME
+chase \- Try to escape to killer robots
+.SH SYNOPSIS
+.B /usr/games/chase
+[
+.I nrobots
+] [
+.I nfences
+]
+.SH DESCRIPTION
+.PP
+The object of the game chase is to move around inside of the box on the
+screen without getting eaten by the robots chasing and without running
+into anything.
+.PP
+If a robot runs into another robot while chasing you, they crash and leave
+a junk heap.  If a robot runs into a fence, it is destroyed.
+.PP
+If you can survive until all the robots are destroyed, you have won!
+.PP
+If you do not specify either
+.I nrobots
+or
+.I nfences,
+chase will prompt you for them.
diff --git a/usr/man/man6/chess.6 b/usr/man/man6/chess.6
new file mode 100644 (file)
index 0000000..2943379
--- /dev/null
@@ -0,0 +1,21 @@
+.TH CHESS 6  "1 February 1983"
+.SH NAME
+chess \- the game of chess
+.SH SYNOPSIS
+.B /usr/games/chess
+.SH DESCRIPTION
+.I Chess
+is a computer program that plays class D chess.
+Moves may be given either in standard (descriptive) notation
+or in algebraic notation.
+The symbol `+' is used to specify check; `o-o' and `o-o-o' specify castling.
+To play black, type `first'; to print the board, type an empty line.
+.PP
+Each move is echoed in the appropriate notation followed by the program's reply.
+.SH FILES
+/usr/lib/book          opening `book'
+.SH DIAGNOSTICS
+The most cryptic diagnostic is `eh?' which
+means that the input was syntactically incorrect.
+.SH BUGS
+Pawns may be promoted only to queens.
diff --git a/usr/man/man6/ching.6 b/usr/man/man6/ching.6
new file mode 100644 (file)
index 0000000..a61fd24
--- /dev/null
@@ -0,0 +1,80 @@
+.TH CHING 6  "1 February 1983"
+.SH NAME
+ching, fortune \- the book of changes and other cookies
+.SH SYNOPSIS
+.B /usr/games/ching
+[ hexagram ]
+.PP
+.B /usr/games/fortune
+.SH DESCRIPTION
+The
+.I "I Ching"
+or
+.I "Book of Changes"
+is an ancient Chinese oracle that has been in use for centuries
+as a source of wisdom and advice.
+.PP
+The text of the
+.I oracle
+(as it is sometimes known) consists of sixty-four
+.I hexagrams,
+each symbolized by a particular arrangement of six straight (\-\-\-)
+and broken (\-\ \-) lines.  These lines have values ranging
+from six through nine, with the even values indicating the broken lines.
+.PP
+Each hexagram consists of two major sections.  The
+.B  Judgement
+relates specifically to the matter at hand (E.g.,
+\*(lqIt furthers one to have somewhere to go.\*(rq) while the
+.B  Image
+describes the general attributes of the hexagram and how they apply
+to one's own life (\*(lqThus the superior man makes himself strong
+and untiring.\*(rq).
+.PP
+When any of the lines have the values six or nine, they are moving lines;
+for each there is an appended judgement which becomes significant.
+Furthermore, the moving lines are inherently unstable and
+change into their opposites; a second hexagram
+(and thus an additional judgement) is formed.
+.PP
+Normally, one consults the oracle by fixing the desired question
+firmly in mind and then casting a set of changes (lines)
+using yarrow\-stalks or tossed coins.  The resulting hexagram
+will be the answer to the question.
+.PP
+Using an algorithm suggested by S. C. Johnson, the UNIX
+.IR oracle " simply reads"
+a question from the standard input (up to an EOF)
+and hashes the individual characters in combination with the
+time of day, process id and any other magic numbers which happen to be lying
+around the system.  The resulting value is used as the seed
+of a random number generator which drives a simulated coin\-toss divination.
+The answer is then piped through
+.BR nroff " for formatting"
+and will appear on the standard output.
+.PP
+For those who wish to remain steadfast in the old traditions,
+the oracle will also accept the results of a personal divination using,
+for example, coins.  To do this, cast the change and then type the
+resulting line values as an argument.
+.PP
+The impatient modern may prefer to settle for Chinese cookies; try
+.I fortune.
+.SH "SEE ALSO"
+It furthers one to see the great man.
+.SH DIAGNOSTICS
+The great prince issues commands,
+.br
+Founds states, vests families with fiefs.
+.br
+Inferior people should not be employed.
+.SH BUGS
+Waiting in the mud
+.br
+Brings about the arrival of the enemy.
+.PP
+If one is not extremely careful,
+.br
+Somebody may come up from behind and strike him.
+.br
+Misfortune.
diff --git a/usr/man/man6/cribbage.6 b/usr/man/man6/cribbage.6
new file mode 100644 (file)
index 0000000..5c1e3e4
--- /dev/null
@@ -0,0 +1,94 @@
+.TH CRIBBAGE 6 "1 February 1983"
+.UC 4
+.SH NAME
+cribbage \- the card game cribbage
+.SH SYNOPSIS
+.B /usr/games/cribbage
+[
+-[r][e][q]
+] name ...
+.SH DESCRIPTION
+.I Cribbage
+plays the card game cribbage, with the program playing one hand
+and the user the other.  The program will initially ask the user if
+the rules of the game are needed -- if so, it will print out
+the appropriate section from
+.I According to Hoyle
+with
+.I more (I).
+.PP
+.I Cribbage
+options include:
+.TP
+.B \-e
+When the player makes a mistakes scoring his hand or crib, provide an
+explanation of the correct score.  (This is especially useful for
+beginning players.)
+.TP
+.B \-q
+Print a shorter form of all messages -- this is only recommended for
+users who have played the game without specifying this option.
+.TP
+.B \-r
+Instead of asking the player to cut the deck, the program will randomly
+cut the deck.
+.PP
+.I Cribbage
+first asks the player whether he wishes to play a short game
+(\*(lqonce around\*(rq, to 61) or a long game (\*(lqtwice around\*(rq, to 121).  A
+response of `s' will result in a short game, any other response will
+play a long game.
+.PP
+At the start of the first game, the program
+asks the player to cut the deck to determine who gets the
+first crib.  The user should respond with a number between 0 and
+51, indicating how many cards down the deck is to be cut.  The player
+who cuts the lower ranked card gets the first crib.
+If more than one game is played, the
+loser of the previous game gets the first crib in the current game.
+.PP
+For each hand, the program first prints the player's hand,
+whose crib it is, and then asks the player
+to discard two cards into the crib.  The cards are prompted for
+one per line, and are typed as explained below.
+.PP
+After discarding, the program cuts the deck (if it is the player's
+crib) or asks the player to cut the deck (if it's its crib); in the later
+case, the appropriate response is a number from 0 to 39 indicating
+how far down the remaining 40 cards are to be cut.
+.PP
+After cutting the deck, play starts with the non-dealer (the person
+who doesn't have the crib) leading the first card.
+Play continues, as per cribbage, until all cards are exhausted.  The
+program keeps track of the scoring of all points and the total of
+the cards on the table.
+.PP
+After play, the hands are scored.  The program requests the player to
+score his hand (and the crib, if it is his) by printing out the
+appropriate cards (and the cut card enclosed in brackets).
+Play continues until one player reaches the game limit (61 or 121).
+.PP
+A carriage return when a numeric input is expected is equivalent
+to typing the lowest legal value; when cutting the deck this
+is equivalent to choosing the top card.
+.PP
+Cards are specified as rank followed by suit.  The ranks may be specified
+as one of:
+`a', `2', `3', `4', `5', `6', `7', `8', `9', `t', `j', `q', and `k',
+or alternatively, one of: \*(lqace\*(rq, \*(lqtwo\*(rq, \*(lqthree\*(rq, \*(lqfour\*(rq, \*(lqfive\*(rq, \*(lqsix\*(rq,
+\*(lqseven\*(rq, \*(lqeight\*(rq, \*(lqnine\*(rq, \*(lqten\*(rq, \*(lqjack\*(rq, \*(lqqueen\*(rq, and \*(lqking\*(rq.
+Suits may be specified as: `s', `h', `d', and `c', or alternatively as:
+\*(lqspades\*(rq, \*(lqhearts\*(rq, \*(lqdiamonds\*(rq, and \*(lqclubs\*(rq.
+A card may be specified as: <rank> \*(lq \*(rq <suit>, or: <rank> \*(lq of \*(rq <suit>.
+If the single letter rank and suit designations are used, the space
+separating the suit and rank may be left out.  Also, if only one card
+of the desired rank is playable, typing the rank is sufficient.
+For example, if your hand was \*(lq2H, 4D, 5C, 6H, JC, KD\*(rq and it was
+desired to discard the king of diamonds, any of the following could be typed:
+\*(lqk\*(rq, \*(lqking\*(rq, \*(lqkd\*(rq, \*(lqk d\*(rq, \*(lqk of d\*(rq, \*(lqking d\*(rq, \*(lqking of d\*(rq, \*(lqk diamonds\*(rq,
+\*(lqk of diamonds\*(rq, \*(lqking diamonds\*(rq, or \*(lqking of diamonds\*(rq.
+.SH FILES
+.ta 2i
+/usr/games/cribbage
+.SH AUTHOR
+Earl T. Cohen
diff --git a/usr/man/man6/doctor.6 b/usr/man/man6/doctor.6
new file mode 100644 (file)
index 0000000..c2ec605
--- /dev/null
@@ -0,0 +1,18 @@
+.TH DOCTOR 6 "1 February 1983"
+.UC 4
+.SH NAME
+doctor \- interact with a psychoanalyst
+.SH SYNOPSIS
+.B /usr/games/doctor
+.SH DESCRIPTION
+.I Doctor 
+is a lisp-language version of the legendary ELIZA program
+of Joseph Weizenbaum.  This script "simulates" a Rogerian psychoanalyst.
+Type in lower case, and when you get tired or bored, type 
+your interrupt character (either control-C or Rubout). 
+Remember to type two carriage returns when you want it to answer.
+.PP
+In order to run this you must have a Franz Lisp system in /usr/ucb/lisp.
+.SH AUTHORS
+Adapted for Lisp by Jon L White, moved to Franz by John Foderaro,
+from an original script by Joseph Weizenbaum.
diff --git a/usr/man/man6/fish.6 b/usr/man/man6/fish.6
new file mode 100644 (file)
index 0000000..530f957
--- /dev/null
@@ -0,0 +1,29 @@
+.TH FISH 6 "1 February 1983"
+.UC 4
+.SH NAME
+fish \- play ``Go Fish''
+.SH SYNOPSIS
+.B /usr/games/fish
+.SH DESCRIPTION
+.I Fish
+plays the game of \*(lqGo Fish\*(rq,
+a childrens' card game.  The Object is to
+accumulate `books' of 4 cards with the same face value.  The
+players alternate turns; each turn begins with one player
+selecting a card from his hand, and asking the other player for
+all cards of that face value.  If the other player has one or
+more cards of that face value in his hand, he gives them to the
+first player, and the first player makes another request.
+Eventually, the first player asks for a card which is not in
+the second player's hand: he replies `GO FISH!' The first
+player then draws a card from the `pool' of undealt cards.  If
+this is the card he had last requested, he draws again.  When a
+book is made, either through drawing or requesting, the cards
+are laid down and no further action takes place with that face
+value.
+.PP
+To play the computer, simply make guesses by typing a,
+2, 3, 4, 5, 6, 7, 8, 9, 10, j, q, or k when asked.  Hitting
+return gives you information about the size of my hand and the
+pool, and tells you about my books.  Saying `p' as a first
+guess puts you into `pro' level; The default is pretty dumb.
diff --git a/usr/man/man6/fortune.6 b/usr/man/man6/fortune.6
new file mode 100644 (file)
index 0000000..b6be4f3
--- /dev/null
@@ -0,0 +1,49 @@
+.TH FORTUNE 6 "1 February 1983"
+.SH NAME
+fortune \- print a random, hopefully interesting, adage
+.SH SYNOPSIS
+.B fortune
+[
+.B \-
+] [
+.B \-wslao
+]
+..[ file ]
+.SH DESCRIPTION
+.I Fortune
+with no arguments prints out a random adage. The flags mean:
+.sp
+.TP 5
+.B \-w
+Waits before termination
+for an amount of time calculated from the number of characters in the message.
+This is useful if it is executed as part of the logout procedure
+to guarantee that the message can be read before the screen is cleared.
+.TP 5
+.B \-s
+Short messages only.
+.TP 5
+.B \-l
+Long messages only.
+.TP
+.B \-o
+Choose from an alternate list of adages,
+often used for portentially offensive ones.
+.TP
+.B \-a
+Choose from either list of adages.
+.PP
+..The user may specify a file of adages.
+..This file must be created by strfile(6),
+..and be given by the user as
+...it file.
+..Only one such file may be named,
+..subsequent ones are ignored.
+.sp
+Mail suggestions for new fortunes to "fortune".
+.SH FILES
+/usr/lib/fortunes.dat
+.SH AUTHOR
+Ken Arnold
+...SH SEE\ ALSO
+..strfile(6)
diff --git a/usr/man/man6/hangman.6 b/usr/man/man6/hangman.6
new file mode 100644 (file)
index 0000000..e71090d
--- /dev/null
@@ -0,0 +1,16 @@
+.TH HANGMAN 6 "1 February 1983"
+.SH NAME
+hangman \- Computer version of the game hangman
+.SH SYNOPSIS
+.B /usr/games/hangman
+.SH DESCRIPTION
+In
+.I hangman,
+the computer picks a word from the on-line word list
+and you must try to guess it.
+The computer keeps track of which letters have been guessed
+and how many wrong guesses you have made on the screen in a graphic fashion.
+.SH FILES
+/usr/dict/words     On-line word list
+.SH AUTHOR
+Modified for terminal graphics from the original source from BTL by Michael Toy.
diff --git a/usr/man/man6/mille.6 b/usr/man/man6/mille.6
new file mode 100644 (file)
index 0000000..87292b1
--- /dev/null
@@ -0,0 +1,345 @@
+.TH MILLE 6 "1 February 1983"
+.UC 4
+.SH NAME
+mille \- play Mille Bournes
+.SH SYNOPSIS
+.B /usr/games/mille
+[ file ]
+.SH DESCRIPTION
+.I Mille
+plays a two-handed game reminiscent of
+the Parker Brother's game of Mille Bournes with you.
+The rules are described below.
+If a file name is given on the command line,
+the game saved in that file is started.
+.PP
+When a game is started up,
+the bottom of the score window will contain a list of commands.
+They are:
+.IP P
+Pick a card from the deck.
+This card is placed in the `P' slot in your hand.
+.IP D
+Discard a card from your hand.
+To indicate which card, type the number of the card in the hand
+(or \*(lqP\*(rq for the just-picked card) followed by a <RETURN> or <SPACE>.
+The <RETURN or <SPACE> is required to allow recovery from typos
+which can be very expensive, like discarding safeties.
+.IP U
+Use a card.
+The card is again indicated by its number, followed by a <RETURN> or <SPACE>.
+.IP O
+Toggle ordering the hand.
+By default off, if turned on it will sort the cards in your hand appropriately.
+This is not recommended for the impatient on slow terminals.
+.IP Q
+Quit the game.
+This will ask for confirmation, just to be sure.
+Hitting <DELETE> (or <RUBOUT>) is equivalent.
+.IP S
+Save the game in a file.
+If the game was started from a file,
+you will be given an opportunity to save it on the same file.
+If you don't wish to, or you did not start from a file,
+you will be asked for the file name.
+If you type a <RETURN> without a name,
+the save will be terminated and the game resumed.
+.IP R
+Redraw the screen from scratch.
+The command ^L (control `L') will also work.
+.IP W
+Toggle window type.
+This switches the score window between the startup window
+(with all the command names) and the end-of-game window.
+Using the end-of-game window
+saves time by eliminating the switch at the end of the game
+to show the final score.
+Recommended for hackers and other miscreants.
+.PP
+If you make a mistake, an error message will be printed
+on the last line of the score window, and a bell will beep.
+.PP
+At the end of each hand or game,
+you will be asked if you wish to play another.
+If not, it will ask you if you want to save the game.
+If you do, and the save is unsuccessful,
+play will be resumed as if you had said you wanted to play another hand/game.
+This allows you to use the
+.RB \*(lq S \*(rq
+command to reattempt the save.
+.SH AUTHOR
+Ken Arnold
+.br
+(The game itself is a product of Parker Brothers, Inc.)
+.SH "SEE ALSO"
+curses(3),
+.I "Screen Updating and Cursor Movement Optimization:"
+.IR "A Library Package" ,
+Ken Arnold
+.SH CARDS
+.PP
+Here is some useful information.
+The number in parentheses after the card name
+is the number of that card in the deck:
+.sp
+.nf
+.ne 10
+.ta \w'Speed Limit (3)'u+3n \w'Speed Limit (3)'u+\w'End of Limit (6)'u+6n
+Hazard Repair  Safety
+.sp
+Out of Gas (2) Gasoline (6)    Extra Tank (1)
+Flat Tire (2)  Spare Tire (6)  Puncture Proof (1)
+Accident (2)   Repairs (6)     Driving Ace (1)
+Stop (4)       Go (14) Right of Way (1)
+Speed Limit (3)        End of Limit (6)
+.sp
+.ce
+25 \- (10), 50 \- (10), 75 \- (10), 100 \- (12), 200 \- (4)
+.sp
+.fi
+.DT
+.SH RULES
+.PP
+.BR Object :
+The point of game is to get a total of 5000 points in several hands.
+Each hand is a race to put down exactly 700 miles before your opponent does.
+Beyond the points gained by putting down milestones,
+there are several other ways of making points.
+.PP
+.BR Overview :
+The game is played with a deck of 101 cards.
+.I Distance
+cards represent a number of miles traveled.
+They come in denominations of 25, 50, 75, 100, and 200.
+When one is played,
+it adds that many miles to the player's trip so far this hand.
+.I Hazard
+cards are used to prevent your opponent from putting down Distance cards.
+They can only be played if your opponent has a
+.I Go
+card on top of the Battle pile.
+The cards are
+.IR "Out of Gas" ,
+.IR "Accident" ,
+.IR "Flat Tire" ,
+.IR "Speed Limit" ,
+and
+.IR "Stop" .
+.I Remedy
+cards fix problems caused by Hazard cards played on you by your opponent.
+The cards are
+.IR "Gasoline" ,
+.IR "Repairs" ,
+.IR "Spare Tire" ,
+.IR "End of Limit" ,
+and
+.IR "Go" .
+.I Safety
+cards prevent your opponent from putting specific Hazard cards on you
+in the first place.
+They are
+.IR "Extra Tank" ,
+.IR "Driving Ace" ,
+.IR "Puncture Proof" ,
+and
+.IR "Right of Way" ,
+and there are only one of each in the deck.
+.PP
+.BR "Board Layout" :
+The board is split into several areas.
+From top to bottom, they are:
+.B "SAFETY AREA"
+(unlabeled): This is where the safeties will be placed as they are played.
+.BR HAND :
+These are the cards in your hand.
+.BR BATTLE :
+This is the Battle pile.
+All the Hazard and Remedy Cards are played here, except the
+.I "Speed Limit"
+and
+.I "End of Limit"
+cards.  Only the top card is displayed, as it is the only effective one.
+.BR SPEED :
+The Speed pile.  The
+.I "Speed Limit"
+and
+.I "End of Limit"
+cards are played here
+to control the speed at which the player is allowed to put down miles.
+.BR MILEAGE :
+Miles are placed here.
+The total of the numbers shown here is the distance traveled so far.
+.PP
+.BR Play :
+The first pick alternates between the two players.
+Each turn usually starts with a pick from the deck.
+The player then plays a card, or if this is not possible or desirable,
+discards one.  Normally, a play or discard of a single card
+constitutes a turn.  If the card played is a safety, however,
+the same player takes another turn immediately.
+.PP
+This repeats until one of the players reaches 700 points or the deck runs out.
+If someone reaces 700, they have the option of going for an
+.IR Extension ,
+which means that the play continues until someone reaches 1000 miles.
+.PP
+.BR "Hazard and Remedy Cards" :
+Hazard Cards are played on your opponent's Battle and Speed piles.
+Remedy Cards are used for undoing the effects of your opponent's nastyness.
+.PP
+.RB "\ \ \ \ " Go
+(Green Light)
+must be the top card on your Battle pile for you to play any mileage,
+unless you have played the
+.I "Right of Way"
+card (see below).
+.br
+.RB "\ \ \ \ " Stop
+is played on your opponent's
+.I Go
+card to prevent them from playing mileage until they play a
+.I Go
+card.
+.br
+.RB "\ \ \ \ " "Speed Limit"
+is played on your opponent's Speed pile.
+Until they play an
+.I "End of Limit"
+they can only play 25 or 50 mile cards, presuming their
+.I Go
+card allows them to do even that.
+.br
+.RB "\ \ \ \ " "End of Limit"
+is played on your Speed pile to nullify a
+.I "Speed Limit"
+played by your opponent.
+.br
+.RB "\ \ \ \ " "Out of Gas"
+is played on your opponent's
+.I Go
+card.  They must then play a
+.I Gasoline
+card, and then a
+.I Go
+card before they can play any more mileage.
+.br
+.RB "\ \ \ \ " "Flat Tire"
+is played on your opponent's
+.I Go
+card.  They must then play a
+.I "Spare Tire"
+card, and then a
+.I Go
+card before they can play any more mileage.
+.br
+.RB "\ \ \ \ " "Accident"
+is played on your opponent's
+.I Go
+card.  They must then play a
+.I Repairs
+card, and then a
+.I Go
+card before they can play any more mileage.
+.br
+.PP
+.BR "Safety Cards" :
+Safety cards prevent your opponent
+from playing the corresponding Hazard cards on you for the rest of the hand.
+It cancels an attack in progress, and
+.IR "always entitles the player to an extra turn" .
+.br
+.RB "\ \ \ \ "  "Right of Way"
+prevents your opponent from playing both
+.I Stop
+and
+.I "Speed Limit"
+cards on you.  It also acts as a permanent
+.I Go
+card for the rest of the hand, so you can play mileage
+as long as there is not a Hazard card on top of your Battle pile.
+In this case only, your opponent can play Hazard cards directly on a Remedy card
+besides a Go card.
+.br
+.RB "\ \ \ \ " "Extra Tank"
+When played, your opponent cannot play an
+.I "Out of Gas"
+on your Battle Pile.
+.br
+.RB "\ \ \ \ " "Puncture Proof"
+When played, your opponent cannot play a
+.I "Flat Tire"
+on your Battle Pile.
+.br
+.RB "\ \ \ \ " "Driving Ace"
+When played, your opponent cannot play an
+.I Accident
+on your Battle Pile.
+.PP
+.BR "Distance Cards" :
+Distance cards are played when you have a
+.I Go
+card on your Battle pile,
+or a Right of Way in your Safety area and are not stopped by a Hazard Card.
+They can be played in any combination that totals exactly 700 miles,
+except that
+.IR "you cannot play more than two 200 mile cards in one hand" .
+A hand ends whenever one player gets exactly 700 miles or the deck runs out.
+In that case, play continues until neither someone reaches 700,
+or neither player can use any cards in their hand.
+If the trip is completed after the deck runs out, this is called
+.IR "Delayed Action" .
+.PP
+.BR "Coup Fourr\o'\(aae'" :
+This is a French fencing term for a counter-thrust move as part of a parry
+to an opponents attack.
+In Mille Bournes, it is used as follows:
+If an opponent plays a Hazard card,
+and you have the corresponding Safety in your hand,
+you play it immediately, even
+.I before
+you draw.  This immediately removes the Hazard card from your Battle pile,
+and protects you from that card for the rest of the game.  This
+gives you more points (see \*(lqScoring\*(rq below).
+.PP
+.BR Scoring :
+Scores are totaled at the end of each hand,
+whether or not anyone completed the trip.
+The terms used in the Score window have the following meanings:
+.br
+.RB "\ \ \ \ " "Milestones Played" :
+Each player scores as many miles as they played before the trip ended.
+.br
+.RB "\ \ \ \ " "Each Safety" :
+100 points for each safety in the Safety area.
+.br
+.RB "\ \ \ \ " "All 4 Safeties" :
+300 points if all four safeties are played.
+.br
+.RB "\ \ \ \ " "Each Coup Four\o'\(aae'" :
+300 points for each Coup Four\o'\(aae' accomplished.
+.PP
+The following bonus scores can apply only to the winning player.
+.br
+.RB "\ \ \ \ " "Trip Completed" :
+400 points bonus for completing the trip to 700 or 1000.
+.br
+.RB "\ \ \ \ " "Safe Trip" :
+300 points bonus for completing the trip without using any 200 mile cards.
+.br
+.RB "\ \ \ \ " "Delayed Action" :
+300 points bonus for finishing after the deck was exhausted.
+.br
+.RB "\ \ \ \ " "Extension" :
+200 points bonus for completing a 1000 mile trip.
+.br
+.RB "\ \ \ \ " "Shut-Out" :
+500 points bonus for completing the trip
+before your opponent played any mileage cards.
+.PP
+Running totals are also kept for the current score for each player
+for the hand
+.RB ( "Hand Total" ),
+the game
+.RB ( "Overall Total" ),
+and number of games won
+.RB ( Games ).
diff --git a/usr/man/man6/monop.6 b/usr/man/man6/monop.6
new file mode 100644 (file)
index 0000000..ccefa41
--- /dev/null
@@ -0,0 +1,158 @@
+.de Sc         \" start command list macro
+.ie n .PD 0
+.el .PD 0.5
+.sp
+..
+.de Cm         \" define command macro
+.TP 10
+.ie t .BR "\\$1" :
+.el .IR "\\$1" :
+..
+.de Ec         \" end command macro
+.PD 1
+..
+.TH MONOP 6 "1 February 1983"
+.UC 4
+.SH NAME
+monop \- Monopoly game
+.SH SYNOPSIS
+.B /usr/games/monop
+[ file ]
+.SH DESCRIPTION
+.I Monop
+is reminiscent of the Parker Brother's game Monopoly, and
+monitors a game between 1 to 9 users.
+It is assumed that the rules of Monopoly are known.
+The game follows the standard rules, with the exception that,
+if a property would go up for auction and there are only two solvent players,
+no auction is held and the property remains unowned.
+.PP
+The game, in effect, lends the player money,
+so it is possible to buy something which you cannot afford.
+However, as soon as a person goes into debt,
+he must \*(lqfix the problem\*(rq,
+.IR i.e. ,
+make himself solvent, before play can continue.
+If this is not possible, the player's property reverts to his debtee,
+either a player or the bank.
+A player can resign at any time to any person or the bank,
+which puts the property back on the board, unowned.
+.PP
+Any time that the response to a question is a
+.IR string ,
+e.g., a name, place or person, you can type `?' to get a list of valid answers.
+It is not possible to input a negative number, nor is it ever necessary.
+.Sc
+.IR "A Summary of Commands" :
+.Cm quit
+quit game: This allows you to quit the game.  It asks you if you're sure.
+.Cm print
+print board: This prints out the current board.
+The columns have the following meanings (column headings are the same for the
+.BR where ,
+.BR "own holdings" ,
+and
+.B holdings
+commands):
+.PP
+.RS 10
+.TP "\w'Name\ \ 'u"
+Name
+The first ten characters of the name of the square
+.TP
+Own
+The \fInumber\fR of the owner of the property.
+.TP
+Price
+The cost of the property (if any)
+.TP
+Mg
+This field has a `*' in it if the property is mortgaged
+.TP
+#
+If the property is a Utility or Railroad, this is the number
+of such owned by the owner.
+If the property is land, this is the number of houses on it.
+.TP
+Rent
+Current rent on the property.  If it is not owned, there is no rent.
+.RE
+.Cm where
+where players are: Tells you where all the players are.
+A `*' indicates the current player.
+.Cm "own\ holdings"
+List your own holdings,
+.IR i.e. ,
+money, get-out-of-jail-free cards, and property.
+.Cm holdings
+holdings list: Look at anyone's holdings.
+It will ask you whose holdings you wish to look at.
+When you are finished, type \*(lqdone\*(rq.
+.Cm shell
+shell escape: Escape to a shell.  When the shell dies,
+the program continues where you left off.
+.Cm mortgage
+mortgage property:
+Sets up a list of mortgageable property, and asks which you wish to mortgage.
+.Cm unmortgage
+unmortgage property:
+Unmortgage mortgaged property.
+.Cm buy
+buy houses:
+Sets up a list of monopolies on which you can buy houses.
+If there is more than one, it asks you which you want to buy for.
+It then asks you how many for each piece of property,
+giving the current amount in parentheses after the property name.
+If you build in an unbalanced manner
+(a disparity of more than one house within the same monopoly),
+it asks you to re-input things.
+.Cm sell
+sell houses:
+Sets up a list of monopolies from which you can sell houses.
+it operates in an analogous manner to
+.I buy
+.Cm card
+card for jail:
+Use a get-out-of-jail-free card to get out of jail.
+If you're not in jail, or you don't have one, it tells you so.
+.Cm pay
+pay for jail:
+Pay $50 to get out of jail, from whence you are put on Just Visiting.
+Difficult to do if you're not there.
+.Cm trade
+This allows you to trade with another player.
+It asks you whom you wish to trade with,
+and then asks you what each wishes to give up.
+You can get a summary at the end, and, in all cases,
+it asks for confirmation of the trade before doing it.
+.Cm resign
+Resign to another player or the bank.
+If you resign to the bank, all property reverts to its virgin state,
+and get-out-of-jail free cards revert to the deck.
+.Cm save
+save game:
+Save the current game in a file for later play.
+You can continue play after saving,
+either by adding the file in which you saved the game after the
+.I monop
+command, or by using the
+.I restore
+command (see below).
+It will ask you which file you wish to save it in,
+and, if the file exists, confirm that you wish to overwrite it.
+.Cm restore
+restore game:
+Read in a previously saved game from a file.
+It leaves the file intact.
+.Cm roll
+Roll the dice and move forward to your new location.  
+If you simply hit the <RETURN> key instead of a command,
+it is the same as typing
+.IR roll .
+.Ec
+.SH AUTHOR
+Ken Arnold
+.SH FILES
+/usr/games/lib/cards.pck       Chance and Community Chest cards
+.SH BUGS
+No command can be given an argument instead of a response to a query.
diff --git a/usr/man/man6/number.6 b/usr/man/man6/number.6
new file mode 100644 (file)
index 0000000..1a6c5d3
--- /dev/null
@@ -0,0 +1,13 @@
+.TH NUMBER 6 "1 February 1983"
+.SH NAME
+number \- convert Arabic numerals to English
+.SH SYNOPSIS
+.B /usr/games/number
+.SH DESCRIPTION
+.I Number
+copies the standard input to the standard output,
+changing each decimal number to a fully spelled out version.
+Punctuation is added to make the output sound well when played through
+.IR speak (1).
+.SH "SEE ALSO"
+speak(1)
diff --git a/usr/man/man6/quiz.6 b/usr/man/man6/quiz.6
new file mode 100644 (file)
index 0000000..072cd92
--- /dev/null
@@ -0,0 +1,63 @@
+.TH QUIZ 6  "1 February 1983"
+.SH NAME
+quiz \- test your knowledge
+.SH SYNOPSIS
+.B /usr/games/quiz
+[
+.B \-i
+file ]
+[
+.B \-t
+] [ category1 category2 ]
+.SH DESCRIPTION
+.I Quiz
+gives associative knowledge tests on various subjects.
+It asks items chosen from
+.I category1
+and expects answers from
+.IR category2 .
+If no categories are specified,
+.I quiz
+gives instructions and lists the available categories.
+.PP
+.I Quiz
+tells a correct answer whenever you type a bare newline.
+At the end of input, upon interrupt, or when questions run out,
+.I quiz
+reports a score and terminates.
+.PP
+The
+.B \-t
+flag specifies `tutorial' mode, where missed questions are repeated
+later, and material is gradually introduced as you learn.
+.PP
+The
+.B \-i
+flag causes the named file to be substituted for the default index file.
+The lines of these files have the  syntax:
+.IP "" 4
+.nf
+.ta \w'alternate 'u
+line   = category newline \(bv category `:' line
+category       = alternate \(bv category `|' alternate
+alternate      = empty \(bv alternate primary
+primary        = character \(bv `[' category `]' \(bv option
+option = `{' category `}'
+.PP
+.fi
+The first category on each line of an index file names an information file.
+The remaining categories specify the order and contents of
+the data in each line of the information file.
+Information files have the same syntax.
+Backslash `\\' is used as with
+.IR sh (1)
+to quote syntactically significant characters or to insert transparent
+newlines into a line.
+When either a question or its answer is empty,
+.I quiz
+will refrain from asking it.
+.SH FILES
+/usr/games/quiz.k/*
+.SH BUGS
+The construct `a|ab' doesn't work in an information file.
+Use `a{b}'.
diff --git a/usr/man/man6/rain.6 b/usr/man/man6/rain.6
new file mode 100644 (file)
index 0000000..21b1e6e
--- /dev/null
@@ -0,0 +1,20 @@
+.TH RAIN 6 "1 February 1983"
+.SH NAME
+rain \- animated raindrops display
+.SH SYNOPSIS
+rain
+.SH DESCRIPTION
+.PP
+.ad b
+.IR Rain 's
+display is modeled after the VAX/VMS program of the same name.
+The terminal has to be set for 9600 baud to obtain the proper effect.
+.PP
+As with all programs that use
+.IR termcap ,
+the TERM environment
+variable must be set (and exported) to the type of the terminal being used.
+.SH FILES
+/etc/termcap
+.SH AUTHOR
+Eric P. Scott
diff --git a/usr/man/man6/rogue.6 b/usr/man/man6/rogue.6
new file mode 100644 (file)
index 0000000..ebded51
--- /dev/null
@@ -0,0 +1,51 @@
+.TH ROGUE 6 "1 April 1981"
+.UC 4
+.SH NAME
+rogue \- Exploring The Dungeons of Doom
+.SH SYNOPSIS
+.B rogue
+[
+.I save_file
+]
+.SH DESCRIPTION
+.PP
+.I Rogue
+is a computer fantasy game with a new twist.  It is crt oriented and the
+object of the game is to survive the attacks of various monsters and get
+a lot of gold, rather than the puzzle solving orientation of most computer
+fantasy games.
+.PP
+To get started you really only need to know two commands.  The command
+.B ?
+will give you a list of the available commands and the command
+.B /
+will identify the things you see on the screen.
+.PP
+To win the game (as opposed to merely playing to beat other people high
+scores) you must locate the Amulet of Yendor which is somewhere below
+the 20th level of the dungeon and get it out.  Nobody has achieved this
+yet and if somebody does, they will probably go down in history as a hero
+among heros.
+.PP
+When the game ends, either by your death, when you quit, or if you (by
+some miracle) manage to win,
+.I rogue
+will give you alist of the top-ten scorers.  The scoring is based entirely
+upon how much gold you get.  There is a 10% penalty for getting yourself
+killed.
+.PP
+For more detailed directions, read the document
+.I "A Guide to the Dungeons of Doom."
+.SH FILES
+.DT
+/usr/games/lib/rogue_roll      Score file
+.br
+~/rogue.sav    Default save file
+.SH SEE ALSO
+Michael C. Toy,
+.I "A guide to the Dungeons of Doom"
+.SH BUGS
+.PP
+Probably infinite.  Currently known bugs are: Sometimes you are still hungry
+even after you eat food and sometimes you get a monster on the screen in
+reverse video which may or may not cause a core dump.
diff --git a/usr/man/man6/snake.6 b/usr/man/man6/snake.6
new file mode 100644 (file)
index 0000000..8b2ae80
--- /dev/null
@@ -0,0 +1,87 @@
+.TH SNAKE 6 "1 February 1983"
+.UC 4
+.SH NAME
+snake, snscore \- display chase game
+.SH SYNOPSIS
+.B /usr/games/snake
+[
+.BI \-w n
+] [
+.BI \-l n
+]
+.br
+.B /usr/games/snscore
+.SH DESCRIPTION
+Snake is a display-based game which must be played on a CRT terminal
+from among those supported by vi(1).
+The object of the game is to make as much money as possible without
+getting eaten by the snake.  The
+.B \-l
+and
+.B \-w
+options allow you to specify the length and width of the field.
+By default the entire screen (except for the last column) is used.
+.PP
+You are represented on the screen by an I.
+The snake is 6 squares long and is represented by S's.
+The money is $, and an exit is #.
+Your score is posted in the upper left hand corner.
+.PP
+You can move around using the same conventions as vi(1),
+the h, j, k, and l keys work, as do the arrow keys.
+Other possibilities include:
+.IP sefc
+These keys are like hjkl but form a directed pad around the d key.
+.IP HJKL
+These keys move you all the way in the indicated direction to the
+same row or column as the money.  This does
+.I not
+let you jump away from the snake, but rather saves you from having
+to type a key repeatedly.  The snake still gets all his turns.
+.IP SEFC
+Likewise for the upper case versions on the left.
+.IP ATPB
+These keys move you to the four edges of the screen.
+Their position on the keyboard is the mnemonic, e.g.
+P is at the far right of the keyboard.
+.IP x
+This lets you quit the game at any time.
+.IP p
+Points in a direction you might want to go.
+.IP w
+Space warp to get out of tight squeezes, at a price.
+.IP !
+Shell escape
+.IP ^Z
+Suspend the snake game, on systems which support it.
+Otherwise an interactive shell is started up.
+.PP
+To earn money, move to the same square the money is on.
+A new $ will appear when you earn the current one.
+As you get richer, the snake gets hungrier.
+To leave the game, move to the exit (#).
+.PP
+A record is kept of the personal best score of each player.
+Scores are only counted if you leave at the exit,
+getting eaten by the snake is worth nothing.
+.PP
+As in pinball, matching the last digit of your score to the number
+which appears after the game is worth a bonus.
+.PP
+To see who wastes time playing snake, run
+.I /usr/games/snscore .
+.SH FILES
+.nf
+.ta \w'/usr/games/lib/snakerawscores 'u
+/usr/games/lib/snakerawscores  database of personal bests
+/usr/games/lib/snake.log       log of games played
+/usr/games/busy        program to determine if system too busy
+.DT
+.fi
+.SH BUGS
+.PP
+When playing on a small screen,
+it's hard to tell when you hit the edge of the screen.
+.PP
+The scoring function takes into account the size of the screen.
+A perfect function to do this equitably has not been devised.
diff --git a/usr/man/man6/trek.6 b/usr/man/man6/trek.6
new file mode 100644 (file)
index 0000000..1eb0982
--- /dev/null
@@ -0,0 +1,57 @@
+.TH TREK 6 "1 February 1983"
+.UC 4
+.SH NAME
+trek \- trekkie game
+.SH SYNOPSIS
+.B /usr/games/trek
+[ [
+.B \-a
+] file ]
+.SH DESCRIPTION
+.I Trek
+is a game of space glory and war.  Below is a summary of commands.
+For complete documentation, see
+.IR Trek
+by Eric Allman.
+.PP
+If a filename is given, a log of the game is written onto that file.
+If the
+.B \-a
+flag is given before the filename, that file is appended to, not truncated.
+.PP
+The game will ask you what length game you would like.
+Valid responses are \*(lqshort\*(rq, \*(lqmedium\*(rq, and \*(lqlong\*(rq.
+You may also type \*(lqrestart\*(rq, which restarts a previously saved game.
+You will then be prompted for the skill, to which you must respond
+\*(lqnovice\*(rq, \*(lqfair\*(rq, \*(lqgood\*(rq, \*(lqexpert\*(rq,
+\*(lqcommadore\*(rq, or \*(lqimpossible\*(rq.
+You should normally start out with a novice and work up.
+.PP
+In general, throughout the game, if you forget what is appropriate
+the game will tell you what it expects if you just type in a question mark.
+.SH AUTHOR
+Eric Allman
+.SH "SEE ALSO"
+/usr/doc/trek
+.SH "COMMAND SUMMARY"
+.ie t .ds f \fB
+.el .ds f \fI
+.ta 3i
+.nf
+\*fabandon\fR  \*fca\fRpture
+\*fcl\fRoak \*fu\fRp/\*fd\fRown
+\*fc\fRomputer request; ...    \*fda\fRmages
+\*fdestruct\fR \*fdo\fRck
+\*fhelp\fR     \*fi\fRmpulse course distance
+\*fl\fRrscan   \*fm\fRove course distance
+\*fp\fRhasers \*fa\fRutomatic amount
+\*fp\fRhasers \*fm\fRanual amt1 course1 spread1 ...
+\*ft\fRorpedo course [\*fy\fRes] angle/\*fn\fRo
+\*fram\fR course distance      \*fr\fRest time
+\*fshell\fR    \*fsh\fRields \*fu\fRp/\*fd\fRown
+\*fs\fRrscan [\*fy\fRes/\*fn\fRo]
+\*fst\fRatus   \*fterminate\fR \*fy\fRes/\*fn\fRo
+\*fu\fRndock   \*fv\fRisual course
+\*fw\fRarp warp_factor
+.fi
+.DT
diff --git a/usr/man/man6/worm.6 b/usr/man/man6/worm.6
new file mode 100644 (file)
index 0000000..75e85fb
--- /dev/null
@@ -0,0 +1,32 @@
+.TH WORM 6 "2 April 1981"
+.SH NAME
+worm \- Play the growing worm game
+.SH SYNOPSIS
+.B worm
+[
+.I size
+]
+.SH DESCRIPTION
+.PP
+In
+.I worm,
+you are a little worm, your body is the "o"'s on the screen
+and your head is the "@".  You move with the hjkl keys (as in the game
+snake).  If you don't press any keys, you continue in the direction you
+last moved.  The upper case HJKL keys move you as if you had pressed
+several (9 for HL and 5 for JK) of the corrosponding lower case key
+(unless you run into a digit, then it stops).
+.PP
+On the screen you will see a digit, if your worm eats the digit is will
+grow longer, the actual amount longer depends on which digit it was
+that you ate.  The object of the game is to see how long you can make
+the worm grow.
+.PP
+The game ends when the worm runs into either the sides of the screen,
+or itself.  The current score (how much the worm has grown) is kept in
+the upper left corner of the screen.
+.PP
+The optional argument, if present, is the initial length of the worm.
+.SH BUGS
+If the initial length of the worm is set to less than one or more
+than 75, various strange things happen.
diff --git a/usr/man/man6/worms.6 b/usr/man/man6/worms.6
new file mode 100644 (file)
index 0000000..72b9de9
--- /dev/null
@@ -0,0 +1,74 @@
+.TH WORMS 6 "1 February 1983"
+.SH NAME
+worms  \-  animate worms on a display terminal
+.SH SYNOPSIS
+.B worms
+[
+.B -field
+] [
+.B -length
+# ] [
+.B -number
+# ] [
+.B -trail
+]
+.SH DESCRIPTION
+.ad b
+Brian Horn (cithep!bdh) showed me a
+.I TOPS-20
+program on the DEC-2136 machine called
+.IR WORM ,
+and suggested that I write a similar program that would run under
+.IR Unix .
+I did, and no apologies.
+.PP
+.B -field
+makes a "field" for the worm(s) to eat;
+.B -trail
+causes each worm to leave a trail behind it.  You can figure
+out the rest by yourself.
+.SH FILES
+/etc/termcap
+.SH AUTHOR
+Eric P. Scott
+.SH SEE ALSO
+.IR Snails ,
+by Karl Heuer
+.SH DIAGNOSTICS
+Invalid length
+.br
+       Value not in range  2 <= length <= 1024
+.sp
+Invalid number of worms
+.br
+       Value not in range  1 <= number <= 40
+.sp
+TERM: parameter not set
+.br
+       The
+.B TERM
+environment variable is not defined.  Do
+.sp
+               \fBTERM=\fRterminal type
+.br
+               \fBexport TERM\fR
+.sp
+Unknown terminal type
+.br
+       Your terminal type (as determined from the
+.B TERM
+environment variable) is not defined in
+.BR /etc/termcap .
+.sp
+Terminal not capable of cursor motion
+.br
+       Your terminal is too stupid to run this program.
+.sp
+Out of memory
+.br
+       This should never happen on a Sun.
+.SH BUGS
+The lower-right-hand character position will not be updated properly
+on a terminal that wraps at the right margin.
+.PP
+Terminal initialization is not performed.
diff --git a/usr/man/man6/wump.6 b/usr/man/man6/wump.6
new file mode 100644 (file)
index 0000000..d4f7975
--- /dev/null
@@ -0,0 +1,23 @@
+.TH WUMP 6  "1 February 1983"
+.SH NAME
+wump \- the game of hunt-the-wumpus
+.SH SYNOPSIS
+.B /usr/games/wump
+.SH DESCRIPTION
+.I Wump
+plays the game of `Hunt the Wumpus.'
+A Wumpus is a creature that lives in a cave with several rooms
+connected by tunnels.
+You wander among the rooms, trying to
+shoot the Wumpus with an arrow, meanwhile avoiding
+being eaten by the Wumpus and falling into Bottomless Pits.
+There are also Super Bats which are likely to pick you up
+and drop you in some random room.
+.PP
+The program asks various questions which you answer one per line;
+it will give a more detailed description if you want.
+.PP
+This program is based on one described in
+.I "People's Computer Company,"
+.I 2,
+2 (November 1973).
diff --git a/usr/man/man6/zork.6 b/usr/man/man6/zork.6
new file mode 100644 (file)
index 0000000..ddb87ef
--- /dev/null
@@ -0,0 +1,28 @@
+.TH ZORK 6 "1 February 1983"
+.UC 4
+.SH NAME
+zork \- the game of dungeon
+.SH SYNOPSIS
+.B /usr/games/zork
+.SH DESCRIPTION
+.I Dungeon
+is a computer fantasy simulation based on Adventure and on
+Dungeons & Dragons, originally written by Lebling, Blank, and Anderson of MIT.
+In it you explore a dungeon made up of various rooms, caves, rivers, and so on.
+The object of the game is to collect as much treasure as possible
+and stow it safely in the trophy case (and, of course, to stay alive.)
+.PP
+Figuring out the rules is part of the game, but if you are stuck,
+you should start off with \*(lqopen mailbox\*(rq, \*(lqtake leaflet\*(rq,
+and then \*(lqread leaflet\*(rq.
+Additional useful commands that are not documented include:
+.PP
+quit   (to end the game)
+.PP
+!cmd   (the usual shell escape convention)
+.PP
+>      (to save a game)
+.PP
+<      (to restore a game)
+.SH FILES
+/usr/games/lib/d*
diff --git a/usr/man/man7/ascii.7 b/usr/man/man7/ascii.7
new file mode 100644 (file)
index 0000000..53054c4
--- /dev/null
@@ -0,0 +1,49 @@
+.TH ASCII 7 "1 February 1983"
+.SH NAME
+ascii \- map of ASCII character set
+.SH SYNOPSIS
+.B cat /usr/pub/ascii
+.SH DESCRIPTION
+.I Ascii
+is a map of the ASCII character set, to be printed as needed.
+It contains:
+.nf
+
+.cs R 20
+|000 nul|001 soh|002 stx|003 etx|004 eot|005 enq|006 ack|007 bel|
+|010 bs |011 ht |012 nl |013 vt |014 np |015 cr |016 so |017 si |
+|020 dle|021 dc1|022 dc2|023 dc3|024 dc4|025 nak|026 syn|027 etb|
+|030 can|031 em |032 sub|033 esc|034 fs |035 gs |036 rs |037 us |
+|040 sp |041  ! |042  " |043  # |044  $ |045  % |046  & |047  \' |
+|050  ( |051  ) |052  * |053  + |054  , |055  \- |056  . |057  / |
+|060  0 |061  1 |062  2 |063  3 |064  4 |065  5 |066  6 |067  7 |
+|070  8 |071  9 |072  : |073  ; |074  < |075  = |076  > |077  ? |
+|100  @ |101  A |102  B |103  C |104  D |105  E |106  F |107  G |
+|110  H |111  I |112  J |113  K |114  L |115  M |116  N |117  O |
+|120  P |121  Q |122  R |123  S |124  T |125  U |126  V |127  W |
+|130  X |131  Y |132  Z |133  [ |134  \\ |135  ] |136  ^ |137  _ |
+|140  \` |141  a |142  b |143  c |144  d |145  e |146  f |147  g |
+|150  h |151  i |152  j |153  k |154  l |155  m |156  n |157  o |
+|160  p |161  q |162  r |163  s |164  t |165  u |166  v |167  w |
+|170  x |171  y |172  z |173  { |174  | |175  } |176  ~ |177 del|
+
+| 00 nul| 01 soh| 02 stx| 03 etx| 04 eot| 05 enq| 06 ack| 07 bel|
+| 08 bs | 09 ht | 0a nl | 0b vt | 0c np | 0d cr | 0e so | 0f si |
+| 10 dle| 11 dc1| 12 dc2| 13 dc3| 14 dc4| 15 nak| 16 syn| 17 etb|
+| 18 can| 19 em | 1a sub| 1b esc| 1c fs | 1d gs | 1e rs | 1f us |
+| 20 sp | 21  ! | 22  " | 23  # | 24  $ | 25  % | 26  & | 27  \' |
+| 28  ( | 29  ) | 2a  * | 2b  + | 2c  , | 2d  \- | 2e  . | 2f  / |
+| 30  0 | 31  1 | 32  2 | 33  3 | 34  4 | 35  5 | 36  6 | 37  7 |
+| 38  8 | 39  9 | 3a  : | 3b  ; | 3c  < | 3d  = | 3e  > | 3f  ? |
+| 40  @ | 41  A | 42  B | 43  C | 44  D | 45  E | 46  F | 47  G |
+| 48  H | 49  I | 4a  J | 4b  K | 4c  L | 4d  M | 4e  N | 4f  O |
+| 50  P | 51  Q | 52  R | 53  S | 54  T | 55  U | 56  V | 57  W |
+| 58  X | 59  Y | 5a  Z | 5b  [ | 5c  \\ | 5d  ] | 5e  ^ | 5f  _ |
+| 60  \` | 61  a | 62  b | 63  c | 64  d | 65  e | 66  f | 67  g |
+| 68  h | 69  i | 6a  j | 6b  k | 6c  l | 6d  m | 6e  n | 6f  o |
+| 70  p | 71  q | 72  r | 73  s | 74  t | 75  u | 76  v | 77  w |
+| 78  x | 79  y | 7a  z | 7b  { | 7c  | | 7d  } | 7e  ~ | 7f del|
+.fi
+.cs R
+.SH FILES
+/usr/pub/ascii
diff --git a/usr/man/man7/environ.7 b/usr/man/man7/environ.7
new file mode 100644 (file)
index 0000000..2cc6390
--- /dev/null
@@ -0,0 +1,71 @@
+.TH ENVIRON 7 "5 February 1983"
+.SH NAME
+environ \- user environment
+.SH SYNOPSIS
+.B extern char **environ;
+.SH DESCRIPTION
+An array of strings called the `environment' is made available by
+.IR exec (2)
+when a process begins.  By convention these strings have the form
+.RI ` name = value '.
+The following names are used by various commands:
+.TP "\w'TERMCAP 'u"
+PATH
+The sequence of directory prefixes that
+.I sh, time,
+.IR nice (1),
+etc., apply in searching for a file known by an incomplete path name.
+The prefixes are separated by `:'.
+.IR Login (1)
+sets PATH=:/usr/ucb:/bin:/usr/bin.
+.TP
+HOME
+A user's login directory, set by
+.IR login (1)
+from the password file
+.IR passwd (5).
+.TP
+TERM
+The kind of terminal for which output is to be prepared.
+This information is used by commands, such as
+.I nroff
+or
+.IR plot (1),
+which may exploit special terminal capabilities.  See
+.I /etc/termcap
+.RI ( termcap (5))
+for a list of terminal types.
+.TP
+SHELL
+The file name of the users login shell.
+.TP
+TERMCAP
+The string describing the terminal in TERM, or the name of the termcap file, see
+.IR termcap (5), termlib (3).
+.TP
+EXINIT
+A startup list of commands read by
+.IR ex (1),
+.IR edit (1),
+and
+.IR vi (1).
+.TP
+USER
+The login name of the user.
+.PP
+Further names may be placed in the environment by the
+.I export
+command and `name=value' arguments in
+.IR sh (1),
+or by the
+.I setenv
+command if you use
+.IR csh (1).
+Arguments may also be placed in the environment at the point of an
+.IR exec (2).
+It is unwise to conflict with certain 
+.IR sh (1)
+variables that are frequently exported by `.profile' files:
+MAIL, PS1, PS2, IFS.
+.SH SEE ALSO
+csh(1), ex(1), login(1), sh(1), exec(2), system(3), termlib(3), termcap(5)
diff --git a/usr/man/man7/eqnchar.7 b/usr/man/man7/eqnchar.7
new file mode 100644 (file)
index 0000000..67579d8
--- /dev/null
@@ -0,0 +1,172 @@
+.EQ
+tdefine ciplus % "\o'\(pl\(ci'" %
+ndefine ciplus % O\b+ %
+tdefine citimes % "\o'\(mu\(ci'" %
+ndefine citimes % O\bx %
+tdefine =wig % "\(eq\h'-\w'\(eq'u-\w'\s-2\(ap'u/2u'\v'-.4m'\s-2\z\(ap\(ap\s+2\v'.4m'\h'\w'\(eq'u-\w'\s-2\(ap'u/2u'" %
+ndefine =wig % =\b"~" %
+tdefine bigstar % "\o'\(pl\(mu'" %
+ndefine bigstar % X\b|\b- %
+tdefine =dot % "\z\(eq\v'-.6m'\h'.2m'\s+2.\s-2\v'.6m'\h'.1m'" %
+ndefine =dot % = dot %
+tdefine orsign % "\s-2\v'-.15m'\z\e\e\h'-.05m'\z\(sl\(sl\v'.15m'\s+2" %
+ndefine orsign % \e/ %
+tdefine andsign % "\s-2\v'-.15m'\z\(sl\(sl\h'-.05m'\z\e\e\v'.15m'\s+2" %
+ndefine andsign % /\e %
+tdefine =del % "\v'.3m'\z=\v'-.6m'\h'.3m'\s-1\(*D\s+1\v'.3m'" %
+ndefine =del % = to DELTA %
+tdefine oppA % "\s-2\v'-.15m'\z\e\e\h'-.05m'\z\(sl\(sl\v'-.15m'\h'-.75m'\z-\z-\h'.2m'\z-\z-\v'.3m'\h'.4m'\s+2" %
+ndefine oppA % V\b- %
+tdefine oppE %"\s-3\v'.2m'\z\(em\v'-.5m'\z\(em\v'-.5m'\z\(em\v'.55m'\h'.9m'\z\(br\z\(br\v'.25m'\s+3" %
+ndefine oppE % E\b/ %
+tdefine incl % "\s-1\z\(or\h'-.1m'\v'-.45m'\z\(em\v'.7m'\z\(em\v'.2m'\(em\v'-.45m'\s+1" %
+ndefine incl % C\b_ %
+tdefine nomem % "\o'\(mo\(sl'" %
+ndefine nomem % C\b-\b/ %
+tdefine angstrom % "\fR\zA\v'-.3m'\h'.2m'\(de\v'.3m'\fP\h'.2m'" %
+ndefine angstrom % A to o %
+tdefine star %{ roman "\v'.5m'\s+3*\s-3\v'-.5m'"}%
+ndefine star % * %
+tdefine || % \(or\(or %
+tdefine <wig % "\z<\v'.4m'\(ap\v'-.4m'" %
+ndefine <wig %{ < from "~" }%
+tdefine >wig % "\z>\v'.4m'\(ap\v'-.4m'" %
+ndefine >wig %{ > from "~" }%
+tdefine langle % "\s-3\b'\(sl\e'\s0" %
+ndefine langle %<%
+tdefine rangle % "\s-3\b'\e\(sl'\s0" %
+ndefine rangle %>%
+tdefine hbar % "\zh\v'-.6m'\h'.05m'\(ru\v'.6m'" %
+ndefine hbar % h\b\u-\d %
+ndefine ppd % _\b| %
+tdefine ppd % "\o'\(ru\s-2\(or\s+2'" %
+tdefine <-> % "\o'\(<-\(->'" %
+ndefine <-> % "<-->" %
+tdefine <=> % "\s-2\z<\v'.05m'\h'.2m'\z=\h'.55m'=\h'-.6m'\v'-.05m'>\s+2" %
+ndefine <=> % "<=>" %
+tdefine |< % "\o'<\(or'" %
+ndefine |< % <\b| %
+tdefine |> % "\o'>\(or'" %
+ndefine |> % |\b> %
+tdefine ang % "\v'-.15m'\z\s-2\(sl\s+2\v'.15m'\(ru" %
+ndefine ang % /\b_ %
+tdefine rang % "\z\(or\h'.15m'\(ru" %
+ndefine rang % L %
+tdefine 3dot % "\v'-.8m'\z.\v'.5m'\z.\v'.5m'.\v'-.2m'" %
+ndefine 3dot % .\b\u.\b\u.\d\d %
+tdefine thf % ".\v'-.5m'.\v'.5m'." %
+ndefine thf % ..\b\u.\d %
+tdefine quarter % roman \(14 %
+ndefine quarter % 1/4 %
+tdefine 3quarter % roman \(34 %
+ndefine 3quarter % 3/4 %
+tdefine degree % \(de %
+ndefine degree % nothing sup o %
+tdefine square % \(sq %
+ndefine square % [] %
+tdefine circle % \(ci %
+ndefine circle % O %
+tdefine blot % "\fB\(sq\fP" %
+ndefine blot % H\bI\bX %
+tdefine bullet % \(bu %
+ndefine bullet % o\bx\be %
+tdefine -wig % "\(~=" %
+ndefine -wig % - to "~" %
+tdefine wig % \(ap %
+ndefine wig % "~" %
+tdefine prop % \(pt %
+ndefine prop % oc %
+tdefine empty % \(es %
+ndefine empty % O\b/ %
+tdefine member % \(mo %
+ndefine member % C\b- %
+tdefine cup % \(cu %
+ndefine cup % U %
+define cap % \(ca %
+define subset % \(sb %
+define supset % \(sp %
+define !subset % \(ib %
+define !supset % \(ip %
+.EN
+.TH EQNCHAR 7 "1 February 1983"
+.UC
+.SH NAME
+eqnchar \- special character definitions for eqn
+.SH SYNOPSIS
+.B eqn /usr/pub/eqnchar
+[ files ]
+.B \(bv troff
+[ options ]
+.PP
+.B neqn /usr/pub/eqnchar
+[ files ]
+.B \(bv nroff
+[ options ]
+.SH DESCRIPTION
+.I Eqnchar
+contains
+.I troff
+and
+.I nroff
+character definitions for constructing characters that are not
+available on the Graphic Systems typesetter.
+These definitions are primarily intended for use with
+.I eqn
+and
+.IR neqn .
+It contains definitions for the following characters
+.PP
+.nf
+.ta \w'angstrom  'u \n(.lu/3u +\w'angstrom  'u \n(.lu*2u/3u +\w'angstrom  'u
+.EQ
+"ciplus"       ciplus  "|\||"  ||      "square"        square
+.EN
+.EQ
+"citimes"      citimes "langle"        langle  "circle"        circle
+.EN
+.EQ
+"wig"  wig     "rangle"        rangle  "blot"  blot
+.EN
+.EQ
+"-wig" -wig    "hbar"  hbar    "bullet"        bullet
+.EN
+.EQ
+">wig" >wig    "ppd"   ppd     "prop"  prop
+.EN
+.EQ
+"<wig" <wig    "<->"   <->     "empty" empty
+.EN
+.EQ
+"=wig" =wig    "<=>"   <=>     "member"        member
+.EN
+.EQ
+"star" star    "|\|<"  |<      "nomem" nomem
+.EN
+.EQ
+"bigstar"      bigstar "|\|>"  |>      "cup"   cup
+.EN
+.EQ
+"=dot" =dot    "ang"   ang     "cap"   cap
+.EN
+.EQ
+"orsign"       orsign  "rang"  rang    "incl"  incl
+.EN
+.EQ
+"andsign"      andsign "3dot"  3dot    "subset"        subset
+.EN
+.EQ
+"=del" =del    "thf"   thf     "supset"        supset
+.EN
+.EQ
+"oppA" oppA    "quarter"       quarter "!subset"       !subset
+.EN
+.EQ
+"oppE" oppE    "3quarter"      3quarter        "!supset"       !supset
+.EN
+.EQ
+"angstrom"     angstrom        "degree"        degree
+.EN
+.SH FILES
+/usr/pub/eqnchar
+.SH SEE ALSO
+troff(1), eqn(1)
diff --git a/usr/man/man7/me.7 b/usr/man/man7/me.7
new file mode 100644 (file)
index 0000000..2cba904
--- /dev/null
@@ -0,0 +1,270 @@
+.hc %
+.TH ME 7 "16 November 1979"
+.UC
+.SH NAME
+me \- macros for formatting papers
+.SH SYNOPSIS
+.B "nroff \-me"
+[ options ]
+file ... 
+.br
+.B "troff \-me"
+[ options ]
+file ... 
+.SH DESCRIPTION
+This package of 
+.I nroff
+and
+.I troff
+macro definitions provides a canned formatting
+facility for tech%nical papers in various formats.
+When producing 2-column output on a terminal, filter
+the output through
+.IR  col (1).
+.PP
+The macro requests are defined below.
+Many
+.I nroff
+and
+.I troff
+requests are unsafe in conjunction with
+this package, however these requests may be used with
+impunity after the first .pp:
+.nf
+.IP
+.ta \w'.sz +n  'u
+\&.bp  begin new page
+\&.br  break output line here
+\&.sp n        insert n spacing lines
+\&.ls n        (line spacing) n=1 single, n=2 double space
+\&.na  no alignment of right margin
+\&.ce n        center next n lines
+\&.ul n        underline next n lines
+\&.sz +n       add n to point size
+.fi
+.PP
+Output of the
+.I eqn,
+.I neqn,
+.I refer,
+and
+.IR  tbl (1)
+preprocessors
+for equations and tables is acceptable as input.
+.SH FILES
+/usr/lib/tmac/tmac.e
+.br
+/usr/lib/me/*
+.SH "SEE ALSO"
+eqn(1), troff(1), refer(1), tbl(1)
+.br
+\-me Reference Manual, Eric P. Allman
+.br
+Writing Papers with Nroff Using \-me
+.tr &.
+.SH REQUESTS 
+In the following list,
+\*(lqinitialization\*(rq
+refers to the first .pp, .lp, .ip, .np, .sh, or .uh macro.
+This list is incomplete;
+see
+.I "The \-me Reference Manual"
+for interesting details.
+.PP
+.ta \w'.eh \'x\'y\'z\'  'u +\w'Initial 'u +\w'Cause 'u
+.br
+.di x
+                       \ka
+.br
+.di
+.in \nau
+.ti0
+Request        Initial Cause   Explanation
+.ti0
+       Value   Break
+.br
+.in \nau
+.ti0
+\&.(c  -       yes     Begin centered block
+.ti0
+\&.(d  -       no      Begin delayed text
+.ti0
+\&.(f  -       no      Begin footnote
+.ti0
+\&.(l  -       yes     Begin list
+.ti0
+\&.(q  -       yes     Begin major quote
+.ti0
+\&.(x \fIx\fR  -       no      Begin indexed item in index
+.I x
+.ti0
+\&.(z  -       no      Begin floating keep
+.ti0
+\&.)c  -       yes     End centered block
+.ti0
+\&.)d  -       yes     End delayed text
+.ti0
+\&.)f  -       yes     End footnote
+.ti0
+\&.)l  -       yes     End list
+.ti0
+\&.)q  -       yes     End major quote
+.ti0
+\&.)x  -       yes     End index item
+.ti0
+\&.)z  -       yes     End floating keep
+.ti 0
+\&.++ \fIm H\fR        -       no      Define paper section.
+.I m
+defines the part of the paper, and can be
+.B C
+(chapter),
+.B A
+(appendix),
+.B P
+(preliminary, e.g., abstract, table of contents, etc.),
+.B B
+(bibliography),
+.B RC
+(chapters renumbered from page one each chapter),
+or
+.B RA
+(appendix renumbered from page one).
+.ti 0
+\&.+c \fIT\fR  -       yes     Begin chapter (or appendix, etc., as
+set by .++).
+.I T
+is the chapter title.
+.ti0
+\&.1c  1       yes     One column format on a new page.
+.ti0
+\&.2c  1       yes     Two column format.
+.ti0
+\&.EN  -       yes     Space after equation
+produced by
+.I eqn
+or
+.IR neqn .
+.ti0
+\&.EQ \fIx y\fR        -       yes     Precede equation; break out and
+add space.
+Equation number is
+.IR y .
+The optional argument \fIx\fR
+may be
+.I I
+to indent equation (default),
+.I L
+to left-adjust the equation, or
+.I C
+to center the equation.
+.ti0
+\&.TE  -       yes     End table.
+.ti0
+\&.TH  -       yes     End heading section of table.
+.ti0
+\&.TS \fIx\fR  -       yes     Begin table; if \fIx\fR is
+.I H
+table has repeated heading.
+.ti 0
+\&.ac \fIA N\fR        -       no      Set up for ACM style output.
+.I A
+is the Author's name(s),
+.I N
+is the total number of pages.
+Must be given before the first initialization.
+.ti0
+\&.b \fIx\fR   no      no      Print
+.I x
+in boldface; if no argument switch to boldface.
+.ti 0
+\&.ba \fI+n\fR 0       yes     Augments the base indent by
+.I n.
+This indent is used to set the indent on regular text
+(like paragraphs).
+.ti0
+\&.bc  no      yes     Begin new column
+.ti0
+\&.bi \fIx\fR  no      no      Print
+.I x
+in bold italics (nofill only)
+.ti0
+\&.bx \fIx\fR  no      no      Print \fIx\fR in a box (nofill only).
+.ti 0
+\&.ef \fI\'x\'y\'z\'\fR        \'\'\'\'        no      Set even footer to x  y  z
+.ti 0
+\&.eh \fI\'x\'y\'z\'\fR        \'\'\'\'        no      Set even header to x  y  z
+.ti 0
+\&.fo \fI\'x\'y\'z\'\fR        \'\'\'\'        no      Set footer to x  y  z
+.ti 0
+\&.hx  -       no      Supress headers and footers on next page.
+.ti0
+\&.he \fI\'x\'y\'z\'\fR        \'\'\'\'        no      Set header to x  y  z
+.ti0
+\&.hl  -       yes     Draw a horizontal line
+.ti0
+\&.i \fIx\fR   no      no      Italicize
+.I x;
+if
+.I x
+missing, italic text follows.
+.ti0
+\&.ip \fIx y\fR        no      yes     Start indented paragraph,
+with hanging tag
+.IR x .
+Indentation is
+.I y
+ens (default 5).
+.ti0
+\&.lp  yes     yes     Start left-blocked paragraph.
+.ti 0
+\&.lo  -       no      Read in a file of local macros of the
+form
+.BI \&.* x.
+Must be given before initialization.
+.ti0
+\&.np  1       yes     Start numbered paragraph.
+.ti 0
+\&.of \fI\'x\'y\'z\'\fR        \'\'\'\'        no      Set odd footer to x  y  z
+.ti 0
+\&.oh \fI\'x\'y\'z\'\fR        \'\'\'\'        no      Set odd header to x  y  z
+.ti 0
+\&.pd  -       yes     Print delayed text.
+.ti0
+\&.pp  no      yes     Begin paragraph.
+First line indented.
+.ti0
+\&.r   yes     no      Roman text follows.
+.ti 0
+\&.re  -       no      Reset tabs to default values.
+.ti 0
+\&.sc  no      no      Read in a file of special characters
+and diacritical marks.
+Must be given before initialization.
+.ti0
+\&.sh \fIn x\fR        -       yes     Section head follows,
+font automatically bold.
+.I n
+is level of section,
+.I x
+is title of section.
+.ti 0
+\&.sk  no      no      Leave the next page blank.
+Only one page is remembered ahead.
+.ti 0
+\&.sz \fI+n\fR 10p     no      Augment the point size by
+.I n
+points.
+.ti 0
+\&.th  no      no      Produce the paper in thesis format.
+Must be given before initialization.
+.ti 0
+\&.tp  no      yes     Begin title page.
+.ti0
+\&.u \fIx\fR   -       no      Underline argument (even in \fItroff\fR).
+(Nofill only).
+.ti0
+\&.uh  -       yes     Like .sh but unnumbered.
+.ti0
+\&.xp \fIx\fR  -       no      Print index
+.I x.
diff --git a/usr/man/man7/ms.7 b/usr/man/man7/ms.7
new file mode 100644 (file)
index 0000000..fc0c17c
--- /dev/null
@@ -0,0 +1,329 @@
+.hc %
+.TH MS 7 "1 February 1983"
+.SH NAME
+ms \- macros for formatting manuscripts
+.SH SYNOPSIS
+.B "nroff \-ms"
+[ options ]
+file ... 
+.br
+.B "troff \-ms"
+[ options ]
+file ... 
+.SH DESCRIPTION
+This package of 
+.I nroff
+and
+.I troff
+macro definitions provides a canned formatting
+.li
+facility for tech%nical papers in various formats.
+When producing 2-column output on a terminal, filter
+the output through
+.IR  col (1).
+.PP
+The macro requests are defined below.
+Many
+.I nroff
+and
+.I troff
+requests are unsafe in conjunction with
+this package, however these requests may be used with
+impunity after the first .PP:
+.IP
+.ta \w'.sp n 'u
+.li
+.bp    begin new page
+.nf
+.li
+.br    break output line here
+.li
+.sp n  insert n spacing lines
+.li
+.ls n  (line spacing) n=1 single, n=2 double space
+.li
+.na    no alignment of right margin
+.fi
+.PP
+Output of the
+.I eqn,
+.I neqn,
+.I refer,
+and
+.IR  tbl (1)
+preprocessors
+for equations and tables is acceptable as input.
+.SH FILES
+/usr/lib/tmac/tmac.s
+.SH "SEE ALSO"
+eqn(1), troff(1), refer(1), tbl(1)
+.tr &.
+.SH REQUESTS 
+.ta \w'..ND \fIdate\fR 'u +\w'Initial 'u +\w'Cause 'u
+.br
+.di x
+                       \ka
+.br
+.di
+.in \nau
+.ti0
+Request        Initial Cause   Explanation
+.ti0
+       Value   Break
+.br
+.in \nau
+.ti0
+.li
+.1C    yes     yes     One column format on a new page.
+.ti0
+.li
+.2C    no      yes     Two column format.
+.ti0
+.li
+.AB    no      yes     Begin abstract.
+.ti0
+.li
+.AE    -       yes     End abstract.
+.ti0
+.li
+.AI    no      yes     Author's institution follows.
+Suppressed in TM.
+.ti0
+.li
+.AT    no      yes     Print `\ 1Attached' and turn off line filling.
+.ti0
+.li
+.AU \fIx y\fR  no      yes     Author's name follows.
+.IR x " is location and " "y\fR is"
+extension, ignored except in TM.
+.ti0
+.li
+.B \fIx\fR     no      no      Print \fIx\fR in boldface; if no argument switch to boldface.
+.ti 0
+.li
+.B1    no      yes     Begin text to be enclosed in a box.
+.ti0
+.li
+.B2    no      yes     End text to be boxed & print it.
+.ti0
+.li
+.BT    date    no      Bottom title, automatically invoked at
+foot of page.
+May be redefined.
+.ti0
+.li
+.BX \fIx\fR    no      no      Print \fIx\fR in a box.
+.ti0
+.li
+.CS \fIx...\fR -       yes     Cover sheet info if
+TM format, suppressed otherwise.
+Arguments are number of text pages,
+other pages, total pages, figures, tables, references.
+.ti0
+.li
+.CT    no      yes     Print `Copies to' and enter no-fill mode.
+.ti0
+.li
+.DA \fIx\fR    nroff   no      `Date line' at bottom of page
+is
+.IR x .
+Default is today.
+.ti0
+.li
+.DE    -       yes     End displayed text.
+Implies .KE.
+.ti0
+.li
+.DS \fIx\fR    no      yes     Start of displayed text,
+to appear verbatim line-by-line.
+.IR x "=I for indented display (default),"
+.IR x "=L for left-justified on the page,"
+.IR x "=C for centered,"
+.IR x "=B for make left-justified block, then center whole block."
+Implies .KS.
+.ti0
+.li
+.EG    no      -       Print document in BTL format for `Engineer's Notes.'  Must be first.
+.ti0
+.li
+.EN    -       yes     Space after equation
+produced by
+.I eqn
+or
+.IR neqn .
+.ti0
+.li
+.EQ \fIx y\fR  -       yes     Precede equation; break out and
+add space.
+Equation number is
+.IR y .
+The optional argument \fIx\fR
+may be
+.I I
+to indent equation (default),
+.I L
+to left-adjust the equation, or
+.I C
+to center the equation.
+.ti0
+.li
+.FE    -       yes     End footnote.
+.ti0
+.li
+.FS    no      no      Start footnote.
+The note will be moved to the bottom of the page.
+.ti0
+.li
+.HO    -       no      `Bell Laboratories, Holmdel,
+New Jersey 07733'.
+.ti0
+.li
+.I \fIx\fR     no      no      Italicize \fIx\fR;
+if \fIx\fR missing, italic text follows.
+.ti0
+.li
+.IH    no      no      `Bell Laboratories, Naperville, Illinois 60540'
+.ti0
+.li
+.IM    no      no      Print document in BTL format for an internal memorandum.  Must be first.
+.ti0
+.li
+.IP \fIx y\fR  no      yes     Start indented paragraph,
+with hanging tag
+.IR x .
+Indentation is
+.IR y ""
+ens (default 5).
+.ti0
+.li
+.KE    -       yes     End keep.
+Put kept text on next page if not enough room.
+.ti0
+.li
+.KF    no      yes     Start floating keep.
+If the kept text must be moved to the next page,
+float later text back to this page.
+.ti0
+.li
+.KS    no      yes     Start keeping following text.
+.ti0
+.li
+.LG    no      no      Make letters larger.
+.ti0
+.li
+.LP    yes     yes     Start left-blocked paragraph.
+.ti0
+.li
+.MF    -       -       Print document in BTL format for `Memorandum for File.'  Must be first.
+.ti0
+.li
+.MH    -       no      `Bell Laboratories, Murray Hill,
+New Jersey 07974'.
+.ti0
+.li
+.MR    -       -       Print document in BTL format for `Memorandum for Record.'  Must be first.
+.ti0
+.li
+.ND \fIdate\fR troff   no      Use date supplied (if any) only in
+special BTL format positions; omit from page footer.
+.ti0
+.li
+.NH \fIn\fR    -       yes     Same as .SH, with section
+number supplied automatically.
+Numbers are multilevel, like 1.2.3,
+where
+.IR n ""
+tells what level is wanted (default is 1).
+.ti0
+.li
+.NL    yes     no      Make letters normal size.
+.ti0
+.li
+.OK    -       yes     `Other keywords' for TM cover
+sheet follow.
+.ti0
+.li
+.PP    no      yes     Begin paragraph.
+First line indented.
+.ti0
+.li
+.PT    pg #    -       Page title, automatically invoked at
+top of page.
+May be redefined.
+.ti0
+.li
+.PY    -       no      `Bell Laboratories, Piscataway, New Jersey 08854'
+.ti0
+.li
+.QE    -       yes     End quoted (indented and shorter) material.
+.ti0
+.li
+.QP    -       yes     Begin single paragraph which is indented and shorter.
+.ti0
+.li
+.QS    -       yes     Begin quoted (indented and shorter) material.
+.ti0
+.li
+.R     yes     no      Roman text follows.
+.ti0
+.li
+.RE    -       yes     End relative indent level.
+.ti0
+.li
+.RP    no      -       Cover sheet and first page for released
+paper.
+Must precede other requests.
+.ti0
+.li
+.RS    -       yes     Start level of relative indentation.
+Following .IP's are measured from current indentation.
+.ti0
+.li
+.SG \fIx\fR    no      yes     Insert signature(s) of author(s),
+ignored except in TM.
+.IR x " is the reference line (initials of author and typist)."
+.ti0
+.li
+.SH    -       yes     Section head follows,
+font automatically bold.
+.ti0
+.li
+.SM    no      no      Make letters smaller.
+.ti0
+.li
+.TA \fIx\fR... 5...    no      Set tabs in ens.
+Default is 5 10 15 ...
+.ti0
+.li
+.TE    -       yes     End table.
+.ti0
+.li
+.TH    -       yes     End heading section of table.
+.ti0
+.li
+.TL    no      yes     Title follows.
+.ti0
+.li
+.TM \fIx\fR... no      -       Print document in BTL technical memorandum format.
+Arguments are TM number, (quoted list of) case number(s), and file number.
+Must precede other requests.
+.ti0
+.li
+.TR \fIx\fR    -       -       Print in BTL technical report format; report number is \fIx\fR.  Must be first.
+.ti0
+.li
+.TS \fIx\fR    -       yes     Begin table; if \fIx\fR is
+.I H
+table has repeated heading.
+.ti0
+.li
+.UL \fIx\fR    -       no      Underline argument (even in troff).
+.ti0
+.li
+.UX    -       no      `UNIX'; first time used, add footnote `UNIX is a trademark of
+Bell Laboratories.'
+.ti0
+.li
+.WH    -       no      `Bell Laboratories, Whippany,
+New Jersey 07981'.
+.tr &&
diff --git a/usr/man/man7/term.7 b/usr/man/man7/term.7
new file mode 100644 (file)
index 0000000..29dcd29
--- /dev/null
@@ -0,0 +1,49 @@
+.TH TERM 7 "1 February 1983"
+.SH NAME
+terminals \- conventional names
+.SH DESCRIPTION
+Certain commands use these terminal names. They are maintained 
+as part of the shell environment (see
+.IR sh (1), environ (5)).
+.LP
+.nf
+.ta \w'450\-12\-8  'u
+adm3a  Lear Seigler Adm-3a
+2621   Hewlett-Packard HP262? series terminals
+hp     Hewlett-Packard HP264? series terminals
+c100   Human Designed Systems Concept 100
+h19    Heathkit H19
+mime   Microterm mime in enhanced ACT IV mode
+1620   DIABLO 1620 (and others using HyType II)
+300    DASI/DTC/GSI 300 (and others using HyType I)
+33     TELETYPE\*R Model 33
+37     TELETYPE Model 37
+43     TELETYPE Model 43
+735    Texas Instruments TI735 (and TI725)
+745    Texas Instruments TI745
+dumb   terminals with no special features
+4014   Tektronix 4014
+vt52   Digital Equipment Corp. VT52
+.fi
+.PP
+The list goes on and on.
+Consult /etc/termcap (see
+.IR termcap (5))
+for an up-to-date and locally correct list.
+.PP
+Commands whose behavior may depend on the terminal either consult TERM in
+the environment, or accept arguments of the form
+.BR \-Tterm,
+where
+.I term
+is one of the names given above.
+.SH SEE ALSO
+stty(1), tabs(1), plot(1),
+sh(1), environ(5)
+ex(1), clear(1), more(1), ul(1), tset(1),
+termcap(5), termlib(3), ttytype(5)
+.br
+troff(1) for
+.I nroff
+.SH BUGS
+The programs that ought to adhere to this nomenclature do so only fitfully.
diff --git a/usr/man/man8/arcv.8 b/usr/man/man8/arcv.8
new file mode 100644 (file)
index 0000000..1131214
--- /dev/null
@@ -0,0 +1,23 @@
+.TH ARCV 8 "4 February 1983"
+.UC 4
+.SH NAME
+arcv \- convert archives to new format
+.SH SYNOPSIS
+.B /etc/arcv
+file ...
+.SH DESCRIPTION
+.I Arcv
+converts archive files
+(see
+.IR ar (1),
+.IR ar (5))
+from 32v and Third Berkeley editions to a new portable format.
+The conversion is done in place, and the command
+refuses to alter a file not in old archive format.
+.PP
+Old archives are marked with a magic number of 0177545 at the start;
+new archives have a first line ``!<arch>''.
+.SH FILES
+/tmp/v*, temporary copy
+.SH SEE ALSO
+ar(1), ar(5)