BSD 4_4_Lite2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 14 May 1995 10:47:35 +0000 (02:47 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 14 May 1995 10:47:35 +0000 (02:47 -0800)
Work on file usr/share/man/cat8/uupoll.0
Work on file usr/share/man/cat8/uusnap.0
Work on file usr/share/man/cat8/uuxqt.0
Work on file usr/share/man/cat5/uuencode.format.0
Work on file usr/share/man/cat1/vacation.0
Work on file usr/share/man/cat1/vgrind.0
Work on file usr/share/man/cat5/vgrindefs.0
Work on file usr/share/man/cat1/vis.0
Work on file usr/share/man/cat1/w.0
Work on file usr/share/man/cat1/uptime.0
Work on file usr/share/man/cat1/wall.0
Work on file usr/share/man/cat1/wc.0
Work on file usr/share/man/cat1/whatis.0
Work on file usr/share/man/cat1/whereis.0
Work on file usr/share/man/cat1/who.0
Work on file usr/share/man/cat1/whois.0
Work on file usr/share/man/cat1/window.0
Work on file usr/share/man/cat1/write.0
Work on file usr/share/man/cat1/xargs.0
Work on file usr/share/man/cat1/install.0

Synthesized-from: CSRG/cd3/4.4BSD-Lite2

20 files changed:
usr/share/man/cat1/install.0 [new file with mode: 0644]
usr/share/man/cat1/uptime.0 [new file with mode: 0644]
usr/share/man/cat1/vacation.0 [new file with mode: 0644]
usr/share/man/cat1/vgrind.0 [new file with mode: 0644]
usr/share/man/cat1/vis.0 [new file with mode: 0644]
usr/share/man/cat1/w.0 [new file with mode: 0644]
usr/share/man/cat1/wall.0 [new file with mode: 0644]
usr/share/man/cat1/wc.0 [new file with mode: 0644]
usr/share/man/cat1/whatis.0 [new file with mode: 0644]
usr/share/man/cat1/whereis.0 [new file with mode: 0644]
usr/share/man/cat1/who.0 [new file with mode: 0644]
usr/share/man/cat1/whois.0 [new file with mode: 0644]
usr/share/man/cat1/window.0 [new file with mode: 0644]
usr/share/man/cat1/write.0 [new file with mode: 0644]
usr/share/man/cat1/xargs.0 [new file with mode: 0644]
usr/share/man/cat5/uuencode.format.0 [new file with mode: 0644]
usr/share/man/cat5/vgrindefs.0 [new file with mode: 0644]
usr/share/man/cat8/uupoll.0 [new file with mode: 0644]
usr/share/man/cat8/uusnap.0 [new file with mode: 0644]
usr/share/man/cat8/uuxqt.0 [new file with mode: 0644]

diff --git a/usr/share/man/cat1/install.0 b/usr/share/man/cat1/install.0
new file mode 100644 (file)
index 0000000..f5ca6fa
--- /dev/null
@@ -0,0 +1,52 @@
+INSTALL(1)                   BSD Reference Manual                   INSTALL(1)
+
+N\bNA\bAM\bME\bE
+     i\bin\bns\bst\bta\bal\bll\bl - install binaries
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     i\bin\bns\bst\bta\bal\bll\bl [-\b-c\bcs\bs] [-\b-f\bf _\bf_\bl_\ba_\bg_\bs] [-\b-g\bg _\bg_\br_\bo_\bu_\bp] [-\b-m\bm _\bm_\bo_\bd_\be] [-\b-o\bo _\bo_\bw_\bn_\be_\br] _\bf_\bi_\bl_\be_\b1 _\bf_\bi_\bl_\be_\b2
+     i\bin\bns\bst\bta\bal\bll\bl [-\b-c\bcs\bs] [-\b-f\bf _\bf_\bl_\ba_\bg_\bs] [-\b-g\bg _\bg_\br_\bo_\bu_\bp] [-\b-m\bm _\bm_\bo_\bd_\be] [-\b-o\bo _\bo_\bw_\bn_\be_\br] _\bf_\bi_\bl_\be_\b1 ...  _\bf_\bi_\bl_\be_\bN
+             _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The file(s) are moved (or copied if the -\b-c\bc option is specified) to the
+     target file or directory.  If the destination is a directory, then the
+     _\bf_\bi_\bl_\be is moved into _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by with its original filename.  If the target
+     file already exists, it is overwritten if permissions allow.
+
+     -\b-c\bc      Copy the file.  This flag turns off the default behavior of
+             i\bin\bns\bst\bta\bal\bll\bl where it deletes the original file after creating the
+             target.
+
+     -\b-f\bf      Specify the target's file flags.  (See chflags(1) for a list of
+             possible flags and their meanings.)
+
+     -\b-g\bg      Specify a group.
+
+     -\b-m\bm      Specify an alternate mode.  The default mode is set to rwxr-xr-x
+             (0755).  The specified mode may be either an octal or symbolic
+             value; see chmod(1) for a description of possible mode values.
+
+     -\b-o\bo      Specify an owner.
+
+     -\b-s\bs      I\bIn\bns\bst\bta\bal\bll\bl exec's the command strip(1) to strip binaries so that in-
+             stall can be portable over a large number of systems and binary
+             types.
+
+     By default, i\bin\bns\bst\bta\bal\bll\bl preserves all file flags, with the exception of the
+     ``nodump'' flag.
+
+     The i\bin\bns\bst\bta\bal\bll\bl utility attempts to prevent moving a file onto itself.
+
+     Installing _\b/_\bd_\be_\bv_\b/_\bn_\bu_\bl_\bl creates an empty file.
+
+     Upon successful completion a value of 0 is returned.  Otherwise, a value
+     of 1 is returned.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     chflags(1),  chgrp(1),  chmod(1),  cp(1),  mv(1),  strip(1),  chown(8)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The i\bin\bns\bst\bta\bal\bll\bl utility appeared in 4.2BSD.
+
+4.2 Berkeley Distribution        June 6, 1993                                1
diff --git a/usr/share/man/cat1/uptime.0 b/usr/share/man/cat1/uptime.0
new file mode 100644 (file)
index 0000000..138003c
--- /dev/null
@@ -0,0 +1,23 @@
+UPTIME(1)                    BSD Reference Manual                    UPTIME(1)
+
+N\bNA\bAM\bME\bE
+     u\bup\bpt\bti\bim\bme\be - show how long system has been running
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     u\bup\bpt\bti\bim\bme\be
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The u\bup\bpt\bti\bim\bme\be utility displays the current time, the length of time the sys-
+     tem has been up, the number of users, and the load average of the system
+     over the last 1, 5, and 15 minutes.
+
+F\bFI\bIL\bLE\bES\bS
+     /vmunix  system name list
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     w(1)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The u\bup\bpt\bti\bim\bme\be command appeared in 3.0BSD.
+
+3rd Berkeley Distribution       April 18, 1994                               1
diff --git a/usr/share/man/cat1/vacation.0 b/usr/share/man/cat1/vacation.0
new file mode 100644 (file)
index 0000000..5e15bd3
--- /dev/null
@@ -0,0 +1,76 @@
+VACATION(1)                  BSD Reference Manual                  VACATION(1)
+
+N\bNA\bAM\bME\bE
+     v\bva\bac\bca\bat\bti\bio\bon\bn - return ``I am not here'' indication
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     v\bva\bac\bca\bat\bti\bio\bon\bn -\b-i\bi [-\b-r\br _\bi_\bn_\bt_\be_\br_\bv_\ba_\bl]
+     v\bva\bac\bca\bat\bti\bio\bon\bn [-\b-a\ba _\ba_\bl_\bi_\ba_\bs] _\bl_\bo_\bg_\bi_\bn
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     V\bVa\bac\bca\bat\bti\bio\bon\bn returns a message to the sender of a message telling them that
+     you are currently not reading your mail.  The intended use is in a
+     _\b._\bf_\bo_\br_\bw_\ba_\br_\bd file.  For example, your _\b._\bf_\bo_\br_\bw_\ba_\br_\bd file might have:
+
+           \eric, "|/usr/bin/vacation -a allman eric"
+     which would send messages to you (assuming your login name was eric) and
+     reply to any messages for ``eric'' or ``allman''.
+
+     Available options:
+
+     -\b-a\ba _\ba_\bl_\bi_\ba_\bs
+             Handle messages for _\ba_\bl_\bi_\ba_\bs in the same manner as those received
+             for the user's login name.
+
+     -\b-i\bi      Initialize the vacation database files.  It should be used before
+             you modify your _\b._\bf_\bo_\br_\bw_\ba_\br_\bd file.
+
+     -\b-r\br      Set the reply interval to _\bi_\bn_\bt_\be_\br_\bv_\ba_\bl days.  The default is one
+             week.  An interval of ``0'' means that a reply is sent to each
+             message, and an interval of ``infinite'' (actually, any non-
+             numeric character) will never send more than one reply.  It
+             should be noted that intervals of ``0'' are quite dangerous, as
+             it allows mailers to get into ``I am on vacation'' loops.
+
+     No message will be sent unless _\bl_\bo_\bg_\bi_\bn (or an _\ba_\bl_\bi_\ba_\bs supplied using the -\b-a\ba
+     option) is part of either the ``To:'' or ``Cc:'' headers of the mail.  No
+     messages from ``???-REQUEST'', ``Postmaster'', ``UUCP'', ``MAILER'', or
+     ``MAILER-DAEMON'' will be replied to (where these strings are case insen-
+     sitive) nor is a notification sent if a ``Precedence: bulk'' or
+     ``Precedence: junk'' line is included in the mail headers.  The people
+     who have sent you messages are maintained as a db(3) database in the file
+     _\b._\bv_\ba_\bc_\ba_\bt_\bi_\bo_\bn_\b._\bd_\bb in your home directory.
+
+     V\bVa\bac\bca\bat\bti\bio\bon\bn expects a file _\b._\bv_\ba_\bc_\ba_\bt_\bi_\bo_\bn_\b._\bm_\bs_\bg, in your home directory, containing
+     a message to be sent back to each sender.  It should be an entire message
+     (including headers).  For example, it might contain:
+
+           From: eric@CS.Berkeley.EDU (Eric Allman)
+           Subject: I am on vacation
+           Delivered-By-The-Graces-Of: The Vacation program
+           Precedence: bulk
+
+           I am on vacation until July 22.  If you have something urgent,
+           please contact Keith Bostic <bostic@CS.Berkeley.EDU>.
+           --eric
+
+     V\bVa\bac\bca\bat\bti\bio\bon\bn reads the first line from the standard input for a UNIX ``From''
+     line to determine the sender.  Sendmail(8) includes this ``From'' line
+     automatically.
+
+     Fatal errors, such as calling v\bva\bac\bca\bat\bti\bio\bon\bn with incorrect arguments, or with
+     non-existent _\bl_\bo_\bg_\bi_\bn_\bs, are logged in the system log file, using syslog(8).
+
+F\bFI\bIL\bLE\bES\bS
+
+
+     ~/.vacation.db   database file
+     ~/.vacation.msg  message to send
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     sendmail(8),  syslog(8)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The v\bva\bac\bca\bat\bti\bio\bon\bn command appeared in 4.3BSD.
+
+4.3 Berkeley Distribution       April 28, 1995                               2
diff --git a/usr/share/man/cat1/vgrind.0 b/usr/share/man/cat1/vgrind.0
new file mode 100644 (file)
index 0000000..7f3ca77
--- /dev/null
@@ -0,0 +1,107 @@
+VGRIND(1)                    BSD Reference Manual                    VGRIND(1)
+
+N\bNA\bAM\bME\bE
+     v\bvg\bgr\bri\bin\bnd\bd - grind nice listings of programs
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     v\bvg\bgr\bri\bin\bnd\bd [-\b-] [-\b-W\bW] [-\b-d\bd _\bf_\bi_\bl_\be] [-\b-f\bf] [-\b-h\bh _\bh_\be_\ba_\bd_\be_\br] [-\b-l\bl _\bl_\ba_\bn_\bg_\bu_\ba_\bg_\be] [-\b-n\bn] [-\b-s\bsn\bn] [-\b-t\bt]
+            [-\b-x\bx] _\bn_\ba_\bm_\be _\b._\b._\b.
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     V\bVg\bgr\bri\bin\bnd\bd formats the program sources which are arguments in a nice style
+     using troff(1) Comments are placed in italics, keywords in bold face, and
+     the name of the current function is listed down the margin of each page
+     as it is encountered.
+
+     V\bVg\bgr\bri\bin\bnd\bd runs in two basic modes, filter mode (see the -\b-f\bf option) or regu-
+     lar mode.  In filter mode v\bvg\bgr\bri\bin\bnd\bd acts as a filter in a manner similar to
+     tbl(1).  The standard input is passed directly to the standard output ex-
+     cept for lines bracketed by the _\bt_\br_\bo_\bf_\bf_\b-_\bl_\bi_\bk_\be macros:
+
+     .vS     starts processing
+
+     .vE     ends processing
+
+     These lines are formatted as described above.  The output from this fil-
+     ter can be passed to troff for output.  There need be no particular or-
+     dering with eqn(1) or tbl(1).
+
+     In regular mode v\bvg\bgr\bri\bin\bnd\bd accepts input files, processes them, and passes
+     them to troff(1) for output.
+
+     In both modes v\bvg\bgr\bri\bin\bnd\bd passes any lines beginning with a decimal point
+     without conversion.
+
+     The options are:
+
+     -\b-             forces input to be taken from standard input (default if -\b-f\bf
+                   is specified )
+
+     -\b-W\bW            forces output to the (wide) Versatec printer rather than
+                   the (narrow) Varian
+
+     -\b-d\bd _\bf_\bi_\bl_\be       specifies an alternate language definitions file (default
+                   is _\b/_\bu_\bs_\br_\b/_\bs_\bh_\ba_\br_\be_\b/_\bm_\bi_\bs_\bc_\b/_\bv_\bg_\br_\bi_\bn_\bd_\be_\bf_\bs)
+
+     -\b-f\bf            forces filter mode
+
+     -\b-h\bh _\bh_\be_\ba_\bd_\be_\br     specifies a particular header to put on every output page
+                   (default is the file name)
+
+     -\b-l\bl            specifies the language to use.  Currently known are PASCAL
+                   (-\b-l\bl_\bp), MODEL (-\b-l\bl_\bm), C (-\b-l\bl_\bc or the default), CSH (-\b-l\bl_\bc_\bs_\bh),
+                   SHELL (-\b-l\bl_\bs_\bh), RATFOR (-\b-l\bl_\br), MODULA2 (-\b-l\bl_\bm_\bo_\bd_\b2), YACC
+                   (-\b-l\bl_\by_\ba_\bc_\bc), LISP (-\b-l\bl_\bi_\bs_\bp), and ICON (-\b-l\bl_\bI).
+
+     -\b-n\bn            forces no keyword bolding
+
+     -\b-s\bs            specifies a point size to use on output (exactly the same
+                   as the argument of a .ps)
+
+     -\b-t\bt            similar to the same option in troff causing formatted text
+                   to go to the standard output
+
+     -\b-x\bx            outputs the index file in a ``pretty'' format.  The index
+                   file itself is produced whenever v\bvg\bgr\bri\bin\bnd\bd is run with a file
+                   called _\bi_\bn_\bd_\be_\bx in the current directory.  The index of func-
+                   tion definitions can then be run off by giving v\bvg\bgr\bri\bin\bnd\bd the
+                   -\b-x\bx option and the file _\bi_\bn_\bd_\be_\bx as argument.
+
+F\bFI\bIL\bLE\bES\bS
+     index                        file where source for index is created
+     /usr/share/tmac/tmac.vgrind  macro package
+     /usr/libexec/vfontedpr       preprocessor
+     /usr/share/misc/vgrindefs    language descriptions
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     getcap(3),  vgrindefs(5)
+
+B\bBU\bUG\bGS\bS
+     Vfontedpr assumes that a certain programming style is followed:
+
+     For C - function names can be preceded on a line only by spaces, tabs, or
+     an asterisk.  The parenthesized arguments must also be on the same line.
+
+     For PASCAL - function names need to appear on the same line as the key-
+     words _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn or _\bp_\br_\bo_\bc_\be_\bd_\bu_\br_\be.
+
+     For MODEL - function names need to appear on the same line as the key-
+     words _\bi_\bs _\bb_\be_\bg_\bi_\bn_\bp_\br_\bo_\bc.
+
+     If these conventions are not followed, the indexing and marginal function
+     name comment mechanisms will fail.
+
+     More generally, arbitrary formatting styles for programs mostly look bad.
+     The use of spaces to align source code fails miserably; if you plan to
+     v\bvg\bgr\bri\bin\bnd\bd your program you should use tabs.  This is somewhat inevitable
+     since the font used by v\bvg\bgr\bri\bin\bnd\bd is variable width.
+
+     The mechanism of ctags(1) in recognizing functions should be used here.
+
+     Filter mode does not work in documents using the -\b-m\bme\be or -\b-m\bms\bs macros.  (So
+     what use is it anyway?)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The v\bvg\bgr\bri\bin\bnd\bd command appeared in 3.0BSD.
+
+4th Berkeley Distribution        June 6, 1993                                2
diff --git a/usr/share/man/cat1/vis.0 b/usr/share/man/cat1/vis.0
new file mode 100644 (file)
index 0000000..275cd6d
--- /dev/null
@@ -0,0 +1,64 @@
+VIS(1)                       BSD Reference Manual                       VIS(1)
+
+N\bNA\bAM\bME\bE
+     v\bvi\bis\bs - display non-printable characters in a visual format
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     v\bvi\bis\bs [-\b-c\bcb\bbf\bfl\bln\bno\bos\bst\btw\bw] [-\b-F\bF _\bf_\bo_\bl_\bd_\bw_\bi_\bd_\bt_\bh] [_\bf_\bi_\bl_\be _\b._\b._\b.]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     V\bVi\bis\bs is a filter for converting non-printable characters into a visual
+     representation.  It differs from `cat -v' in that the form is unique and
+     invertible.  By default, all non-graphic characters except space, tab,
+     and newline are encoded.  A detailed description of the various visual
+     formats is given in vis(3).
+
+     The options are as follows:
+
+     -\b-b\bb      Turns off prepending of backslash before up-arrow control se-
+             quences and meta characters, and disables the doubling of back-
+             slashes.  This produces output which is neither invertible or
+             precise, but does represent a minimum of change to the input.  It
+             is similar to ``cat -v''.
+
+     -\b-c\bc      Request a format which displays a small subset of the non-
+             printable characters using C-style backslash sequences.
+
+     -\b-F\bF      Causes v\bvi\bis\bs to fold output lines to foldwidth columns (default
+             80), like fold(1),  except that a hidden newline sequence is
+             used, (which is removed when inverting the file back to its orig-
+             inal form with unvis(1)).  If the last character in the encoded
+             file does not end in a newline, a hidden newline sequence is ap-
+             pended to the output.  This makes the output usable with various
+             editors and other utilities which typically don't work with par-
+             tial lines.
+
+     -\b-f\bf      Same as -\b-F\bF.
+
+     -\b-l\bl      Mark newlines with the visible sequence `\$', followed by the
+             newline.
+
+     -\b-n\bn      Turns off any encoding, except for the fact that backslashes are
+             still doubled and hidden newline sequences inserted if -\b-f\bf or -\b-F\bF
+             is selected.  When combined with the -\b-f\bf flag, v\bvi\bis\bs becomes like an
+             invertible version of the fold(1) utility.  That is, the output
+             can be unfolded by running the output through
+
+     -\b-o\bo      Request a format which displays non-printable characters as an
+             octal number, \ddd.
+
+     -\b-s\bs      Only characters considered unsafe to send to a terminal are en-
+             coded.  This flag allows backspace, bell, and carriage return in
+             addition to the default space, tab and newline.  unvis(1).
+
+     -\b-t\bt      Tabs are also encoded.
+
+     -\b-w\bw      White space (space-tab-newline) is also encoded.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     unvis(1),  vis(3)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The v\bvi\bis\bs command appears in 4.4BSD.
+
+4.4BSD                          April 19, 1994                               1
diff --git a/usr/share/man/cat1/w.0 b/usr/share/man/cat1/w.0
new file mode 100644 (file)
index 0000000..62da142
--- /dev/null
@@ -0,0 +1,76 @@
+W(1)                         BSD Reference Manual                         W(1)
+
+N\bNA\bAM\bME\bE
+     w\bw - who present users are and what they are doing
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bw [-\b-h\bhi\bin\bn] [-\b-M\bM _\bc_\bo_\br_\be] [-\b-N\bN _\bs_\by_\bs_\bt_\be_\bm] [_\bu_\bs_\be_\br]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The w\bw utility prints a summary of the current activity on the system, in-
+     cluding what each user is doing.  The first line displays the current
+     time of day, how long the system has been running, the number of users
+     logged into the system, and the load averages.  The load average numbers
+     give the number of jobs in the run queue averaged over 1, 5 and 15 min-
+     utes.
+
+     The fields output are the user's login name, the name of the terminal the
+     user is on, the host from which the user is logged in, the time the user
+     logged on, the time since the user last typed anything, and the name and
+     arguments of the current process.
+
+     The options are as follows:
+
+     -\b-h\bh      Suppress the heading.
+
+     -\b-i\bi      Output is sorted by idle time.
+
+     -\b-M\bM      Extract values associated with the name list from the specified
+             core instead of the default ``/dev/kmem''.
+
+     -\b-N\bN      Extract the name list from the specified system instead of the
+             default ``/vmunix''.
+
+     -\b-n\bn      Show network addresses as numbers (normally w\bw interprets address-
+             es and attempts to display them symbolically).
+
+     If a _\bu_\bs_\be_\br name is specified, the output is restricted to that user.
+
+F\bFI\bIL\bLE\bES\bS
+     /var/run/utmp  list of users on the system
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     who(1),  finger(1),  ps(1),  uptime(1),
+
+B\bBU\bUG\bGS\bS
+     The notion of the ``current process'' is muddy.  The current algorithm is
+     ``the highest numbered process on the terminal that is not ignoring in-
+     terrupts, or, if there is none, the highest numbered process on the ter-
+     minal''.  This fails, for example, in critical sections of programs like
+     the shell and editor, or when faulty programs running in the background
+     fork and fail to ignore interrupts.  (In cases where no process can be
+     found, w\bw prints ``-''.)
+
+     The CPU time is only an estimate, in particular, if someone leaves a
+     background process running after logging out, the person currently on
+     that terminal is ``charged'' with the time.
+
+     Background processes are not shown, even though they account for much of
+     the load on the system.
+
+     Sometimes processes, typically those in the background, are printed with
+     null or garbaged arguments.  In these cases, the name of the command is
+     printed in parentheses.
+
+
+     The w\bw utility does not know about the new conventions for detection of
+     background jobs.  It will sometimes find a background job instead of the
+     right one.
+
+C\bCO\bOM\bMP\bPA\bAT\bTI\bIB\bBI\bIL\bLI\bIT\bTY\bY
+     The -\b-f\bf, -\b-l\bl, -\b-s\bs, and -\b-w\bw flags are no longer supported.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The w\bw command appeared in UNIX3.0.
+
+4th Berkeley Distribution        June 6, 1993                                2
diff --git a/usr/share/man/cat1/wall.0 b/usr/share/man/cat1/wall.0
new file mode 100644 (file)
index 0000000..258e1fc
--- /dev/null
@@ -0,0 +1,23 @@
+WALL(1)                      BSD Reference Manual                      WALL(1)
+
+N\bNA\bAM\bME\bE
+     w\bwa\bal\bll\bl - write a message to users
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bwa\bal\bll\bl [_\bf_\bi_\bl_\be]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     W\bWa\bal\bll\bl displays the contents of _\bf_\bi_\bl_\be or, by default, its standard input, on
+     the terminals of all currently logged in users.
+
+     Only the super-user can write on the terminals of users who have chosen
+     to deny messages or are using a program which automatically denies mes-
+     sages.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     mesg(1),  talk(1),  write(1),  shutdown(8)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     A w\bwa\bal\bll\bl command appeared in Version 7 AT&T UNIX.
+
+4th Berkeley Distribution        June 6, 1993                                1
diff --git a/usr/share/man/cat1/wc.0 b/usr/share/man/cat1/wc.0
new file mode 100644 (file)
index 0000000..06ebcfa
--- /dev/null
@@ -0,0 +1,55 @@
+WC(1)                        BSD Reference Manual                        WC(1)
+
+N\bNA\bAM\bME\bE
+     w\bwc\bc - word, line, and byte count
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bwc\bc [-\b-c\bcl\blw\bw] [_\bf_\bi_\bl_\be _\b._\b._\b.]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The w\bwc\bc utility displays the number of lines, words, and bytes contained
+     in each input _\bf_\bi_\bl_\be (or standard input, by default) to the standard out-
+     put.  A line is defined as a string of characters delimited by a <new-
+     line> character, and a word is defined as a string of characters delimit-
+     ed by white space characters.  White space characters are the set of
+     characters for which the isspace(3) function returns true.  If more than
+     one input file is specified, a line of cumulative counts for all the
+     files is displayed on a separate line after the output for the last file.
+
+     The following options are available:
+
+     -\b-c\bc      The number of bytes in each input file is written to the standard
+             output.
+
+     -\b-l\bl      The number of lines in each input file is written to the standard
+             output.
+
+     -\b-w\bw      The number of words in each input file is written to the standard
+             output.
+
+     When an option is specified, w\bwc\bc only reports the information requested by
+     that option.  The default action is equivalent to specifying all of the
+     flags.
+
+     If no files are specified, the standard input is used and no file name is
+     displayed.
+
+     The w\bwc\bc utility exits 0 on success, and >0 if an error occurs.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     isspace(3)
+
+C\bCO\bOM\bMP\bPA\bAT\bTI\bIB\bBI\bIL\bLI\bIT\bTY\bY
+     Historically, the w\bwc\bc utility was documented to define a word as a ``maxi-
+     mal string of characters delimited by <space>, <tab> or <newline> charac-
+     ters''.  The implementation, however, didn't handle non-printing charac-
+     ters correctly so that ``  ^D^E  '' counted as 6 spaces, while
+     ``foo^D^Ebar'' counted as 8 characters.  4BSD systems after 4.3BSD modi-
+     fied the implementation to be consistent with the documentation.  This
+     implementation defines a ``word'' in terms of the isspace(3) function, as
+     required by IEEE Std1003.2 (``POSIX'').
+
+S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
+     The w\bwc\bc function conforms to IEEE Std1003.2 (``POSIX'').
+
+4.4BSD                          April 19, 1994                               1
diff --git a/usr/share/man/cat1/whatis.0 b/usr/share/man/cat1/whatis.0
new file mode 100644 (file)
index 0000000..a691685
--- /dev/null
@@ -0,0 +1,40 @@
+WHATIS(1)                    BSD Reference Manual                    WHATIS(1)
+
+N\bNA\bAM\bME\bE
+     w\bwh\bha\bat\bti\bis\bs - describe what a command is
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bwh\bha\bat\bti\bis\bs [-\b-M\bM _\bp_\ba_\bt_\bh] [-\b-m\bm _\bp_\ba_\bt_\bh] _\bc_\bo_\bm_\bm_\ba_\bn_\bd _\b._\b._\b.
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     W\bWh\bha\bat\bti\bis\bs looks up a given command and gives the header line from the manual
+     page.  You can then use the man(1) command to get more information.
+
+     The options are as follows:
+
+     -\b-M\bM _\bp_\ba_\bt_\bh     Override the list of standard directories w\bwh\bha\bat\bti\bis\bs searches for
+                 its database named ``_\bw_\bh_\ba_\bt_\bi_\bs_\b._\bd_\bb''. The supplied _\bp_\ba_\bt_\bh must be a
+                 colon ``:'' separated list of directories.  This search path
+                 may also be set using the environment variable MANPATH.
+
+     -\b-m\bm _\bp_\ba_\bt_\bh     Augment the list of standard directories w\bwh\bha\bat\bti\bis\bs searches for
+                 its database named ``_\bw_\bh_\ba_\bt_\bi_\bs_\b._\bd_\bb''. The supplied _\bp_\ba_\bt_\bh must be a
+                 colon ``:'' separated list of directories.  These directories
+                 will be searched before the standard directories or the di-
+                 rectories supplied with the -\b-M\bM option or the MANPATH environ-
+                 ment variable are searched.
+
+E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
+     MANPATH  The standard search path used by man(1) may be overridden by
+              specifying a path in the MANPATH environment variable.
+
+F\bFI\bIL\bLE\bES\bS
+     whatis.db  name of the whatis database
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     apropos(1),  man(1),  whereis(1)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The w\bwh\bha\bat\bti\bis\bs command appeared in 3.0BSD.
+
+4th Berkeley Distribution        June 6, 1993                                1
diff --git a/usr/share/man/cat1/whereis.0 b/usr/share/man/cat1/whereis.0
new file mode 100644 (file)
index 0000000..5c5d2c1
--- /dev/null
@@ -0,0 +1,26 @@
+WHEREIS(1)                   BSD Reference Manual                   WHEREIS(1)
+
+N\bNA\bAM\bME\bE
+     w\bwh\bhe\ber\bre\bei\bis\bs - locate programs
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bwh\bhe\ber\bre\bei\bis\bs [_\bp_\br_\bo_\bg_\br_\ba_\bm _\b._\b._\b.]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The w\bwh\bhe\ber\bre\bei\bis\bs utility checks the standard binary directories for the speci-
+     fied programs, printing out the paths of any it finds.
+
+     The path searched is the string returned by the sysctl(8) utility for the
+     ``user.cs_path'' string.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     sysctl(8)
+
+C\bCO\bOM\bMP\bPA\bAT\bTI\bIB\bBI\bIL\bLI\bIT\bTY\bY
+     The historic flags and arguments for the w\bwh\bhe\ber\bre\bei\bis\bs utility are no longer
+     available in this version.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The w\bwh\bhe\ber\bre\bei\bis\bs command appeared in 3.0BSD.
+
+3rd Berkeley Distribution       April 27, 1995                               1
diff --git a/usr/share/man/cat1/who.0 b/usr/share/man/cat1/who.0
new file mode 100644 (file)
index 0000000..262eed5
--- /dev/null
@@ -0,0 +1,42 @@
+WHO(1)                       BSD Reference Manual                       WHO(1)
+
+N\bNA\bAM\bME\bE
+     w\bwh\bho\bo - display who is logged in
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bwh\bho\bo [_\ba_\bm _\bI] [_\bf_\bi_\bl_\be]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The utility w\bwh\bho\bo displays a list of all users currently logged on, showing
+     for each user the login name, tty name, the date and time of login, and
+     hostname if not local.
+
+     Available options:
+
+     _\ba_\bm _\bI  Returns the invoker's real user name.
+
+     _\bf_\bi_\bl_\be  By default, w\bwh\bho\bo gathers information from the file _\b/_\bv_\ba_\br_\b/_\br_\bu_\bn_\b/_\bu_\bt_\bm_\bp. An
+           alternate _\bf_\bi_\bl_\be may be specified which is usually _\b/_\bv_\ba_\br_\b/_\br_\bu_\bn_\b/_\bw_\bt_\bm_\bp (or
+           _\b/_\bv_\ba_\br_\b/_\br_\bu_\bn_\b/_\bw_\bt_\bm_\bp_\b._\b[_\b0_\b-_\b6_\b] depending on site policy as _\bw_\bt_\bm_\bp can grow quite
+           large and daily versions may or may not be kept around after com-
+           pression by ac(8)).  The _\bw_\bt_\bm_\bp file contains a record of every lo-
+           gin, logout, crash, shutdown and date change since _\bw_\bt_\bm_\bp was last
+           truncated or created.
+
+     If _\b/_\bv_\ba_\br_\b/_\bl_\bo_\bg_\b/_\bw_\bt_\bm_\bp is being used as the file, the user name may be empty or
+     one of the special characters '|', '}' and '~'.  Logouts produce an out-
+     put line without any user name.  For more information on the special
+     characters, see utmp(5).
+
+F\bFI\bIL\bLE\bES\bS
+     /var/run/utmp
+     /var/log/wtmp
+     /var/log/wtmp.[0-6]
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     last(1),  users(1),  getuid(2),  utmp(5)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     A w\bwh\bho\bo command appeared in Version 6 AT&T UNIX.
+
+4.4BSD                         December 30, 1993                             1
diff --git a/usr/share/man/cat1/whois.0 b/usr/share/man/cat1/whois.0
new file mode 100644 (file)
index 0000000..8493292
--- /dev/null
@@ -0,0 +1,32 @@
+WHOIS(1)                     BSD Reference Manual                     WHOIS(1)
+
+N\bNA\bAM\bME\bE
+     w\bwh\bho\boi\bis\bs - Internet user name directory service
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bwh\bho\boi\bis\bs [-\b-h\bh _\bh_\bo_\bs_\bt_\bn_\ba_\bm_\be] _\bn_\ba_\bm_\be _\b._\b._\b.
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     W\bWh\bho\boi\bis\bs looks up records in the Network Information Center (NIC) database.
+
+     The options are as follows:
+
+     -\b-h\bh      Use the specified host instead of the default NIC
+             (whois.internic.net).
+
+     The operands specified to w\bwh\bho\boi\bis\bs are concatenated together (separated by
+     white-space) and presented to the w\bwh\bho\boi\bis\bs server.
+
+     The default action, unless directed otherwise with a special _\bn_\ba_\bm_\be, is to
+     do a very broad search, looking for matches to _\bn_\ba_\bm_\be in all types of
+     records and most fields (name, nicknames, hostname, net address, etc.) in
+     the database.  For more information as to what _\bn_\ba_\bm_\be operands have special
+     meaning, and how to guide the search, use the special name ``_\bh_\be_\bl_\bp''.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     RFC 812: Nicname/Whois
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The w\bwh\bho\boi\bis\bs command appeared in 4.3BSD.
+
+4.3 Berkeley Distribution        June 20, 1994                               1
diff --git a/usr/share/man/cat1/window.0 b/usr/share/man/cat1/window.0
new file mode 100644 (file)
index 0000000..3e6fbd9
--- /dev/null
@@ -0,0 +1,519 @@
+WINDOW(1)                    BSD Reference Manual                    WINDOW(1)
+
+N\bNA\bAM\bME\bE
+     w\bwi\bin\bnd\bdo\bow\bw - window environment
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bwi\bin\bnd\bdo\bow\bw [-\b-t\bt] [-\b-f\bf] [-\b-d\bd] [-\b-e\be _\be_\bs_\bc_\ba_\bp_\be_\b-_\bc_\bh_\ba_\br] [-\b-c\bc _\bc_\bo_\bm_\bm_\ba_\bn_\bd]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     W\bWi\bin\bnd\bdo\bow\bw implements a window environment on ASCII terminals.
+
+     A window is a rectangular portion of the physical terminal screen associ-
+     ated with a set of processes.  Its size and position can be changed by
+     the user at any time.  Processes communicate with their window in the
+     same way they normally interact with a terminal-through their standard
+     input, output, and diagnostic file descriptors.  The window program han-
+     dles the details of redirecting input and output to and from the windows.
+     At any one time, only one window can receive input from the keyboard, but
+     all windows can simultaneously send output to the display.
+
+     When w\bwi\bin\bnd\bdo\bow\bw starts up, the commands (see long commands below) contained
+     in the file _\b._\bw_\bi_\bn_\bd_\bo_\bw_\br_\bc in the user's home directory are executed.  If it
+     does not exist, two equal sized windows spanning the terminal screen are
+     created by default.
+
+     The command line options are
+
+     -\b-t\bt          Turn on terse mode (see t\bte\ber\brs\bse\be command below).
+
+     -\b-f\bf          Fast.  Don't perform any startup action.
+
+     -\b-d\bd          Ignore _\b._\bw_\bi_\bn_\bd_\bo_\bw_\br_\bc and create the two default windows instead.
+
+     -\b-e\be _\be_\bs_\bc_\ba_\bp_\be_\b-_\bc_\bh_\ba_\br
+                 Set the escape character to _\be_\bs_\bc_\ba_\bp_\be_\b-_\bc_\bh_\ba_\br. _\bE_\bs_\bc_\ba_\bp_\be_\b-_\bc_\bh_\ba_\br can be a
+                 single character, or in the form ^\b^X\bX where _\bX is any character,
+                 meaning control-_\bX.
+
+     -\b-c\bc _\bc_\bo_\bm_\bm_\ba_\bn_\bd  Execute the string _\bc_\bo_\bm_\bm_\ba_\bn_\bd as a long command (see below) be-
+                 fore doing anything else.
+
+     Windows can overlap and are framed as necessary.  Each window is named by
+     one of the digits ``1'' to ``9''.  This one-character identifier, as well
+     as a user definable label string, are displayed with the window on the
+     top edge of its frame.  A window can be designated to be in the
+     _\bf_\bo_\br_\be_\bg_\br_\bo_\bu_\bn_\bd, in which case it will always be on top of all normal, non-
+     foreground windows, and can be covered only by other foreground windows.
+     A window need not be completely within the edges of the terminal screen.
+     Thus a large window (possibly larger than the screen) may be positioned
+     to show only a portion of its full size.
+
+     Each window has a cursor and a set of control functions.  Most intelli-
+     gent terminal operations such as line and character deletion and inser-
+     tion are supported.  Display modes such as underlining and reverse video
+     are available if they are supported by the terminal.  In addition, simi-
+     lar to terminals with multiple pages of memory, each window has a text
+     buffer which can have more lines than the window itself.
+
+   P\bPr\bro\boc\bce\bes\bss\bs E\bEn\bnv\bvi\bir\bro\bon\bnm\bme\ben\bnt\bt
+     With each newly created window, a shell program is spawned with its pro-
+     cess environment tailored to that window.  Its standard input, output,
+     and diagnostic file descriptors are bound to one end of either a pseudo-
+     terminal (pty(4))  or a UNIX domain socket (socketpair(4)).  If a pseudo-
+     terminal is used, then its special characters and modes (see stty(1))
+     are copied from the physical terminal.  A termcap(5) entry tailored to
+     this window is created and passed as environment (environ(5))  variable
+     TERMCAP. The termcap entry contains the window's size and characteristics
+     as well as information from the physical terminal, such as the existence
+     of underline, reverse video, and other display modes, and the codes pro-
+     duced by the terminal's function keys, if any.  In addition, the window
+     size attributes of the pseudo-terminal are set to reflect the size of
+     this window, and updated whenever it is changed by the user.  In particu-
+     lar, the editor vi(1) uses this information to redraw its display.
+
+   O\bOp\bpe\ber\bra\bat\bti\bio\bon\bn
+     During normal execution, w\bwi\bin\bnd\bdo\bow\bw can be in one of two states: conversation
+     mode and command mode.  In conversation mode, the terminal's real cursor
+     is placed at the cursor position of a particular window--called the cur-
+     rent window--and input from the keyboard is sent to the process in that
+     window.  The current window is always on top of all other windows, except
+     those in foreground.  In addition, it is set apart by highlighting its
+     identifier and label in reverse video.
+
+     Typing w\bwi\bin\bnd\bdo\bow\bw's escape character (normally ^\b^P\bP) in conversation mode
+     switches it into command mode.  In command mode, the top line of the ter-
+     minal screen becomes the command prompt window, and w\bwi\bin\bnd\bdo\bow\bw interprets in-
+     put from the keyboard as commands to manipulate windows.
+
+     There are two types of commands: short commands are usually one or two
+     key strokes; long commands are strings either typed by the user in the
+     command window (see the ``:\b:'' command below), or read from a file (see
+     s\bso\bou\bur\brc\bce\be below).
+
+   S\bSh\bho\bor\brt\bt C\bCo\bom\bmm\bma\ban\bnd\bds\bs
+     Below, _\b# represents one of the digits ``1'' to ``9'' corresponding to the
+     windows 1 to 9.  ^\b^X\bX means control-_\bX, where _\bX is any character.  In par-
+     ticular, ^\b^^\b^ is control-^. _\bE_\bs_\bc_\ba_\bp_\be is the escape key, or ^\b^[\b[.
+
+     _\b#       Select window _\b# as the current window and return to conversation
+             mode.
+
+     %\b%_\b#      Select window _\b# but stay in command mode.
+
+     ^\b^^\b^      Select the previous window and return to conversation mode.  This
+             is useful for toggling between two windows.
+
+     e\bes\bsc\bca\bap\bpe\be  Return to conversation mode.
+
+     ^\b^P\bP      Return to conversation mode and write ^\b^P\bP to the current window.
+             Thus, typing two ^\b^P\bP's in conversation mode sends one to the cur-
+             rent window.  If the w\bwi\bin\bnd\bdo\bow\bw escape is changed to some other char-
+             acter, that character takes the place of ^\b^P\bP here.
+
+     ?\b?       List a short summary of commands.
+
+     ^\b^L\bL      Refresh the screen.
+
+     q\bq       Exit w\bwi\bin\bnd\bdo\bow\bw. Confirmation is requested.
+
+     ^\b^Z\bZ      Suspend w\bwi\bin\bnd\bdo\bow\bw.
+
+     w\bw       Create a new window.  The user is prompted for the positions of
+             the upper left and lower right corners of the window.  The cursor
+             is placed on the screen and the keys ``h'', ``j'', ``k'', and
+             ``l'' move the cursor left, down, up, and right, respectively.
+             The keys ``H'', ``J'', ``K'', and ``L'' move the cursor to the
+             respective limits of the screen.  Typing a number before the
+             movement keys repeats the movement that number of times.  Return
+             enters the cursor position as the upper left corner of the win-
+             dow.  The lower right corner is entered in the same manner.  Dur-
+             ing this process, the placement of the new window is indicated by
+             a rectangular box drawn on the screen, corresponding to where the
+             new window will be framed.  Typing escape at any point cancels
+             this command.
+
+             This window becomes the current window, and is given the first
+             available ID.  The default buffer size is used (see _\bd_\be_\bf_\ba_\bu_\bl_\bt_\b__\bn_\bl_\bi_\bn_\be
+             command below).
+
+             Only fully visible windows can be created this way.
+
+     c\bc_\b#      Close window _\b#. The process in the window is sent the hangup sig-
+             nal (see kill(1)).  Csh(1) should handle this signal correctly
+             and cause no problems.
+
+     m\bm_\b#      Move window _\b# to another location.  A box in the shape of the
+             window is drawn on the screen to indicate the new position of the
+             window, and the same keys as those for the w\bw command are used to
+             position the box.  The window can be moved partially off-screen.
+
+     M\bM_\b#      Move window _\b# to its previous position.
+
+     s\bs_\b#      Change the size of window _\b#. The user is prompted to enter the
+             new lower right corner of the window.  A box is drawn to indicate
+             the new window size.  The same keys used in w\bw and m\bm are used to
+             enter the position.
+
+     S\bS_\b#      Change window _\b# to its previous size.
+
+     ^\b^Y\bY      Scroll the current window up by one line.
+
+     ^\b^E\bE      Scroll the current window down by one line.
+
+     ^\b^U\bU      Scroll the current window up by half the window size.
+
+     ^\b^D\bD      Scroll the current window down by half the window size.
+
+     ^\b^B\bB      Scroll the current window up by the full window size.
+
+     ^\b^F\bF      Scroll the current window down by the full window size.
+
+     h\bh       Move the cursor of the current window left by one column.
+
+     j\bj       Move the cursor of the current window down by one line.
+
+     k\bk       Move the cursor of the current window up by one line.
+
+     l\bl       Move the cursor of the current window right by one column.
+
+     y\by       Yank.  The user is prompted to enter two points within the cur-
+             rent window.  Then the content of the current window between
+             those two points is saved in the yank buffer.
+
+     p\bp       Put.  The content of the yank buffer is written to the current
+             window as input.
+
+     ^\b^S\bS      Stop output in the current window.
+
+     ^\b^Q\bQ      Start output in the current window.
+
+     :       Enter a line to be executed as long commands.  Normal line edit-
+             ing characters (erase character, erase word, erase line) are sup-
+             ported.
+
+   L\bLo\bon\bng\bg C\bCo\bom\bmm\bma\ban\bnd\bds\bs
+     Long commands are a sequence of statements parsed much like a programming
+     language, with a syntax similar to that of C.  Numeric and string expres-
+     sions and variables are supported, as well as conditional statements.
+
+     There are two data types: string and number.  A string is a sequence of
+     letters or digits beginning with a letter.  ``_'' and ``.'' are consid-
+     ered letters.  Alternately, non-alphanumeric characters can be included
+     in strings by quoting them in ``"'' or escaping them with ``\''.  In ad-
+     dition, the ``\'' sequences of C are supported, both inside and outside
+     quotes (e.g., ``\n'' is a new line, ``\r'' a carriage return).  For exam-
+     ple, these are legal strings: abcde01234, "&#$^*&#", ab"$#"cd, ab\$\#cd,
+     "/usr/ucb/window".
+
+     A number is an integer value in one of three forms: a decimal number, an
+     octal number preceded by ``0'', or a hexadecimal number preceded by
+     ``0x'' or ``0X''.  The natural machine integer size is used (i.e., the
+     signed integer type of the C compiler).  As in C, a non-zero number rep-
+     resents a boolean true.
+
+     The character ``#'' begins a comment which terminates at the end of the
+     line.
+
+     A statement is either a conditional or an expression.  Expression state-
+     ments are terminated with a new line or ``;''.  To continue an expression
+     on the next line, terminate the first line with ``\''.
+
+   C\bCo\bon\bnd\bdi\bit\bti\bio\bon\bna\bal\bl S\bSt\bta\bat\bte\bem\bme\ben\bnt\bt
+     W\bWi\bin\bnd\bdo\bow\bw has a single control structure: the fully bracketed if statement
+     in the form
+
+           if <expr> then
+           <statement>
+           ...
+           elsif <expr> then
+           <statement>
+           ...
+           else
+           <statement>
+           ...
+           endif
+
+     The e\bel\bls\bse\be and e\bel\bls\bsi\bif\bf parts are optional, and the latter can be repeated any
+     number of times.  <Expr> must be numeric.
+
+   E\bEx\bxp\bpr\bre\bes\bss\bsi\bio\bon\bns\bs
+     Expressions in w\bwi\bin\bnd\bdo\bow\bw are similar to those in the C language, with most C
+     operators supported on numeric operands.  In addition, some are overload-
+     ed to operate on strings.
+
+     When an expression is used as a statement, its value is discarded after
+     evaluation.  Therefore, only expressions with side effects (assignments
+     and function calls) are useful as statements.
+
+     Single valued (no arrays) variables are supported, of both numeric and
+     string values.  Some variables are predefined.  They are listed below.
+
+     The operators in order of increasing precedence:
+
+     <_\be_\bx_\bp_\br_\b1> =\b= <_\be_\bx_\bp_\br_\b2>
+                 Assignment.  The variable of name <_\be_\bx_\bp_\br_\b1>, which must be
+                 string valued, is assigned the result of <_\be_\bx_\bp_\br_\b2>. Returns the
+                 value of <_\be_\bx_\bp_\br_\b2>.
+
+     <_\be_\bx_\bp_\br_\b1> ?\b? <_\be_\bx_\bp_\br_\b2> : <_\be_\bx_\bp_\br_\b3>
+                 Returns the value of <_\be_\bx_\bp_\br_\b2> if <_\be_\bx_\bp_\br_\b1> evaluates true (non-
+                 zero numeric value); returns the value of <_\be_\bx_\bp_\br_\b3> otherwise.
+                 Only one of <_\be_\bx_\bp_\br_\b2> and <_\be_\bx_\bp_\br_\b3> is evaluated.  <_\bE_\bx_\bp_\br_\b1> must
+
+                 be numeric.
+
+     <_\be_\bx_\bp_\br_\b1> |\b||\b| <_\be_\bx_\bp_\br_\b2>
+                 Logical or.  Numeric values only.  Short circuit evaluation
+                 is supported (i.e., if <_\be_\bx_\bp_\br_\b1> evaluates true, then <_\be_\bx_\bp_\br_\b2>
+                 is not evaluated).
+
+     <_\be_\bx_\bp_\br_\b1> &\b&&\b& <_\be_\bx_\bp_\br_\b2>
+                 Logical and with short circuit evaluation.  Numeric values
+                 only.
+
+     <_\be_\bx_\bp_\br_\b1> |\b| <_\be_\bx_\bp_\br_\b2>
+                 Bitwise or.  Numeric values only.
+
+     <_\be_\bx_\bp_\br_\b1> ^\b^ <_\be_\bx_\bp_\br_\b2>
+                 Bitwise exclusive or.  Numeric values only.
+
+     <_\be_\bx_\bp_\br_\b1> &\b& <_\be_\bx_\bp_\br_\b2>
+                 Bitwise and.  Numeric values only.
+
+     <_\be_\bx_\bp_\br_\b1> =\b==\b= <_\be_\bx_\bp_\br_\b2>, <_\be_\bx_\bp_\br_\b1> !\b!=\b= <expr2>
+                 Comparison (equal and not equal, respectively).  The boolean
+                 result (either 1 or 0) of the comparison is returned.  The
+                 operands can be numeric or string valued.  One string operand
+                 forces the other to be converted to a string in necessary.
+
+     <_\be_\bx_\bp_\br_\b1> <\b< <_\be_\bx_\bp_\br_\b2>, <_\be_\bx_\bp_\br_\b1> >\b> <_\be_\bx_\bp_\br_\b2>, <_\be_\bx_\bp_\br_\b1> <\b<=\b= <_\be_\bx_\bp_\br_\b2>,
+                 Less than, greater than, less than or equal to, greater than
+                 or equal to.  Both numeric and string values, with automatic
+                 conversion as above.
+
+     <_\be_\bx_\bp_\br_\b1> <\b<<\b< <_\be_\bx_\bp_\br_\b2>, <_\be_\bx_\bp_\br_\b1> >\b>>\b> <_\be_\bx_\bp_\br_\b2>
+                 If both operands are numbers, <_\be_\bx_\bp_\br_\b1> is bit shifted left (or
+                 right) by <_\be_\bx_\bp_\br_\b2> bits.  If <_\be_\bx_\bp_\br_\b1> is a string, then its
+                 first (or last) <_\be_\bx_\bp_\br_\b2> characters are returns (if <_\be_\bx_\bp_\br_\b2> is
+                 also a string, then its length is used in place of its val-
+                 ue).
+
+     <_\be_\bx_\bp_\br_\b1> +\b+ <_\be_\bx_\bp_\br_\b2>, <_\be_\bx_\bp_\br_\b1> -\b- <_\be_\bx_\bp_\br_\b2>
+                 Addition and subtraction on numbers.  For ``+'', if one argu-
+                 ment is a string, then the other is converted to a string,
+                 and the result is the concatenation of the two strings.
+
+     <_\be_\bx_\bp_\br_\b1> *\b* <_\be_\bx_\bp_\br_\b2>, <_\be_\bx_\bp_\br_\b1> /\b/ <_\be_\bx_\bp_\br_\b2>, <_\be_\bx_\bp_\br_\b1> %\b% <_\be_\bx_\bp_\br_\b2>
+                 Multiplication, division, modulo.  Numbers only.
+
+     -\b-<_\be_\bx_\bp_\br>, ~\b~<_\be_\bx_\bp_\br>, !\b!<_\be_\bx_\bp_\br>, $\b$<_\be_\bx_\bp_\br>, $\b$?\b?<_\be_\bx_\bp_\br>
+                 The first three are unary minus, bitwise complement and logi-
+                 cal complement on numbers only.  The operator, ``$'', takes
+                 <_\be_\bx_\bp_\br> and returns the value of the variable of that name.
+                 If <_\be_\bx_\bp_\br> is numeric with value _\bn and it appears within an
+                 alias macro (see below), then it refers to the nth argument
+                 of the alias invocation.  ``$?''  tests for the existence of
+                 the variable <_\be_\bx_\bp_\br>, and returns 1 if it exists or 0 other-
+                 wise.
+
+     <_\be_\bx_\bp_\br>(<_\ba_\br_\bg_\bl_\bi_\bs_\bt>)
+                 Function call.  <_\bE_\bx_\bp_\br> must be a string that is the unique
+                 prefix of the name of a builtin w\bwi\bin\bnd\bdo\bow\bw function or the full
+                 name of a user defined alias macro.  In the case of a builtin
+                 function, <_\ba_\br_\bg_\bl_\bi_\bs_\bt> can be in one of two forms:
+
+                       <expr1>, <expr2>, ...
+                       argname1 = <expr1>, argname2 = <expr2>, ...
+
+
+                 The two forms can in fact be intermixed, but the result is
+                 unpredictable.  Most arguments can be omitted; default values
+                 will be supplied for them.  The _\ba_\br_\bg_\bn_\ba_\bm_\be_\bs can be unique pre-
+                 fixes of the argument names.  The commas separating arguments
+                 are used only to disambiguate, and can usually be omitted.
+
+                 Only the first argument form is valid for user defined alias-
+                 es.  Aliases are defined using the a\bal\bli\bia\bas\bs builtin function
+                 (see below).  Arguments are accessed via a variant of the
+                 variable mechanism (see ``$'' operator above).
+
+                 Most functions return value, but some are used for side ef-
+                 fect only and so must be used as statements.  When a function
+                 or an alias is used as a statement, the parentheses surround-
+                 ing the argument list may be omitted.  Aliases return no val-
+                 ue.
+
+   B\bBu\bui\bil\blt\bti\bin\bn F\bFu\bun\bnc\bct\bti\bio\bon\bns\bs
+     The arguments are listed by name in their natural order.  Optional argu-
+     ments are in square brackets `[]'. Arguments that have no names are in
+     angle brackets `<>'. An argument meant to be a boolean flag (often named
+     _\bf_\bl_\ba_\bg) can be one of _\bo_\bn, _\bo_\bf_\bf, _\by_\be_\bs, _\bn_\bo, _\bt_\br_\bu_\be, or _\bf_\ba_\bl_\bs_\be, with obvious mean-
+     ings, or it can be a numeric expression, in which case a non-zero value
+     is true.
+
+     a\bal\bli\bia\bas\bs([<_\bs_\bt_\br_\bi_\bn_\bg>], [<_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt)>]
+                 If no argument is given, all currently defined alias macros
+                 are listed.  Otherwise, <_\bs_\bt_\br_\bi_\bn_\bg> is defined as an alias, with
+                 expansion <_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt _\b>>. The previous definition of
+                 <_\bs_\bt_\br_\bi_\bn_\bg>, if any, is returned.  Default for <_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt> is
+                 no change.
+
+     c\bcl\blo\bos\bse\be(<_\bw_\bi_\bn_\bd_\bo_\bw_\b-_\bl_\bi_\bs_\bt>)
+                 Close the windows specified in <_\bw_\bi_\bn_\bd_\bo_\bw_\b-_\bl_\bi_\bs_\bt>. If
+                 <_\bw_\bi_\bn_\bd_\bo_\bw_\b-_\bl_\bi_\bs_\bt> is the word _\ba_\bl_\bl, than all windows are closed.
+                 No value is returned.
+
+     c\bcu\bur\brs\bso\bor\brm\bmo\bod\bde\bes\bs([_\bm_\bo_\bd_\be_\bs])
+                 Set the window cursor to _\bm_\bo_\bd_\be_\bs. _\bM_\bo_\bd_\be_\bs is the bitwise or of
+                 the mode bits defined as the variables _\bm_\b__\bu_\bl (underline),
+                 _\bm_\b__\br_\be_\bv (reverse video), _\bm_\b__\bb_\bl_\bk (blinking), and _\bm_\b__\bg_\br_\bp (graphics,
+                 terminal dependent).  Return value is the previous modes.
+                 Default is no change.  For example, cursor($m_rev$m_blk) sets
+                 the window cursors to blinking reverse video.
+
+     d\bde\bef\bfa\bau\bul\blt\bt_\b_n\bnl\bli\bin\bne\be([_\bn_\bl_\bi_\bn_\be])
+                 Set the default buffer size to _\bn_\bl_\bi_\bn_\be. Initially, it is 48
+                 lines.  Returns the old default buffer size.  Default is no
+                 change.  Using a very large buffer can slow the program down
+                 considerably.
+
+     d\bde\bef\bfa\bau\bul\blt\bt_\b_s\bsh\bhe\bel\bll\bl([<_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt>])
+                 Set the default window shell program to <_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt>. Re-
+                 turns the first string in the old shell setting.  Default is
+                 no change.  Initially, the default shell is taken from the
+                 environment variable SHELL.
+
+     d\bde\bef\bfa\bau\bul\blt\bt_\b_s\bsm\bmo\boo\bot\bth\bh([_\bf_\bl_\ba_\bg])
+                 Set the default value of the _\bs_\bm_\bo_\bo_\bt_\bh argument to the command
+                 w\bwi\bin\bnd\bdo\bow\bw (see below).  The argument is a boolean flag (one of
+                 _\bo_\bn, _\bo_\bf_\bf, _\by_\be_\bs, _\bn_\bo, _\bt_\br_\bu_\be, _\bf_\ba_\bl_\bs_\be, or a number, as described
+                 above).  Default is no change.  The old value (as a number)
+                 is returned.  The initial value is 1 (true).
+
+     e\bec\bch\bho\bo([_\bw_\bi_\bn_\bd_\bo_\bw], [<_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt>])
+                 Write the list of strings, <_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt>, to w\bwi\bin\bnd\bdo\bow\bw, separat-
+                 ed by spaces and terminated with a new line.  The strings are
+                 only displayed in the window, the processes in the window are
+                 not involved (see w\bwr\bri\bit\bte\be below).  No value is returned.  De-
+                 fault is the current window.
+
+     e\bes\bsc\bca\bap\bpe\be([_\be_\bs_\bc_\ba_\bp_\be_\bc])
+                 Set the escape character to _\be_\bs_\bc_\ba_\bp_\be_\b-_\bc_\bh_\ba_\br. Returns the old es-
+                 cape character as a one-character string.  Default is no
+                 change.  _\bE_\bs_\bc_\ba_\bp_\be_\bc can be a string of a single character, or in
+                 the form -\b-^\b^X\bX, meaning control-_\bX.
+
+     f\bfo\bor\bre\beg\bgr\bro\bou\bun\bnd\bd([_\bw_\bi_\bn_\bd_\bo_\bw], [_\bf_\bl_\ba_\bg])
+                 Move w\bwi\bin\bnd\bdo\bow\bw in or out of foreground.  _\bF_\bl_\ba_\bg is a boolean val-
+                 ue.  The old foreground flag is returned.  Default for w\bwi\bin\bnd\bdo\bow\bw
+                 is the current window, default for _\bf_\bl_\ba_\bg is no change.
+
+     l\bla\bab\bbe\bel\bl([_\bw_\bi_\bn_\bd_\bo_\bw], [_\bl_\ba_\bb_\be_\bl])
+                 Set the label of w\bwi\bin\bnd\bdo\bow\bw to _\bl_\ba_\bb_\be_\bl. Returns the old label as a
+                 string.  Default for w\bwi\bin\bnd\bdo\bow\bw is the current window, default
+                 for _\bl_\ba_\bb_\be_\bl is no change.  To turn off a label, set it to an
+                 empty string ("").
+
+     l\bli\bis\bst\bt()      No arguments.  List the identifiers and labels of all win-
+                 dows.  No value is returned.
+
+     s\bse\bel\ble\bec\bct\bt([_\bw_\bi_\bn_\bd_\bo_\bw])
+                 Make w\bwi\bin\bnd\bdo\bow\bw the current window.  The previous current window
+                 is returned.  Default is no change.
+
+     s\bso\bou\bur\brc\bce\be(_\bf_\bi_\bl_\be_\bn_\ba_\bm_\be)
+                 Read and execute the long commands in _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be. Returns -1 if
+                 the file cannot be read, 0 otherwise.
+
+     t\bte\ber\brs\bse\be([flag])
+                 Set terse mode to _\bf_\bl_\ba_\bg. In terse mode, the command window
+                 stays hidden even in command mode, and errors are reported by
+                 sounding the terminal's bell.  _\bF_\bl_\ba_\bg can take on the same val-
+                 ues as in _\bf_\bo_\br_\be_\bg_\br_\bo_\bu_\bn_\bd above.  Returns the old terse flag.  De-
+                 fault is no change.
+
+     u\bun\bna\bal\bli\bia\bas\bs(_\ba_\bl_\bi_\ba_\bs)
+                 Undefine _\ba_\bl_\bi_\ba_\bs. Returns -1 if _\ba_\bl_\bi_\ba_\bs does not exist, 0 other-
+                 wise.
+
+     u\bun\bns\bse\bet\bt(_\bv_\ba_\br_\bi_\ba_\bb_\bl_\be)
+                 Undefine _\bv_\ba_\br_\bi_\ba_\bb_\bl_\be. Returns -1 if _\bv_\ba_\br_\bi_\ba_\bb_\bl_\be does not exist, 0
+                 otherwise.
+
+     v\bva\bar\bri\bia\bab\bbl\ble\bes\bs()
+                 No arguments.  List all variables.  No value is returned.
+
+     w\bwi\bin\bnd\bdo\bow\bw([_\br_\bo_\bw], [_\bc_\bo_\bl_\bu_\bm_\bn], [_\bn_\br_\bo_\bw], [_\bn_\bc_\bo_\bl], [_\bn_\bl_\bi_\bn_\be], [_\bl_\ba_\bb_\be_\bl], [_\bp_\bt_\by], [_\bf_\br_\ba_\bm_\be],
+                 [_\bm_\ba_\bp_\bn_\bl], [_\bk_\be_\be_\bp_\bo_\bp_\be_\bn], [_\bs_\bm_\bo_\bo_\bt_\bh], [_\bs_\bh_\be_\bl_\bl]).
+                 Open a window with upper left corner at _\br_\bo_\bw, _\bc_\bo_\bl_\bu_\bm_\bn and size
+                 _\bn_\br_\bo_\bw, _\bn_\bc_\bo_\bl. If _\bn_\bl_\bi_\bn_\be is specified, then that many lines are
+                 allocated for the text buffer.  Otherwise, the default buffer
+                 size is used.  Default values for _\br_\bo_\bw, _\bc_\bo_\bl_\bu_\bm_\bn, _\bn_\br_\bo_\bw, and _\bn_\bc_\bo_\bl
+                 are, respectively, the upper, left-most, lower, or right-most
+                 extremes of the screen.  _\bL_\ba_\bb_\be_\bl is the label string.  _\bF_\br_\ba_\bm_\be,
+                 _\bp_\bt_\by, and _\bm_\ba_\bp_\bn_\bl are flag values interpreted in the same way as
+                 the argument to _\bf_\bo_\br_\be_\bg_\br_\bo_\bu_\bn_\bd (see above); they mean, respec-
+                 tively, put a frame around this window (default true), allo-
+                 cate pseudo-terminal for this window rather than socketpair
+                 (default true), and map new line characters in this window to
+                 carriage return and line feed (default true if socketpair is
+                 used, false otherwise).  Normally, a window is automatically
+                 closed when its process exits.  Setting _\bk_\be_\be_\bp_\bo_\bp_\be_\bn to true (de-
+                 fault false) prevents this action.  When _\bs_\bm_\bo_\bo_\bt_\bh is true, the
+                 screen is updated more frequently (for this window) to pro-
+                 duce a more terminal-like behavior.  The default value of
+                 _\bs_\bm_\bo_\bo_\bt_\bh is set by the _\bd_\be_\bf_\ba_\bu_\bl_\bt_\b__\bs_\bm_\bo_\bo_\bt_\bh command (see above).
+                 _\bS_\bh_\be_\bl_\bl is a list of strings that will be used as the shell
+                 program to place in the window (default is the program speci-
+                 fied by _\bd_\be_\bf_\ba_\bu_\bl_\bt_\b__\bs_\bh_\be_\bl_\bl, see above).  The created window's
+                 identifier is returned as a number.
+
+     w\bwr\bri\bit\bte\be([_\bw_\bi_\bn_\bd_\bo_\bw], [<_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt>])
+                 Send the list of strings, <_\bs_\bt_\br_\bi_\bn_\bg_\b-_\bl_\bi_\bs_\bt>, to w\bwi\bin\bnd\bdo\bow\bw, separated
+                 by spaces but not terminated with a new line.  The strings
+                 are actually given to the window as input.  No value is re-
+                 turned.  Default is the current window.
+
+   P\bPr\bre\bed\bde\bef\bfi\bin\bne\bed\bd V\bVa\bar\bri\bia\bab\bbl\ble\bes\bs
+     These variables are for information only.  Redefining them does not af-
+     fect the internal operation of w\bwi\bin\bnd\bdo\bow\bw.
+
+     _\bb_\ba_\bu_\bd   The baud rate as a number between 50 and 38400.
+
+     _\bm_\bo_\bd_\be_\bs  The display modes (reverse video, underline, blinking, graphics)
+            supported by the physical terminal.  The value of _\bm_\bo_\bd_\be_\bs is the
+            bitwise or of some of the one bit values, _\bm_\b__\bb_\bl_\bk, _\bm_\b__\bg_\br_\bp, _\bm_\b__\br_\be_\bv, and
+            _\bm_\b__\bu_\bl (see below).  These values are useful in setting the window
+            cursors' modes (see _\bc_\bu_\br_\bs_\bo_\br_\bm_\bo_\bd_\be_\bs above).
+
+     _\bm_\b__\bb_\bl_\bk  The blinking mode bit.
+
+     _\bm_\b__\bg_\br_\bp  The graphics mode bit (not very useful).
+
+     _\bm_\b__\br_\be_\bv  The reverse video mode bit.
+
+     _\bm_\b__\bu_\bl   The underline mode bit.
+
+     _\bn_\bc_\bo_\bl   The number of columns on the physical screen.
+
+     _\bn_\br_\bo_\bw   The number of rows on the physical screen.
+
+     _\bt_\be_\br_\bm   The terminal type.  The standard name, found in the second name
+            field of the terminal's TERMCAP entry, is used.
+
+E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
+     W\bWi\bin\bnd\bdo\bow\bw utilizes these environment variables: HOME, SHELL, TERM, TERMCAP,
+     WINDOW_ID.
+
+F\bFI\bIL\bLE\bES\bS
+     ~/.windowrc       startup command file.
+     /dev/[pt]ty[pq]?  pseudo-terminal devices.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The w\bwi\bin\bnd\bdo\bow\bw command appeared in 4.3BSD.
+
+D\bDI\bIA\bAG\bGN\bNO\bOS\bST\bTI\bIC\bCS\bS
+     Should be self explanatory.
+
+4.3 Berkeley Distribution      December 30, 1993                             8
diff --git a/usr/share/man/cat1/write.0 b/usr/share/man/cat1/write.0
new file mode 100644 (file)
index 0000000..f7c6522
--- /dev/null
@@ -0,0 +1,46 @@
+WRITE(1)                     BSD Reference Manual                     WRITE(1)
+
+N\bNA\bAM\bME\bE
+     w\bwr\bri\bit\bte\be - send a message to another user
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     w\bwr\bri\bit\bte\be _\bu_\bs_\be_\br [_\bt_\bt_\by_\bn_\ba_\bm_\be]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     W\bWr\bri\bit\bte\be allows you to communicate with other users, by copying lines from
+     your terminal to theirs.
+
+     When you run the w\bwr\bri\bit\bte\be command, the user you are writing to gets a mes-
+     sage of the form:
+
+           Message from yourname@yourhost on yourtty at hh:mm ...
+
+     Any further lines you enter will be copied to the specified user's termi-
+     nal.  If the other user wants to reply, they must run w\bwr\bri\bit\bte\be as well.
+
+     When you are done, type an end-of-file or interrupt character.  The other
+     user will see the message `EOF' indicating that the conversation is over.
+
+     You can prevent people (other than the super-user) from writing to you
+     with the mesg(1) command.  Some commands, for example nroff(1) and pr(1),
+      disallow writing automatically, so that your output isn't overwritten.
+
+     If the user you want to write to is logged in on more than one terminal,
+     you can specify which terminal to write to by specifying the terminal
+     name as the second operand to the w\bwr\bri\bit\bte\be command.  Alternatively, you can
+     let w\bwr\bri\bit\bte\be select one of the terminals - it will pick the one with the
+     shortest idle time.  This is so that if the user is logged in at work and
+     also dialed up from home, the message will go to the right place.
+
+     The traditional protocol for writing to someone is that the string `-o',
+     either at the end of a line or on a line by itself, means that it's the
+     other person's turn to talk.  The string `oo' means that the person be-
+     lieves the conversation to be over.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     mesg(1),  talk(1),  who(1)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     A w\bwr\bri\bit\bte\be command appeared in Version 6 AT&T UNIX.
+
+4.4BSD                           June 6, 1993                                1
diff --git a/usr/share/man/cat1/xargs.0 b/usr/share/man/cat1/xargs.0
new file mode 100644 (file)
index 0000000..00b57d9
--- /dev/null
@@ -0,0 +1,70 @@
+XARGS(1)                     BSD Reference Manual                     XARGS(1)
+
+N\bNA\bAM\bME\bE
+     x\bxa\bar\brg\bgs\bs - construct argument list(s) and execute utility
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     x\bxa\bar\brg\bgs\bs [-\b-t\bt] [[-\b-x\bx]-\b-n\bn _\bn_\bu_\bm_\bb_\be_\br] [-\b-s\bs _\bs_\bi_\bz_\be] [_\bu_\bt_\bi_\bl_\bi_\bt_\by [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs _\b._\b._\b.]]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The x\bxa\bar\brg\bgs\bs utility reads space, tab, newline and end-of-file delimited ar-
+     guments from the standard input and executes the specified _\bu_\bt_\bi_\bl_\bi_\bt_\by with
+     them as arguments.
+
+     The utility and any arguments specified on the command line are given to
+     the _\bu_\bt_\bi_\bl_\bi_\bt_\by upon each invocation, followed by some number of the argu-
+     ments read from standard input.  The _\bu_\bt_\bi_\bl_\bi_\bt_\by is repeatedly executed until
+     standard input is exhausted.
+
+     Spaces, tabs and newlines may be embedded in arguments using single
+     (`` ' '') or double (``"'') quotes or backslashes (``\'').  Single quotes
+     escape all non-single quote characters, excluding newlines, up to the
+     matching single quote.  Double quotes escape all non-double quote charac-
+     ters, excluding newlines, up to the matching double quote.  Any single
+     character, including newlines, may be escaped by a backslash.
+
+     The options are as follows:
+
+     -\b-n\bn _\bn_\bu_\bm_\bb_\be_\br
+             Set the maximum number of arguments taken from standard input for
+             each invocation of the utility.  An invocation of _\bu_\bt_\bi_\bl_\bi_\bt_\by will
+             use less than _\bn_\bu_\bm_\bb_\be_\br standard input arguments if the number of
+             bytes accumulated (see the -\b-s\bs option) exceeds the specified _\bs_\bi_\bz_\be
+             or there are fewer than _\bn_\bu_\bm_\bb_\be_\br arguments remaining for the last
+             invocation of _\bu_\bt_\bi_\bl_\bi_\bt_\by. The current default value for _\bn_\bu_\bm_\bb_\be_\br is
+             5000.
+
+     -\b-s\bs _\bs_\bi_\bz_\be
+             Set the maximum number of bytes for the command line length pro-
+             vided to _\bu_\bt_\bi_\bl_\bi_\bt_\by. The sum of the length of the utility name and
+             the arguments passed to _\bu_\bt_\bi_\bl_\bi_\bt_\by (including NULL terminators) will
+             be less than or equal to this number.  The current default value
+             for _\bs_\bi_\bz_\be is ARG_MAX - 2048.
+
+     -\b-t\bt      Echo the command to be executed to standard error immediately be-
+             fore it is executed.
+
+     -\b-x\bx      Force x\bxa\bar\brg\bgs\bs to terminate immediately if a command line containing
+             _\bn_\bu_\bm_\bb_\be_\br arguments will not fit in the specified (or default) com-
+             mand line length.
+
+     If no _\bu_\bt_\bi_\bl_\bi_\bt_\by is specified, echo(1) is used.
+
+     Undefined behavior may occur if _\bu_\bt_\bi_\bl_\bi_\bt_\by reads from the standard input.
+
+     The x\bxa\bar\brg\bgs\bs utility exits immediately (without processing any further in-
+     put) if a command line cannot be assembled, _\bu_\bt_\bi_\bl_\bi_\bt_\by cannot be invoked, an
+     invocation of the utility is terminated by a signal or an invocation of
+     the utility exits with a value of 255.
+
+     The x\bxa\bar\brg\bgs\bs utility exits with a value of 0 if no error occurs.  If _\bu_\bt_\bi_\bl_\bi_\bt_\by
+     cannot be invoked, x\bxa\bar\brg\bgs\bs exits with a value of 127.  If any other error
+     occurs, x\bxa\bar\brg\bgs\bs exits with a value of 1.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     echo(1),  find(1)
+
+S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
+     The x\bxa\bar\brg\bgs\bs utility is expected to be IEEE Std1003.2 (``POSIX'') compliant.
+
+4.4BSD                           June 6, 1993                                2
diff --git a/usr/share/man/cat5/uuencode.format.0 b/usr/share/man/cat5/uuencode.format.0
new file mode 100644 (file)
index 0000000..588fc3b
--- /dev/null
@@ -0,0 +1,41 @@
+UUENCODE(5)                 BSD Programmer's Manual                UUENCODE(5)
+
+N\bNA\bAM\bME\bE
+     u\buu\bue\ben\bnc\bco\bod\bde\be - format of an encoded uuencode file
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     Files output by uuencode(1) consist of a header line, followed by a num-
+     ber of body lines, and a trailer line.  The uudecode(1) command will ig-
+     nore any lines preceding the header or following the trailer.  Lines pre-
+     ceding a header must not, of course, look like a header.
+
+     The header line is distinguished by having the first 6 characters
+     ``begin '' (note the trailing space).  The word _\bb_\be_\bg_\bi_\bn is followed by a
+     mode (in octal), and a string which names the remote file.  A space sepa-
+     rates the three items in the header line.
+
+     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 num-
+     ber 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 char-
+     acter space (octal 40) from the character.
+
+     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.
+
+     The trailer line consists of ``end'' on a line by itself.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     uuencode(1),  uudecode(1),  uusend(1),  uucp(1),  mail(1)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The u\buu\bue\ben\bnc\bco\bod\bde\be file format appeared in 4.0BSD.
+
+4th Berkeley Distribution      January 12, 1994                              1
diff --git a/usr/share/man/cat5/vgrindefs.0 b/usr/share/man/cat5/vgrindefs.0
new file mode 100644 (file)
index 0000000..7ed47b4
--- /dev/null
@@ -0,0 +1,102 @@
+VGRINDEFS(5)                BSD Programmer's Manual               VGRINDEFS(5)
+
+N\bNA\bAM\bME\bE
+     v\bvg\bgr\bri\bin\bnd\bde\bef\bfs\bs - language definition data base for vgrind(1)
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     v\bvg\bgr\bri\bin\bnd\bde\bef\bfs\bs
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The v\bvg\bgr\bri\bin\bnd\bde\bef\bfs\bs file contains all language definitions for vgrind(1).  The
+     data base is very similar to termcap(5).
+
+F\bFI\bIE\bEL\bLD\bDS\bS
+     The following table names and describes each field.
+
+     N\bNa\bam\bme\be       T\bTy\byp\bpe\be      D\bDe\bes\bsc\bcr\bri\bip\bpt\bti\bio\bon\bn
+     pb         str       regular expression for start of a procedure
+     bb         str       regular expression for start of a lexical block
+     be         str       regular expression for the end of a lexical block
+     cb         str       regular expression for the start of a comment
+     ce         str       regular expression for the end of a comment
+     sb         str       regular expression for the start of a string
+     se         str       regular expression for the end of a string
+     lb         str       regular expression for the start of a character
+                          constant
+     le         str       regular expression for the end of a character
+                          constant
+     tl         bool      present means procedures are only defined at the top
+                          lexical level
+     oc         bool      present means upper and lower case are equivalent
+     kw         str       a list of keywords separated by spaces
+
+E\bEX\bXA\bAM\bMP\bPL\bLE\bES\bS
+     The following entry, which describes the C language, is typical of a lan-
+     guage entry.
+
+     C|c::pb=^\d?*?\d?\p\d?\(\a?\):bb={:be=}:cb=/*:ce=*/:sb=":se=\e":\
+     :lb=':le=\e':tl:\
+     :kw=asm auto break case char continue default do double else enum\
+     extern float for fortran goto if int long register return short\
+     sizeof static struct switch typedef union unsigned while #define\
+     #else #endif #if #ifdef #ifndef #include #undef # define else endif\
+     if ifdef ifndef include undef:
+
+     Note that the first field is just the language name (and any variants of
+     it).  Thus the C language could be specified to vgrind(1) as "c" or "C".
+
+     Entries may continue onto multiple lines by giving a \ as the last char-
+     acter of a line.  Capabilities in v\bvg\bgr\bri\bin\bnd\bde\bef\bfs\bs are of two types: Boolean ca-
+     pabilities which indicate that the language has some particular feature
+     and string capabilities which give a regular expression or keyword list.
+
+R\bRE\bEG\bGU\bUL\bLA\bAR\bR E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS
+     V\bVg\bgr\bri\bin\bnd\bde\bef\bfs\bs uses regular expression which are very similar to those of
+     ex(1) and lex(1).  The characters `^', `$', `:' and `\' are reserved
+     characters and must be "quoted" with a preceding `\' if they are to be
+     included as normal characters.  The metasymbols and their meanings are:
+
+     $       the end of a line
+
+     ^       the beginning of a line
+
+     \d      a delimiter (space, tab, newline, start of line)
+
+
+     \a      matches any string of symbols (like .* in lex)
+
+     \p      matches any alphanumeric name.  In a procedure definition (pb)
+             the string that matches this symbol is used as the procedure
+             name.
+
+     ()      grouping
+
+     |       alternation
+
+     ?       last item is optional
+
+     \e      preceding any string means that the string will not match an in-
+             put string if the input string is preceded by an escape character
+             (\).  This is typically used for languages (like C) which can in-
+             clude the string delimiter in a string by escaping it.
+
+     Unlike other regular expressions in the system,  these match words and
+     not characters.  Hence something like "(tramp|steamer)flies?"  would
+     match "tramp", "steamer", "trampflies", or "steamerflies".
+
+K\bKE\bEY\bYW\bWO\bOR\bRD\bD L\bLI\bIS\bST\bT
+     The keyword list is just a list of keywords in the language separated by
+     spaces.  If the "oc" boolean is specified, indicating that upper and low-
+     er case are equivalent, then all the keywords should be specified in low-
+     er case.
+
+F\bFI\bIL\bLE\bES\bS
+     /usr/share/misc/vgrindefs  File containing terminal descriptions.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     vgrind(1),  troff(1)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The v\bvg\bgr\bri\bin\bnd\bde\bef\bfs\bs file format appeared in 4.2BSD.
+
+4.2 Berkeley Distribution        June 6, 1993                                2
diff --git a/usr/share/man/cat8/uupoll.0 b/usr/share/man/cat8/uupoll.0
new file mode 100644 (file)
index 0000000..6cbb9cb
--- /dev/null
@@ -0,0 +1,48 @@
+UUPOLL(8)                 BSD System Manager's Manual                UUPOLL(8)
+
+N\bNA\bAM\bME\bE
+     u\buu\bup\bpo\bol\bll\bl - poll a remote UUCP site
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     u\buu\bup\bpo\bol\bll\bl [-\b-g\bg_\bg_\br_\ba_\bd_\be] [-\b-n\bn] _\bs_\by_\bs_\bt_\be_\bm
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     U\bUu\bup\bpo\bol\bll\bl is used to force a poll of a remote system. It queues a null job
+     for the remote system and then invokes uucico(8).
+
+     The following options are available:
+
+     -\b-g\bg_\bg_\br_\ba_\bd_\be     Only send jobs of grade _\bg_\br_\ba_\bd_\be or higher on this call.
+
+     -\b-n\bn          Queue the null job, but do not invoke uucico.
+
+     U\bUu\bup\bpo\bol\bll\bl is usually run by cron(5) or by a user who wants to hurry a job
+     along. A typical entry in _\bc_\br_\bo_\bn_\bt_\ba_\bb could be:
+
+     0    0,8,16     *    *    *    daemon    /usr/bin/uupoll ihnp4
+     0    4,12,20    *    *    *    daemon    /usr/bin/uupoll ucbvax
+
+     This will poll _\bi_\bh_\bn_\bp_\b4 at midnight, 0800, and 1600, and _\bu_\bc_\bb_\bv_\ba_\bx at 0400,
+     noon, and 2000.
+
+     If the local machine is already running uucico every hour and has a lim-
+     ited number of outgoing modems, a more elegant approach might be:
+
+     0    0,8,16    *    *    *    daemon    /usr/bin/uupoll -n ihnp4
+     0    4,12,20   *    *    *    daemon    /usr/bin/uupoll -n ucbvax
+     5        *     *    *    *    daemon    /usr/lib/uucp/uucico -r1
+
+     This will queue null jobs for the remote sites at the top of hour; they
+     will be processed by uucico when it runs five minutes later.
+
+F\bFI\bIL\bLE\bES\bS
+     /usr/lib/uucp/UUCP  internal files/utilities
+     /var/spool/uucp/    Spool directory
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     uucp(1),  uux(1),  uucico(8)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The u\buu\bup\bpo\bol\bll\bl command appeared in 4.3BSD.
+
+4.3 Berkeley Distribution        June 6, 1993                                1
diff --git a/usr/share/man/cat8/uusnap.0 b/usr/share/man/cat8/uusnap.0
new file mode 100644 (file)
index 0000000..55acee6
--- /dev/null
@@ -0,0 +1,32 @@
+UUSNAP(8)                 BSD System Manager's Manual                UUSNAP(8)
+
+N\bNA\bAM\bME\bE
+     u\buu\bus\bsn\bna\bap\bp - show snapshot of the UUCP system
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     u\buu\bus\bsn\bna\bap\bp
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     U\bUu\bus\bsn\bna\bap\bp displays in tabular format a synopsis of the current UUCP situa-
+     tion.  The format of each line is as follows:
+
+           site   N Cmds   N Data   N Xqts   Message
+
+     Where "site" is the name of the site with work, "N" is a count of each of
+     the three possible types of work (command, data, or remote execute), and
+     "Message" is the current status message for that site as found in the
+     STST file.
+
+     Included in "Message" may be the time left before UUCP can re-try the
+     call, and the count of the number of times that UUCP has tried (unsuc-
+     cessfully) to reach the site.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     uucp(1),  uux(1),  uuq(1),  uucico(8)
+
+     _\bU_\bU_\bC_\bP _\bI_\bm_\bp_\bl_\be_\bm_\be_\bn_\bt_\ba_\bt_\bi_\bo_\bn _\bG_\bu_\bi_\bd_\be.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The u\buu\bus\bsn\bna\bap\bp command appeared in 4.2BSD.
+
+4.2 Berkeley Distribution        June 6, 1993                                1
diff --git a/usr/share/man/cat8/uuxqt.0 b/usr/share/man/cat8/uuxqt.0
new file mode 100644 (file)
index 0000000..bac8dcb
--- /dev/null
@@ -0,0 +1,38 @@
+UUXQT(8)                  BSD System Manager's Manual                 UUXQT(8)
+
+N\bNA\bAM\bME\bE
+     u\buu\bux\bxq\bqt\bt - UUCP execution file interpreter
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     u\buu\bux\bxq\bqt\bt [-\b-x\bx _\bd_\be_\bb_\bu_\bg]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     U\bUu\bux\bxq\bqt\bt interprets _\be_\bx_\be_\bc_\bu_\bt_\bi_\bo_\bn _\bf_\bi_\bl_\be_\bs created on a remote system via uux(1)
+     and transferred to the local system via uucico(8).  When a user uses uux
+     to request remote command execution, it is u\buu\bux\bxq\bqt\bt that actually executes
+     the command.
+
+     The options are as follows:
+
+     -\b-x\bx_\bd_\be_\bb_\bu_\bg       Normally, u\buu\bux\bxq\bqt\bt is forked from uucico(8) to process queued
+                   execution files; for debugging, it may also be run manually
+                   by the UUCP administrator.
+
+     U\bUu\bux\bxq\bqt\bt runs in its own subdirectory _\b/_\bv_\ba_\br_\b/_\bs_\bp_\bo_\bo_\bl_\b/_\bu_\bu_\bc_\bp_\b/_\bX_\bT_\bM_\bP. It copies inter-
+     mediate files to this directory when necessary.
+
+F\bFI\bIL\bLE\bES\bS
+     /usr/lib/uucp/L.cmds         Remote command permissions list
+     /usr/lib/uucp/USERFILE       Remote directory tree permissions list
+     /var/spool/uucp/LOGFILE      UUCP system activity log
+     /var/spool/uucp/LCK/LCK.XQT  U\bUu\bux\bxq\bqt\bt lock file
+     /var/spool/uucp/X./          Incoming execution file directory
+     /var/spool/uucp/XTMP         U\bUu\bux\bxq\bqt\bt running directory
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+     uucp(1),  uux(1),  L.cmds(5),  USERFILE(5),  uucico(8)
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     The u\buu\bux\bxq\bqt\bt command appeared in 4.3BSD.
+
+4.3 Berkeley Distribution       April 19, 1994                               1