BSD 4_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Sat, 12 Feb 1983 18:15:19 +0000 (10:15 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Sat, 12 Feb 1983 18:15:19 +0000 (10:15 -0800)
Work on file usr/man/man5/ar.5
Work on file usr/man/man5/passwd.5
Work on file usr/man/man5/ttytype.5
Work on file usr/man/man5/tar.5
Work on file usr/man/man6/aardvark.6
Work on file usr/man/man6/arithmetic.6
Work on file usr/man/man6/adventure.6
Work on file usr/man/man6/bcd.6
Work on file usr/man/man6/backgammon.6
Work on file usr/man/man6/banner.6
Work on file usr/man/man6/boggle.6
Work on file usr/man/mano/chase.6
Work on file usr/man/man6/fish.6
Work on file usr/man/man6/monop.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/zork.6
Work on file usr/man/man6/doctor.6
Work on file usr/man/man7/ascii.7
Work on file usr/man/man8/arcv.8
Work on file usr/man/man1/apply.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/mano/sdb.1
Work on file usr/man/man1/symorder.1
Work on file usr/man/man1/tabs.1
Work on file usr/man/man1/tk.1
Work on file usr/man/man1/trman.1
Work on file usr/man/mano/net.1
Work on file usr/man/mano/netcp.1
Work on file usr/man/mano/netlog.1
Work on file usr/man/mano/netlogin.1
Work on file usr/man/mano/netlpr.1
Work on file usr/man/mano/netmail.1
Work on file usr/man/mano/netq.1
Work on file usr/man/mano/nettroff.1
Work on file usr/man/mano/netrm.1

Synthesized-from: CSRG/cd1/4.2

39 files changed:
usr/man/man1/apply.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/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/man5/ar.5 [new file with mode: 0644]
usr/man/man5/passwd.5 [new file with mode: 0644]
usr/man/man5/tar.5 [new file with mode: 0644]
usr/man/man5/ttytype.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/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/doctor.6 [new file with mode: 0644]
usr/man/man6/fish.6 [new file with mode: 0644]
usr/man/man6/monop.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/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/man8/arcv.8 [new file with mode: 0644]
usr/man/mano/chase.6 [new file with mode: 0644]
usr/man/mano/net.1 [new file with mode: 0644]
usr/man/mano/netcp.1 [new file with mode: 0644]
usr/man/mano/netlog.1 [new file with mode: 0644]
usr/man/mano/netlogin.1 [new file with mode: 0644]
usr/man/mano/netlpr.1 [new file with mode: 0644]
usr/man/mano/netmail.1 [new file with mode: 0644]
usr/man/mano/netq.1 [new file with mode: 0644]
usr/man/mano/netrm.1 [new file with mode: 0644]
usr/man/mano/nettroff.1 [new file with mode: 0644]
usr/man/mano/sdb.1 [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/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/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/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/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/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/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/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/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/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/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/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/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/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)
diff --git a/usr/man/mano/chase.6 b/usr/man/mano/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/mano/net.1 b/usr/man/mano/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/mano/netcp.1 b/usr/man/mano/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/mano/netlog.1 b/usr/man/mano/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/mano/netlogin.1 b/usr/man/mano/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/mano/netlpr.1 b/usr/man/mano/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/mano/netmail.1 b/usr/man/mano/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/mano/netq.1 b/usr/man/mano/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/mano/netrm.1 b/usr/man/mano/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/mano/nettroff.1 b/usr/man/mano/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/mano/sdb.1 b/usr/man/mano/sdb.1
new file mode 100644 (file)
index 0000000..5c74071
--- /dev/null
@@ -0,0 +1,434 @@
+.TH SDB 1 "9 September 1980"
+.UC 4
+.SH NAME
+sdb \- symbolic debugger
+.SH SYNOPSIS
+.B sdb
+[ objfil [ corfil [ directory ] ] ]
+.SH DESCRIPTION
+.I Sdb
+is a symbolic debugger which can be used with C, PASCAL, and F77 programs.
+It may be used to examine their files and to provide
+a controlled environment for their execution.
+.PP
+.I Objfil
+is an executable program file
+which has been compiled with the \-g (debug) option.
+The default for
+.I objfil
+is
+.B  a.out.
+.I Corfil
+is assumed to be a core image file produced after
+executing
+.IR objfil ;
+the default for
+.I corfil
+is
+.B  core.
+The core file need not be present.
+.PP
+It is useful to know that at any time there is a
+.I "current line"
+and
+.I "current file."
+If
+.I corfil
+exists then they are initially set to the line and file
+containing the source statement at which the process terminated or stopped.
+Otherwise, they are set to the first line in main.
+The current line and file may be changed with the source file
+examination commands.
+.PP
+Names of variables are written just as they are in C, PASCAL, or F77.
+Variables local to a procedure may be accessed using the form
+`procedure:variable'.
+If no procedure name is given, the procedure containing the
+current line is used by default.
+It is also possible to refer to structure members as `variable.member',
+pointers to structure members as `variable\(mi>member' and array elements
+as `variable[number]'.
+Combinations of these forms may also be used.
+.PP
+It is also possible to specify a variable by its address.
+All forms of integer constants which are valid in C may be used, so that
+addresses may be input in decimal, octal or hexadecimal.
+.PP
+Line numbers in the source program are referred to as `filename:number'
+or `procedure:number'.
+In either case the number is relative to the beginning of the file.
+If no procedure or file name is given,
+the current file is used by default.
+If no number is given,
+the first line of the named procedure or file is used.
+.sp 1
+.PP
+The commands for examining data in the program are:
+.TP 5
+.B t
+Print a stack trace of the terminated or stopped program.
+.TP 5
+.B T
+Print the top line of the stack trace.
+.TP 5
+variable/\fIlm\fP
+Print the value of variable according to
+length
+.I l
+and format 
+.I m.
+If 
+.I l
+and
+.I m
+are omitted,
+sdb chooses a length and format suitable for the variable's type
+as declared in the program.
+The length specifiers are:
+.RS
+.TP
+.BI b
+one byte
+.br
+.ns
+.TP
+.BI h
+two bytes (half word)
+.br
+.ns
+.TP
+.BI l
+four bytes (long word)
+.br
+.ns
+.TP
+number
+string length for formats
+.B s
+and
+.B a
+.RE
+.TP 5
+\ 
+Legal values for
+.I m
+are:
+.RS
+.TP
+.BI c
+character
+.br
+.ns
+.TP
+.BI d
+decimal
+.br
+.ns
+.TP
+.BI u
+decimal, unsigned
+.br
+.ns
+.TP
+.BI o
+octal
+.br
+.ns
+.TP
+.BI x
+hexadecimal
+.br
+.ns
+.TP
+.BI f
+32 bit single precision floating point
+.br
+.ns
+.TP
+.BI g
+64 bit double precision floating point
+.br
+.ns
+.TP
+.BI s
+Assume variable is a string pointer and print characters until a null is 
+reached.
+.br
+.ns
+.TP
+.BI a
+Print characters starting at the variable's address until a null
+is reached.
+.br
+.ns
+.TP
+.BI p
+pointer to procedure
+.RE
+.TP 5
+\ 
+The length specifiers are only effective with the formats
+\fBd\fP, \fBu\fP, \fBo\fP and \fBx\fP.
+If
+one of these formats
+is specified and
+.I l
+is omitted,
+the length
+defaults to the word length of the host machine;
+4 for the DEC VAX/11-780.
+The last variable may be redisplayed with the command `./'.
+.sp
+The sh(1) metacharacters 
+.B *
+and
+.B ?
+may be used within procedure and variable names,
+providing a limited form of pattern matching.
+If no procedure name is given, both variables local to the current
+procedure and global (common for F77) variables are matched,
+while if a procedure name is specified then
+only variables local to that procedure and matched.
+To match only global variables (or blank common for F77),
+the form `:pattern' is used.
+The name of a common block may be specified instead of a procedure name
+for F77 programs.
+.RE
+.TP 5
+variable\fB=\fP\fIlm\fP
+.br
+.ns
+.TP 5
+linenumber\fB=\fP\fIlm\fP
+.br
+.ns
+.TP 5
+number\fB=\fP\fIlm\fP
+Print the address of the variable or line number or the value of the number
+in the specified format.
+If no format is given, then `lx' is used.
+The last variant of this command provides a convenient way to convert
+between decimal, octal and hexadecimal.
+.TP 5
+variable\fB!\fPvalue
+Set the variable to the given value.
+The value may be a number, character constant or a variable.
+If the variable is of type float or double,
+the value may also be a floating constant.
+.sp 1
+.PP
+The commands for examining source files are
+.TP 5
+\fBe\fP procedure
+.br
+.ns
+.TP 5
+\fBe\fP filename.c
+Set the current file to
+the file containing the named procedure
+or the named filename.
+Set the current line to the first line in the named
+procedure or file.
+All source files are assumed to be in
+.I directory.
+The default for 
+.I directory
+is the working directory.
+If no procedure or file name is given, the current procedure and file names
+are reported.
+.TP 5
+\fB/\fPregular expression\fB/\fP
+Search forward from the current line for a line containing
+a string matching the regular expression as in ed(1).
+The trailing `/' may be elided.
+.TP 5
+\fB?\fPregular expression\fB?\fP
+Search backward from the current line for a line containing
+a string matching the regular expression as in ed(1).
+The trailing `?' may be elided.
+.TP 5
+.B p
+Print the current line.
+.TP 5
+.B z
+Print the current line followed by the next 9 lines.
+Set the current line to the last line printed.
+.TP 5
+.B control-D
+Scroll.
+Print the next 10 lines.
+Set the current line to the last line printed.
+.TP 5
+.B w
+Window.
+Print the 10 lines around the current line.
+.TP 5
+number
+Set the current line to the given line number.
+Print the new current line.
+.TP 5
+\fIcount\fB +\fR
+Advance the current line by \fIcount\fP lines.
+Print the new current line.
+.TP 5
+\fIcount\fB \(mi\fR
+Retreat the current line by \fIcount\fP lines.
+Print the new current line.
+.sp 1
+.PP
+The commands for controlling the execution of the source program are:
+.TP 5
+\fIcount\fB r \fIargs\fR
+.br
+.ns
+.TP 5
+\fIcount\fB R
+Run the program with the given arguments.
+The \fBr\fP command with no arguments reuses the previous arguments
+to the program while the \fBR\fP command
+runs the program with no arguments.
+An argument beginning with `<' or `>' causes redirection for the
+standard input or output respectively.
+If \fIcount\fP is given,
+it specifies the number of breakpoints to be ignored.
+.TP 5
+\fIlinenumber\fB c\fI count\fR
+.br
+.ns
+.TP 5
+\fIlinenumber\fB C\fI count\fR
+Continue after a breakpoint or interrupt.
+If \fIcount\fP is given,
+it specifies the number of breakpoints to be ignored.
+\fBC\fP continues with the signal which caused the program to stop and
+\fBc\fP ignores it.
+.sp 0.5
+If a linenumber is specified
+then a temporary breakpoint is placed at the line
+and execution is continued.
+The breakpoint is deleted when the command finishes.
+.TP 5
+\fIcount\fB s\fR
+Single step.
+Run the program through \fIcount\fP lines.
+If no count is given then the program is run for one line.
+.TP 5
+\fIcount\fB S\fR
+Single step, but step through subroutine calls.
+.TP 5
+.B k
+Kill the debugged program.
+.TP 5
+procedure\fB(\fParg1,arg2,...\fB)\fP
+.br
+.ns
+.TP 5
+procedure\fB(\fParg1,arg2,...\fB)/\fP\fIm\fP
+Execute the named procedure with the given arguments.
+Arguments can be integer, character or string constants
+or names of variables accessible from the current procedure.
+The second form causes the value returned by the procedure to be
+printed according to format \fIm\fP.
+If no format is given, it defaults to `d'.
+.TP 5
+\fIlinenumber\fB b\fR \fIcommands\fR
+Set a breakpoint at the given line.
+If a procedure name without a line number is given (e.g. `proc:'),
+a breakpoint is placed at the first line in the procedure
+even if it was not compiled with the debug flag.
+If no \fIlinenumber\fP is given,
+a breakpoint is placed at the current line.
+.sp 0.5
+If no
+.I commands
+are given then execution stops just before the breakpoint
+and control is returned to sdb.
+Otherwise
+the 
+.I commands 
+are executed when the breakpoint is
+encountered and execution continues.
+Multiple commands are specified by separating them with semicolons.
+.TP 5
+\fIlinenumber\fB d\fR
+Delete a breakpoint at the given line.
+If no \fIlinenumber\fP is given then the breakpoints are deleted interactively:
+Each breakpoint location is printed and a line is read from the standard input.
+If the line begins with a `y' or `d' then the breakpoint is deleted.
+.TP 5
+.B B
+Print a list of the currently active breakpoints.
+.TP 5
+.B D
+Delete all breakpoints.
+.TP 5
+l
+Print the last executed line.
+.TP 5
+\fIlinenumber\fB a\fR
+Announce.
+If \fIlinenumber\fR is of the form `proc:number', the command
+effectively does a `linenumber b l'.
+If \fIlinenumber\fR is of the form `proc:', the command
+effectively does a `proc: b T'.
+.sp 1
+.PP
+Miscellaneous commands.
+.TP 5
+\fB! \fIcommand\fR
+The command is interpreted by sh(1).
+.TP 5
+.B newline
+If the previous command printed a source line then
+advance the current line by 1 line and
+print the new current line.
+If the previous command displayed a core location then
+display the next core location.
+.TP 5
+\fB"\fI string\fR
+Print the given string.
+.TP 5
+.B q
+Exit the debugger.
+.sp 1
+.PP
+The following commands also exist and are intended only for
+debugging the debugger.
+.TP 5
+.B V
+Print the version number.
+.TP 5
+.B X
+Print a list of procedures and files being debugged.
+.TP 5
+.B Y
+Toggle debug output.
+.SH FILES
+a.out
+.br
+core
+.SH SEE\ ALSO
+adb(1)
+.SH DIAGNOSTICS
+Error reports are either identical to those of adb(1) or are
+self-explanatory.
+.SH BUGS
+If a procedure is called when the program is
+.I not
+stopped at a breakpoint
+(such as when a core image is being debugged),
+all variables are initialized before the procedure is started.
+This makes it impossible to use a procedure which formats
+data from a core image.
+.PP
+Arrays must be of one dimension and of zero origin to be correctly
+addressed by sdb.
+.PP
+The default type for printing F77 parameters is incorrect.
+Their address is printed instead of their value.
+.PP
+Tracebacks containing F77 subprograms with multiple entry points
+may print too many arguments in the wrong order, but their values
+are correct.
+.PP
+Sdb understands Pascal, but not its types.