Add HISTORY.
[netbsd-mini2440.git] / share / doc / usd / Title
blob0cd6611597ce44dad15ff7a50915cf7b67dc00d0
1 .\"     $NetBSD: Title,v 1.2 1998/01/09 06:55:56 perry Exp $
2 .\"
3 .\" Copyright (c) 1986, 1993, 1994 The Regents of the University of California.
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\"    may be used to endorse or promote products derived from this software
16 .\"    without specific prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" SUCH DAMAGE.
29 .\"
30 .\"     @(#)Title       8.4 (Berkeley) 8/8/94
31 .\"
32 .af % i
33 .nr LL 6.5i
34 .EH ''''
35 .OH ''''
36 .EF ''''
37 .OF ''''
39 .sp |1.5i
40 .nr PS 36
41 .nr VS 39
42 .LP
43 .ft B
44 .ce 3
45 4.4BSD
46 User's
47 Supplementary Documents
48 .nr PS 24
49 .nr VS 32
50 .LP
51 .ft B
52 .ce 1
53 (USD)
54 .bp
56 .sp |0.83i
57 .nr PS 14
58 .nr VS 16.5
59 .LP
60 Now in its twentieth year, the USENIX Association,
61 the UNIX and Advanced Computing Systems professional and technical organization,
62 is a not-for-profit membership association of individuals and
63 institutions with an interest in UNIX and UNIX-like systems,
64 and, by extension, C++, X windows, and other advanced tools and technologies.
65 .LP
66 USENIX and its members are dedicated to:
67 .IP \(bu
68 fostering innovation and communicating research and technological developments,
69 .IP \(bu
70 sharing ideas and experience relevant to UNIX,
71 UNIX-related, and advanced computing systems, and
72 .IP \(bu
73 providing a neutral forum for the exercise of critical
74 thought and airing of technical issues.
75 .LP
76 USENIX publishes a journal (\fBComputing Systems\fP),
77 a newsletter (\fI;login:\fP),
78 Proceedings from its frequent Conferences and Symposia,
79 and a Book Series.
80 .LP
81 SAGE, The Systems Administrators Guild, a Special Technical Group with
82 the USENIX Association, is dedicated to the advancement of system
83 administration as a profession.
84 .LP
85 SAGE brings together systems managers and administrators to:
86 .IP \(bu
87 propagate knowledge of good professional practice,
88 .IP \(bu
89 recruit talented individuals to the profession,
90 .IP \(bu
91 recognize individuals who attain professional excellence,
92 .IP \(bu
93 foster technical development and share solutions to technical
94 problems, and
95 .IP \(bu
96 communicate in an organized voice with users, management, and vendors
97 on system administration topics.
98 .bp
100 .sp |1i
101 .nr PS 36
102 .nr VS 39
104 .ft B
105 .ce 3
106 4.4BSD
107 User's
108 Supplementary Documents
109 .nr PS 24
110 .nr VS 32
112 .ft B
113 .ce 1
114 (USD)
115 .sp 1i
116 .nr PS 24
117 .nr VS 26
119 .ft B
120 .ce 1
121 Berkeley Software Distribution
122 .nr PS 18
123 .nr VS 26
125 .ft B
126 .ce 1
127 April, 1994
128 .sp 1i
129 .nr PS 18
130 .nr VS 20
132 .ft B
133 .ce 2
134 Computer Systems Research Group
135 University of California at Berkeley
136 .sp 2.25i
137 .nr PS 12
138 .nr VS 14.5
140 .ft B
141 .ce 4
142 A USENIX Association Book
143 O'Reilly & Associates, Inc.
144 103 Morris Street, Suite A
145 Sebastopol, CA 94572
147 .hy 0
148 .nr PS 9
149 .nr VS 11
151 First Printing, 1994
153 Second Printing, 1995
154 .sp 2
156 Copyright 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
157 The Regents of the University of California.  All rights reserved.
158 .sp 2
160 Other than the specific manual pages and documents listed below
161 as copyrighted by AT&T,
162 redistribution and use of this manual in source and binary forms,
163 with or without modification, are permitted provided that the
164 following conditions are met:
165 .IP 1)
166 Redistributions of this manual must retain the copyright
167 notices on this page, this list of conditions and the following disclaimer.
168 .IP 2)
169 Software or documentation that incorporates part of this manual must
170 reproduce the copyright notices on this page, this list of conditions and
171 the following disclaimer in the documentation and/or other materials
172 provided with the distribution.
173 .IP 3)
174 All advertising materials mentioning features or use of this software
175 must display the following acknowledgement:
176 ``This product includes software developed by the University of
177 California, Berkeley and its contributors.''
178 .IP 4)
179 Neither the name of the University nor the names of its contributors
180 may be used to endorse or promote products derived from this software
181 without specific prior written permission.
183 \fB\s-1THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
184 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
185 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
186 ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
187 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
188 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
189 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
190 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
191 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
192 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
193 SUCH DAMAGE.\s+1\fP
194 .sp 2
196 Documents USD:1, 2, 3, 5, 6, 9, 10, 15, 16, 17, 21, 22, 23, 24, 25, 26, 27,
197 and 29 are copyright 1979, AT&T Bell Laboratories, Incorporated.
198 Holders of \x'-1p'UNIX\v'-4p'\s-3TM\s0\v'4p'/32V,
199 System III, or System V software licenses are
200 permitted to copy these documents, or any portion of them,
201 as necessary for licensed use of the software,
202 provided this copyright notice and statement of permission
203 are included.
204 .sp 2
205 Documents USD:8, 14, and 28 are part of the
206 user contributed software.
207 .sp 2
209 The views and conclusions contained in this manual are those of the
210 authors and should not be interpreted as representing official policies,
211 either expressed or implied, of the Regents of the University of California.
212 .sp 2
214 The 4.4BSD Daemon used on the cover is
215 copyright 1994 by Marshall Kirk McKusick
216 and is reproduced with permission.
218 This book was printed and bound in the United States of America.
220 Distributed by O'Reilly & Associates, Inc.
221 .sp 2
222 .IP "[recycle logo]" 16
223 This book is printed on acid-free paper with 50% recycled content,
224 10-13% post-consumer waste. O'Reilly & Associates is committed to
225 using paper with the highest recycled content available consistent
226 with high quality.
228 .sp 2
229 ISBN: 1-56592-076-7
231 .OH '\s10Contents''- % -\s0'
232 .EH '\s10- % -''Contents\s0'
234 .sp |1.5i
235 .nr PS 24
236 .nr VS 26
238 .ce 1
239 \fBContents\fP
240 .sp 1
241 .nr PS 12
242 .nr VS 14
244 .tl 'Introduction''ix'
247 Getting Started
250 .tl 'Unix for Beginners \- Second Edition''tabbed 1'
252 An introduction to the most basic uses of the system.
255 .tl 'Learn \- Computer\-Aided Instruction on UNIX (Second Edition)''tabbed 2'
257 Describes a computer-aided instruction program that walks new users through
258 the basics of files, the editor, and document prepararation software.
261 Basic Utilities
264 .tl 'An Introduction to the UNIX Shell''tabbed 3'
266 Steve Bourne's introduction to the capabilities of 
267 .I sh,
268 a command interpreter especially popular for writing shell scripts.
271 .tl 'An Introduction to the C shell''tabbed 4'
273 This introduction to
274 .I csh,
275 (a command interpreter popular for interactive work) describes many 
276 commonly used UNIX commands, assumes little prior knowledge of UNIX,
277 and has a glossary useful for beginners.
280 .tl 'DC \- An Interactive Desk Calculator''tabbed 5'
282 A super HP calculator, if you do not need floating point.
285 .tl 'BC \- An Arbitrary Precision Desk-Calculator Language''tabbed 6'
287 A front end for DC that provides infix notation, control flow, and 
288 built\-in functions.
291 Communicating with the World
294 .tl 'Mail Reference Manual''tabbed 7'
296 Complete details on one of the programs for sending and reading your mail.
299 .tl 'The Rand MH Message Handling System''tabbed 8'
301 This system for managing your computer mail uses lots of small programs, 
302 instead of one large one.
305 Text Editing
308 .tl 'A Tutorial Introduction to the Unix Text Editor''tabbed 9'
310 An easy way to get started with the line editor, 
311 .I ed.
314 .tl 'Advanced Editing on Unix''tabbed 10'
316 The next step.
319 .tl 'An Introduction to Display Editing with Vi''tabbed 11'
321 The document to learn to use the \fIvi\fR screen editor.
324 .tl 'Ex Reference Manual (Version 3.7)''tabbed 12'
326 The final reference for the \fIex\fR editor.
329 .tl 'Vi Reference Manual''tabbed 13'
331 The definitive reference for the \fInvi\fR editor.
334 .tl 'Jove Manual for UNIX Users''tabbed 14'
336 Jove is a small, self-documenting, customizable display editor, based on EMACS.
337 A plausible alternative to 
338 .I vi.
341 .tl 'SED \- A Non-interactive Text Editor''tabbed 15'
343 Describes a one-pass variant of 
344 .I ed
345 useful as a filter for processing large files.
348 .tl 'AWK \- A Pattern Scanning and Processing Language (Second Edition)''tabbed 16'
350 A program for data selection and transformation.
353 Document Preparation
356 .tl 'Typing Documents on UNIX: Using the \-ms Macros with Troff and Nroff''tabbed 17'
358 Describes and gives examples of the basic use of the typesetting tools and 
359 ``-ms'', a frequently used package of formatting requests that make it easier 
360 to lay out most documents.
362 .ne 1i
364 .tl 'A Revised Version of \-ms''tabbed 18'
366 A brief description of the Berkeley revisions made to the \-ms formatting
367 macros for nroff and troff.
370 .tl 'Writing Papers with \fInroff\fR using \-me''tabbed 19'
372 Another popular macro package for
373 .I nroff.
376 .tl '\-me Reference Manual''tabbed 20'
378 The final word on \-me.
381 .tl 'NROFF/TROFF User\'s Manual''tabbed 21'
383 Extremely detailed information about these document formatting programs.
386 .tl 'A TROFF Tutorial''tabbed 22'
388 An introduction to the most basic uses of
389 .I troff 
390 for those who really want to know such things, or want to write their 
391 own macros.
394 .tl 'A System for Typesetting Mathematics''tabbed 23'
396 Describes 
397 .I eqn, 
398 an easy-to-learn language for high-quality mathematical typesetting.
401 .tl 'Typesetting Mathematics \- User\'s Guide (Second Edition)''tabbed 24'
403 More details about how to use 
404 .I eqn.
407 .tl 'Tbl \- A Program to Format Tables''tabbed 25'
409 A program for easily typesetting tabular material.
412 .tl 'Refer \- A Bibliography System''tabbed 26'
414 An introduction to one set of tools used to maintain bibliographic databases.
415 The major program, 
416 .I refer,
417 is used to automatically retrieve and format the references 
418 based on document citations.
421 .tl 'Some Applications of Inverted Indexes on the UNIX System''tabbed 27'
423 Mike Lesk's paper describes the
424 .I refer 
425 programs in a somewhat larger context.
428 .tl 'BIB \- A Program for Formatting Bibliographies''tabbed 28'
430 This is an alternative to
431 .I refer
432 for expanding citations in documents.
435 .tl 'Writing Tools \- The STYLE and DICTION Programs''tabbed 29'
437 These are programs which can help you understand and improve your 
438 writing style.
440 .SH 
441 Amusements
444 .tl 'A Guide to the Dungeons of Doom''tabbed 30'
446 An introduction to the popular game of \fIrogue\fP, a fantasy game
447 which is one of the biggest known users of VAX cycles.
450 .tl 'Star Trek''tabbed 31'
452 You are the Captain of the Starship Enterprise.
453 Wipe out the Klingons and save the Federation.
456 .tl 'List of Documents''inside back cover'
457 .if o .bp
459 .EH ''''
460 .OH ''''
462 .OH '\s10Introduction''- % -\s0'
463 .EH '\s10- % -''Introduction\s0'
464 .de IR
465 \fI\\$1\^\fR\\$2
467 .de RI
468 \fR\\$1\fI\\$2\^\fR\\$3
471 \fB\s24Introduction\s0\fP
472 .sp 2
473 .nr PS 10
474 .nr VS 12
476 The documentation for 4.4BSD is in a format similar
477 to the one used for the 4.2BSD and 4.3BSD manuals.
478 It is divided into three sets; each set consists of one or more volumes.
479 The abbreviations for the volume names are listed in square brackets;
480 the abbreviations for the manual sections are listed in parenthesis.
482 I. User's Documents
483         User's Reference Manual [URM]
484                 Commands (1)
485                 Games (6)
486                 Macro packages and language conventions (7)
487         User's Supplementary Documents [USD]
488                 Getting Started
489                 Basic Utilities
490                 Communicating with the World
491                 Text Editing
492                 Document Preparation
493                 Amusements
495 II. Programmer's Documents
496         Programmer's Reference Manual [PRM]
497                 System calls (2)
498                 Subroutines (3)
499                 Special files (4)
500                 File formats and conventions (5)
501         Programmer's Supplementary Documents [PSD]
502                 Documents of Historic Interest
503                 Languages in common use
504                 Programming Tools
505                 Programming Libraries
506                 General Reference
508 III. System Manager's Manual [SMM]
509         Maintenance commands (8)
510         System Installation and Administration
513 References to individual documents are given as ``volume:document'',
514 thus USD:1 refers to the first document in the ``User's Supplementary
515 Documents''.
516 References to manual pages are given as ``\fIname\fP(section)'' thus
517 .IR sh (1)
518 refers to the shell manual entry in section 1.
520 The manual pages give descriptions of the features of the
521 4.4BSD system, as developed at the University of California at Berkeley.
522 They do not attempt to provide perspective or tutorial information about the
523 4.4BSD operating system, its facilities, or its implementation.
524 Various documents on those topics are contained in the
525 ``\s-1UNIX\s+1 User's Supplementary Documents'' (USD), the
526 ``\s-1UNIX\s+1 Programmer's Supplementary Documents'' (PSD),
527 and ``\s-1UNIX\s+1 System Manager's Manual'' (SMM).
528 In particular, for an overview see ``The \s-1UNIX\s+1 Time-Sharing System'' (PSD:1)
529 by Ritchie and Thompson; for a tutorial see
530 ``\s8\s-1UNIX\s+1\s10 for Beginners'' (USD:1) by Kernighan,
531 and for an guide to the new features of this latest version, see
532 ``Berkeley Software Architecture Manual (4.4 Edition)'' (PSD:5).
534 Within the area it surveys, this volume attempts to be timely, complete
535 and concise.  Where the latter two objectives conflict,
536 the obvious is often left unsaid in favor of brevity.
537 It is intended that each program be described as it is, not as it should be.
538 Inevitably, this means that various sections will soon be out of date.
540 Commands are programs intended to be invoked directly by
541 the user, in contrast to subroutines, that are
542 intended to be called by the user's programs.
543 User commands are described in URM section 1.
544 Commands generally reside in directory
545 .I /bin
546 (for
547 .IR bin \|ary
548 programs).
549 Some programs also reside in
551 /\|usr/\|bin,
553 to save space in
554 .I  /\|bin.
556 These directories are searched automatically by the command interpreters.
557 Additional directories that may be of interest include
559 /\|usr/\|contrib/\|bin,
561 which has contributed software
563 /\|usr/\|old/\|bin,
565 which has old but sometimes still useful software and
567 /\|usr/\|local/\|bin,
569 which contains software local to your site.
571 Games have been relegated to URM section 6 and
573 /\|usr/\|games,
575 to keep them from contaminating
576 the more staid information of URM section 1.
578 Miscellaneous collection of information necessary for
579 writing in various specialized languages such as character codes, 
580 macro packages for typesetting, etc is contained in URM section 7.
582 System calls are entries into the BSD kernel.
583 The system call interface is identical to a C language
584 procedure call; the equivalent C procedures are described in PRM section 2.
586 An assortment of subroutines is available;
587 they are described in PRM section 3.
588 The primary libraries in which they are kept are described in
589 .IR intro (3).
590 The functions are described in terms of C.
592 PRM section 4 discusses the characteristics of
593 each system ``file'' that refers to an I/O device.
594 The names in this section refer to the HP300 device names for the hardware,
595 instead of the names of the special files themselves.
597 The file formats and conventions (PRM section 5)
598 documents the structure of particular kinds of files;
599 for example, the form of the output of the loader and
600 assembler is given.  Excluded are files used by only one command,
601 for example the assembler's intermediate files.
603 Commands and procedures intended for use primarily by the
604 system administrator are described in SMM section 8.
605 The files described here are almost all kept in the directory
606 .I /\|etc.
607 The system administration binaries reside in
609 /\|sbin,
613 /\|usr/\|sbin.
615 Each section consists of independent entries of a page or so each.
616 The name of the entry is in the upper corners of its pages,
617 together with the section number.
618 Entries within each section are alphabetized.
619 The page numbers of each entry start at 1;
620 it is infeasible to number consecutively the pages of 
621 a document like this that is republished in many variant forms.
623 All entries are based on a common format;
624 not all subsections always appear.
628 .I name
629 subsection lists the exact names of the commands and subroutines
630 covered under the entry and gives a short description of their purpose.
633 .IR synopsis ""
634 summarizes the use of the program being described.
635 A few conventions are used, particularly in the Commands subsection:
638 .B Boldface
639 words are considered literals, and are typed just as they appear.
641 Square brackets [ ] around an argument show that the argument is optional.
642 When an argument is given as ``name'', it always refers to a file name.
644 Ellipses ``.\|.\|.'' are used to show that the previous argument-prototype
645 may be repeated.
647 A final convention is used by the commands themselves.
648 An argument beginning with a minus sign ``\-'' usually means that it is an
649 option-specifying argument, even if it appears in a position where
650 a file name could appear.  Therefore, it is unwise to have files whose
651 names begin with ``\-''.
655 .IR description ""
656 subsection discusses in detail the subject at hand.
659 .IR files ""
660 subsection gives the names of files that are built into the program.
664 see also
666 subsection gives pointers to related information.
669 .I  diagnostics
670 subsection discusses the diagnostic indications that may be produced.
671 Messages that are intended to be self-explanatory are not listed.
674 .IR bugs ""
675 subsection gives known bugs and sometimes deficiencies.
676 Occasionally the suggested fix is also described.
679 At the beginning of URM, PRM, and SSM is a List of Manual Pages,
680 organized by section and alphabetically within each section, and a
681 Permuted Index derived from that List.
682 Within each index entry, the title of the writeup to which
683 it refers is followed by the appropriate section number in parentheses.
684 This fact is important because there is considerable
685 name duplication among the sections, arising principally from commands that
686 exist only to exercise a particular system call.
687 Finally, there is a list of documents on the inside back cover of each volume.
688 .if o .bp
690 .EH ''''
691 .OH ''''