386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Wed, 17 Apr 1991 19:31:37 +0000 (11:31 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Wed, 17 Apr 1991 19:31:37 +0000 (11:31 -0800)
Work on file usr/othersrc/share/doc/usd/11.notes/0.long
Work on file usr/othersrc/share/doc/usd/11.notes/0.short
Work on file usr/othersrc/share/doc/usd/11.notes/3.1
Work on file usr/othersrc/share/doc/usd/11.notes/1
Work on file usr/othersrc/share/doc/usd/11.notes/2.2
Work on file usr/othersrc/share/doc/usd/11.notes/4.5
Work on file usr/othersrc/share/doc/usd/11.notes/3.2
Work on file usr/othersrc/share/doc/usd/11.notes/4.2
Work on file usr/othersrc/share/doc/usd/11.notes/4.0
Work on file usr/othersrc/share/doc/usd/11.notes/4.3
Work on file usr/othersrc/share/doc/usd/11.notes/4.4
Work on file usr/othersrc/share/doc/usd/11.notes/4.1
Work on file usr/othersrc/share/doc/usd/11.notes/5
Work on file usr/othersrc/share/doc/usd/11.notes/acks
Work on file usr/othersrc/share/doc/usd/11.notes/4.7
Work on file usr/othersrc/share/doc/usd/11.notes/a.checklist
Work on file usr/othersrc/share/doc/usd/11.notes/4.6
Work on file usr/othersrc/share/doc/usd/11.notes/b.interface
Work on file usr/othersrc/share/doc/usd/11.notes/vtoc
Work on file usr/othersrc/share/doc/usd/11.notes/c.changes

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

20 files changed:
usr/othersrc/share/doc/usd/11.notes/0.long [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/0.short [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/1 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/2.2 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/3.1 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/3.2 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/4.0 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/4.1 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/4.2 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/4.3 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/4.4 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/4.5 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/4.6 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/4.7 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/5 [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/a.checklist [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/acks [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/b.interface [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/c.changes [new file with mode: 0644]
usr/othersrc/share/doc/usd/11.notes/vtoc [new file with mode: 0644]

diff --git a/usr/othersrc/share/doc/usd/11.notes/0.long b/usr/othersrc/share/doc/usd/11.notes/0.long
new file mode 100644 (file)
index 0000000..7eccc2b
--- /dev/null
@@ -0,0 +1,67 @@
+.\" Copyright (c) 1986 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)0.long      6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.sp |1.5i
+.ce
+Report No. UIUCDCS-R-82-1081
+.ce999
+
+.sp |3.75i
+.ft B
+NOTESFILE REFERENCE MANUAL
+.ft P
+
+
+by
+
+Raymond B. Essick IV
+Rob Kolstad
+
+
+.sp |6.5i
+February 14, 1983
+(Revised: October 20, 1985)
+(Printed: \*(DA)
+.sp |7.25i
+.ls 1
+DEPARTMENT OF COMPUTER SCIENCE
+UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN
+1304 W. SPRINGFIELD AVENUE
+URBANA, ILLINOIS 61801-2987
+.ls
+.ce 0
+.sp |9i
+Supported in part by NASA Project NAS-1-138
+.pn 1
+.bp
diff --git a/usr/othersrc/share/doc/usd/11.notes/0.short b/usr/othersrc/share/doc/usd/11.notes/0.short
new file mode 100644 (file)
index 0000000..1936e37
--- /dev/null
@@ -0,0 +1,68 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)0.short     6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.sp |1.5i
+.ce
+Report No. UIUCDCS-R-82-1081
+.ce999
+
+.sp |3.75i
+.ft B
+NOTESFILE REFERENCE MANUAL
+.ft P
+(abridged)
+
+
+by
+
+Raymond B. Essick IV
+Rob Kolstad
+
+
+.sp |6.5i
+February 14, 1983
+(Revised: October 20, 1985)
+(Printed: \*(DA)
+.sp |7.25i
+.ls 1
+DEPARTMENT OF COMPUTER SCIENCE
+UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN
+1304 W. SPRINGFIELD AVENUE
+URBANA, ILLINOIS 61801-2987
+.ls
+.ce 0
+.sp |9i
+Supported in part by NASA Project NAS-1-138
+.pn 1
+.bp
diff --git a/usr/othersrc/share/doc/usd/11.notes/1 b/usr/othersrc/share/doc/usd/11.notes/1
new file mode 100644 (file)
index 0000000..384d621
--- /dev/null
@@ -0,0 +1,97 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)1   6.2 (Berkeley) 4/17/91
+.\"
+.sp |.5i
+.ls 1
+.ch "Introduction"
+.wh 0 hh
+
+       Notesfiles support computer managed discussion
+forums.  Discussions can have many different purposes and scopes: the
+notesfile system has been designed to be flexible enough to handle differing
+requirements.
+
+       Each notesfile discusses a single
+topic.
+The depth of discussion within a notesfile is ideally held constant.
+While some users may require a general discussion of personal workstations,
+a different group may desire detailed discussions about the I/O bus
+structure of the WICAT 68000 (a particular workstation).  These discussions
+might well be separated into two different notesfiles.
+
+       Each notesfile contains a list of logically
+independent notes (called base notes).
+A note is a block of text with a comment or question intended to be seen by members
+of the notesfile community.  The note display shows the text,
+its creation time, its title, the notesfile's title,
+the author's name (some notesfiles allow anonymous notes), the number of ``responses'',
+and optionally a ``director message''.
+Each base note can have a number of ``responses'': replies, retorts, further
+comments, criticism, or related questions concerning the base note.
+Thus, a notesfile contains an ordered list of ordered lists.  This arrangement
+has historically been more convenient than other proposals (e.g., trees
+were studied on the PLATO (trademark of Control Data Corporation) system).
+
+       The concept of a notesfile was originally implemented at
+the University of Illinois, Urbana-Champaign,
+on the PLATO system.
+The UNIX (trademark of Bell Laboratoris) 
+notesfile system
+includes these ideas with
+adaptations
+and enhancements
+made possible by the UNIX environment.
+
+       The UNIX notesfile system was
+designed and
+implemented by Ray Essick at the University of Illinois, Urbana-Champaign.
+It provides users with the abilities to
+read notes and responses, write notes and responses, forward note text to
+other users (via mail) or other notesfiles, save note text in their own files,
+and sequence through a set of notesfiles seeing just new text.
+Each notesfile has a set of ``directors'' who manage the notesfile:
+they delete old notes, compress the file when needed, grant and restrict
+access to the notesfile, and set different notesfile parameters (e.g.,
+title, ``director message'', policy note, whether notes' authors can be
+anonymous).
+Some notesfiles contain correspondence from other computers.
+Like the UNIX ``USENET'', notes and responses are exchanged (often over phone lines)
+with remote machines.
+The notesfile system provides automatic exchange and updating of notes in an
+arbitrarily connected network.
+
+       This document details the use of notesfiles from invocation through
+intersystem notes exchanges.  The last chapter summarizes the entire set of
+commands for easy reference.
+An appendix contains detailed checklists for the
+installation of a notesfile system.
diff --git a/usr/othersrc/share/doc/usd/11.notes/2.2 b/usr/othersrc/share/doc/usd/11.notes/2.2
new file mode 100644 (file)
index 0000000..a769c75
--- /dev/null
@@ -0,0 +1,368 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)2.2 6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.se "Other Commands"
+
+.ss "Returning to the Index Page"
+
+       Type ``i'' (``index'') while reading notes or responses
+to return to the index page.
+
+.ss "Searching Titles for Keywords"
+
+       While reading, you can search backwards for keywords appearing in note titles.
+Typing ``x'' (``x is the unknown title'') prompts for the substring to be found.
+Searching begins
+at the current note (or from the last note shown on the index page)
+and proceeds towards note 1.
+The search is insensitive to upper/lowercase distinctions.
+Use upper case ``X'' to continue the search.
+The search can be aborted by hitting the RUBOUT (or DELETE) key.
+
+.ss "Searching for Authors"
+
+       The ``a'' command searches backwards for notes or responses written by
+a specific author.
+Notesfiles prompts for the author's name. 
+The ``A'' command continues the search  backwards.
+The author name may be preceded by an optional `system!'.
+Abort the search by hitting the RUBOUT (or DELETE) key.
+
+       The entire name need not be specified when searching
+for articles by a particular author.
+Author searching uses substring searching.
+Searching for the author ``john'' will yield articles written
+by a local user ``john'', 
+a remote user ``somewhere!johnston'',
+and any articles from the ``uiucjohnny'' machine.
+Author searching is case sensitive.
+
+.ss "Stacking Notesfiles"
+
+       Sometimes it is useful to be able to 
+glance at another notesfile while reading notes.
+Using ``n'', the user can save (stack) his current place and peruse
+another notesfile.
+
+       When on the index page or while reading notes/responses,
+type ``n'' (``nest'')
+to read another notesfile.
+Notesfiles prompts for the notesfile to read.
+If the notesfile exists, the place is marked in the old notesfile
+and the new one's index is displayed.
+
+       Type any of the standard keys to leave the nested notesfile.
+Both ``q'' and ``Q'' leave the nested notesfile
+and return to the previously stacked notesfile.
+Control-d (``signoff'') causes the notesfile program to exit regardless
+of the depth of nesting.
+
+       Sequencing is turned off in the new notesfile
+regardless of its state in the old notesfile.
+The depth of the stack of notesfiles is limited only by the 
+amount of memory available to the user.
+
+.ss "Accessing Archives"
+
+       As notesfiles grow, it becomes impractical to keep every discussion.
+In some cases, the old discussions are deleted;
+other cases require these old discussions to be saved somewhere.
+Each active notesfile can have an archive notesfile.
+An archive notesfile contains the old discussions from the
+active notesfile.
+
+       The archive of an active notesfile is accessed by explicitly
+naming the notesfile (/usr/spool/oldnotes/micronotes for example)
+or through the ``N'' command from the active notesfile.
+
+.ss "Policy Note"
+
+       A notesfile director can write an optional policy note to describe
+the purpose of a notesfile.
+Read the policy note by typing ``p'' (``policy'') from the index page.
+
+.se "The Sequencer"
+
+       Most users prefer to scan notesfiles and see only those notes written
+since their last reading.
+The notesfile ``sequencer'' provides this capability.
+It is activated by the ``-s'' option (``sequencer'') on the
+command line.
+When the sequencer is activated, the notesfile system automatically remembers
+the last time the user read notes in each notesfile.
+Subsequent entries to the
+notesfile can use the ``last time'' information to show only new notes and
+responses.
+If there is nothing new in a notesfile, 
+the sequencer proceeds to the next notesfile specified in the command line.
+
+       The normal sequencer does not give the user a chance to read
+the notesfile if there are no new notes or responses;
+sometimes it is desirable to be able to do so.
+Use the ``-x'' option
+to enable the sequencer and enter the  notesfile 
+even if there are no new notes.
+
+       No keys need be pressed if there are no new notes in the entire list
+and the normal (``-s'') sequencer mode is selected.
+With the extended (``-x'') sequencer,
+the user must type ``q'', ``Q'', or control-d
+for each notesfile regardless of whether
+there are new notes.
+
+       The ``-i'' mode of sequencing is similar to the ``-s'' mode. 
+Using the ``-i'' mode, notesfiles without new entries are passed over.
+The user starts reading
+on the index page of notesfiles which contain new notes.
+
+.ss "Seeing New Notes and Responses"
+
+       The sequencer always shows the base note of a
+modified note string,
+whether or not is has been shown before,
+in order to establish the context of the new response(s).
+The ``j'' command skips to the next modified text (note or response).
+
+       If the rest of a particular note string seems uninteresting,
+skip to the next modified note string with the ``J'' (``big Jump'')
+command.
+This skips any new responses on the current note string.
+It is common to follow closely only a few note strings,
+skipping others using the ``J'' command.
+
+       The ``last time'' information is kept in a special file for
+each user.
+When the sequencer is enabled, the time for the notesfile
+is loaded into
+a variable and used to specify which notes and responses are new.
+If the sequencer is not enabled, this variable is initialized to
+January 1, 1970.
+The ``j'' and ``J'' keys use this variable to determine which
+notes and responses are ``new''.
+
+       If the sequencer is enabled,
+after exiting a notesfile
+the ``last time'' information 
+is updated to the time that the user entered this notesfile. The
+entry time is used rather than the exit time to ensure that all
+notes are seen, including ones written during the just completed
+session.
+If the sequencer is disabled, the ``last time'' information is
+not modified.
+The ``last time'' information for a particular notesfile is updated
+as that notesfile is exited;
+using ``Q'' or control-D later will have no effect on the sequencer
+information for notesfiles already read.
+
+       The ``o'' and ``O'' commands allow the user to modify the
+variable used to determine whether notes and responses are ``new''.
+The ``o'' command allows the user to set this variable to any 
+date he wishes.
+Use the ``O'' command to set this variable to show
+only notes and responses written that day.
+The ``last time'' file kept for each user is never modified by
+the ``o'' and ``O'' commands.
+
+       When no more new notes or responses exist, both the 
+``j'' and ``J'' commands will take the user to the index page.
+To exit the notesfile, use the ``q'' command.
+Exiting with ``q'' will update the user's
+``last entry'' time.
+Exiting with capital ``Q'' will NOT modify the 
+``last entry'' time for that notesfile
+(neither will control-D).
+
+       The ``l'' and ``L'' command behave similarly to ``j'' and
+``J''.
+The difference is that while ``j'' and ''J' take the user to
+the last index page when no more new notes or responses
+exist, the ``l'' and ``L'' commands will leave the notesfile
+as if a ``q'' had been typed.
+Thus when no more new notes exist, the ``l'' command is
+like typing ``jq''.
+
+.ss "Alternate Sequencers"
+
+       If several people share a login account,
+it is convenient for each to have a set of sequencing
+timestamps.
+This is accomplished through the use of the 
+subsequencer option of notesfiles.
+
+       Specifying the -a option and a subsequencer name
+causes notes to use a different sequencing timestamp file.
+Many different subsequencer names can be used with
+each login account.
+
+       The main sequencer file for a given account is distinct from
+each of its subsequencer files.
+Each of the subsequencer files is normally distinct.
+If the subsequencer names are not unique in their
+first 6 characters, subsequencer files may collide.
+
+.ss "Automatic Sequencing"
+
+       An alternate entry to the notes program
+allows the user to invoke notes with the sequencer enabled and a list
+of notesfiles to be scanned with a single,
+simple
+command.
+The ``autoseq'' command is invoked by typing
+
+       autoseq
+
+and reads the environment variable ``NFSEQ'' to find the names of all 
+notesfiles to be scanned.
+On some systems, the ``autoseq'' command
+may be known as ``readnotes'', ``autonotes'' or some similar
+variant;
+substitute the appropriate name in the following paragraphs.
+The ``NFSEQ'' variable should be defined in .profile for
+Bourne shell users as follows:
+
+.nf
+.ls 1
+       NFSEQ=``pbnotes,micronotes,helpnotes,works''
+       export NFSEQ
+.ls
+.fi
+
+For users of the C shell, the following line should be
+added to the .login file:
+
+.nf
+       setenv  NFSEQ   ``pbnotes,micronotes,helpnotes,works''
+.fi
+
+       With NFSEQ assigned this value,
+a call to autoseq will process the notesfiles 
+``pbnotes'',
+``micronotes'',
+``helpnotes'',
+and
+``works''
+with the sequencer turned on.
+
+       The full naming conventions,
+pattern matching capabilities,
+and `!' exclusion 
+described in section 2.2
+(``Notesfile Names and Wildcards'') are available in autoseq.
+To read all notesfiles with ``unix'' in their names, and the
+four test notesfiles (``test1'' though ``test4''), the NFSEQ 
+variable might be defined as:
+
+       NFSEQ=``*unix*,test[1234]''
+
+       If the first character of an entry in the NFSEQ list is ``:'',
+the notesfile system reads the file name following for a list of
+notesfiles. 
+To have the automatic sequencer read the file ``/usr/essick/.nfseq''
+for a list of notesfiles to scan, define NFSEQ as:
+
+       NFSEQ=``:/usr/essick/.nfseq''
+
+       For this feature to work, the  file must have group read
+privileges.
+The notesfile program runs ``set-uid'' and 
+can not read files which are readable only by the owner.
+
+       The following definitions are also valid.
+The first one reads the notesfiles specified in the file ``/usr/essick/.nfseq''
+and then reads the notesfiles pbnotes and micronotes.
+The second definition will read the notesfile pbnotes, those specified in
+``/usr/essick/.nfseq'', micronotes and the ones specified in
+``/usr/essick/.other''.
+If the notesfile program is unable to read the file specified, it
+skips to the next entry.
+For a description of the format of these files, see the section 2.3,
+``The -f Option''.
+
+       NFSEQ=``:/usr/essick/.nfseq,pbnotes,micronotes''
+
+       NFSEQ=``pbnotes,:/usr/essick/.nfseq,micronotes,:/usr/essick/.other''
+
+
+       The automatic sequencer uses the ``-s'' mode of sequencing.
+The user does not enter notesfiles which have no new text.
+By specifying ``-x'' or ``-i'' on the command line, the user can
+use the appropriate sequencer mode.
+
+       The subsequencer option of notes is available from the
+autoseq program by specifying ``-a name'' on the command line, and has
+identical semantics with use of this option when invoking notes.
+
+.se "Environment Variables"
+
+       The notesfile program reads several environment variables to
+tailor the system to the user's preferences.
+Below is a list of the variables,
+their purpose,
+and
+their default values.
+These defaults are for UNIX 4.xBSD and may be slightly different 
+for other versions of UNIX.
+
+.bx
+.ix
+``NFED'' specifies which editor will be invoked when the user writes a
+note or response. 
+If this variable is not specified, the notesfile system looks for
+the environment variable ``EDITOR'' (which many other programs use).
+If neither ``NFED'' nor ``EDITOR'' are defined, a default editor is
+used (/bin/ed).
+.ix 
+``NFSEQ'' is a list of notesfiles that the user wishes to scan using the
+automatic sequencing entry to notesfiles.
+The use of this variable is described in the section on sequencing.
+If unspecified, the system uses a standard set which usually includes
+``general'' and ``net.general''.
+.ix
+``PAGER'' is the paging program (``more'', ``pg'') which is used for scrolling
+the help files.
+The default paging program is /usr/ucb/more.
+.ix
+``MAILER'' determines the mail program to use. This defaults to /usr/ucb/mail.
+.ix
+``WRITE'' is used to specify the program for communication between users.
+If undefined, the Unix program ``write'' is used.
+.ix
+``TERM'' determines the type of terminal in use. This must be set
+for notes to know what screen handling conventions to use. In most
+cases the value will be correctly initialized by the system at login
+time.
+.ix 
+``SHELL'' specifies which shell the user is running.
+This will almost always be set by the operating system.
+.ex
diff --git a/usr/othersrc/share/doc/usd/11.notes/3.1 b/usr/othersrc/share/doc/usd/11.notes/3.1
new file mode 100644 (file)
index 0000000..d06a897
--- /dev/null
@@ -0,0 +1,609 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)3.1 6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.ch "Managing Notesfiles"
+
+       The notesfile system is installed by a user who is known as the
+``owner'' of the notesfiles (UIUCDCS uses user ``notes'').
+This user can create, delete, rename, and initiate networking of notesfiles.
+Each notesfile is assigned a set of ``directors'' (who may or may not be
+associated with owner of notesfiles).  The directors have special privileges
+for managing the notesfile (see below).
+The ``owner'' rarely manages the day to day aspects of a notesfile,
+although he has director, read, write and response privileges to
+all notesfiles for
+handling emergencies and failures.
+
+.se "Director Options"
+
+       The director can:
+
+.bx
+.ix
+Change the access permissions.
+.ix
+Write the policy note.
+.ix
+Change the notesfile title and director message.
+.ix
+Open or close the notesfile.
+.ix
+Allow the notesfile to be networked.
+.ix
+Permit or restrict anonymous notes.
+.ix
+Compress the notesfile.
+.ix
+Change the notesfile's archival parameters.
+.ix
+Delete notes and responses.
+.ix
+Toggle director message on any note or response.
+.ex
+
+       The director can delete notes or toggle the director message
+above them while reading the notes.
+Access other options
+by typing ``d'' on the index page.  A display like this results:
+.KS
+.nf
+
+.ce 99
+Workstation Discussion
+*** Your Director Message Here ***
+
+.ce 0
+.ta 3i
+(a) Anonymous:   ON    Policy Note Exists: YES
+(o) Notesfile:   OPEN  Next note in slot: 1
+(n) Networked:   YES   Deleted Notes (holes): 0  
+(A) Is Archive:  NO    Deleted Responses (holes): 0  
+(e) Expiration Threshold: Default
+(E) Expiration Action:    ARCHIVE
+(D) Archive with Dirmsg:  NOCARE   
+(W) Working Set Size:     Default
+(l) Maximum Text/Article: 65000 bytes
+.TA
+
+
+
+
+
+
+Option:
+
+.ce 99
+= = = = = = = = = = = = = = = = = =
+.ce 0
+.fi
+.KE
+
+       Options available on this page include:  access lists, policy
+note writing, title and director messages, open/close notesfile,
+network enabling, anonymous notes, notesfile compress, and delete
+a list of notes.
+
+.ss "Access Lists"
+
+       The notesfile system allows directors to allow or restrict access
+to each notesfile.
+The access list can allow or deny read, write, respond, and director
+options to any user, group, or system.
+Type ``p'' (``permissions'') on the director options page
+to enter the access list editor.
+The system prompts for an option:
+``m'' to modify an extant entry, ``d'' to delete
+an entry, ``i'' to insert a new entry, ``r'' to replot the list,
+``q'' to quit editing the access list, and
+capital ``Q'' to quit editing the access list and IGNORE ANY CHANGES MADE.
+Delete or modify entries by entry number.  Scroll the entries using ``+'' and
+``-''.
+
+       After typing ``i'' to insert a new entry,
+the system prompts for a user type
+(``u'' for user, ``g'' for group, ``s'' for system).
+The system then prompts for the name of the user, group, or system.
+(Users and groups must be valid names)
+The default access options
+are then displayed: read, write, answer (for responses).  Use the keys
+``r'', ``w'', ``a'', and ``d'' to toggle the read, write, answer, and director
+privileges respectively.  Some options automatically
+enable others (e.g., ``w'' for writing automatically enables ``a'' for answering).
+It is not possible to remove answer access while write access is enabled.
+The ``n'' key will remove all privileges (``no access'').
+Type return (or ``q'') when the correct options have been entered.
+The system prompts for another user.  Press return at the prompt to exercise
+other access list options.
+
+       The access machinery checks user names before checking
+group names.
+If user ``john'' explicitly has no
+access but his group does, he will nevertheless be denied access to the file.
+If there is no explicit entry for user ``john'', a check is made for
+permissions granted to his group(s).
+(n.b.: an entry for user ``Other'' will match all users, 
+circumventing group permissions.
+The behavior typically desired can be achieved with a 
+group ``Other'' just as well.)
+
+       If no explicit user entry exists, a search for group permissions
+is initiated.
+Users can belong to more than one group
+(although kernels such as Version 7 only allow one at a time)
+and the notesfile code checks each of the user's groups.
+If permissions for several of these groups exist,
+the user is given the inclusive OR of the several permissions.
+If none of the user's groups are given permission, a
+default permission specified by group ``Other'' is usually
+assigned.
+The ``Other'' entry matches when none of the other group entries
+have matched.
+This entry can be deleted, in which case no access is granted.
+
+       The current implementation of system access
+enforcement is naive.
+The network software will send to a system only if it has read permission.
+Reception allows intermediaries
+to pass on notes even if they are not allowed write access to the notesfile;
+the access permission is determined from the originating system of each note
+or response
+instead of the site actually delivering the article.
+The name ``Other'' (capital ``O'') matches any system name not
+mentioned explicitly.
+
+       Many notesfiles allow several users and groups to have
+read/write access,
+a single user to have director access
+(in addition to the notesfile ``owner''),
+and all other users no access.
+
+       When a notesfile is first created, a default access 
+list is created.
+The notesfile ``owner'' is made director, group ``Other''
+and system ``Other'' are both given read/write access
+to the notesfile.
+If the file ``/usr/spool/notes/.utilities/access-template''
+exists, it contains a list of access-rights to add to
+the new notesfile's access list.
+The file contains lines of access-rights in the format used
+by the nfaccess program.
+Access-rights look like ``user:essick=drwa'';
+for more information on the format of these entries,
+see the man(I) page for nfaccess.
+
+.ss "Policy Note"
+
+       Type ``w'' (``write policy'') on the director option page to write a policy
+note (just like writing any other note).
+
+.ss "Title & Director Messages"
+
+       Change the notesfile title with ``t'', the director message with ``m''.
+The
+system prompts for a new message.
+Typing only a carriage return will not change the old message.
+
+.ss "Open/Close"
+
+       Type ``o'' (``open'') to toggle the availability of the notesfile (subject to
+the access list).
+Closed notesfiles are unavailable to non-directors.
+
+.ss "Network Options"
+
+       Type ``n'' (``network'') to toggle the availability of the notesfile
+for networking.
+Arrangements must be made with the notesfile system ``owner'' to do the network
+transfers.
+
+.ss "Anonymous Notes"
+
+       Type ``a'' (``anonymous'') to toggle the availability of
+anonymous notes in the notesfile.
+The availability of the anonymous option may provoke slanderous
+attacks from users
+(whose anonymity is completely protected).
+
+.ss "Compression"
+
+       Type ``c'' (``compress'') to compress the notesfile.  As notes
+are deleted, their text and index space is not reclaimed.  This command
+reclaims the space.  The notesfile must be closed.  On a VAX 11/780,
+20 seconds of real time (on a slightly loaded system) is required to
+reclaim the space of a notesfile with 50 remaining notes
+(compression time is dependent on remaining notes).
+Notesfiles should be compressed whenever many of their notes have been
+deleted.
+The notesfile archiver ``nfarchive'' and cron(8) can be used to automate this
+process.
+
+       The director's option page displays a count of ``holes''
+left by deleted notes and responses.
+This can be used as an indication of how much wasted space is within
+the notesfile.
+
+.ss "Expiration Threshold"
+
+       The `e' command allows a notesfile director to
+modify the notesfile's expiration threshold.
+Possible values include specific numbers of days, `default'
+and `never'.
+The value can be left unchanged by not specifying a 
+new value.
+The `default' value is assigned to new notesfiles;
+directors can change it as needed.
+
+       The notesfile archiving program (nfarchive) examines the
+expiration threshold of each notesfile it processes.
+This threshold determines how long a note string must be inactive
+before it is eligible for archival.
+The `Default' expiration threshold uses the expiration time
+specified on the `nfarchive' command line; 
+this is usually 2 weeks.
+Specific ages can be specified.
+The age specified in the notesfile overrides the value 
+on the `nfarchive' command line.
+The `Never' threshold tells `nfarchive' that this notesfile is
+not to be archived.
+
+.ss "Working Set Size"
+
+       Each notesfile contains a working set of notes.
+The working set is the number of notes left in the notesfile
+by the nfarchive program.
+When nfarchive runs, it determines a maximum number of notes
+to delete.
+This number is the number of notes written in the notesfile
+minus the number of ``holes'' caused by deletions minus
+the working set size.
+Nfarchive will leave a ``working set size'' of notes in
+the notesfile;
+if fewer notes existed in the notesfile, no notes are
+archived.
+
+       The working set size can be changed by the `s' command
+from the director page.
+Possible values include ``default'' and specific numbers.
+``Default'' specifies that the value supplied during
+the nfarchive run is to be used;
+explicit values in the notesfile always override values
+specified on the nfarchive command line.
+
+.ss "Expiration Action"
+
+       Each notesfile can decide on the destination of expired 
+notestrings.
+The expiration action field takes one of the values
+``Default'', ``Archive'' or ``Delete''.
+Archive and delete specify that expired notes are to be
+archived and deleted respectively.
+The default entry specifies that the expiration action should
+follow that specified on the nfarchive command line.
+
+.ss "Expire With Director Message"
+
+       Notesfiles can decide how to expire based on director
+message status individually.
+This option can assume four values:
+``Default'',
+``Nocare'',
+``On'',
+and 
+``Off''.
+The on and off values specify that only notes with the
+director message on or off respectively are eligible for
+expiration.
+The nocare value specifies that the director message status
+is not checked; both director and non-director marked notes
+are eligible for expiration.
+Select the default entry to use the value of this parameter
+as specified on the nfarchive command line.
+
+.ss "Maximum Text per Article"
+
+       The notesfile system imposes limits on the size of
+each article.  Earlier versions restricted articles to 64 kbytes;
+the current version provides for articles up to 4 Gigabytes.
+A constant is used to determine
+the actual maximum allowed per article.
+
+       Each notesfile can select a maximum text length per
+article.
+This limit is not allowed to exceed the hard-coded limit
+(currently 3 Mbytes).
+Articles exceeding this limit are truncated and a message
+detailing the count of excess bytes and the system responsible
+for truncating the text is appended.
+
+       Initially the maximum text length is set to the 
+highest permissible value.
+One reason for lowering the limit is to meet restrictions
+on the size of network transfers.
+
+.ss "Deleting and Un-Deleting Many Articles"
+
+       Type ``z'' (``zap'') to delete many notes (and their
+responses) quickly.
+Enter a list of note numbers or note ranges (aa-bb) separated by spaces.
+Confirm the command with ``y''; other responses will abort the command.
+It is economical and prudent to compress the notesfile
+shortly thereafter.
+Note that deleting notes in a networked notesfile makes those notes
+unavailable to those who poll your system for new notes and responses.
+
+       The ``u'' (undelete) command performs the opposite function
+of the ``z'' command. 
+This command allows you to specify a list of note strings to
+be un-deleted.
+When prompted, the director shoul supply the note numbers he wishes
+to re-activate.
+The specified notes are re-activated and can be viewed as before.
+This command is only effective until a compression of the notesfile;
+after that time the notes are no longer present in the notesfile.
+
+.ss "Director Options for Notes"
+
+       Directors may put a ``director message'' above any note they write.
+There is one single line director message for each notesfile.  Typical
+director messages
+are: ``New Policy'', ``*** This problem fixed or ignored ***'',
+or ``-- Eat Flaming Death Fascist Pigs --''.
+Directors can also toggle the director message on
+a note being
+read (``d'' for ``director message'').
+A director can delete a note (and all its
+responses) or any response while reading the text of the note or response
+by typing ``Z'' (``zap this one'') and confirming with ``y''.
+
+.ss "Default Sequencer Lists"
+
+       Some users never set up an ``NFSEQ'' environment variable 
+specifying the notesfile they wish to see.
+The file ``/usr/spool/notes/.utilities/Dflt-Seq'' contains a 
+default list of notesfiles.
+Users without an ``NFSEQ'' variable receive the notesfiles listed
+in this file.
+The file can be changed at anytime and will take effect with
+the next ``autoseq'' by a user.
+
+.se "Creation & Deletion of Notesfiles"
+
+       Only the ``owner'' of the notesfile system can create notesfiles.
+Create notesfiles with the mknf command:
+
+       mknf [ -aon ] topic1 [ ... ]
+
+       The created notesfiles have default status of
+closed, non-networked, and
+no anonymous notes permitted.
+Specify -a to permit anonymous notes in the new notesfiles.
+Use -o to have the notesfiles marked open for general use and
+the -n option to enable the notesfiles' network availability.
+These status flags can all be modified from the directors page at later
+times.
+
+       Delete notesfiles with rmnf:
+
+       rmnf [ -f ] topic1 [ ... ]
+
+Each notesfile to be removed must be verified with ``y'' after a
+prompt -- anything else will leave that notesfile intact.
+Use the -f option to blindly remove notesfiles;
+the verification step is bypassed when ``rmnf'' is invoked
+with the -f option.
+
+       The file /usr/spool/notes/.utilities/avail.notes contains
+a list of the public notesfiles.
+The notesfile owner should update this file when he creates
+new notesfiles;
+this file is not automatically updated by ``mknf'' and ``rmnf''.
+The contents and format of the file are at the discretion of the
+notesfile system owner.
+
+.se "Intersystem Notesfiles"
+
+       The notesfile system provides for intersystem notesfiles
+in an arbitrary connected network.
+Copies of a shared notesfile must exist on each
+of the systems wishing to read notes for that notesfile.
+The contents are kept in synchrony through occasional exchanges
+over a network (UIUCDCS uses both uucp and TCP/IP).
+Notesfiles to be shared must have their ``network status'' enabled (see
+director options).
+
+       Duplication of notes and responses is prevented by the use of
+unique identifiers.
+Each note and response in a notesfile is assigned a unique number.
+The networking software checks each note as it arrives to
+see if a copy already exists.
+In the event of duplication, the extra copy is discarded and
+the fact is logged in the statistics and the network log.
+
+       In the (hopefully rare) event that a response arrives at a 
+system before the base note does, the network reception program will
+generate a ``foster parent'' for the orphaned response.
+When the true parent arrives,
+the foster parent will be overwritten.
+A count of orphaned responses received is kept and available 
+through use of the nfstats program (see section 4.4).
+
+.ss "Transmitting Notesfile Updates"
+
+       The nfxmit program gathers the new notes and responses in specified
+notesfiles and sends them to a specified site.
+The notesfile ``owner'' must occasionally enter the following command (or
+have it entered for him by cron)
+to update remote notesfiles with new notes and receive new remote
+notes:
+
+       nfxmit -dsitename [-t datespec] [-r] [-a] [-f file] topic1 [...]
+
+The ``sitename'' is the name of the remote site
+to receive the new notes.
+The remote site should have notesfiles matching those specified
+by the topic1 parameter.
+For remote notesfiles with different names, see the section below on
+Name Mapping.
+
+       The optional -t specifies that all notes and responses
+since that date should be sent (normally -t is omitted and the notesfile
+system sends only new notes and responses).
+
+       The -r option specifies that the remote notes system
+should not only receive the current changes but also reply in kind.
+This is useful if the remote system does not automatically run the
+nfxmit program.
+
+       The -a option specifies that articles inserted
+from the news(I) system
+are to be sent also. Normally these articles are not sent because the 
+receiver probably has them; the primary use of this switch is for sites
+that do not run news(I).
+
+       Using the -f switch tells nfxmit
+to read the file specified for a list
+of notesfiles to transmit;
+multiple -f parameters are permitted and can be freely intermixed
+with `topic' parameters.
+Notesfile name pattern matching is
+performed on both `topic' parameters and
+the entries in a file specified by the -f option.
+
+       Nfxmit uses uux(1) as a transport and remote execution
+mechanism.  Connections using different protocols and mechanisms
+can be selected in the file ``/usr/spool/notes/.utilities/net.how'';
+its format is described in the section ``Non-Standard Links''.
+Uux typically permits a limited set of commands to be executed
+remotely.
+The file /usr/lib/uucp/L.cmds contains a list of
+acceptable commands; this file should be edited to include the
+``nfrcv'' program.
+
+.ss "Network Transaction Log"
+
+       The network software maintains a log of all transactions,
+including time, date, number of notes and responses transferred, direction
+of transfer,
+and number of notes replicated by transfer.
+This log is placed in a file called `net.log' and resides in the
+notesfile utility directory (by default: /usr/spool/notes/.utilities).
+
+       This file will grow without bounds.
+Occasional pruning is a good idea.
+There is no vital information stored in this file;
+its purpose is to provide a network audit trail.
+
+.ss "Non-Standard Links"
+
+       Some systems will be unable to keep the notesfile network
+software in a public directory (such as /usr/bin).
+Other sites will have non-uucp links.
+The `net.how' file is for these cases.  `Net.how' is
+kept in the notesfile utility
+directory (/usr/spool/notes/.utilities)
+and 
+contains information on linking to remote systems.
+Entries in the file are made for systems with non-standard links
+and 
+have the following format:
+
+       system:direction:protocol::command string
+
+       The system field contains the name of the remote system.
+The direction field
+contains either an `x' or `r' (no quotes) and specifies the direction
+that the line is for. 
+An `x' specifies that the command string is for sending notes to the
+remote site; an `r' specifies that the command string is used in
+coercing the remote system to send its new notes and responses back.
+Lines beginning with a `#' are comment lines and ignored by the notesfile
+code.
+
+       The protocol field is either empty or contains an integer
+value.  An empty field indicates protocol 0.
+Currently only protocols 0 and 1 are supported.
+The notesfile receiving programs automatically switch between
+protocols.
+
+       The command string is a printf control string (without quotes)
+with two `%s'
+entries.
+The first is for filling in the name of the notesfile, the second is
+for the local system name.
+Many entries in the `net.how' file will be to place
+different paths on the `nfrcv' and `nfxmit' commands.
+The default command line is:
+
+       uux -z - system\\!nfrcv %s %s
+
+for the `x' entry and for the `r' entry:
+
+       uux system\\!nfxmit %s -d%s
+
+In the following sample from our net.how file, the host
+``uicsovax'' is connected via UUCP and the notesfile networking
+programs live in non-standard directories.
+The host ``etherhost'' is reachable over a local network and the
+Berkeley ``rsh'' commands can be used to ship data between
+the local host and ``etherhost''.
+
+.nf
+       uicsovax:x:::uux - uicsovax!/mnt/dcs/essick/.commands/nfrcv %s %s
+       uicsovax:r:::uux uicsovax!/mnt/dcs/essick/.commands/nfxmit %s -d%s
+       etherhost:x:::rsh etherhost /usr/bin/nfrcv %s %s
+       etherhost:r:::rsh etherhost /usr/bin/nfxmit %s -d%s
+.fi
+
+
+.ss "Notesfile Name Mapping"
+
+       To provide flexibility in the naming of notesfile across systems,
+the network software looks in the
+directory /usr/spool/notes/.utilities/net.aliases
+for mappings of local notesfile names to remote notesfile names.
+Each file in the directory is named after a system (e.g., pur-ee or uicsovax).
+Each of these files contains lines which specify the mapping of local
+notesfiles to the particular systems notesfiles.
+Lines beginning with `#' in these files are comment lines and are ignored
+in the matching process.
+Data lines in the files look like:
+
+       local_nf:remote_nf
+
+       If there is no entry for a particular notesfile or
+the file for that system is missing, the local name is used.
+
+       Mapping is performed by the transmission program ``nfxmit''.
+The ``nfrcv'' program does not consult this table.
+
diff --git a/usr/othersrc/share/doc/usd/11.notes/3.2 b/usr/othersrc/share/doc/usd/11.notes/3.2
new file mode 100644 (file)
index 0000000..0eecee8
--- /dev/null
@@ -0,0 +1,359 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)3.2 6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.se "Initial Installation & Parameters"
+
+       Installation of the notesfile system requires
+the following:
+
+.bx
+.ix
+A working familiarity with version 7 UNIX (or later)
+(and UUCP for intersystem transfers).
+.ix
+The notesfile distribution tape. (The distribution is already in /usr/src/new/notes,
+the user-contributed software area, in 4.3BSD).
+.ix
+A signon for the notesfile owner.
+This signon should be in its own group.  The notes
+package runs set-gid; mixing the notes group with other
+groups is not recommended.
+.ix
+An ``anonymous'' signon.
+This signon should be an unused user-id.
+The notesfile system prohibits this user-id from reading and
+writing notes.
+.ix
+The ability to write into the directories where the notesfile
+binaries and data base are to live.
+.ex
+
+       Appendix A (``Notesfile Installation Checklist'') is a helpful
+guide for installing the notesfile system.
+The distribution is made from a VAX running 4.2 Bsd.
+In most cases there are only a few files that need to be
+modified:
+``src/parms.h'',
+``src/Makefile'',
+and
+``src/newsgate.h'' (if you are interfacing to USENET).
+
+       First: read in the
+distribution tape.
+The tape is a TAR format tape. 
+This will read in several directories worth of data. 
+The ``src'' directory contains all source code for the notesfile
+system and the internal help files.
+The ``doc'' directory contains an nroff source for the user manual and
+the macros that were used to generate it.
+The ``man'' directory contains the nroff sources
+for the 
+notesfile manual pages.
+The ``Samples'' directory is a collection of various system files from our
+machine;
+they are included to provide examples in setting the matching files on
+your system.
+
+       After the tape has been read in, select the appropriate parameters.
+
+.ss "Selecting Appropriate Constants"
+
+       Before compiling the notesfile system, 
+it must be configured to match your system.
+The location of spooling directories and command directories,
+the UNIX kernel,
+and
+policies on ``non-standard'' software
+may require changes in the default configuration.
+
+       Configuring the notesfile system is accomplished through
+modifying two files, both in the ``src'' directory of
+the distribution.
+The ``parms.h'' file contains information on values for
+the default archival time,
+UNIX kernel type,
+and
+the behavior of the notesfile system such as whether
+to keep core images when the notesfile system detects an
+internal error.
+The ``Makefile'' file contains definitions
+of the spooling and command directories,
+the notesfile ``owner'',
+and
+the ``anonymous'' user.
+
+       The distribution is configured for a UNIX 4.2 BSD system.
+The most frequently changed values,
+after the kernel definition,
+are the notesfile ``owner'' and the location of spooling
+and command directories.
+
+       Appendix A (``Notesfile Installation Checklist'')
+details each of the options in ``parms.h'' and ``Makefile''.
+It describes the meaning of the option and the effects of
+changing the value.
+The recommended method for choosing an appropriate configuration
+is to sit at a terminal with the checklist and mark each option
+as it is selected or rejected.
+
+.ss "Compiling the Notesfile System"
+
+       After all the appropriate parameters are set up, the next step is
+to generate the notesfile system.
+First, the requisite directories and files
+in /usr/bin (or wherever) should be manufactured.
+This procedure should be run exactly once and will probably have to be run
+by the superuser.
+To make these files type:
+
+.nf
+       make base
+.fi
+
+The next phase should be run while signed in as the notesfile ``owner''.
+Type:
+
+.nf
+       make boot
+.fi
+
+       If all goes well, this should end with a message to the effect
+that the notesfile system has been installed
+(approximately 17 minutes on a VAX-11/780)
+If anything goes wrong, perusal of the terminal dialogue should
+point out the offending steps.
+The most likely cause of errors will be a missing directory.
+
+       To replace the notesfile software
+any time after these two steps have been run, type:
+
+.nf
+       make install
+.fi
+
+       If at some time you are must change some of the internal constants
+of the notesfile package (such as string lengths and blocking factors),
+all the existing notesfiles on your system will be incompatible with the
+new instantiation of the program.  
+The ``nfdump'' and ``nfload'' programs are useful for converting
+the data base from one format to another.
+The ``nfdump'' program should be compiled with the old configuration
+and the ``nfload'' program should be compiled with the new configuration.
+Documentation on these programs can be found in the appendices.
+
+.ss "User Subroutines"
+
+       The notesfile package contains several routines available
+to users in general.
+The nfabort routine generates a core image, places it in a specified
+place, logs the fact in a notesfile, and terminates.
+The nfcomment routine allows users to log text in a notesfile.
+These routines are useful for debugging information, and communication
+between program developers and users.
+Users can load these routines by specifying `-lnfcom' on 
+the `cc' or `ld' command lines.
+
+       The normal installation procedure (``make install'') will 
+compile the nfcomment routine and place it in the library directory.
+As distributed, the file is placed in the ``/usr/local/lib'' directory.
+To change this, modify the definition of ``LIBDIR'' in `Makefile'.
+
+.se "Installing the Man(1) Documentation"
+
+       Install the man(1) pages for the notesfile with the following
+commands.
+They are best done as super-user.
+
+.nf
+.ne 2
+       cd man
+       make install
+.fi
+
+The nroff sources for the documentation will be installed in the
+directory /usr/man in subdirectories man1, man3, and man8.
+
+.se "Interfacing to News(I)"
+
+       The notesfile system interfaces to the news(I)
+system.
+The newsinput program parses articles from the news system
+and inserts them in the appropriate notesfiles.
+The newsoutput program moves notes from the notesfile system
+to the news system.
+Neither program will move text between the two systems if the notesfile
+is not enabled for networking (see section 3.1.5).
+Newsoutput will not retransmit articles inserted by newsinput.
+Sites sharing notesfiles can all run both newsinput and newsoutput.
+
+       Appendix B contains instructions on how to interface
+a notesfile system to a news system.
+Configurations for isolated notesfiles sites, notesfile subnetworks,
+mapping between notesfile and newsgroup names,
+and a checklist for the gateway installation are included.
+
+       Since the notes system stores the
+entire text of a single notesfile
+in a single file, a notesfile system uses less space than the
+same scale news system.
+The notesfile system is generally more space-efficient
+than B news.
+
+.se "Housekeeping"
+
+       Notesfiles has a number of utilities to manage its
+data base.
+A number of shell scripts are included with the distribution
+which invoke the archival programs and trim logging files
+which otherwise grow without bounds.
+These shell scripts are included in the ``Samples'' subdirectory
+of the notesfile distribution and 
+can be invoked automatically through cron(8).
+
+.ss "Cleaning up Disk Space"
+
+       When a note or response is deleted, a hole is left in that notesfile.
+This makes for quick deletion but tends to leave some disk space wasted.
+The compress option on the director page is one way that this space is
+reclaimed.
+The nfarchive program (see section 3.7.2) also returns unused space.
+Have cron run the nfarchive program weekly to automate
+space reclamation.
+
+.ss "Automatic Removal of Notes"
+
+       The nfarchive program archives notes untouched for more than
+a specified number of days.
+Archived notes and their responses are stored in 
+an ``archive'' notesfile.
+``Archive'' notesfiles are typically found in the directory
+/usr/spool/oldnotes; this may vary between installations.
+The archives can be accessed automatically using the ``N'' command
+from the index, note and response displays or
+by explicitly naming the notesfile
+(notes /usr/spool/oldnotes/mynotes).
+The notes are deleted after they have been archived. 
+After the archival, a compression of the notesfile is performed to
+recover the space formerly occupied by the archived notes.
+Nfarchive assumes that all months have 30 days and all years have 12 months.
+The format of the nfarchive command line is:
+
+       nfarchive [-d] [-m+ or -m-] [-#] [-w#] [-f file] topic
+
+       The -d option specifies that no archiving is to take place;
+the notes eligible are to be deleted.
+
+       The -m option specifies whether to check the director message
+status before archiving notes.
+Use ``-m+'' to archive notes which meet the age requirement and have
+the director message on.
+The ``-m-'' option archives notes of sufficient age with the director
+message turned off.
+If this option is omitted, notes are archived on the basis of age only.
+
+       The -# option specifies the age of eligible notes. The
+increment is days.
+The default is determined by the value of ARCHTIME in `parms.h' and 
+is distributed as fourteen days.
+Each notesfile can specify a (possibly) different expiration
+threshold.
+Normally the notesfile will specify `default' and nfarchive
+uses the time specified on its command line.
+Ages specified in a notesfile override the times given on the
+nfarchive command line.
+
+       The -w# parameter specifies the working set size to
+use for notesfiles which do not specify a working set size.
+This determines a minimum number of notes to remain in a notesfile.
+If unspecified, the default working set size is 0.
+This value can be changed through the WORKSETSIZE variable
+in ``parms.h''.
+
+       Working sets and expiration thresholds work together 
+in the following manner.
+Nfarchive first determines a maximum number of notes to delete.
+This is calculated from the number of notes in the notesfile
+(total notes minus ``holes'' caused by deletions)
+and the working set size.
+The archival program proceeds through the notesfile deleting
+notes older than the expiration threshold until it runs
+out of notes or the maximum number of notes has been deleted.
+
+       The -f option specifies a file containing a list of notesfiles
+to be archived.
+Multiple -f parameters are permitted and can be intermixed with
+`topic' parameters.
+Notesfile name pattern matching is performed on both `topic' parameters
+and the entries in a file specified by the -f option.
+
+       Mapping between an active notesfile and its archive is
+listed in the file ``.utilities/net.aliases/Archive-into''.
+This file contains pairs of ABSOLUTE notesfile names
+(``/usr/spool/notes/mynotes'' instead of ``mynotes'').
+The first entry specifies the active notesfile;
+the second entry specifies the archive notesfile.
+Notesfiles not appearing in the archive mapping file will
+be placed in ``/usr/spool/oldnotes'' with the same
+final component as the active notesfile.
+Conflicts are possible.
+If unmapped, the notesfiles ``/usr/spool/notes/mynotes'' and
+``/some/other/place/mynotes'' will be archived into
+the same archive ``/usr/spool/oldnotes/mynotes''.
+
+.ss "Cleaning Sequencer Files"
+
+       A tool to remove sequencer entries for deleted users will be 
+included in future releases of the notesfile package. 
+This tool will traverse the sequencer directory removing files
+belonging to users whose signons no longer exist.
+The process can be made automatic by including an entry in the cron table.
+
+       A second sequencer related utility will traverse
+the sequencer directory
+and remove entries for deleted notesfiles.
+A similar user program will be provided to permit users to remove
+their sequencer entries for notesfiles that they no longer peruse.
+
+.ss "Additions to System Boot"
+
+       Since the notesfile system maintains several lock files to 
+ensure mutual exclusion of each notesfile, a line similar to the following
+should be added to the /etc/rc or /etc/rc.local file:
+
+       rm -f /usr/spool/notes/.locks/*
+
+       Make sure `/usr/spool/notes' matches the MSTDIR parameter in the
+Makefile. 
+This line will remove any locks left if the system has
+crashed.
diff --git a/usr/othersrc/share/doc/usd/11.notes/4.0 b/usr/othersrc/share/doc/usd/11.notes/4.0
new file mode 100644 (file)
index 0000000..1edca94
--- /dev/null
@@ -0,0 +1,43 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)4.0 6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.ch "Other Notesfile Utilities"
+
+       The notesfile distribution includes utility programs to
+provide hard copy output,
+additional interfaces to user programs,
+and
+statistics.
+They are described below.
+
diff --git a/usr/othersrc/share/doc/usd/11.notes/4.1 b/usr/othersrc/share/doc/usd/11.notes/4.1
new file mode 100644 (file)
index 0000000..ad8ad7e
--- /dev/null
@@ -0,0 +1,53 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)4.1 6.2 (Berkeley) 4/17/91
+.\"
+.se "Hard Copy Output"
+
+       The program ``nfprint'' sends to standard output a nicely formatted listing of
+the notesfile in its command line.
+Its format is:
+
+       nfprint [-lnn] [-p] [-t] topic [ note# ] [ note#-note# ] [ ... ]
+
+The ``-l'' option specifies an alternate page size (the default is
+66).
+The optional note number list specifies that only
+certain notes of the notesfile
+are to be printed.  The list can specify individual notes and ranges.
+The notes are printed in the order specified.
+
+       The -p option specifies that each notestring is to begin
+on a new page.
+The -t option signifies that only a table of contents is to be
+generated.
+
diff --git a/usr/othersrc/share/doc/usd/11.notes/4.2 b/usr/othersrc/share/doc/usd/11.notes/4.2
new file mode 100644 (file)
index 0000000..7d22e55
--- /dev/null
@@ -0,0 +1,45 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)4.2 6.2 (Berkeley) 4/17/91
+.\"
+.se "Piped Insertion of Notes"
+
+       The nfpipe program enters text from the standard input into a
+notesfile:
+
+       nfpipe topic [-t title] [ -d ] [ -a ]
+
+The -t option allows specification of a title.  The -d and -a options
+specify the director and anonymous flags respectively (if available).
+If no title is specified, one is manufactured from the first line
+of the note.
+
diff --git a/usr/othersrc/share/doc/usd/11.notes/4.3 b/usr/othersrc/share/doc/usd/11.notes/4.3
new file mode 100644 (file)
index 0000000..e726e00
--- /dev/null
@@ -0,0 +1,125 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)4.3 6.2 (Berkeley) 4/17/91
+.\"
+.se "User Subroutines"
+
+.ss "Nfcomment"
+
+       The nfcomment subroutine is callable from a user's C program. It
+allows any user program to enter text into a notesfile:
+
+       nfcomment (nfname, text, title, dirflag, anonflag)
+
+.KS
+.br
+The parameters are:
+
+.br
+.ls 1
+       char *nfname;   /* name of notesfile */
+.br
+       char *text;     /* null terminated text to be entered */
+.br
+       char *title;    /* if non-null, title of note */
+.br
+       int dirflag;    /* != 0 -> director flag on (if allowed) */
+.br
+       int anonflag;   /* != 0 -> anonymous note (if allowed) */
+.br
+.ls
+.KE
+
+       If the text pointer is NULL, the text of the note will be read
+from standard input.
+If no title is specified the subroutine will manufacture a title
+from the first line of the note.
+This routine is useful for error reports, user comments
+about programs, and automatic logging of statistics or internal states.
+
+       This routine can be loaded with a C program by specifying `-lnfcom'
+on the `cc' command line.
+
+.ss "Nfabort"
+
+       Nfabort allows users to generate core images of their
+process, save the core image in a ``known'' place,
+and
+log that fact in a notesfile.
+This proves useful for intermittent failures;
+The programmer regularly scans the notesfile and can examine
+the core dump at leisure.
+Some of the problems of recreating conditions which cause errors
+are eliminated by this approach.
+
+       Nfabort is callable from the user program. It accepts
+the following parameters:
+
+       nfabort (nfname, message, title, cname, exitcode)
+
+.KS
+.br
+The parameters are:
+
+.br
+.ls 1
+       char *nfname;   /* name of notesfile */
+.br
+       char *message;  /* text string to insert */
+.br
+       char *title;    /* title of the message */
+.br
+       char *cname;    /* prefix for core image destination */
+.br
+       int exitcode;   /* code for exit() */
+.ls
+.KE
+
+       The core image is placed in the file specified by
+concatenating the ``cname'' argument and a unique 
+integer (the process id of the current process).
+The notesfile specified by the ``nfname'' parameter
+receives a note whose body consists of the text pointed
+to by ``message'' and a line telling the complete pathname
+of the core image.
+The title of the note is specified by the ``title'' 
+parameter.
+After the core image is generated and the
+note has been written, 
+nfabort terminates with the exit code specified
+by the ``exitcode'' parameter.
+
+       Nfabort generates default values for each of
+the string parameters if NULL pointers are passed.
+This routine can be loaded with a C program by specifying `-lnfcom'
+on the `cc' command line.
+
diff --git a/usr/othersrc/share/doc/usd/11.notes/4.4 b/usr/othersrc/share/doc/usd/11.notes/4.4
new file mode 100644 (file)
index 0000000..d52aed0
--- /dev/null
@@ -0,0 +1,77 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)4.4 6.2 (Berkeley) 4/17/91
+.\"
+.se "Statistics"
+
+       The notesfile system keeps statistics on where notes and responses
+originate, the number of network accesses, duplications and orphaned 
+responses.
+Combined with the use of the log maintained by the notesfile
+networking software,
+monitoring notesfile traffic is
+quite easy.
+
+       The -s option specifies that only a summary is to be produced,
+skipping the individual reports.
+Wildcard constructs with '*', '?', '[', and ']' are
+recognized by nfstats.
+Invoke the statistics program with:
+
+               nfstats [ -s ] topic1 [ ... ]
+
+Typical output is:
+
+.KS
+.nf
+.ls 1
+             rbenotes on uiucdcs at  6:24 pm  May  7, 1982
+.ta 1.5i 2.25i 3.0i
+       NOTES   RESPS   TOTALS
+Local Reads            359     115     474
+Local Written          53      55      108
+Networked in           0       0       0
+Networked out          0       0       0
+Network Dropped        0       0       0
+.TA
+Network Transmissions: 0   Network Receptions: 0
+Orphaned Responses Received: 0    Entries into notesfile: 109
+Total time in notesfile:   66.57 minutes  Average Time/entry:   0.61 minutes
+Created at 10:04 pm  May  5, 1982, Used on 3 days
+.ls
+.fi
+.KE
+
+       A combined set of statistics is produced at the end of listings
+of more than one notesfile.
+The statistics are largely self explanatory.
+
diff --git a/usr/othersrc/share/doc/usd/11.notes/4.5 b/usr/othersrc/share/doc/usd/11.notes/4.5
new file mode 100644 (file)
index 0000000..8d6a89d
--- /dev/null
@@ -0,0 +1,59 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)4.5 6.2 (Berkeley) 4/17/91
+.\"
+.se "Checking for New Notes"
+
+       The checknotes program
+checks the notesfiles specified by the NFSEQ environment 
+variable to determine if there are new notes.
+The exit code is arranged to make the program useful in shell scripts:
+0 (TRUE) is there are new notes, 1 (FALSE) otherwise.
+
+       Use the ``-q'' option to receive a message
+
+               There are new notes
+
+if one or more of the notesfiles have notes/responses written since
+the user's last entry time into that notesfile.
+
+       The ``-n'' option is similar to the ``-q'' option, with the exception
+that it yields output when there are no new notes. The output
+of checknotes with the ``-n'' option is:
+
+               There are no new notes
+
+       Use ``-v'' to print the name of each notesfile with new 
+notes/responses.
+The ``-s'' option is suitable for use in conditional
+expressions in shell scripts; no output is generated by this option.
+
diff --git a/usr/othersrc/share/doc/usd/11.notes/4.6 b/usr/othersrc/share/doc/usd/11.notes/4.6
new file mode 100644 (file)
index 0000000..9783bb6
--- /dev/null
@@ -0,0 +1,62 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)4.6 6.2 (Berkeley) 4/17/91
+.\"
+.se "Mail to Notesfiles"
+
+       Some mailers  (like 4.2 BSD's \fIsendmail\fP)
+allow mail to be directed to specific programs.
+The nfmail program facilitates sending mail to notesfiles.
+The subject line of the mailed letter is extracted and used as the
+title of the note.
+Nfmail extracts the author's name and system
+from the body of the letter.
+Subject lines are examined for ``Re:'' prefixes and, if they
+exist, are used in an attempt to link the letter as a reply to
+an existing base note.
+
+       To send mail addressed to ``somenotes'' 
+to the notesfile ``somenotes'' with the 4.1 Bsd or later mail delivery
+mechanism
+add the following line to the file /usr/lib/aliases.
+The second line shows the general format for /usr/lib/aliases entries
+which feed a notesfile.
+If the Notesfile utilities are stored in a different directory, the
+path name should be changed appropriately.
+
+.in +.75i
+.nf
+somenotes: ``|/usr/spool/notes/.utilities/nfmail somenotes''
+mailaddress: ``|/usr/spool/notes/.utilities/nfmail anotesfile''
+.fi
+.in
+
diff --git a/usr/othersrc/share/doc/usd/11.notes/4.7 b/usr/othersrc/share/doc/usd/11.notes/4.7
new file mode 100644 (file)
index 0000000..8fdfbba
--- /dev/null
@@ -0,0 +1,80 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)4.7 6.2 (Berkeley) 4/17/91
+.\"
+.se "Modifying Access Rights for Many Notesfiles"
+
+       It is convenient to add entries to a large number of
+access lists simultaneously.
+The nfaccess program adds an access specification to each of
+a specified list of notesfiles.
+Nfaccess functions similarly to chmod(1).
+Nfaccess is invoked as:
+
+       nfaccess <access-right> notesfile [notesfile ...]
+
+The ``access-right'' is formatted as: ``type:name=mode''.
+Type can be any of ``user'', ``group'', or ``system'';
+capitalized variants are also valid.
+The ``type:'' specification can be omitted.
+``User'' is assumed in these cases.
+The ``mode'' field consists of a sequence of the
+characters ``d'', ``r'', ``w'', ``a'' and ``n''.
+These indicate director, read, write, answer (respond) and null
+access respectively.
+
+       Nfaccess requires user and group entries to be valid
+by looking for them in /etc/passwd and /etc/group.
+System entries are not checked for validity.
+Nfaccess will add the entry to the access list of the specified
+notesfiles.
+If an entry for that particular user, group or system exists,
+the new access right replaces the old access rights.
+The computed mode is an absolute mode; the previous value in
+the access list (if any) is replaced with the new mode.
+
+       Any user can run the nfaccess program.
+Nfaccess refuses to modify access lists for any notesfile
+where the user is not a director.
+The nfaccess program is stored in the notesfile utility
+directory, typically ``/usr/spool/notes/.utilities''.
+
+       Nfaccess is often used to remedy missing permissions
+in a number of notesfiles.
+One example is when the notesfile administrator is replaced;
+nfaccess is used to grant director access to the appropriate
+notesfiles (usually most of them).
+As new notesfiles are created, the access list can be tuned
+by placing lists of access-rights in the file
+``/usr/spool/notes/.utilities/access-template''.
+These access-rights are added to the default access list
+of newly created notesfiles.
diff --git a/usr/othersrc/share/doc/usd/11.notes/5 b/usr/othersrc/share/doc/usd/11.notes/5
new file mode 100644 (file)
index 0000000..96ec36d
--- /dev/null
@@ -0,0 +1,153 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)5   6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.bp
+.de CP
+.rt
+.po 4i
+..
+.ch "Summary"
+.nf
+.ls 1
+.mk
+notes [-sxi] [-a subsequencer] [-t type] nf-list
+
+.ft B
+Everywhere:
+.ft P
+
+?      help
+q,k    quit
+Q,K    Quit w/out save   
+\(uaD  Leave \fBNOW\fP w/out sequencer
+!      Fork Shell
+B      Register suggestion
+
+.ft B
+Index Page:
+.ft P
+
++      Forward
+*      Last page
+-      Backward
+=      First page
+13     Read note 13 (requires RETURN)
+a,A    Search for author
+d      Director options
+j,J    Jump to first unread note
+l,L    Like j,J; leave if nothing unread
+n      Nest notesfiles
+N      Nest to this notesfile's archive
+o      Set oldest date for sequencing
+O      Set sequencer for today's notes
+p      Read policy note
+r      Replot the screen
+w      Write a note
+x,X    Search for title
+z      like \(uaD but update sequencer
+
+.ft B
+Reading anything:
+.ft P
+
+spc    Next page of current text
+-      Previous page of text
+;      Next text
++      Next text
+ret    Next note
+7      Forward 7 responses (15 = 8 + 7)
+=      Goto base note
+*      Last Response
+a,A    Search backwards (author)
+c,C    Copy text to notesfile (C = w/editing)
+d      Toggle director msg.
+D      Delete (if yours)
+e      Edit title
+E      Edit text
+f,F    Forward notestring to notesfile (F= w/editing)
+.CP
+i      Index page
+j      Next unread text
+J      Next unread base note
+l,L    Like j,J; leave if nothing unread
+m      Mail to anyone
+M      Mail w/text
+n      Nest notesfiles
+N      Nest to this notesfile's archive
+p,P    Personal note to author (P = w/text)
+r,\(uaL        Replot current text
+R      Rotate text (simple decryption)
+s      Save text
+S      Save entire note string
+t      Talk to author
+w      Write response
+x,X    Search backwards (title)
+z      like \(uaD but update sequencer
+Z      Delete (directors only!)
+
+.ft B
+Director Options:
+.ft P
+
+a      Toggle anonymous
+A      Toggle archive status
+c      Compress notesfile
+D      Change expire w/dirmsg flag
+e      Change expiration threshold
+E      Change expiration action
+l      Change maximum text/article
+m      Change director message
+n      Toggle network availability
+o      Toggle open status
+t      Change notesfile title
+u      Un-delete lots of notes
+w      Write policy
+W      Change working set size
+z      Zap lots of notes
+p      Access (permission) List:
+        i      insert
+        d      delete
+        m      modify
+        u      user
+        g      group
+        s      system
+
+        r      read access
+        a      answer access
+        d      director options
+        w      write access
+        n      null access
+.po
+.ls
+.fi
diff --git a/usr/othersrc/share/doc/usd/11.notes/a.checklist b/usr/othersrc/share/doc/usd/11.notes/a.checklist
new file mode 100644 (file)
index 0000000..016926e
--- /dev/null
@@ -0,0 +1,504 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)a.checklist 6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.ap A "Notesfile Installation Checklist"
+
+.a1 "Installing Notesfile Code"
+
+       You can be sure that you have modified all necessary constants
+in the notesfile system by following this simple checklist.
+
+.bz
+.iz
+change to the notesfile source directory
+.iz
+tar x 
+[reads the notesfile tape]
+.iz
+cd src
+.iz
+[edit] parms.h
+.iz
+ARCHTIME.
+Default for how long unmodified note strings hang around.
+.iz
+WORKSETSIZE.
+The default number of notes to leave in a notesfile when archiving.
+.iz
+DFLTSH.
+This should be left as the Bourne shell, /bin/sh -RBE
+.iz
+DFLTED.
+The editor to use if no NFED or EDITOR environment variable
+exists.
+.iz
+SEQFILE.
+This is the name of a file in the utility directory which contains
+a list of notesfiles for users without an NFSEQ environment variable.
+The default is probably just fine.
+.iz
+DFLTSEQ.
+For users without an NFSEQ environment variable and when the file
+specified by the SEQFILE definition above doesn't exist, we
+finally fall back to using the notesfiles specified by this string.
+The nice thing about having things in SEQFILE is that you don't
+have to recompile the notesfile software everytime you wish to
+change the default set of notesfiles; instead you edit a file.
+.iz
+MAILER.
+The program which will do mailing.
+If you are in a networked environment, this mailer should
+manage to route letters to far away places for you.
+The notesfile system only retains the name of the destination site;
+a path to that site is not kept.
+.iz
+SUPERMAILER.
+This should be defined if you have an intelligent mail program.
+Intelligent here means that you can edit the letter and other
+fun things.
+.iz
+PAGER.
+A program which shows 1 screenful of information at a time.
+.iz
+WRITE.
+A program which allows online user-user communication
+(such as /bin/write).
+.iz
+FULLDOMAIN.
+This defines the domain name of your local systems. For many
+USENET sites, this should be ``UUCP''.
+Other examples include ``ARPA'' and ``Uiuc.ARPA''.
+This should not include the system name.
+In the UIUC Computer Science Department, we have machines named
+``uiucdcs'', ``uiucdcsb'', and so on;
+our value for FULLDOMAIN is ``Uiuc.ARPA''.
+The notesfile code puts
+things together to yield ``uiucdcsb.Uiuc.ARPA'' as a
+full domain name for one of our machines.
+Note that you do NOT need to place a ``.'' at the beginning of
+the domain name; the notesfile software does this for you.
+.ix
+IDDOMAIN.
+This switch is (for now) undefined.
+When defined it indicates the the unique id's associated with
+notes are to have a system component containing the system
+name and the string defined by FULLDOMAIN.
+The eventual goal is that this will be defined.
+Currently, there are problems with using long strings
+for unique identifiers. This is related to the old notesfile
+structure which used a 10 character maximum and didn't check for
+overflow.
+.br
+So for now, leave this undefined.
+I'm not sure when it will be good to enable this option.
+.iz
+Select a kernel type for your machine.
+If no kernel is selected, the code may compile but most
+likely will not run.
+.iz
+PROMPT.
+If you wish the system to give a command prompt.
+Otherwise the notesfile system is promptless.
+.iz
+USERHOST.
+If this is defined, the notesfile system uses the convention
+``user@host'' to indicate where an article originated.
+If undefined, the notesfile system uses a ``host!user''
+notation.
+If you are running in an environment which supports Internet
+style names, you may choose to use this.
+.iz
+DYNADIR.
+When defined, the notesfile system will determine the default
+spool directory notesfiles from /etc/passwd.
+The home directory for the user ``notes'' (actually whatever is
+specified in the Makefile) is read from /etc/passwd and the
+parent directory is used as the default spool directory.
+Thus if notes' home directory is ``/usr/spool/notes/.utilities'',
+the default directory is ``/usr/spool/notes''.
+This assumes that notes' home directory is in the .utilities
+directory.
+.sp
+This is useful for the case where a single binary will be run
+on several machines with differing disk layouts.
+On one, the database might live in /usr/spool/notes; another
+host might have the data base in /mnt/notes.
+By using DYNADIR and moving the ``notes'' home directory
+on various machines, only one binary is needed.
+.sp
+If the notes database lives in the same place on all of your
+machines, a better approach is to use the MSTDIR definition
+in the Makefile.
+.iz
+K_KEY.
+When defined, the ``k'' and ``K'' keys act similarly to the
+``q'' and ``Q' keys respectively.
+The choice is up to you.
+Defining them allows reading of notes with one hand.
+However some people get aggravated when the miss the ``j'' key
+and hit the ``k'' key.
+All the documentation considers the ``k'' key to be active.
+.iz
+BIGTEXT.
+Define this is you want to allow notes longer than 65000 bytes.
+Note that if you have old notesfiles, you will have to dump and
+reload them with the ``nfdump'' and ``nfload'' programs before
+the new code will work on them.
+.iz
+.ft B
+The following definitions are pretty much ``stock'' and
+usually aren't changed.
+.ft P
+.iz
+NFMAINT.
+This is the name of the notesfile which receives control messages,
+error reports and other notesfile logging functions.
+I do not recommend #undef'ing this.
+.iz
+AUTOCREATE.
+When defined, network receptions of previously undefined notesfiles
+will cause the creation of that notesfile.
+If undefined, the reception will fail if the notesfile doesn't
+exist.
+This is used in environments such as USENET where new notesfiles
+are often created remotely.
+.iz
+STATS.
+If defined, the statistics keeping code is enabled.  If undefined,
+the notesfile system will not keep statistics.
+Keeping statistics involves no space overhead and relatively
+little time overhead; I recommend leaving this defined.
+.iz
+FASTSEQ.
+Enables code which ``fails-quickly'' by determining in an
+inexpensive operation if there can't be any new articles.
+When there might be new articles,
+a more thorough and time consuming algorithm
+is used.
+.iz
+DUMPCORE.
+This defines a subdirectory of the notesfile utility directory
+where core images generated by internal consistency checks are
+placed.  If undefined, the errors will be logged but no core
+image is generated.
+.iz
+FASTFORK.
+This definition enables a quick forking algorithm which 
+exec's the desired program immediately instead of going through
+the system(III) interface.
+It avoids an extra fork()/execl() and shell startup costs.
+However some functionality is lost.
+.iz
+[finished editing parms.h] 
+.iz
+[edit] Makefile
+.iz
+select BIN.
+The directory where user commands are kept.
+The Makefile will NOT create this directory.
+At UIUC, we use /usr/bin. Another common choice is
+/usr/local.
+.iz
+MSTDIR.
+The default directory for notesfiles.
+The Makefile WILL make this directory for you.
+This is typically /usr/spool/notes.
+.iz
+ARCHDIR.
+Old notes never die, they go here instead;
+the Makefile WILL make this directory for you.
+.iz
+NET.
+This is the directory where the notesfile networking programs
+``nfxmit'' and ``nfrcv'' will be placed.
+In most cases, ``/usr/bin'' is a good choice.
+You may wish to change it if your UUCP or other networking
+mechanisms use other directories.
+This directory must already exist;
+the Makefile will not create it.
+.iz
+AUTOSEQ.
+The invocation name for the automatic sequencer.
+For multiple names like `autoseq', `readnotes' and `autonotes',
+make links to the file ``/usr/bin/notes'' with the appropriate
+names (assuming that BIN = `/usr/bin').
+.iz
+NOTES.
+The username of the user who ``owns'' all the notesfiles.
+.iz
+NOTESUID.
+The numeric userid of the notesfile ``owner''.
+For example NOTES = notes, NOTESUID = 10.
+.iz
+NOTESGRP.
+The name of the group to which the ``NOTES'' signon belongs.
+.ft B
+It is strongly recommended that this be a special group
+just for the notes database and programs.
+.ft P
+.iz
+ANON.
+The name of the ``anonymous'' user.
+.iz
+ANONUID.
+The numeric userid of the ``anonymous'' user;
+this should be an idle user id since it is not allowed to
+run the notesfile program.
+.iz
+LIBDIR.
+The directory to contain ``libnfcom.a'', a user accessible library
+of routines.
+This is distributed as /usr/local/lib.
+.iz
+CFLAGS.
+You may wish to arrange for split I/D loading on a PDP-11
+(the -i flag).
+It may also be prudent to optimize the code (-O flag).
+If code size is an issue, remove the RCSIDENT definition;
+when defined, version control information is included in the
+binaries and they are correspondingly larger.
+.iz
+[finished editing]
+Makefile
+.iz
+[may need to become super-user at this point]
+.iz
+type ``make base''
+and assess its completion.
+It will tell you if all went well.
+.ft B
+If you are merely installing a new version of the notesfile code,
+you should type ``touch base'' instead of ``make base''.
+.ft P
+.iz
+Signon as notesfile ``owner''.
+While remaining super-user isn't a fatal flaw at this point, it
+does mean that several default notesfiles won't be generated.
+These can be created by hand if you forget.
+Nothing from this point on (including future code updates) requires
+super-user privileges.
+.iz
+cd src
+.iz
+.ft B
+If you are merely installing a new version of the code,
+type ``touch spool'' now. This tells the makefile that the spool
+directories already exist.
+.ft P
+.iz
+make boot.
+This is the final step, it should complete with a message
+that the system is installed.
+An error message when doing the ``mknf -on nfmaint nfgripes''
+probaby means you are still super-user.
+Don't sweat it; just become notes and type the ``mknf'' command
+line over. Everything is now fine.
+.iz
+You may have to be Super-User for the next step depending on the
+modes of your manual directory, /usr/man.
+.iz
+cd ../man.
+[the man page directory for notesfiles]
+.iz
+make install.
+to install the man(I) pages for the notesfile system.
+They are placed, by default, in the directories /usr/man/man1,
+/usr/man/man3, and /usr/man/man8.
+.iz
+Examine the ``Samples'' directory for templates of files normally
+in the notesfile utility directory.
+These files include shell scripts to run through cron(8) which
+queue network transmissions, expire old notes, and
+map between notesfiles and news.
+.iz
+Modify UUCP's ``uuxqt.c'' to allow remote execution of ``nfrcv''.
+This is unnecessary if no notesfile networking will be done
+or if another remote execution mechanism will be used.
+Some versions of UUCP have a file ``/usr/lib/uucp/L.cmds''
+which contains names of permitted commands.
+.iz
+Modify /etc/rc to remove notesfile locks at boot time.
+[4.2 BSD machines might prefer to use /etc/rc.local.]
+Add the command ``rm -f /usr/spool/notes/.locks/*''.
+.ez
+
+.a1 "Upgrading Existing Notesfile Databases"
+
+       Revision 1.7 of the notesfile system requires converting
+existing notesfile databases to a new format.
+A set of programs to accomplish this task are included in the
+distribution.
+The ``nfdump'' program converts notesfiles into an ASCII representation.
+The ``nfload'' program converts this ASCII representation back
+into a properly formatted notesfile.
+To convert an existing notesfile database, these steps are what I
+follow:
+
+.bz
+.iz
+Compile ``nfdump'' with the OLD notes distribution.
+If your version of the software is old enough not to have a copy
+of nfdump,
+I suggest you either try to adapt the version in the current 
+distribution or using the networking programs ``nfxmit'' and ``nfrcv''
+to get the information between the old and new databases.
+.iz
+Compile ``nfload'' with the NEW notes distribution.
+.iz
+cd /usr/spool/notes
+.iz
+mkdir .OLD
+.iz
+mv * .OLD
+.iz
+run the following script:
+.nf
+.br
+#! /bin/csh -f
+foreach i (`ls .OLD`)
+  echo $i start
+  nfdump-old /usr/spool/notes/.OLD/$i - | nfload-new $i
+  echo $i done
+end
+echo ALL DONE
+.fi
+.iz
+rm -rf .OLD
+.ez
+
+       You will also have to convert the sequencer information.
+In the ``utility/seq-cvt'' directory there are a pair of programs
+``seqtoascii'' and ``seqtobinary''.
+To convert the sequencer information:
+
+.bz
+.iz
+make ``seqtoascii'' using the OLD structs.h and parms.h.
+.iz
+make ``seqtobinary'' using the NEW structs.h and parms.h.
+.iz
+cd /usr/spool/notes/.sequencer
+.iz
+mkdir .OLD
+.iz
+mv * .OLD
+.iz
+run this shell script:
+.nf
+.br
+#!/bin/csh -f
+foreach i (`ls .OLD`)
+  echo $i
+  seqtoascii .OLD/$i | seqtobinary $i
+end
+echo ALL DONE
+.fi
+.iz
+rm -rf .OLD
+.iz
+If you are going to use the FULLDOMAIN option, you may want
+to go ahead and perform the following steps:
+.iz
+run this shell script, appropriately modified to reflect
+your domain setup.
+This one reflects the naming at UIUC.
+.nf
+.br
+#!/bin/csh -f
+foreach i (Sy:*)
+  echo $i
+  ln $i $i.UUCP
+  ln $i $i.Uiuc.ARPA
+end
+echo ALL DONE
+.fi
+.iz
+You have now converted your notesfile database to 1.7 format.
+Install the new binaries and fire away.
+.ex
+
+
+.a1 "Hints on Installing Notesfiles on Multiple Systems"
+
+       Notesfile binaries are portable across similar machines.
+User-id's and hostnames are determined by examining /etc/passwd
+and through system calls.
+
+       To install the Notesfile system on a network of like machines
+(a collection of 68000 workstations for example)
+one machine must go through the procedure detailed above.
+A shell script ``rinstall'' is included in the notesfile
+source directory.
+This shell script will propagate copies across the network.
+Rinstall is a simple script that assumes the correct
+hierarchies exist on the target machines.
+It was written to use the 4.2 BSD ``rcp'' and ``rsh'' programs
+to copy files and remotely execute commands.
+Different networking commands will require changes to the shell
+script.
+
+       To generate the proper hierarchies on other systems,
+copy the Makefile to each of the machines and make both
+``base'' and ``spool''.  This will create the proper files
+and directories for the notesfile system.
+Then return to the master machine and run the rinstall script
+to send binaries to each of the other machines.
+
+       The ``Samples'' directory of the Notesfile distribution
+contains example cron scripts for sending information between
+a network of systems running notesfiles.
+These shell scripts can prove helpful in setting up notesfile
+transmissions around your local network.
+
+.a1 "Mail to Notesfiles"
+
+       To use the nfmail program with the 4.1 BSD /etc/delivermail
+or the 4.2 BSD /usr/lib/sendmail
+insert lines of the following form in the file /usr/lib/aliases.
+
+.in +1i
+.nf
+somenotes: ``|/usr/spool/notes/.utilities/nfmail somenotes''
+gripes: ``|/usr/spool/notes/.utilities/nfmail problems''
+.fi
+.in
+
+.a1 "The Notesfiles/News Gateway"
+
+       The notesfile/news gateway may need a little more tickling to
+convince it to work properly. For more information on how to set this
+up properly, see section 3.5 (``Interfacing to News'') and look at
+the file `Src/newsgate.h'.
+Appendix B (``Interfacing Notesfiles to News'')
+is another source of information for connecting the two systems.
diff --git a/usr/othersrc/share/doc/usd/11.notes/acks b/usr/othersrc/share/doc/usd/11.notes/acks
new file mode 100644 (file)
index 0000000..52baead
--- /dev/null
@@ -0,0 +1,63 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)acks        6.2 (Berkeley) 4/17/91
+.\"
+.rm PA
+.bp
+\ \ 
+.sp |3i
+.ce 99
+Acknowledgments
+.ce 0
+
+       A number of people have been very helpful in bringing
+the notesfile syste to its current state.
+Rob Kolstad first brought up the idea of implementing notesfiles
+on UNIX.
+Malcolm Slaney and Brian Redman 
+both used the program before it was close to being ready and
+offered numerous suggestions and corrections.
+Lou Salkind and Rick Spickelmier
+put much effort into
+generalizing the command parsing and adding
+features I've forgotten to mention.
+Tw Cook first implemented USENET-compatible headers for
+the notesfile/news gateway.
+
+       To all of these people, I give my hearty thanks for helping
+to make this system what it is:
+a convenient tool for
+user communications,
+personal notebooks,
+project workbooks,
+and 
+discussion management.
diff --git a/usr/othersrc/share/doc/usd/11.notes/b.interface b/usr/othersrc/share/doc/usd/11.notes/b.interface
new file mode 100644 (file)
index 0000000..9e765db
--- /dev/null
@@ -0,0 +1,462 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)b.interface 6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.ap B "Interfacing Notesfiles to News"
+
+       The News system provides functions similar to
+those provided by the Notesfile system.
+It is possible to gateway articles between the two systems.
+In USENET, a common configuration is for several notesfiles
+sites to form a subnetwork of USENET and
+gateway articles between the local notesfile network and
+the rest of USENET.
+These articles propogate across USENET in the news system.
+Article originating in the news system are gatewayed into
+the notesfile network.
+When several notesfile networks exist as subnetworks of
+a larger news network (such as USENET), articles written
+in one notesfile network will be correctly interpreted
+when arriving at another notesfile network.
+``Correctly'' interpreted includes proper linking of
+responses to their true parents;
+this is sometimes not possible with articles written in the
+news system.
+
+       The notesfile gateway code recognizes articles meeting
+the USENET standards.
+Additionally, the A-news protocol and older B-news protocols
+are recognized.
+Incoming (news \(-> notes) articles are parsed and placed in the
+appropriate notesfiles.
+Articles written within a notesfile subnetwork are formatted according
+to USENET standards and transmitted to the news system.
+
+.a1 "Configurations for Sites without News"
+
+       Sites running notesfiles without the news program have
+several possible configuations.
+If your site is part of a notesfile subnetwork and you wish to
+have your articles gatewayed to the news system and the
+rest of USENET, you must find a site who will act as a 
+gateway for your articles.
+The gateway code performs its task in such a way as to allow
+several sites to gateway the same article into the news system;
+the multiple copies will have identical unique identifiers 
+and one copy will be canceled when they meet on a remote system.
+
+.a2 "Sites with no News Neighbors"
+
+       If you have no immediate neighbor running news, there is
+no particular action you should take other than to reassure
+yourself that some site in the notesfile subnetwork is gatewaying
+notes-generated articles to the news system.
+This can be done in one of several ways.
+If the site wants to gateway articles specifically from your
+machine, the following command should be executed on that site
+occasionally. This is typically done through cron(8).
+
+       newsoutput -syoursite notesfile-list
+
+A more typical arrangement is where the gateway site sends all
+notes-generated articles that arrive on its system into the 
+news system.
+In this case, the gateway site will execute a command such as 
+the following:
+
+       newsoutput -a notesfile-list
+
+A site gate using this command line will automatically gateway
+articles written at your site and eliminates the need of running
+a command similar to the first command line.
+
+
+.a2 "Sites with Neighbors running News"
+
+       If a neighboring system runs both notes and news, you
+have the option of gatewaying your own articles or allowing
+the neighbor to gateway articles for you.
+If the neighbor does not run the notesfile system, you must
+provide your own gateway functions.
+
+       Gatewaying can be done similarly to the site without
+a news neighbor.  You can let your articles propogate across
+a notesfile network to a gateway site which will send them
+to the news system.
+Another option is to gateway your articles,
+and possibly any notesfile-generated articles,
+into the news system at the neighboring site.
+This gets your articles into USENET as quickly as possible.
+The two options are not mutually exclusive;
+you can gateway your own articles and allow another site to
+gateway them.
+When copies of the same article meet on a news system, the
+extra copy will be removed from the network.
+
+       To gateway articles into news, you must modify the
+file
+/usr/spool/notes/.utilities/net.how
+to tell the newsoutput
+program how to get to the news system.
+More information on this can be found in the section
+``Copying Notesfiles to News'' later in this appendix.
+
+       To gateway from the news system to the notesfile
+system, you must arrange to have the news system at the remote
+site send articles as standard input to the program
+/usr/spool/notes/.utilities/newsinput 
+on your system.
+
+       Information on mapping functions between notesfiles
+and news, how to configure a news system to send articles to
+a notesfile system,
+and
+how to have a notesfile system send articles to a news system
+can be found later in this appendix.
+
+.a1 "Configurations for Sites running News"
+
+       A site running both notesfiles and news will typically
+perform gateway functions in both directions,
+from the notesfile system to the news system
+and
+from the news system to the notesfile system.
+In these cases all the operations are local.
+
+.a1 "Gatewaying between Notesfiles and News"
+
+       The two notesfile programs ``newsoutput'' and ``newsinput''
+perform gatewaying between notesfile and news systems.
+Newsoutput takes notesfile-generated articles, formats them,
+and hands them to the news system.
+Newsinput takes articles from the news system and inserts
+them in the notesfile system.
+
+.a2 "Copying News to Notesfiles"
+
+       The news system maintains ``subscription lists'' for
+each neighboring system.
+The subscription list is stored in the file /usr/lib/news/sys
+on a B-news system.
+On an A-news system, the subscription list is in 
+/usr/spool/news/.sys
+
+       News feeds articles to neighboring systems as they 
+arrive.
+In many cases, the article is queued for transmission.
+In other cases, the article is given to a batching program
+which collects a number of articles for transfer
+and sends them to an appropriate un-batching program at
+the receiving end.
+
+       In the case where the notesfile system resides on another
+machine, the news subscription line should be generated similarly
+to that for a normal news feed with several exceptions.
+The first is that the newsinput program does not understand about
+batching; articles must be sent one at a time.
+Also, one must specify the method of transmitting the article.
+To feed the system ``somesite'' with news, the
+neighbor will add a line of the following form to his /usr/lib/news/sys:
+
+       somesite:subscription::uux - -n somesite!/usr/spool/notes/.utilities/newsinput
+
+Of course, networks other than UUCP can be used.
+
+       To forward to a notesfile system on the same machine as the
+news system, create a pseudo site which doesn't exist elsewhere
+(a sitename such as ``nf_sys'' works), and add a line like:
+
+       nf_sys:subscription::/usr/spool/notes/.utilities/newsinput
+
+Articles arriving at the local system will now be forwarded to
+the notesfile system.
+By default, news articles are placed in notesfiles with the
+same name.
+To map newsgroups to particular notesfiles, see the later
+section ``Naming Notesfiles and Newsgroups''.
+
+.a2 "Copying Notesfiles to News"
+
+       The newsoutput program transfers notesfile-generated
+articles from the notesfile system to a news system.
+The news system does not have to be on the same machine.
+
+       Newsoutput accepts parameters telling it to gateway
+articles from specific systems or any system.
+Additional options allow backwards compatible
+headers for older versions of the notesfile software.
+A typical newsoutput invocation looks like:
+
+       newsoutput -a notesfile-list
+
+The -a parameter indicates that notesfile generated articles
+from any site are to be sent to the news system.
+Under no circumstances will newsoutput transfer an article
+to the news system if it has passed through the news system
+before.
+Thus if a notes generated article passes from one notesfile
+subnetwork to another through the news system, the 
+article will not be sent into the news system by anyone in 
+the second notesfile subnetwork.
+
+       The ``notesfile-list'' can contain a mixture of
+specific notesfiles, wild-card specifications (net.*),
+or ``-f file'' parameters which specifies a file
+containing a list of notesfiles to send.
+
+       Alternatively, articles for only one system can be
+gatewayed with a command line of the form:
+
+       newsoutput -ssitename notesfile-list
+
+This invocation method maintains a sequencer for each system;
+the -a option maintains a single global sequencer.
+
+       A third invocation method of newsoutput uses the
+``-c'' option and specifies a specific set of systems to
+gateway articles for.  The command looks like:
+
+       newsoutput -c gateway-site-file notesfile-list
+
+The ``gateway-site-file'' specifies a file containing a list
+of sitenames.
+Articles written at any of these sites are gatewayed to the
+news system.
+Thus newsoutput has the ability to send articles to news
+for a single system, several systems, or any system.
+
+       Newsoutput assumes that a news system is installed
+on the local system.
+If the news system is in a non-standard location on the
+local system or
+the news system is on a different machine, newsoutput
+can be told where to send articles.
+The file /usr/spool/notes/.utilities/net.how contains
+command templates for notesfile networking.
+To specify a non-standard place for the ``rnews'' program,
+add a line of the form:
+
+       Usenet:x:::uux - -n myneighbor!/usr/bin/rnews
+
+Non-UUCP connections and the like can be specified.
+
+.a2 "Naming Notesfiles and Newsgroups"
+
+       Notesfiles and newsgroups for the same topic can have
+different names.
+Notesfiles are currently limited in the last component of
+their name to the length of a filename;
+under V7, System III, System V, and 4.1 Bsd this is 14
+characters.  4.2 Bsd extends the length of a filename
+to a maximum of 255 characters per component.
+Newsgroup names are no longer limited in total length;
+the only restriction in current news versions is
+that each component (between .'s) is unique in
+the first 14 characters.
+
+       The file ``/usr/spool/notes/.utilities/newsgroups''
+defines the relationships between notesfiles and newsgroups.
+Lines in the file have the general form:
+
+       notesfile:base_newsgroup:respone_newsgroup
+
+Lines beginning with the ``#'' character are considered
+comment lines.
+The ``response_newsgroup'' field and the colon separating
+it from the base_newsgroup field are optional.
+
+       Entries in this file need be made for only a few reasons:
+(1) The newsgroup which matches the notesfile is longer than fourteen
+characters,
+(2) the notesfile and the newsgroup are different names
+(e.g. the notesfile `Bnews' can be linked to the newsgroup `net.news.b'
+with an entry of `Bnews:net.news.b'),
+(3) you want several newsgroups linked to a single notesfile,
+and
+(4) notes and responses from a notesfile should go to
+different newsgroups (net.general/net.followup is one example).
+The file is scanned from the beginning until EOF or a match is found.
+When no match is found, the code returns the original argument as if
+it had matched itself.
+The process is similar to having placed a sentinel line of the
+form:
+
+       myarg:myarg
+
+at the end of the file.
+
+       The optional third field in the line is used to send 
+notes and responses from a notesfile to separate newsgroups.
+The net.general/net.followup convention is an example of
+how this would be used.
+Typically the net.general and net.followup newsgroups are
+mapped into the same notesfile.
+To preserve peace with news users, responses written in a
+notesfile `net.general' should go to the newsgroup `net.followup'.
+The following pair of lines will map all news from net.general
+and net.followup into the notesfile net.general. 
+Base notes from the notesfile net.general will go to the newsgroup
+net.general;
+responses in the net.general notesfile will be sent to
+the net.followup newsgroup.
+
+.nf
+       net.general:net.general:net.followup
+       net.general:net.followup
+.fi
+
+The first line maps news in net.general to the notesfile net.general.
+It also does the mapping from notesfiles to newsgroups.
+The second line maps news from net.followup into the notesfile
+net.general.
+Note that the response field is not used in the mapping from
+newsgroups to notesfiles; it is used only for mapping notesfile
+responses into a different newsgroup.
+
+       To map several newsgroups into the same notesfile, 
+place lines of the following form in the ``newsgroups'' file:
+
+.nf
+       somenotesfile:newsgroup1
+       somenotesfile:newsgroup2
+.fi
+
+If you wish to have articles from the notesfile ``somenotesfile''
+go to both of the newsgroups, insert a line before the above lines
+to map articles going to notesfiles.
+The result would look like:
+
+.nf
+       somenotesfile:newsgroup1,newsgroup2
+       somenotesfile:newsgroup1
+       somenotesfile:newsgroup2
+.fi
+
+The first line is the one used for articles going from notesfiles
+to news; the newsgroups specification ``newsgroup1,newsgroup2''
+is used on those articles.
+Articles coming from the newsgroup ``newsgroup1'' will fail to
+match the first line, since the program expects exact matching.
+They will match the second line and be mapped to the 
+notesfile ``somenotesfile''.
+
+.a1 "Typical Configurations"
+
+       A typical notesfile subnetwork contains a number of
+pure notesfile sites and several sites running both news and
+notesfiles.
+In these situations, some subset of the sites running
+both notes and news
+act as gateway sites.
+The pure notesfile sites don't concern themselves with 
+gateway operations.
+The gateway sites typically gateway all notes-generated
+articles to news.
+Duplicate articles, gatewayed at several sites,
+will propogate across the news network.
+When two or more of these articles meet at some site, the
+superflous copy will be removed from the network.
+
+       If none of the sites in the notesfile subnetwork
+run the news program,
+the gateway site will be one or more of the sites having
+neighbors that do run news.
+These gateway sites will run newsoutput and direct the
+output to the news site by making the appropriate
+entry in /usr/spool/notes/.utilities/net.how
+for the pseudo-site ``Usenet''.
+
+.a1 "News Gateway Installation Checklist"
+
+       The following checklist covers the variables in the
+``newsgate.h'' file which may need to be changed on your system.
+It also mentions which files to modify to automate the transfer
+of articles between the two systems.
+
+.bz
+.iz
+[edit] src/newsgate.h
+.iz
+MYDOMAIN.
+This should be set to the domain your site is in.
+Typical domains are ``UUCP'' and ``ARPA''.
+.iz
+DFLTRNEWS.
+The news receiving program. 
+This can normally be left as is;
+alternate news insertion methods can be specified
+with more flexibility through the net.how file.
+.iz
+EXPANDPATH.
+If defined, the code looks in the file specified
+by PATHMAP for a route to an author's system.
+The code which does this is in ``src/newspath.c''
+and expects a particular format in the PATHMAP 
+file.
+You may wish to replace it with code of your own if
+your data base is in a different format.
+.iz
+PATHMAP.
+This is the full pathname of the routing tables
+used if EXPANDPATH is defined.
+.iz
+[finished editing] src/newsgate.h
+.iz
+make newsouput newsinput.
+This will recompile the notesfile/news gateway programs.
+.iz
+Check /usr/lib/news/sys
+to see that news will be forwarded to the notesfile system.
+.iz
+Make entries in /usr/lib/crontab to
+invoke newsoutput occcasionally.
+We use every 6 hours.
+.iz
+If the news system is on another machine or in a non-standard
+place,
+modify 
+/usr/spool/notes/.utilities/net.how.
+Add a pseudo-site ``Usenet'' which specifies how to
+get to the remote machine.  One example is:
+.br
+       Usenet:x:::uux - -z neighbor!/usr/bin/rnews
+.iz
+Check /usr/spool/notes/.utilities/newsgroups.
+A sample of how this file will look is included in the
+``Samples'' directory of the distribution.
+.iz
+Everything should be configured now.
+You will probably want to run several tests on local
+or limited distribution newsgroups to satisfy yourself
+that it works.
+.ez
diff --git a/usr/othersrc/share/doc/usd/11.notes/c.changes b/usr/othersrc/share/doc/usd/11.notes/c.changes
new file mode 100644 (file)
index 0000000..d7b7fab
--- /dev/null
@@ -0,0 +1,412 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)c.changes   6.2 (Berkeley) 4/17/91
+.\"
+.ls 1
+.ap C "Distributed Revisions of the Notesfile System"
+
+       Several revisions of the Notesfile System are available.
+This appendix attempts to describe the differences between
+each revision and the previous one.
+
+.a1 "Previous Revisions"
+
+       The Notesfile System was first distributed in June 1982.
+Since then it has gone through a number of internal revisions
+and several major revisions.
+The initial 1.0 revision had numerous bugs in the code and
+inadequacies for interfacing with the news system.
+Release 1.3 (the most recently ``announced'' release)
+became available in March 1983.
+
+       Revisions are maintained with the RCS system.
+Major releases are number 1.1, 1.2, 1.3 ... 1.x.
+Internal modifications are numbered off of the base revision.
+Internal revisions between 1.2 and 1.3 are of the form
+1.2.1.x.
+All files in a distribution will have the same major
+revision number; files modified since the major
+release will an internal revision number based off the major
+revision number.
+
+.a1 "Revision 1.5"
+
+       Revision 1.5 is an intermediate revision.
+Revision 1.4 was stillborn.
+It's primary purpose was to integrate a number of useful 
+modifications sent in by notesfile users.
+A number of recent 1.5+ distributions have almost the same
+functional differences from previous revisions as the newer
+revision 1.6 code.
+
+.a1 "Revision 1.6"
+
+       Revisions 1.6 of the Notesfile system includes a number
+of changes.  Numerous bugs in the code were repaired.
+Several functional differences are also evident in 
+this revision of the code.
+Major changes are listed below in chronological order.
+To see what has changed since you received your copy of the code,
+find the first date after you received your distribution 
+and read from there.
+
+Fall 1983:
+
+.bx
+.ix
+Archival techniques are more refined.
+Previous revisions determined the age at which to expire notesfiles
+from the nfarchive command line.
+Each notesfile now contains its own `expiration threshold'.
+This threshold can be set to an arbitrary time (3 days),
+default to the value specified on the nfarchive command line,
+or
+specify never to archive the notesfile.
+These options allow expiration of the entire ``net.*'' collection
+of notesfiles with the single command line `nfarchive net.*'.
+Shorter duration notesfiles (maybe net.jokes) can be explicitly
+set to a few days; notesfiles like net.bugs can be set to `never'.
+The remaining notesfiles might be set to `default'.
+A program `expirechange' is provided in the utility subdirectory
+of the distribution to initialize the expiration threshold of
+existing notesfiles.
+This is recommended because the previously
+unused field may contain garbage values.
+.ix
+A simple program `namechange' is included in the utility
+directory to change the name within the data base.  If you
+pick up copies of the data base and set them down on
+other systems this program will change the name of the system
+the data base thinks it is on for you.
+.ix
+Alignment within the notesfile descriptor structure caused
+me to remove 6 bytes of filler when adding a `long' to the
+structure.
+The size of the structure must be constant.
+The program in utility/structsizes.c prints the sizes of
+each of the possibly affected structures.
+It would be prudent to compile and execute this program
+once with the old structure definitions and once with the
+new definitions to ensure that the structures are the same size.
+Someday a notesfile dump/load program will be written that
+makes this worry disappear.
+.ix
+Mapping notes out to the news system is more sophisticated.
+The new scheme allows a notesfile to send base notes to
+one newsgroup and responses to another newsgroup.
+This is solely for the net.general/net.followup pair.
+See the section ``Copying Notesfiles to News'' for a
+more detailed explanation of this feature.
+.ix
+Binaries are portable.
+With Unix kernels supporting the ``uname'' or ``gethostname''
+system call the code determines the host at runtime.
+The code now also looks for the notesfile owner in /etc/passwd
+to dynamically determine the `notesuid'.
+As an example, a local network of Vaxen all running 4.1a Bsd
+can run the same binary even if the `notes' user id
+varies between machines.
+Eventually it would be nice to have a single binary handle all
+4.1a Vaxen, another for all 4.2 Vaxen, a third be adequate
+for all USG 5.0 3b-20's.
+(This does not mean that distributions will be binary only
+but rather that a local administrator will be able to compile
+once and ship copies of the binaries around with a simple shell
+script).
+.ix
+The ``rinstall'' shell script updates the notesfile binaries
+on a remote system.
+It assumes that the local binaries will work on the remote
+machine (don't rinstall from a Vax to a PDP-11).
+The script uses the 4.1a `rcp' and `rsh' facilities to
+perform the FTP and set modes on the remote files.
+.ex
+
+December 1983:
+
+.bx
+.ix
+Notesfiles can be specified as absolute pathnames.
+Commands such as ``notes /some/place/mynotes''
+are now legal.
+An anticipated modification will allow search rules for
+notesfiles similar to those command search rules used
+by many shells.
+.ix
+Archives are stored as notesfiles.
+Now that a notesfile can be specified by an absolute
+pathname, archives are stored in notesfile format.
+Access to archives can be either by explicit reference
+or through the new ``N'' command which automatically
+nests to the archive of the current notesfile.
+.ix
+Nfarchive now understands about ``working sets''.
+The working set is the minimum number of notes left in
+the active notesfile after an archive run.
+.ix
+Archive destinations are mapped.
+A file in the notes utility directory (.utilities/net.aliases/Archive-into)
+maps from active notesfiles to their respective archives.
+This file contains absolute pathnames.
+(/usr/spool/notes/somenotes instead of somenotes).
+.ix
+The beginnings of permission modes for an archive are there.
+Currently only directors are allowed to write in an 
+archive notesfile.
+Some more work on copying permission lists and 
+other information particular to the notesfile must be done.
+.ix
+The director page now contains information about
+the number of ``holes'' (deleted notes and responses)
+in a notesfile.
+This is useful for determining the need to compress a 
+notesfile.
+.ex
+
+January 1984:
+
+.bx
+.ix
+Each notesfile can now override the nfarchive command line options
+for archiving/deleting expired notes and for expiring notes
+on the basis of the director message status.
+The director options page offers options to modify these fields.
+The ``default'' value specifies using the value supplied on
+the nfarchive command line.
+.ix
+The director option page has been rearranged.  More information is
+displayed, more options are processed.
+Many of the changes are cosmetic and oriented towards helping
+the user figure out what is happening.
+.ix
+The 4.2 Bsd release of Unix now has its own kernel definition.
+Some of the new features of 4.2 Bsd are thus included.
+This includes longer filenames and (faster) advisory locking.
+.ix
+4.2 Bsd (and 4.1a) allow processes to belong to
+multiple groups.
+The notesfile code now uses all of these groups to
+determine access rights.
+For example, a user belongs to
+groups ``alpha'', ``beta'' and ``gamma''.
+Group ``alpha'' has read permission, group ``beta'' has
+write permission, and group ``gamma'' has no specific
+permissions (it's covered in the ``Other'' clause).
+The user is given the inclusive OR of his permissions:
+in this case he is given read/write privileges.
+The default ``Other'' group is used only when none of the
+user's groups are explicitly named in the permission list.
+Explicit permissions for users still takes precedence
+over group permissions.
+.ex
+
+February 1984:
+
+.bx
+.ix
+The networking software and the statistics printing package
+now keep track of how many orphans are adopted by their true
+parent.
+This lets us determine how many base notes are actually lost
+and how many show up behind their children.
+.ix
+The nfaccess program
+allows simple and quick editing of access lists for a number
+of notesfiles.
+Nfaccess functions similarly to chmod(1),
+you supply an access right and a list of notesfiles to apply it
+to.
+The new access right is placed in the access list of each notesfile
+specified.
+In the event of an existing access right, the new right replaces
+the old one.
+.ix
+The code now understands about the extra work it must to
+to function properly under the 4.2 Bsd signal semantics.
+.ix
+Nfabort provides user programs with a means of
+leaving core dumps in specified places and logging
+the fact with an arbitrary message in a notesfile.
+The notesfile code itself uses this routine when trapping
+internal errors.
+.ix
+Finally added the `l', `L' and `z' commands from Lou Salkind
+and Rick Spickelmier.
+The `l'-`L' pair mimic the `j'-`J' pair with the exception that
+when no unread notes are left, the l/L commands leave the notesfile.
+Thus `l' is almost a `jq' command.
+.ix
+The ! notesfile exclusion feature first implemented by Salkind
+and Spickelmier is now in this revision.
+Constructs like:
+.br
+       notes ``net.*'' !net.general
+.br
+are possible.
+This example specifies all ``net.'' notesfiles except net.general.
+.ix
+Alternate sequencers are now available.  An alternate
+sequencer allows users sharing the same signon to maintain
+separate sequencer files.
+.ex
+
+March 1984:
+
+.bx
+.ix
+Revision 1.6.2 created. Needed some distinction since 1.6 was
+getting rather long lived and we weren't ready to call it
+1.7 yet.
+.ix
+Each notesfile now enforces its own
+limit on the size of single notes and responses.
+This is initialized to a default value when the notesfile is
+created and can be changed from the director options page.
+Articles longer than the permitted maximum are truncated and
+have a message appended detailing how many bytes were ignored
+and the name of the site where it occurred.
+.ix
+Customized access lists are generated when each notesfile is created.
+The file `/usr/spool/notes/.utilities/access-template', if it
+exists, is used to modify the default access list when a notesfile
+is created.  This file contains ASCII specifications of access rights
+in the same form as used on the nfaccess command line. Lines in
+this file beginning with `#' are considered comments.
+.ix
+Author searching now understands about substrings. You no longer
+have to match exactly an author.
+Thus an author search would find articles written by
+a user ``mark'' on any machine,
+a user ``hallmark'' on any machine,
+and 
+any user on the ``market'' machine.
+.ix
+The notes/news interface has been rewritten.
+The news->notes code now understands all of the USENET standards
+for B-news 2.10.
+Newsinput understands about the References line.
+The notes->news code generates articles acceptable to the
+rest of USENET.
+.ex
+
+December 1984:
+
+.bx
+.ix
+The nfmail
+program has been re-written to understand about how to link
+responses into a notesfile. This means nfmail is now a viable
+way to have your incoming mail handled. After a little
+more work is done, it will handle outgoing mail via the ``p''
+command equaly well.
+.ix
+Notes now runs set-gid. This solves some privilege problems
+with set-uid programs such as signal delivery. It also
+makes it easier for users to kill their jobs.
+Thanks go to Lou Salkind for pointing this out long ago; I
+just took a long time to realize it.
+.ex
+
+.a1 "Revision 1.7"
+
+       The long ago promised revision 1.7 of the notesfile
+code is finally a reality.
+This version incorporates many of
+the features promised, and a few that weren't.
+I thought about merely changing things from revision 1.6.2 to
+1.6.3, but there was a change in the database format and I 
+decided a more drastic change in name was called for to match
+the database format change.
+
+       To upgrade to revision 1.7 from a previous revision (even 
+the last 1.6.2 revisions) requires a dump/load sequence with
+the ``nfdump'' and ``nfload'' programs.  The man pages for
+these programs give more information on how to carry out this
+procedure.
+
+       In addition to changing the format of the notesfile
+database, you must convert the format of the sequencer files.
+To do this, look at the programs ``seqtoascii'' and ``seqtobinary''
+in the ``utility/seq-cvt'' directory of the notesfile distribution.
+Appendix A also contains information on how to convert the
+sequencer files and database.
+
+       These changes took place during December of 1984 and 
+include the following differences from the 1.6.2 revision of
+the notesfile code.
+
+.bx
+.ix
+The author structure for a note/response now contains the home system
+name.
+This provides the ability for gateway machines
+to assign message-id's as needed without worrying about corrupting
+the author's home system.
+It also comes in handy within the context of the nfmail
+program:  nfmail can now report a true author for letters
+and still assign a unique identifier based on the local system.
+.ix
+Timestamps for articles are now stored in the standard UNIX
+format: seconds since 00:00 GMT, January 1, 1970.
+The code recognizes (and stores) both formats and will present
+either format as needed.
+.ix
+Notes now supports full domain based addressing.
+The nfxmit program expects a full doman address (e.g., ``uiucdcs.uiuc.arpa''),
+unique id and system information is generated with full domain
+information,
+and
+the notesfile/news gateway now generates complete domain addressing
+information.
+.ft B
+These changes require some care in upgrading from previous releases
+of the notesfile system.
+.ft P
+.ex
+
+.a1 "On the Blackboard"
+
+       The primary motivation for more work on the code
+is to eliminate known bugs.
+Integrating other's modifications into my code has taken
+a lower priority.
+
+       Sometime down the road, I hope to gather up all the
+lessons learned from this first version
+and 
+design a second implementation.
+Issues to be considered in the second implementation include:
+shared notesfile data bases between several hosts,
+different user-interfaces (notes-like, readnews-like),
+notesfile servers,
+and 
+interfacing with extant systems.
diff --git a/usr/othersrc/share/doc/usd/11.notes/vtoc b/usr/othersrc/share/doc/usd/11.notes/vtoc
new file mode 100644 (file)
index 0000000..0101c93
--- /dev/null
@@ -0,0 +1,76 @@
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"    @(#)vtoc        6.2 (Berkeley) 4/17/91
+.\"
+.de hh\r
+'sp |1i
+..\r
+.bp
+#
+.bp
+.ev 1\r
+.ls 1\r
+.ce 1\r
+.ft B
+TABLE OF CONTENTS
+.ft P
+.sp 1
+.ta 6i
+.nf
+\*(vt\r
+
+.ft B
+APPENDICES
+.ft P
+.nf
+.sp
+\*(va
+.ig
+.bp\r
+.sp 5\r
+.ce 1\r
+.ft B
+List of Figures\r
+.ft P
+\r
+\*(f1\r
+\r
+\r
+.ig\r
+.ce 1\r
+.ft B
+List of Tables\r
+.ft P
+\r
+\*(t1\r
+..\r
+.ev\r