From d64ada501ae33c02e7c4e3ce21962907df814a5a Mon Sep 17 00:00:00 2001 From: Jens Schweikhardt Date: Mon, 30 Dec 2002 21:18:15 +0000 Subject: [PATCH] Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ Add FreeBSD Id tag where missing. --- bin/csh/USD.doc/csh.1 | 2 +- bin/csh/USD.doc/csh.g | 478 +++++++++--------- games/fortune/Notes | 3 +- games/fortune/datfiles/fortunes2 | 18 +- games/fortune/datfiles/fortunes2-o | 8 +- lib/libc/gen/getcap.3 | 2 +- lib/libc/gen/getnetgrent.c | 2 +- lib/libc/gen/psignal.3 | 2 +- lib/libedit/key.c | 4 +- lib/libutil/realhostname_sa.3 | 2 +- libexec/bootpd/getether.c | 2 +- libexec/getty/chat.c | 2 +- libexec/mknetid/hash.c | 2 +- .../hardware/alpha/proc-alpha.sgml | 4 +- .../installation/common/trouble.sgml | 2 +- .../doc/en_US.ISO8859-1/relnotes/article.sgml | 2 +- .../en_US.ISO8859-1/relnotes/common/new.sgml | 2 +- .../hardware/alpha/proc-alpha.sgml | 4 +- .../installation/common/trouble.sgml | 2 +- sbin/fdisk/fdisk.c | 4 +- sbin/fdisk_pc98/fdisk.c | 2 +- sbin/growfs/growfs.c | 2 +- share/doc/papers/sysperf/5.t | 14 +- share/doc/smm/06.nfs/1.t | 6 +- share/examples/isdn/FAQ | 4 +- share/man/man4/tcp.4 | 2 +- share/man/man9/scheduler.9 | 2 +- share/termcap/map3270 | 3 +- sys/boot/ficl/words.c | 2 +- sys/cam/cam_queue.c | 2 +- sys/dev/amr/amr.c | 2 +- sys/dev/ccd/ccd.c | 2 +- sys/dev/cm/smc90cx6.c | 2 +- sys/dev/isp/isp.c | 2 +- sys/dev/isp/isp_target.c | 2 +- sys/dev/isp/isp_tpublic.h | 4 +- sys/dev/nge/if_nge.c | 2 +- sys/dev/ppbus/if_plip.c | 2 +- sys/dev/ppbus/ppi.c | 26 +- sys/dev/puc/puc.c | 2 +- sys/dev/sym/sym_fw1.h | 2 +- sys/dev/sym/sym_fw2.h | 2 +- sys/dev/sym/sym_hipd.c | 4 +- sys/dev/wl/if_wl.c | 2 +- sys/fs/hpfs/hpfs_vnops.c | 2 +- sys/fs/nullfs/null_vnops.c | 2 +- sys/fs/smbfs/smbfs_smb.c | 2 +- sys/geom/geom_ccd.c | 2 +- sys/gnu/ext2fs/ext2_linux_balloc.c | 2 +- sys/gnu/fs/ext2fs/ext2_linux_balloc.c | 2 +- sys/i386/isa/istallion.c | 2 +- sys/kern/kern_proc.c | 2 +- sys/net/if_var.h | 2 +- sys/netatm/spans/spans_msg.c | 6 +- sys/netatm/spans/spans_util.c | 2 +- sys/netatm/uni/sscop_lower.c | 2 +- sys/netinet6/ip6_var.h | 2 +- sys/netinet6/nd6_nbr.c | 4 +- sys/netsmb/smb.h | 2 +- sys/nfsclient/bootp_subr.c | 2 +- sys/pc98/cbus/olpt.c | 2 +- sys/pc98/pc98/olpt.c | 2 +- sys/pci/ncr.c | 2 +- sys/sparc64/pci/psycho.c | 2 +- sys/sparc64/sparc64/cache.c | 2 +- sys/sys/namei.h | 2 +- sys/sys/unpcb.h | 2 +- tools/tools/mid/mid-build | 7 +- usr.bin/chat/chat.8 | 2 +- usr.bin/cmp/cmp.1 | 2 +- usr.bin/compress/doc/README | 2 +- usr.bin/ldd/ldd.1 | 2 +- usr.bin/lex/lex.1 | 2 +- usr.bin/make/suff.c | 2 +- usr.bin/pr/pr.c | 2 +- usr.bin/tr/tr.1 | 2 +- usr.bin/xlint/lint1/decl.c | 2 +- usr.bin/xlint/lint1/emit1.c | 3 +- usr.bin/xlint/lint1/init.c | 3 +- usr.bin/xlint/lint1/tree.c | 2 +- usr.sbin/moused/moused.c | 2 +- usr.sbin/ndp/ndp.8 | 2 +- usr.sbin/ntp/doc/ntp.conf.5 | 4 +- usr.sbin/pccard/pccardd/cardd.c | 2 +- usr.sbin/pppd/fsm.c | 2 +- usr.sbin/pppd/lcp.c | 2 +- usr.sbin/prefix/prefix.8 | 2 +- usr.sbin/rpcbind/rpcb_svc_com.c | 2 +- usr.sbin/rtadvd/config.c | 4 +- usr.sbin/timed/SMM.doc/timed/timed.ms | 58 +-- usr.sbin/watch/watch.8 | 2 +- usr.sbin/ypserv/ypinit.sh | 16 +- 92 files changed, 415 insertions(+), 410 deletions(-) diff --git a/bin/csh/USD.doc/csh.1 b/bin/csh/USD.doc/csh.1 index bcc57245e3e5..04b658119ce1 100644 --- a/bin/csh/USD.doc/csh.1 +++ b/bin/csh/USD.doc/csh.1 @@ -739,7 +739,7 @@ Thus the command echo * .DE will not echo the character `*'. -It will either echo an sorted list of filenames in the +It will either echo a sorted list of filenames in the current .I "working directory," or print the message `No match' if there are diff --git a/bin/csh/USD.doc/csh.g b/bin/csh/USD.doc/csh.g index d20dac5b06a0..9cce9243e068 100644 --- a/bin/csh/USD.doc/csh.g +++ b/bin/csh/USD.doc/csh.g @@ -57,20 +57,20 @@ by the command .I pwd; see also .I dirs. -The current directory `.' is usually the first -.I component +The current directory `.' is usually the first +.I component of the search path contained in the variable .I path , thus commands which are in `.' are found first (2.2). -The character `.' is also used in separating -.I components +The character `.' is also used in separating +.I components of filenames (1.6). -The character `.' at the beginning of a -.I component -of a -.I pathname -is treated specially and not matched by the +The character `.' at the beginning of a +.I component +of a +.I pathname +is treated specially and not matched by the .I "filename expansion" metacharacters `?', `*', and `[' `]' pairs (1.6). .IP \&\fB..\fR @@ -91,22 +91,22 @@ The current directory is printed by (2.7). .IP a.out Compilers which create executable images create them, by default, in the -file +file .I a.out. for historical reasons (2.3). .IP "absolute pathname" .br -A -.I pathname +A +.I pathname which begins with a `/' is .I absolute -since it specifies the -.I path +since it specifies the +.I path of directories from the beginning of the entire directory system \- called the .I root -directory. -.I Pathname s +directory. +.I Pathname s which are not .I absolute are called @@ -122,17 +122,17 @@ command, or a transformation on a command to be performed in the shell. The shell has a command .I alias -which establishes -.I aliases +which establishes +.I aliases and can print their current values. The command .I unalias -is used to remove -.I aliases +is used to remove +.I aliases (2.4). .IP argument -Commands in \s-2UNIX\s0 receive a list of -.I argument +Commands in \s-2UNIX\s0 receive a list of +.I argument words. Thus the command .DS @@ -140,11 +140,11 @@ echo a b c .DE consists of the .I "command name" -`echo' and three -.I argument +`echo' and three +.I argument words `a', `b' and `c'. -The set of -.I arguments +The set of +.I arguments after the .I "command name" is said to be the @@ -164,8 +164,8 @@ commands (2.6). .IP base A filename is sometimes thought of as consisting of a .I base -part, before any `.' character, and an -.I extension +part, before any `.' character, and an +.I extension \- the part after the `.'. See .I filename @@ -176,17 +176,17 @@ and The .I bg command causes a -.I suspended +.I suspended job to continue execution in the .I background (2.6). .IP bin A directory containing binaries of programs and shell scripts to be -executed is typically called a -.I bin +executed is typically called a +.I bin directory. -The standard system -.I bin +The standard system +.I bin directories are `/bin' containing the most heavily used commands and `/usr/bin' which contains most other user programs. @@ -195,8 +195,8 @@ written programs live in `/usr/local'. Games are kept in the directory `/usr/games'. You can place binaries in any directory. If you wish to execute them often, the name of the directories -should be a -.I component +should be a +.I component of the variable .I path . .IP break @@ -216,8 +216,8 @@ A command executed directly by the shell is called a .I builtin command. Most commands in \s-2UNIX\s0 are not built into the shell, -but rather exist as files in -.I bin +but rather exist as files in +.I bin directories. These commands are accessible because the directories in which they reside are named in the @@ -234,19 +234,19 @@ Details are given in the shell documentation `csh (1)' (3.7). .IP cat The .I cat -program catenates a list of specified files on the +program catenates a list of specified files on the .I "standard output" . It is usually used to look at the contents of a single file on the terminal, to `cat a file' (1.8, 2.3). .IP cd The .I cd -command is used to change the +command is used to change the .I "working directory" . With no arguments, .I cd -changes your -.I "working directory" +changes your +.I "working directory" to be your .I home directory (2.4, 2.7). @@ -261,7 +261,7 @@ is usually used because it is easier to type. The .I chsh command is used to change the shell which you use on \s-2UNIX\s0. -By default, you use an different version of the shell +By default, you use a different version of the shell which resides in `/bin/sh'. You can change your shell to `/bin/csh' by doing .DS @@ -285,7 +285,7 @@ For comparing text files the program described in `diff (1)' is used. .IP command A function performed by the system, either by the shell -(a builtin +(a builtin .I command ) or by a program residing in a file in a directory within the \s-2UNIX\s0 system, is called a @@ -302,7 +302,7 @@ command names the function to be performed (1.1). .IP "command substitution" .br The replacement of a command enclosed in `\`' characters -by the text output by that command +by the text output by that command is called .I "command substitution" (4.3). @@ -311,7 +311,7 @@ A part of a .I pathname between `/' characters is called a .I component -of that +of that .I pathname . A variable which has multiple strings as value is said to have @@ -337,7 +337,7 @@ on your terminal and simultaneously pressing another character, much like the \s-2SHIFT\s0 key is used to produce upper case characters. Thus .I control- c is produced by holding down the \s-2CONTROL\s0 key while pressing the -`c' key. Usually \s-2UNIX\s0 prints an caret (^) followed by the +`c' key. Usually \s-2UNIX\s0 prints a caret (^) followed by the corresponding letter when you type a .I control character (e.g. `^C' for @@ -346,7 +346,7 @@ character (e.g. `^C' for .IP "core\ dump" When a program terminates abnormally, the system places an image of its current state in a file named `core'. -This +This .I "core dump" can be examined with the system debugger `adb (1)' or `sdb (1)' in order to determine what went wrong with the program (1.8). @@ -356,7 +356,7 @@ Illegal instruction (core dumped) .DE (where `Illegal instruction' is only one of several possible messages), you should report this to the author of the program -or a system administrator, +or a system administrator, saving the `core' file. .IP cp The @@ -396,8 +396,8 @@ command prints the current date and time (1.3). .I Debugging is the process of correcting mistakes in programs and shell scripts. The shell has several options and variables which may be used -to aid in shell -.I debugging +to aid in shell +.I debugging (4.4). .IP default: The label @@ -416,37 +416,37 @@ or key on the terminal normally causes an interrupt to be sent to the current job. Many users change the interrupt character to be ^C. .IP detached -A command that continues running in the -.I background -after you logout is said to be +A command that continues running in the +.I background +after you logout is said to be .I detached . .IP diagnostic An error message produced by a program is often referred to as a .I diagnostic . -Most error messages are not written to the +Most error messages are not written to the .I "standard output" , since that is often directed away from the terminal (1.3, 1.5). Error messsages are instead written to the .I "diagnostic output" which may be directed away from the terminal, but usually is not. -Thus -.I diagnostics +Thus +.I diagnostics will usually appear on the terminal (2.5). .IP directory A structure which contains files. -At any time you are in one particular -.I directory -whose names can be printed by the command +At any time you are in one particular +.I directory +whose names can be printed by the command .I pwd . The .I chdir -command will change you to another -.I directory , +command will change you to another +.I directory , and make the files -in that -.I directory -visible. The -.I directory +in that +.I directory +visible. The +.I directory in which you are when you first login is your .I home directory (1.1, 2.7). @@ -470,7 +470,7 @@ as the first directory name on the left (2.7). The .I dirs command prints the shell's -.I "directory stack" +.I "directory stack" (2.7). .IP du The @@ -511,13 +511,13 @@ and whenever a command reads to the end of a file which it has been given as input. Commands receiving input from a .I pipe -receive an -.I "end\f1-\fPof\f1-\fPfile" +receive an +.I "end\f1-\fPof\f1-\fPfile" when the command sending them input completes. -Most commands terminate when they receive an +Most commands terminate when they receive an .I "end\f1-\fPof\f1-\fPfile" . -The shell has an option to ignore -.I "end\f1-\fPof\f1-\fPfile" +The shell has an option to ignore +.I "end\f1-\fPof\f1-\fPfile" from a terminal input which may help you keep from logging out accidentally by typing too many control-d's (1.1, 1.8, 3.8). @@ -539,15 +539,15 @@ In this example, \e .I escape s `*' (1.7). There is also a non-printing character called -.I escape , +.I escape , usually labelled \s-2ESC\s0 or \s-2ALTMODE\s0 on terminal keyboards. Some older \s-2UNIX\s0 systems use this character to indicate that -output is to be -.I suspended . +output is to be +.I suspended . Most systems use control-s to stop the output and control-q to start it. .IP /etc/passwd This file contains information about the accounts currently on the @@ -579,7 +579,7 @@ a status of zero being considered The .I exit command can be used to force a shell command script to give a non-zero -.I "exit status" +.I "exit status" (3.6). .IP expansion The replacement of strings in the shell input which contain metacharacters @@ -589,17 +589,17 @@ Thus the replacement of the word `*' by a sorted list of files in the current directory is a `filename expansion'. Similarly the replacement of the characters `!!' by the text of the last command is a `history expansion'. -.I Expansions +.I Expansions are also referred to as .I substitutions (1.6, 3.4, 4.2). .IP expressions -.I Expressions +.I Expressions are used in the shell to control the conditional structures used in the writing of shell scripts and in calculating values for these scripts. -The operators available in shell -.I expressions +The operators available in shell +.I expressions are those of the language C (3.5). .IP extension @@ -608,8 +608,8 @@ Filenames often consist of a name and an .I extension separated by the character `.'. -By convention, groups of related files often share the same -.I root +By convention, groups of related files often share the same +.I root name. Thus if `prog.c' were a C program, then the object file for this program would be stored in `prog.o'. @@ -636,28 +636,28 @@ job in the Each file in \s-2UNIX\s0 has a name consisting of up to 14 characters and not including the character `/' which is used in .I pathname -building. Most +building. Most .I filenames -do not begin with the character `.', and contain +do not begin with the character `.', and contain only letters and digits with perhaps a `.' separating the .I base -portion of the -.I filename -from an -.I extension +portion of the +.I filename +from an +.I extension (1.6). .IP "filename expansion" .br -.I "Filename expansion" +.I "Filename expansion" uses the metacharacters `*', `?' and `[' and `]' to provide a convenient mechanism for naming files. -Using -.I "filename expansion" +Using +.I "filename expansion" it is easy to name all the files in -the current directory, or all files which have a common -.I root -name. Other -.I "filename expansion" +the current directory, or all files which have a common +.I root +name. Other +.I "filename expansion" mechanisms use the metacharacter `~' and allow files in other users' directories to be named easily (1.6, 4.2). .IP flag @@ -687,7 +687,7 @@ shell is waiting for them to finish before prompting for another command they are said to be .I "foreground jobs" or -.I "running in the foreground" \&. +.I "running in the foreground" \&. This is as opposed to .I background . .I Foreground @@ -711,14 +711,14 @@ will print each line in the file which contains the string `bill'. Actually, .I grep -scans for +scans for .I "regular expressions" in the sense of the editors `ed (1)' and `ex (1)'. .I Grep stands for -`globally find -.I "regular expression" +`globally find +.I "regular expression" and print' (2.4). .IP head The @@ -742,8 +742,8 @@ is the part after the last `/'. The `:h' and `:t' modifiers allow the .I head or .I tail -of a -.I pathname +of a +.I pathname stored in a shell variable to be used (3.6). .IP history The @@ -758,7 +758,7 @@ where these commands are kept, and a variable which controls how large this list is (2.3). .IP "home\ directory" .br -Each user has a +Each user has a .I "home directory" , which is given in your entry in the password file, @@ -771,11 +771,11 @@ or command with no arguments takes you back to this directory, whose name is recorded in the shell variable .I home . -You can also access the -.I "home directories" +You can also access the +.I "home directories" of other users in forming -filenames using a -.I "filename expansion" +filenames using a +.I "filename expansion" notation and the character `~' (1.6). .IP if A conditional command within the shell, the @@ -804,26 +804,26 @@ Many commands on \s-2UNIX\s0 take information from the terminal or from files which they then act on. This information is called .I input . -Commands normally read for -.I input +Commands normally read for +.I input from their .I "standard input" which is, by default, the terminal. -This -.I "standard input" +This +.I "standard input" can be redirected from a file using a shell metanotation with the character `<'. Many commands will also read from a file specified as argument. -Commands placed in +Commands placed in .I pipelines will read from the output of the previous -command in the +command in the .I pipeline . -The leftmost command in a -.I pipeline +The leftmost command in a +.I pipeline reads from the terminal if -you neither redirect its -.I input +you neither redirect its +.I input nor give it a filename to use as .I "standard input" . Special mechanisms exist for supplying input to commands in shell @@ -835,18 +835,18 @@ is a signal to a program that is generated by typing ^C. (On older versions of UNIX the \s-2RUBOUT\s0 or \s-2DELETE\s0 key were used for this purpose.) It causes most programs to stop execution. Certain programs, such as the shell and the editors, -handle an -.I interrupt +handle an +.I interrupt in special ways, usually by stopping what they are doing and prompting for another command. While the shell is executing another command and waiting for it -to finish, the shell does not listen to +to finish, the shell does not listen to .I interrupts. -The shell often wakes up when you hit -.I interrupt +The shell often wakes up when you hit +.I interrupt because many commands -die when they receive an -.I interrupt +die when they receive an +.I interrupt (1.8, 3.9). .IP job One or more commands @@ -854,7 +854,7 @@ typed on the same input line separated by `|' or `;' characters are run together and are called a .I job \&. Simple commands run by themselves without any `|' or `;' characters -are the simplest +are the simplest .I jobs. .I Jobs are classified as @@ -922,8 +922,8 @@ The .I logout command causes a login shell to exit. Normally, a login shell will exit when you hit control-d -generating an -.I end\f1-\fPof\f1-\fPfile, +generating an +.I end\f1-\fPof\f1-\fPfile, but if you have set .I ignoreeof in you @@ -974,7 +974,7 @@ users (1.1, 2.1), whether they are logged on or not. The .I make command is used to maintain one or more related files and to -organize functions to be performed on these files. +organize functions to be performed on these files. In many ways .I make is easier to use, and more helpful than @@ -983,13 +983,13 @@ shell command scripts (3.2). The file containing commands for .I make is called -.I makefile -or +.I makefile +or .I Makefile (3.2). .IP manual -The -.I manual +The +.I manual often referred to is the `\s-2UNIX\s0 manual'. It contains 8 numbered sections with a description of each \s-2UNIX\s0 @@ -998,8 +998,8 @@ device (section 4), special data structure (section 5), game (section 6), miscellaneous item (section 7) and system administration program (section 8). There are also supplementary documents (tutorials and reference guides) for individual programs which require explanation in more detail. -An online version of the -.I manual +An online version of the +.I manual is accessible through the .I man command. @@ -1007,7 +1007,7 @@ Its documentation can be obtained online via .DS man man .DE -If you can't decide what manual page to look in, try the +If you can't decide what manual page to look in, try the .I apropos (1) command. The supplementary documents are in subdirectories of /usr/doc. @@ -1020,17 +1020,17 @@ These characters are called If it is necessary to place these characters in arguments to commands without them having their special meaning then they must be .I quoted . -An example of a -.I metacharacter +An example of a +.I metacharacter is the character `>' which is used to indicate placement of output into a file. For the purposes of the .I history mechanism, -most unquoted +most unquoted .I metacharacters form separate words (1.4). -The appendix to this user's manual lists the +The appendix to this user's manual lists the .I metacharacters in groups by their function. .IP mkdir @@ -1038,13 +1038,13 @@ The .I mkdir command is used to create a new directory. .IP modifier -Substitutions with the -.I history +Substitutions with the +.I history mechanism, keyed by the character `!' or of variables using the metacharacter `$', are often subjected to modifications, indicated by placing the character `:' after the -substitution and following this with the -.I modifier +substitution and following this with the +.I modifier itself. The .I "command substitution" @@ -1083,55 +1083,55 @@ The .I notify variable, if set, causes the shell to always report the termination of -.I background +.I background jobs exactly when they occur (2.6). .IP onintr The .I onintr command is built into the shell and is used to control the action -of a shell command script when an -.I interrupt +of a shell command script when an +.I interrupt signal is received (3.9). .IP output Many commands in \s-2UNIX\s0 result in some lines of text which are called their .I output. -This -.I output +This +.I output is usually placed on what is known as the .I "standard output" which is normally connected to the user's terminal. The shell has a syntax using the metacharacter `>' for redirecting -the -.I "standard output" +the +.I "standard output" of a command to a file (1.3). Using the .I pipe mechanism and the metacharacter `|' it is also possible for -the -.I "standard output" -of one command to become the -.I "standard input" +the +.I "standard output" +of one command to become the +.I "standard input" of another command (1.5). Certain commands such as the line printer daemon .I p -do not place their results on the -.I "standard output" +do not place their results on the +.I "standard output" but rather in more useful places such as on the line printer (2.3). Similarly the .I write command places its output on another user's terminal rather than its -.I "standard output" +.I "standard output" (2.3). Commands also have a .I "diagnostic output" where they write their error messages. -Normally these go to the terminal even if the -.I "standard output" +Normally these go to the terminal even if the +.I "standard output" has been sent to a file or another command, but it is possible -to direct error diagnostics along with -.I "standard output" +to direct error diagnostics along with +.I "standard output" using a special metanotation (2.5). .IP path The shell has a variable @@ -1162,11 +1162,11 @@ This is normally true because a command of the form chmod 755 script .DE was executed to turn this execute permission on (3.3). -If you add new commands to a directory in the -.I path , +If you add new commands to a directory in the +.I path , you should issue -the command -.I rehash +the command +.I rehash (2.2). .IP pathname A list of names, separated by `/' characters, forms a @@ -1174,28 +1174,28 @@ A list of names, separated by `/' characters, forms a Each .I component, between successive `/' characters, names a directory -in which the next -.I component +in which the next +.I component file resides. -.I Pathnames +.I Pathnames which begin with the character `/' are interpreted relative to the .I root directory in the file system. -Other -.I pathnames +Other +.I pathnames are interpreted relative to the current directory as reported by .I pwd. -The last component of a -.I pathname +The last component of a +.I pathname may name a directory, but usually names a file. .IP pipeline -A group of commands which are connected together, the +A group of commands which are connected together, the .I "standard output" -of each connected to the -.I "standard input" +of each connected to the +.I "standard input" of the next, is called a .I pipeline. @@ -1236,18 +1236,18 @@ command is used to print the current setting of variables in the environment (2.8). .IP process -An instance of a running program is called a -.I process +An instance of a running program is called a +.I process (2.6). -\s-2UNIX\s0 assigns each -.I process -a unique number when it is +\s-2UNIX\s0 assigns each +.I process +a unique number when it is started \- called the .I "process number" . -.I "Process numbers" -can be used to stop individual +.I "Process numbers" +can be used to stop individual .I processes -using the +using the .I kill or .I stop @@ -1261,21 +1261,21 @@ Usually synonymous with .I command ; a binary file or shell command script which performs a useful function is often -called a +called a .I program . .IP prompt -Many programs will print a -.I prompt +Many programs will print a +.I prompt on the terminal when they expect input. Thus the editor `ex (1)' will print a `:' when it expects input. -The shell +The shell .I prompts for input with `% ' and occasionally with `? ' when reading commands from the terminal (1.1). The shell has a variable .I prompt -which may be set to a different value to change the shell's main +which may be set to a different value to change the shell's main .I prompt . This is mostly used when debugging the shell (2.8). .IP pushd @@ -1302,14 +1302,14 @@ The command is identified by printing some of the words used when it was invoked (2.6). Shells, such as the .I csh -you use to run the -.I ps +you use to run the +.I ps command, are not normally shown in the output. .IP pwd The .I pwd -command prints the full -.I pathname +command prints the full +.I pathname of the current .I "working directory" \&. The @@ -1348,7 +1348,7 @@ which does not begin with a `/' is called a .I "relative pathname" since it is interpreted .I relative -to the current +to the current .I "working directory" . The first .I component @@ -1379,18 +1379,18 @@ directories. The name used in .I pathnames to indicate the .I root -is `/'. -.I Pathnames +is `/'. +.I Pathnames starting with `/' are said to be .I absolute since they start at the .I root directory. .I Root -is also used as the part of a -.I pathname +is also used as the part of a +.I pathname that is left after removing -the +the .I extension . See .I filename @@ -1401,15 +1401,15 @@ key is often used to erase the previously typed character; some users prefer the \s-2BACKSPACE\s0 for this purpose. On older versions of \s-2UNIX\s0 this key served as the \s-2INTR\s0 character. .IP "scratch file" -Files whose names begin with a `#' are referred to as +Files whose names begin with a `#' are referred to as .I "scratch files" , since they are automatically removed by the system after a couple of days of non-use, or more frequently if disk space becomes tight (1.3). .IP script -Sequences of shell commands placed in a file are called shell command +Sequences of shell commands placed in a file are called shell command .I scripts . -It is often possible to perform simple tasks using these -.I scripts +It is often possible to perform simple tasks using these +.I scripts without writing a program in a language such as C, by using the shell to selectively run other programs (3.3, 3.10). .IP set @@ -1418,8 +1418,8 @@ The builtin command is used to assign new values to shell variables and to show the values of the current variables. Many shell variables have special meaning to the shell itself. -Thus by using the -.I set +Thus by using the +.I set command the behavior of the shell can be affected (2.1). .IP setenv Variables in the environment `environ (5)' @@ -1430,16 +1430,16 @@ The .I printenv command can be used to print the value of the variables in the environment. .IP shell -A -.I shell +A +.I shell is a command language interpreter. -It is possible to write and run your own +It is possible to write and run your own .I shell , -as -.I shells +as +.I shells are no different than any other programs as far as the system is concerned. -This manual deals with the details of one particular +This manual deals with the details of one particular .I shell , called .I csh. @@ -1464,8 +1464,8 @@ commands (1.8, 2.6). The .I sort program sorts a sequence of lines in ways that can be controlled -by argument -.I flags +by argument +.I flags (1.5). .IP source The @@ -1498,22 +1498,22 @@ when it finishes. By convention a .I status of zero indicates that the command succeeded. -Commands may return non-zero -.I status +Commands may return non-zero +.I status to indicate that some abnormal event has occurred. The shell variable .I status -is set to the -.I status +is set to the +.I status returned by the last command. It is most useful in shell commmand scripts (3.6). .IP stop The .I stop command causes a -.I background -job to become -.I suspended +.I background +job to become +.I suspended (2.6). .IP string A sequential group of characters taken together is called a @@ -1529,14 +1529,14 @@ how your terminal is handled. See `stty (1)' for a complete description (2.6). The shell implements a number of .I substitutions where sequences indicated by metacharacters are replaced by other sequences. -Notable examples of this are history -.I substitution +Notable examples of this are history +.I substitution keyed by the -metacharacter `!' and variable -.I substitution +metacharacter `!' and variable +.I substitution indicated by `$'. -We also refer to -.I substitutions +We also refer to +.I substitutions as .I expansions (3.4). @@ -1572,9 +1572,9 @@ When a command which is being executed finishes we say it undergoes .I termination or .I terminates. -Commands normally terminate when they read an +Commands normally terminate when they read an .I end\f1-\fPof\f1-\fPfile -from their +from their .I "standard input" . It is also possible to terminate commands by sending them an @@ -1642,12 +1642,12 @@ and .I expansion (2.2, 3.4). .IP variables -.I Variables +.I Variables in .I csh hold one or more strings as value. -The most common use of -.I variables +The most common use of +.I variables is in controlling the behavior of the shell. See @@ -1656,7 +1656,7 @@ See and .I ignoreeof for examples. -.I Variables +.I Variables such as .I argv are also used in writing shell programs (shell command scripts) @@ -1686,37 +1686,37 @@ A sequence of characters which forms an argument to a command is called a .I word . Many characters which are neither letters, digits, `\-', `.' nor `/' -form -.I words +form +.I words all by themselves even if they are not surrounded by blanks. -Any sequence of characters may be made into a -.I word +Any sequence of characters may be made into a +.I word by surrounding it with `\'' characters except for the characters `\'' and `!' which require special treatment (1.1). -This process of placing special characters in -.I words +This process of placing special characters in +.I words without their special meaning is called .I quoting . .IP "working directory" .br At any given time you are in one particular directory, called -your +your .I "working directory" . This directory's name is printed by the .I pwd command and the files listed by .I ls are the ones in this directory. -You can change -.I "working directories" +You can change +.I "working directories" using .I chdir . .IP write The .I write command is an obsolete way of communicating with other users who are logged in to -\s-2UNIX\s0 (you have to take turns typing). If you are both using display +\s-2UNIX\s0 (you have to take turns typing). If you are both using display terminals, use \fItalk\fP(1), which is much more pleasant. diff --git a/games/fortune/Notes b/games/fortune/Notes index 9be4f4d2264f..8d8b57101456 100644 --- a/games/fortune/Notes +++ b/games/fortune/Notes @@ -1,4 +1,5 @@ # @(#)Notes 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ Warning: The fortunes contained in the fortune database have been collected @@ -53,7 +54,7 @@ a program which is supposed to be entertaining. People who run "fortune their sensibilities tweaked. However, they should not have their personal worth seriously (i.e., not in jest) assaulted. Jokes which depend for their humor on racist, mysogynist, or homophobic stereotypes *do* seriously -assault individual personal worth, and in an general entertainment medium +assault individual personal worth, and in a general entertainment medium we should be able to get by without it. ==> FORMATTING diff --git a/games/fortune/datfiles/fortunes2 b/games/fortune/datfiles/fortunes2 index 4a5652116ff4..63ae95a3639b 100644 --- a/games/fortune/datfiles/fortunes2 +++ b/games/fortune/datfiles/fortunes2 @@ -2109,7 +2109,7 @@ deal with yams, and pigs are terrible conversationalists. So he showed me a nude picture of my wife. -- Rodney Dangerfield % - If I kiss you, that is an psychological interaction. + If I kiss you, that is a psychological interaction. On the other hand, if I hit you over the head with a brick, that is also a psychological interaction. The difference is that one is friendly and the other is not @@ -6297,7 +6297,7 @@ A fellow bought a new car, a Nissan, and was quite happy with his purchase. He was something of an animist, however, and felt that the car really ought to have a name. This presented a problem, as he was not sure if the name should be masculine or feminine. - After considerable thought, he settled on an naming the car either + After considerable thought, he settled on naming the car either Belchazar or Beaumadine, but remained in a quandry about the final choice. "Is a Nissan male or female?" he began asking his friends. Most of them looked at him peculiarly, mumbled things about urgent appointments, and @@ -9712,7 +9712,7 @@ hours. Suddenly, the old man opens his eyes whispers: "I must be dreaming of heaven... I smell my daughter Lisle's strudel." "No, no, grandfather, you are not dreaming", he is reassured. "Grandmother is baking strudel right now." - A faint smile crosses the old man's face. "Go an get me a sliver of + A faint smile crosses the old man's face. "Go and get me a sliver of strudel," he says, "she bakes the finest strudel in the world." One of the grandchildren is immediately dispatched to honor the old man's request, and, after what seems a long time, he returns empty-handed. @@ -18011,7 +18011,7 @@ Fortune's Rules for Memo Wars: #2 Given the incredible advances in sociocybernetics and telepsychology over the last few years, we are now able to completely understand everything that -the author of an memo is trying to say. Thanks to modern developments +the author of a memo is trying to say. Thanks to modern developments in electrocommunications like notes, vnews, and electricity, we have an incredible level of interunderstanding the likes of which civilization has never known. Thus, the possibility of your misinterpreting someone else's @@ -18021,7 +18021,7 @@ the memo in question, but have absolutely nothing of substance to say, then you have an excellent opportunity for a vicious ad hominem attack. In fact, the only *inappropriate* times for an ad hominem attack are as follows: - 1: When you agree completely with the author of an memo. + 1: When you agree completely with the author of a memo. 2: When the author of the original memo is much bigger than you are. 3: When replying to one of your own memos. % @@ -27463,7 +27463,7 @@ It is the business of the future to be dangerous. -- Hawkwind % It is the nature of extreme self-lovers, as they will -set an house on fire, and it were but to roast their eggs. +set a house on fire, and it were but to roast their eggs. -- Francis Bacon % It is the quality rather than the quantity that matters. @@ -47025,8 +47025,8 @@ necessary, family, hobbies, and friends -- if you had any of these left (and you might not, if you had signed up too many times before). -- Tracy Kidder, "The Soul of a New Machine" % -There was this New Yorker that had a lifelong ambition to be an Texan. -Fortunately, he had an Texan friend and went to him for advice. "Mike, +There was this New Yorker that had a lifelong ambition to be a Texan. +Fortunately, he had a Texan friend and went to him for advice. "Mike, you know I've always wanted to be a Texan. You're a *real* Texan, what should I do?" "Well," answered Mike, "The first thing you've got to do is look @@ -49293,7 +49293,7 @@ Unless it's blind screaming paroxysmally hedonistic... Under every stone lurks a politician. -- Aristophanes % -Under the wide an starry sky, +Under the wide and starry sky, Dig my grave and let me lie, Glad did I live and gladly die, And laid me down with a will, diff --git a/games/fortune/datfiles/fortunes2-o b/games/fortune/datfiles/fortunes2-o index 49d6fb9ab3c4..7f276a7b3f34 100644 --- a/games/fortune/datfiles/fortunes2-o +++ b/games/fortune/datfiles/fortunes2-o @@ -3114,7 +3114,7 @@ the word 'screw' in the courtroom. Say 'intercourse' instead." probably not aware of. Never mind. Please continue." "Well, like ah said, he had 'er shoved up agin' thet wall, an' he was... uh... intercoursin' 'er, an' he give 'er the crossjostle, the Chicago -Stroke, an she let out with a holler thet..." +Stroke, an' she let out with a holler thet..." "One moment," interrupted the Bench. "What is this, ah, Chicago Stroke, Mr. Bumpass?" "Well, thet's a technicality of screwin', Judge, thet you're probably @@ -6220,7 +6220,7 @@ Fortune's Rules for Memo Wars: #3 The proper time for a vicious ad hominem attack is when you have no logical recourse. If you have been arguing a point with a person or persons for -30 odd weeks, and an memo comes across that logically tears down the +30 odd weeks, and a memo comes across that logically tears down the final shred of evidence that you thought you had, that is the time to call the author of that memo: 1: a mindless twit who attacks other people's beliefs for no reason. @@ -6231,7 +6231,7 @@ the author of that memo: The OTHER proper time for an ad hominem attack is immediately after someone has posted something you don't understand. Given the current state of modern electronic communications technology your inability to comprehend the meaning -of an memo constitutes a violation of western moral tradition on the part of +of a memo constitutes a violation of western moral tradition on the part of the author of that memo, and the author should be taken to task publicly via a series of really nasty, name-calling oriented memos. % @@ -10256,7 +10256,7 @@ to show that if you've got a big dick, you don't need a Mercedes." One day Adam, while wandering around the Garden of Eden, noticed that all the animals seemed to come in pairs, male and female. He also noted that they seemed to enjoy being together a lot. So, he went to his special -place an reported to God what he'd noticed. +place and reported to God what he'd noticed. God, understanding his need, said, "Adam, the time has come for me to provide you with a mate. Go lie down and when you have fallen asleep, I will create your mate." diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3 index a2c2e7dec86a..57072b4aa8ab 100644 --- a/lib/libc/gen/getcap.3 +++ b/lib/libc/gen/getcap.3 @@ -254,7 +254,7 @@ Upon completion of the database 0 is returned, 1 is returned upon successful return of record with possibly more remaining (we haven't reached the end of the database yet), 2 is returned if the record contains an unresolved .Ic tc -expansion, \-1 is returned if an system error occurred, and \-2 +expansion, \-1 is returned if a system error occurred, and \-2 is returned if a potential reference loop is detected (see .Ic tc= comments below). diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c index 7311fc355845..82ae810efb28 100644 --- a/lib/libc/gen/getnetgrent.c +++ b/lib/libc/gen/getnetgrent.c @@ -381,7 +381,7 @@ innetgr(group, host, user, dom) * Couldn't match using NIS-exclusive mode. If the error * was YPERR_MAP, then the failure happened because there * was no netgroup.byhost or netgroup.byuser map. The odds - * are we are talking to an Sun NIS+ server in YP emulation + * are we are talking to a Sun NIS+ server in YP emulation * mode; if this is the case, then we have to do the check * the 'old-fashioned' way by grovelling through the netgroup * map and resolving memberships on the fly. diff --git a/lib/libc/gen/psignal.3 b/lib/libc/gen/psignal.3 index 3c291a965110..771de7d8cb0e 100644 --- a/lib/libc/gen/psignal.3 +++ b/lib/libc/gen/psignal.3 @@ -68,7 +68,7 @@ and returns a pointer to the corresponding message string. .Pp The .Fn psignal -function accepts an signal number argument +function accepts a signal number argument .Fa sig and writes it to the standard error. If the argument diff --git a/lib/libedit/key.c b/lib/libedit/key.c index 625148619457..7643f3d75d5d 100644 --- a/lib/libedit/key.c +++ b/lib/libedit/key.c @@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$"); * the extended-key map. * * An extended-key (key) is a sequence of keystrokes introduced - * with an sequence introducer and consisting of an arbitrary + * with a sequence introducer and consisting of an arbitrary * number of characters. This module maintains a map (the el->el_key.map) * to convert these extended-key sequences into input strs * (XK_STR), editor functions (XK_CMD), or unix commands (XK_EXE). @@ -450,7 +450,7 @@ node__put(EditLine *el, key_node_t *ptr) /* node__get(): - * Returns pointer to an key_node_t for ch. + * Returns pointer to a key_node_t for ch. */ private key_node_t * node__get(int ch) diff --git a/lib/libutil/realhostname_sa.3 b/lib/libutil/realhostname_sa.3 index e07720d87596..19a17f4d02e3 100644 --- a/lib/libutil/realhostname_sa.3 +++ b/lib/libutil/realhostname_sa.3 @@ -56,7 +56,7 @@ .Dt REALHOSTNAME_SA 3 .Sh NAME .Nm realhostname_sa -.Nd "convert an struct sockaddr to the real host name" +.Nd "convert a struct sockaddr to the real host name" .Sh LIBRARY .Lb libutil .Sh SYNOPSIS diff --git a/libexec/bootpd/getether.c b/libexec/bootpd/getether.c index 3a658266891e..e4dc1b66b9e2 100644 --- a/libexec/bootpd/getether.c +++ b/libexec/bootpd/getether.c @@ -261,7 +261,7 @@ getether(ifname, eap) /* * Get the Ethernet address the same way the ARP module * does when it is pushed onto a new stream (bind). - * One should instead be able just do an dl_info_req + * One should instead be able just do a dl_info_req * but many drivers do not supply the hardware address * in the response to dl_info_req (they MUST supply it * for dl_bind_ack because the ARP module requires it). diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c index 3df41a8f08ea..4faae72cdd82 100644 --- a/libexec/getty/chat.c +++ b/libexec/getty/chat.c @@ -297,7 +297,7 @@ cleanstr(const unsigned char *s, int l) /* - * return result as an pseudo-english word + * return result as a pseudo-english word */ static const char * diff --git a/libexec/mknetid/hash.c b/libexec/mknetid/hash.c index 6de06d804fdb..b4a39cbc12ec 100644 --- a/libexec/mknetid/hash.c +++ b/libexec/mknetid/hash.c @@ -127,7 +127,7 @@ struct grouplist *lookup(struct member_entry *table[], char *key) struct grouplist dummy = { 99999, NULL }; /* - * Store an group member entry and/or update its grouplist. + * Store a group member entry and/or update its grouplist. */ void mstore (struct member_entry *table[], char *key, int gid, int dup) { diff --git a/release/doc/en_US.ISO8859-1/hardware/alpha/proc-alpha.sgml b/release/doc/en_US.ISO8859-1/hardware/alpha/proc-alpha.sgml index 644cf1a03a02..7d27aaaf0c8e 100644 --- a/release/doc/en_US.ISO8859-1/hardware/alpha/proc-alpha.sgml +++ b/release/doc/en_US.ISO8859-1/hardware/alpha/proc-alpha.sgml @@ -2249,7 +2249,7 @@ cpu EV5 #dependent on CPU model installed PCI slot and (shared) 3 PCI/EISA slots. PCI0 also has a PCI/EISA bridge that drives things like the serial and parallel ports, keyboard/mouse etc. PCI1 has 4 PCI slots - and an Symbios 810 SCSI chip. VGA console cards must be installed + and a Symbios 810 SCSI chip. VGA console cards must be installed in a slot connected to PCI0. The current &os; implementation has problems in handling @@ -2330,7 +2330,7 @@ cpu EV5 There are 2 separate PCI buses, PCI0 and PCI1. PCI0 has the 32-bit PCI slot and the 2 top-most 64-bit PCI slots. PCI0 also has an Intel 82375EB PCI/EISA bridge that drives things like the serial and parallel ports, - keyboard/mouse etc. PCI1 has 4 64-bit PCI slots and an Symbios 810 + keyboard/mouse etc. PCI1 has 4 64-bit PCI slots and a Symbios 810 SCSI chip. VGA console cards must be installed in a slot connected to PCI0. diff --git a/release/doc/en_US.ISO8859-1/installation/common/trouble.sgml b/release/doc/en_US.ISO8859-1/installation/common/trouble.sgml index 95b5d9ab2a2e..cebbc9ee8a4f 100644 --- a/release/doc/en_US.ISO8859-1/installation/common/trouble.sgml +++ b/release/doc/en_US.ISO8859-1/installation/common/trouble.sgml @@ -321,7 +321,7 @@ - When installing on an Dell Poweredge XE, Dell + When installing on a Dell Poweredge XE, Dell proprietary RAID controller DSA (Dell SCSI Array) isn't recognized. diff --git a/release/doc/en_US.ISO8859-1/relnotes/article.sgml b/release/doc/en_US.ISO8859-1/relnotes/article.sgml index 2776c5b61736..4f23c2d13e80 100644 --- a/release/doc/en_US.ISO8859-1/relnotes/article.sgml +++ b/release/doc/en_US.ISO8859-1/relnotes/article.sgml @@ -3321,7 +3321,7 @@ options HZ=1000 # not compulsory but strongly recommended &man.rand.3; has been improved to provide less biased results. - &man.rc.8; now has an framework for handling dependencies + &man.rc.8; now has a framework for handling dependencies between &man.rc.conf.5; variables. &merged; &man.rc.8; now deletes all non-directory files in diff --git a/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml b/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml index 2776c5b61736..4f23c2d13e80 100644 --- a/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml +++ b/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml @@ -3321,7 +3321,7 @@ options HZ=1000 # not compulsory but strongly recommended &man.rand.3; has been improved to provide less biased results. - &man.rc.8; now has an framework for handling dependencies + &man.rc.8; now has a framework for handling dependencies between &man.rc.conf.5; variables. &merged; &man.rc.8; now deletes all non-directory files in diff --git a/release/doc/fr_FR.ISO8859-1/hardware/alpha/proc-alpha.sgml b/release/doc/fr_FR.ISO8859-1/hardware/alpha/proc-alpha.sgml index f08cd405cf39..3e2cb1c4020e 100644 --- a/release/doc/fr_FR.ISO8859-1/hardware/alpha/proc-alpha.sgml +++ b/release/doc/fr_FR.ISO8859-1/hardware/alpha/proc-alpha.sgml @@ -2368,7 +2368,7 @@ cpu EV5 #dependent on CPU model installed PCI slot and (shared) 3 PCI/EISA slots. PCI0 also has a PCI/EISA bridge that drives things like the serial and parallel ports, keyboard/mouse etc. PCI1 has 4 PCI slots - and an Symbios 810 SCSI chip. VGA console cards must be installed + and a Symbios 810 SCSI chip. VGA console cards must be installed in a slot connected to PCI0. The current &os; implementation has problems in handling @@ -2449,7 +2449,7 @@ cpu EV5 There are 2 separate PCI buses, PCI0 and PCI1. PCI0 has the 32-bit PCI slot and the 2 top-most 64-bit PCI slots. PCI0 also has an Intel 82375EB PCI/EISA bridge that drives things like the serial and parallel ports, - keyboard/mouse etc. PCI1 has 4 64-bit PCI slots and an Symbios 810 + keyboard/mouse etc. PCI1 has 4 64-bit PCI slots and a Symbios 810 SCSI chip. VGA console cards must be installed in a slot connected to PCI0. diff --git a/release/doc/fr_FR.ISO8859-1/installation/common/trouble.sgml b/release/doc/fr_FR.ISO8859-1/installation/common/trouble.sgml index 96abb76ff2ba..151f0613dd5c 100644 --- a/release/doc/fr_FR.ISO8859-1/installation/common/trouble.sgml +++ b/release/doc/fr_FR.ISO8859-1/installation/common/trouble.sgml @@ -463,7 +463,7 @@ boot: - When installing on an Dell Poweredge XE, Dell + When installing on a Dell Poweredge XE, Dell proprietary RAID controller DSA (Dell SCSI Array) isn't recognized. diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c index 22ebd7446d8c..db753fd7a95b 100644 --- a/sbin/fdisk/fdisk.c +++ b/sbin/fdisk/fdisk.c @@ -1093,7 +1093,7 @@ process_partition(CMD *command) } /* - * Adjust start upwards, if necessary, to fall on an head boundary. + * Adjust start upwards, if necessary, to fall on a head boundary. */ if (partp->dp_start % dos_sectors != 0) { prev_head_boundary = partp->dp_start / dos_sectors * dos_sectors; @@ -1304,7 +1304,7 @@ sanitize_partition(struct dos_partition *partp) return (1); /* - * Adjust start upwards, if necessary, to fall on an head boundary. + * Adjust start upwards, if necessary, to fall on a head boundary. */ if (start % dos_sectors != 0) { prev_head_boundary = start / dos_sectors * dos_sectors; diff --git a/sbin/fdisk_pc98/fdisk.c b/sbin/fdisk_pc98/fdisk.c index 2e617be88137..4aba829cca3d 100644 --- a/sbin/fdisk_pc98/fdisk.c +++ b/sbin/fdisk_pc98/fdisk.c @@ -1128,7 +1128,7 @@ sanitize_partition(struct dos_partition *partp) return (1); /* - * Adjust start upwards, if necessary, to fall on an head boundary. + * Adjust start upwards, if necessary, to fall on a head boundary. */ if (start % dos_sectors != 0) { prev_head_boundary = start / dos_sectors * dos_sectors; diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index a9719ae3b977..3deb47b2ad65 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -538,7 +538,7 @@ initcg(int cylno, time_t utime, int fso, unsigned int Nflag) * Here we add or subtract (sign +1/-1) the available fragments in a given * block to or from the fragment statistics. By subtracting before and adding * after an operation on the free frag map we can easy update the fragment - * statistic, which seems to be otherwise an rather complex operation. + * statistic, which seems to be otherwise a rather complex operation. */ static void frag_adjust(ufs2_daddr_t frag, int sign) diff --git a/share/doc/papers/sysperf/5.t b/share/doc/papers/sysperf/5.t index 5d70a9a67368..ff008c336c34 100644 --- a/share/doc/papers/sysperf/5.t +++ b/share/doc/papers/sysperf/5.t @@ -31,6 +31,8 @@ .\" .\" @(#)5.t 5.1 (Berkeley) 4/17/91 .\" +.\" $FreeBSD$ +.\" .ds RH Functional Extensions .NH Functional Extensions @@ -69,7 +71,7 @@ The organization of network interfaces has been reworked to more cleanly support multiple network protocols. Network interfaces no longer contain a host's address on that network; instead -each interface contains a pointer to a list of addresses +each interface contains a pointer to a list of addresses assigned to that interface. This permits a single interface to support, for example, Internet protocols at the same time as XNS protocols. @@ -80,7 +82,7 @@ for 10 megabyte/second Ethernet\(dg \(dg Ethernet is a trademark of Xerox. .FE has been made more flexible by allowing hosts to -act as an ``clearing house'' for hosts that do +act as a ``clearing house'' for hosts that do not support ARP. In addition, system managers have more control over the contents of the ARP translation cache and may interactively interrogate and modify @@ -100,7 +102,7 @@ Number of File Descriptors .PP To allow full use of the many descriptor based services available, the previous hard limit of 30 open files per process has been relaxed. -The changes entailed generalizing \fIselect\fP to handle arrays of +The changes entailed generalizing \fIselect\fP to handle arrays of 32-bit words, removing the dependency on file descriptors from the page table entries, and limiting most of the linear scans of a process's file table. @@ -169,7 +171,7 @@ Users could not write their own return from exceptions; Many existing programs depend on interrupted system calls. The restartable system call semantics of 4.2BSD signals caused many of these programs to break. -To simplify porting of programs from inferior versions of +To simplify porting of programs from inferior versions of .UX the \fIsigvec\fP system call has been extended so that programmers may specify that system calls are not to be @@ -179,14 +181,14 @@ System Logging .PP A system logging facility has been added that sends kernel messages to the -syslog daemon for logging in /usr/adm/messages and possibly for +syslog daemon for logging in /usr/adm/messages and possibly for printing on the system console. The revised scheme for logging messages eliminates the time lag in updating the messages file, unifies the format of kernel messages, provides a finer granularity of control over the messages that get printed on the console, -and eliminates the degradation in response during the printing of +and eliminates the degradation in response during the printing of low-priority kernel messages. Recoverable system errors and common resource limitations are logged using this facility. diff --git a/share/doc/smm/06.nfs/1.t b/share/doc/smm/06.nfs/1.t index f68a863d90a9..0806cad54392 100644 --- a/share/doc/smm/06.nfs/1.t +++ b/share/doc/smm/06.nfs/1.t @@ -34,6 +34,8 @@ .\" .\" @(#)1.t 8.1 (Berkeley) 6/8/93 .\" +.\" $FreeBSD$ +.\" .sh 1 "NFS Implementation" .pp The 4.4BSD implementation of NFS and the alternate protocol nicknamed @@ -213,7 +215,7 @@ request/reply message in a single UDP datagram. Since UDP does not guarantee datagram delivery, the Remote Procedure Call (RPC) layer times out and retransmits an RPC request if -no RPC reply has been received. Since this round trip timeout (RTO) value +no RPC reply has been received. Since this round trip timeout (RTO) value is for the entire RPC operation, including RPC message transmission to the server, queuing at the server for an nfsd, performing the RPC and sending the RPC reply message back to the client, it can be highly variable @@ -230,7 +232,7 @@ Also, with an 8Kbyte read/write data size that must normally be fragmented at the IP layer for transmission.\** .(f \**6 IP fragments for an Ethernet, -which has an maximum transmission unit of 1500bytes. +which has a maximum transmission unit of 1500bytes. .)f For IP fragments to be successfully reassembled into the IP datagram at the receive end, all diff --git a/share/examples/isdn/FAQ b/share/examples/isdn/FAQ index e9a89ec89852..b8e5be423440 100644 --- a/share/examples/isdn/FAQ +++ b/share/examples/isdn/FAQ @@ -312,7 +312,7 @@ It looks ugly, but at least for me it works. The two sleeps are necessary since I have to wait for ppp negotiation to complete (I don't get a message from isdnd for that). If I'm lucky I have my connection after 3 seconds, but 8 seconds should suffice for worst case (the first HUP without a sleep -sometimes even succeeded on an slow 486/33 with 8MB RAM, more HUPs don't hurt). +sometimes even succeeded on a slow 486/33 with 8MB RAM, more HUPs don't hurt). I'm really interested in some more elegant method. @@ -1070,7 +1070,7 @@ A: i just found out what i did wrong ... isdn_fsdev="NO" isdn_flags="" - had to do that if i want to run isdnd as an daemon service, 'cause the + had to do that if i want to run isdnd as a daemon service, 'cause the defaults in /etc/defaults/rc.conf are: isdn_fsdev="/dev/ttyv4" # Output device for fullscreen mode (or NO for daemon mode). diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4 index 77ea455c8a71..409d10d5a71b 100644 --- a/share/man/man4/tcp.4 +++ b/share/man/man4/tcp.4 @@ -332,7 +332,7 @@ Enable debugging for the bandwidth delay product algorithm. This may default to on (1) so if you enable the algorithm you should probably also disable debugging by setting this variable to 0. .It tcp.inflight_min -This puts an lower bound on the bandwidth delay product window, in bytes. +This puts a lower bound on the bandwidth delay product window, in bytes. A value of 1024 is typically used for debugging. 6000-16000 is more typical in a production installation. Setting this value too low may result in slow ramp-up times for bursty connections. Setting this value too high diff --git a/share/man/man9/scheduler.9 b/share/man/man9/scheduler.9 index 0ffd1dc9486c..c56fd0b6c653 100644 --- a/share/man/man9/scheduler.9 +++ b/share/man/man9/scheduler.9 @@ -146,7 +146,7 @@ processes blocked on the mutex in question is updated to reflect its new priority. Then, the function repeats the procedure using the process that owns the mutex just encountered. -Note that an process's priorities are only bumped to the priority of the +Note that a process's priorities are only bumped to the priority of the original process .Fa p , not to the priority of the previously encountered process. diff --git a/share/termcap/map3270 b/share/termcap/map3270 index 6fbd0c624038..306ac437844f 100644 --- a/share/termcap/map3270 +++ b/share/termcap/map3270 @@ -31,6 +31,7 @@ # # @(#)map3270 8.2 (Berkeley) 4/1/94 # +# $FreeBSD$ # This file contains mappings between characters entered from the keyboard, # and 3270 keys, for use by programs (like tn3270) doing 3270 emulation @@ -925,7 +926,7 @@ tn3270pc | ibm-3278-2 { # # MAP3270 for the IBM PC # Nearly identical to the MS-Kermit UCB 227.14 keyboard which in turn was -# an modest improvement of the BIJOU Yterm keyboard. +# a modest improvement of the BIJOU Yterm keyboard. # Includes underlying ADM3A keystrokes for full S/1 compatibiliy. # Adds some Ctrl-keypad keys to compensate for TN3270 ROMBIOS dependency # which prevents separate use of the keypad plus and minus keys, and adds diff --git a/sys/boot/ficl/words.c b/sys/boot/ficl/words.c index 9ede5371da43..341993885baa 100644 --- a/sys/boot/ficl/words.c +++ b/sys/boot/ficl/words.c @@ -4535,7 +4535,7 @@ static void funcname(FICL_VM *pVM) /************************************************************************** f i c l W o r d C l a s s i f y ** This public function helps to classify word types for SEE -** and the deugger in tools.c. Given an pointer to a word, it returns +** and the deugger in tools.c. Given a pointer to a word, it returns ** a member of WOR **************************************************************************/ WORDKIND ficlWordClassify(FICL_WORD *pFW) diff --git a/sys/cam/cam_queue.c b/sys/cam/cam_queue.c index 988a1a2f42e3..11476f004584 100644 --- a/sys/cam/cam_queue.c +++ b/sys/cam/cam_queue.c @@ -187,7 +187,7 @@ camq_remove(struct camq *queue, int index) /* * camq_change_priority: Given an array of cam_pinfo* elements with the * Heap(1, num_entries) property, an index such that 1 <= index <= num_elements, - * and an new priority for the element at index, change the priority of + * and a new priority for the element at index, change the priority of * element index and restore the Heap(0, num_elements) property. */ void diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c index 0f5831a2a47b..a95e78ba707e 100644 --- a/sys/dev/amr/amr.c +++ b/sys/dev/amr/amr.c @@ -1754,7 +1754,7 @@ amr_describe_controller(struct amr_softc *sc) /* this looks like we have an HP NetRaid version of the MegaRaid */ if(ae->ae_signature == AMR_SIG_438) { - /* the AMI 438 is an NetRaid 3si in HP-land */ + /* the AMI 438 is a NetRaid 3si in HP-land */ prod = "HP NetRaid 3si"; } diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c index 888ae9d16f3e..c9f9650303db 100644 --- a/sys/dev/ccd/ccd.c +++ b/sys/dev/ccd/ccd.c @@ -569,7 +569,7 @@ ccdinit(struct ccd_s *cs, char **cpaths, struct thread *td) ccg->ccg_ncylinders = cs->sc_size / ccg->ccg_nsectors; /* - * Add an devstat entry for this device. + * Add a devstat entry for this device. */ devstat_add_entry(&cs->device_stats, "ccd", cs->sc_unit, ccg->ccg_secsize, DEVSTAT_ALL_SUPPORTED, diff --git a/sys/dev/cm/smc90cx6.c b/sys/dev/cm/smc90cx6.c index c12b0161a5a4..73f0523debdd 100644 --- a/sys/dev/cm/smc90cx6.c +++ b/sys/dev/cm/smc90cx6.c @@ -1049,7 +1049,7 @@ cm_ioctl(ifp, command, data) * software has not enabled the Receiver, would make our hardware wait forever * Discovered this after 20 times reading the docs. * - * Only thing we do is disable transmitter. We'll get an transmit timeout, + * Only thing we do is disable transmitter. We'll get a transmit timeout, * and the int handler will have to decide not to retransmit (in case * retransmission is implemented). * diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index a9435560842d..531af303733b 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -1628,7 +1628,7 @@ isp_fclink_test(struct ispsoftc *isp, int usdelay) * Check to see if we're on a fabric by trying to see if we * can talk to the fabric name server. This can be a bit * tricky because if we're a 2100, we should check always - * (in case we're connected to an server doing aliasing). + * (in case we're connected to a server doing aliasing). */ fcp->isp_onfabric = 0; diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c index bb5b23bc046b..f5990528ae07 100644 --- a/sys/dev/isp/isp_target.c +++ b/sys/dev/isp/isp_target.c @@ -763,7 +763,7 @@ isp_handle_atio(struct ispsoftc *isp, at_entry_t *aep) case AT_RESET: /* - * A bus reset came along an blew away this command. Why + * A bus reset came along and blew away this command. Why * they do this in addition the async event code stuff, * I dunno. * diff --git a/sys/dev/isp/isp_tpublic.h b/sys/dev/isp/isp_tpublic.h index 548dea70e441..5074af59ceaa 100644 --- a/sys/dev/isp/isp_tpublic.h +++ b/sys/dev/isp/isp_tpublic.h @@ -82,7 +82,7 @@ typedef struct { * * The cd_private tag should be used by the MD layer to keep a free list * of these structures. Code outside of this driver can then use this - * as an to identify it's own unit structures. That is, when not on the MD + * to identify it's own unit structures. That is, when not on the MD * layer's freelist, the MD layer should shove into it the identifier * that the outer layer has for it- passed in on an initial QIN_HBA_REG * call (see below). @@ -294,7 +294,7 @@ typedef enum { */ /* - * A word about ENABLE/DISABLE: the argument is a pointer to an tmd_cmd_t + * A word about ENABLE/DISABLE: the argument is a pointer to a tmd_cmd_t * with cd_hba, cd_bus, cd_tgt and cd_lun filled out. If an error occurs * in either enabling or disabling the described lun, cd_lflags is set * with CDFL_ERROR. diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index c95aeeed6ca1..67fa7bde58bb 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -791,7 +791,7 @@ nge_reset(sc) } /* - * Probe for an NatSemi chip. Check the PCI vendor and device + * Probe for a NatSemi chip. Check the PCI vendor and device * IDs against our list and return a device name if we find a match. */ static int diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c index 6f72096ac093..5ba4dc3a6099 100644 --- a/sys/dev/ppbus/if_plip.c +++ b/sys/dev/ppbus/if_plip.c @@ -35,7 +35,7 @@ * This driver sends two bytes (0x08, 0x00) in front of each packet, * to allow us to distinguish another format later. * - * Now added an Linux/Crynwr compatibility mode which is enabled using + * Now added a Linux/Crynwr compatibility mode which is enabled using * IF_LINK0 - Tim Wilkinson. * * TODO: diff --git a/sys/dev/ppbus/ppi.c b/sys/dev/ppbus/ppi.c index d2cf4fd6a781..e1bc241f4ec4 100644 --- a/sys/dev/ppbus/ppi.c +++ b/sys/dev/ppbus/ppi.c @@ -207,13 +207,13 @@ ppiintr(void *arg) switch (ppb_1284_get_state(ppbus)) { - /* accept IEEE1284 negociation then wakeup an waiting process to - * continue negociation at process level */ + /* accept IEEE1284 negotiation then wakeup a waiting process to + * continue negotiation at process level */ case PPB_FORWARD_IDLE: /* Event 1 */ if ((ppb_rstr(ppbus) & (SELECT | nBUSY)) == (SELECT | nBUSY)) { - /* IEEE1284 negociation */ + /* IEEE1284 negotiation */ #ifdef DEBUG_1284 printf("N"); #endif @@ -231,7 +231,7 @@ ppiintr(void *arg) break; } - /* wake up any process waiting for negociation from + /* wake up any process waiting for negotiation from * remote master host */ /* XXX should set a variable to warn the process about @@ -326,7 +326,7 @@ ppiclose(dev_t dev, int flags, int fmt, struct thread *td) * * IEEE1284 compliant read. * - * First, try negociation to BYTE then NIBBLE mode + * First, try negotiation to BYTE then NIBBLE mode * If no data is available, wait for it otherwise transfer as much as possible */ static int @@ -345,7 +345,7 @@ ppiread(dev_t dev, struct uio *uio, int ioflag) /* FALLTHROUGH */ case PPB_FORWARD_IDLE: - /* if can't negociate NIBBLE mode then try BYTE mode, + /* if can't negotiate NIBBLE mode then try BYTE mode, * the peripheral may be a computer */ if ((ppb_1284_negociate(ppbus, @@ -407,11 +407,11 @@ ppiread(dev_t dev, struct uio *uio, int ioflag) * * Actually, this is the peripheral side of a remote IEEE1284 read * - * The first part of the negociation (IEEE1284 device detection) is + * The first part of the negotiation (IEEE1284 device detection) is * done at interrupt level, then the remaining is done by the writing * process * - * Once negociation done, transfer data + * Once negotiation done, transfer data */ static int ppiwrite(dev_t dev, struct uio *uio, int ioflag) @@ -434,9 +434,9 @@ ppiwrite(dev_t dev, struct uio *uio, int ioflag) MS_RET(0) }; - /* negociate ECP mode */ + /* negotiate ECP mode */ if (ppb_1284_negociate(ppbus, PPB_ECP, 0)) { - printf("ppiwrite: ECP negociation failed\n"); + printf("ppiwrite: ECP negotiation failed\n"); } while (!error && (len = min(uio->uio_resid, BUFSIZE))) { @@ -462,12 +462,12 @@ ppiwrite(dev_t dev, struct uio *uio, int ioflag) ppi_enable_intr(ppidev); - /* sleep until IEEE1284 negociation starts */ + /* sleep until IEEE1284 negotiation starts */ error = tsleep(ppi, PCATCH | PPBPRI, "ppiwrite", 0); switch (error) { case 0: - /* negociate peripheral side with BYTE mode */ + /* negotiate peripheral side with BYTE mode */ ppb_peripheral_negociate(ppbus, PPB_BYTE, 0); break; case EWOULDBLOCK: @@ -480,7 +480,7 @@ ppiwrite(dev_t dev, struct uio *uio, int ioflag) printf("N"); #endif - /* negociation done, write bytes to master host */ + /* negotiation done, write bytes to master host */ while ((len = min(uio->uio_resid, BUFSIZE)) != 0) { uiomove(ppi->ppi_buffer, len, uio); if ((error = byte_peripheral_write(ppbus, diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c index 06106b972913..3bce20b8d36f 100644 --- a/sys/dev/puc/puc.c +++ b/sys/dev/puc/puc.c @@ -302,7 +302,7 @@ puc_attach(device_t dev, const struct puc_device_description *desc) } /* - * This is just an brute force interrupt handler. It just calls all the + * This is just a brute force interrupt handler. It just calls all the * registered handlers sequencially. * * Later on we should maybe have a different handler for boards that can diff --git a/sys/dev/sym/sym_fw1.h b/sys/dev/sym/sym_fw1.h index 8799283e2e00..96ae523ddc1d 100644 --- a/sys/dev/sym/sym_fw1.h +++ b/sys/dev/sym/sym_fw1.h @@ -821,7 +821,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { HADDR_1 (ccb_head.status), /* * If QUIRK_AUTOSAVE is set, - * do an "save pointer" operation. + * do a "save pointer" operation. */ SCR_FROM_REG (QU_REG), 0, diff --git a/sys/dev/sym/sym_fw2.h b/sys/dev/sym/sym_fw2.h index 600bcf196c53..77f8df32d7ec 100644 --- a/sys/dev/sym/sym_fw2.h +++ b/sys/dev/sym/sym_fw2.h @@ -779,7 +779,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = { offsetof (struct sym_ccb, phys.head.status), /* * If QUIRK_AUTOSAVE is set, - * do an "save pointer" operation. + * do a "save pointer" operation. */ SCR_FROM_REG (QU_REG), 0, diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c index 31e8b9c4b628..d15a1ffa04a0 100644 --- a/sys/dev/sym/sym_hipd.c +++ b/sys/dev/sym/sym_hipd.c @@ -4028,7 +4028,7 @@ static void sym_log_hard_error(hcb_p np, u_short sist, u_char dstat) * the following situations: * * - SCSI parity error + Phase mismatch (PAR|MA) - * When an parity error is detected in input phase + * When a parity error is detected in input phase * and the device switches to msg-in phase inside a * block MOV. * - SCSI parity error + Unexpected disconnect (PAR|UDC) @@ -6118,7 +6118,7 @@ static void sym_wide_nego(hcb_p np, tcb_p tp, ccb_p cp) }; /* - * Is it an request from the device? + * Is it a request from the device? */ if (INB (HS_PRT) == HS_NEGOTIATE) { OUTB (HS_PRT, HS_BUSY); diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c index 925d64de6d9d..f3b29ce30848 100644 --- a/sys/dev/wl/if_wl.c +++ b/sys/dev/wl/if_wl.c @@ -915,7 +915,7 @@ wlstart(struct ifnet *ifp) * the local buffer, the contents are copied to an mbuf chain that * is then enqueued onto the appropriate "if" queue. * - * input : board number, and an frame descriptor address + * input : board number, and a frame descriptor address * output : the packet is put into an mbuf chain, and passed up * assumes : if any errors occur, packet is "dropped on the floor" * diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 5f144a8d9c72..4dff0f38cbcc 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -579,7 +579,7 @@ hpfs_setattr(ap) } /* - * Last reference to an node. If necessary, write or delete it. + * Last reference to a node. If necessary, write or delete it. */ int hpfs_inactive(ap) diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index 2c74b413065a..566cd35baa3d 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -157,7 +157,7 @@ * is appropriate in different situations. In both cases, * it is the responsibility of the aliasing layer to make * the operation arguments "correct" for the lower layer - * by mapping an vnode arguments to the lower layer. + * by mapping a vnode arguments to the lower layer. * * The first approach is to call the aliasing layer's bypass routine. * This method is most suitable when you wish to invoke the operation diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index cd85cbd96303..034fc7725b7f 100644 --- a/sys/fs/smbfs/smbfs_smb.c +++ b/sys/fs/smbfs/smbfs_smb.c @@ -364,7 +364,7 @@ smb_smb_flush(struct smbnode *np, struct smb_cred *scred) int error; if (np->n_opencount <= 0 || !SMBTOV(np) || SMBTOV(np)->v_type != VREG) - return 0; /* not an regular open file */ + return 0; /* not a regular open file */ error = smb_rq_init(rqp, SSTOCP(ssp), SMB_COM_FLUSH, scred); if (error) return (error); diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c index 888ae9d16f3e..c9f9650303db 100644 --- a/sys/geom/geom_ccd.c +++ b/sys/geom/geom_ccd.c @@ -569,7 +569,7 @@ ccdinit(struct ccd_s *cs, char **cpaths, struct thread *td) ccg->ccg_ncylinders = cs->sc_size / ccg->ccg_nsectors; /* - * Add an devstat entry for this device. + * Add a devstat entry for this device. */ devstat_add_entry(&cs->device_stats, "ccd", cs->sc_unit, ccg->ccg_secsize, DEVSTAT_ALL_SUPPORTED, diff --git a/sys/gnu/ext2fs/ext2_linux_balloc.c b/sys/gnu/ext2fs/ext2_linux_balloc.c index 632044009643..435661bb57da 100644 --- a/sys/gnu/ext2fs/ext2_linux_balloc.c +++ b/sys/gnu/ext2fs/ext2_linux_balloc.c @@ -47,7 +47,7 @@ #elif __alpha__ #include #else -#error Provide an bitops.h file, please ! +#error Provide a bitops.h file, please! #endif #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) diff --git a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c index 632044009643..435661bb57da 100644 --- a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c +++ b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c @@ -47,7 +47,7 @@ #elif __alpha__ #include #else -#error Provide an bitops.h file, please ! +#error Provide a bitops.h file, please! #endif #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) diff --git a/sys/i386/isa/istallion.c b/sys/i386/isa/istallion.c index d56a294a2e44..10b292ebc4be 100644 --- a/sys/i386/isa/istallion.c +++ b/sys/i386/isa/istallion.c @@ -3745,7 +3745,7 @@ static int stli_clrportstats(stliport_t *portp, caddr_t data) /*****************************************************************************/ /* - * Code to handle an "staliomem" read and write operations. This device + * Code to handle a "staliomem" read and write operations. This device * is the contents of the board shared memory. It is used for down * loading the slave image (and debugging :-) */ diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index e3737d73e7f3..e4a84c347770 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -615,7 +615,7 @@ DB_SHOW_COMMAND(pgrpdump, pgrpdump) #endif /* DDB */ /* - * Fill in an kinfo_proc structure for the specified process. + * Fill in a kinfo_proc structure for the specified process. * Must be called with the target process locked. */ void diff --git a/sys/net/if_var.h b/sys/net/if_var.h index ebd3e668579c..6bfc8448c717 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -364,7 +364,7 @@ struct ifaddr { /* * The prefix structure contains information about one prefix * of an interface. They are maintained by the different address families, - * are allocated and attached when an prefix or an address is set, + * are allocated and attached when a prefix or an address is set, * and are linked together so all prefixes for an interface can be located. */ struct ifprefix { diff --git a/sys/netatm/spans/spans_msg.c b/sys/netatm/spans/spans_msg.c index 745cdb2845f0..c59708081995 100644 --- a/sys/netatm/spans/spans_msg.c +++ b/sys/netatm/spans/spans_msg.c @@ -1054,7 +1054,7 @@ spans_close_req(spp, msg) /* * Process a close response or close confirmation * - * Called when an close response or close confirmation is received. + * Called when a close response or close confirmation is received. * Processing will be based on the state of the requested connection and * the returned status. * @@ -1241,7 +1241,7 @@ spans_add_req(spp, msg) /* * Process a join request * - * Called when an join request is received. We don't support group + * Called when a join request is received. We don't support group * addresses, so we just reject the request. * * Arguments: @@ -1286,7 +1286,7 @@ spans_join_req(spp, msg) /* * Process a leave request * - * Called when an leave request is received. We don't support group + * Called when a leave request is received. We don't support group * addresses, so we just reject the request. * * Arguments: diff --git a/sys/netatm/spans/spans_util.c b/sys/netatm/spans/spans_util.c index 19d4ff6de2ac..2b34219d1702 100644 --- a/sys/netatm/spans/spans_util.c +++ b/sys/netatm/spans/spans_util.c @@ -325,7 +325,7 @@ spans_find_vpvc(spp, vpi, vci, dir) * * Arguments: * spp pointer to SPANS protocol instance - * p pointer to an spans_atm_conn structure + * p pointer to a spans_atm_conn structure * * Returns: * 0 there is no such VCCB diff --git a/sys/netatm/uni/sscop_lower.c b/sys/netatm/uni/sscop_lower.c index 76d93b9ed90e..8f9c75cd5947 100644 --- a/sys/netatm/uni/sscop_lower.c +++ b/sys/netatm/uni/sscop_lower.c @@ -67,7 +67,7 @@ __RCSID("@(#) $FreeBSD$"); * Local variables */ /* - * Stack commands with arg1 containing an buffer pointer + * Stack commands with arg1 containing a buffer pointer */ static u_char sscop_buf1[] = { 0, diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h index d16fd594834a..9edb73b27830 100644 --- a/sys/netinet6/ip6_var.h +++ b/sys/netinet6/ip6_var.h @@ -206,7 +206,7 @@ struct ip6stat { * from the destination is chosen. */ u_quad_t ip6s_sources_otherscope[16]; - /* number of times that an deprecated address is chosen */ + /* number of times that a deprecated address is chosen */ u_quad_t ip6s_sources_deprecated[16]; u_quad_t ip6s_forward_cachehit; diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c index 88af7ce6dec4..16bfbb41aea8 100644 --- a/sys/netinet6/nd6_nbr.c +++ b/sys/netinet6/nd6_nbr.c @@ -84,7 +84,7 @@ static int dad_ignore_ns = 0; /* ignore NS in DAD - specwise incorrect*/ static int dad_maxtry = 15; /* max # of *tries* to transmit DAD packet */ /* - * Input an Neighbor Solicitation Message. + * Input a Neighbor Solicitation Message. * * Based on RFC 2461 * Based on RFC 2462 (duplicated address detection) @@ -323,7 +323,7 @@ nd6_ns_input(m, off, icmp6len) } /* - * Output an Neighbor Solicitation Message. Caller specifies: + * Output a Neighbor Solicitation Message. Caller specifies: * - ICMP6 header source IP6 address * - ND6 header target IP6 address * - ND6 header source datalink address diff --git a/sys/netsmb/smb.h b/sys/netsmb/smb.h index 8ffd2ef702f9..56cfbcc9ced3 100644 --- a/sys/netsmb/smb.h +++ b/sys/netsmb/smb.h @@ -334,7 +334,7 @@ enum smb_dialects { #define SMBSUCCESS 0x00 #define ERRDOS 0x01 #define ERRSRV 0x02 -#define ERRHRD 0x03 /* Error is an hardware error. */ +#define ERRHRD 0x03 /* Error is a hardware error. */ #define ERRCMD 0xFF /* Command was not in the "SMB" format. */ /* diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c index d77f8f76f66a..bfa419ee398c 100644 --- a/sys/nfsclient/bootp_subr.c +++ b/sys/nfsclient/bootp_subr.c @@ -1386,7 +1386,7 @@ bootpc_compose_query(struct bootpc_ifcontext *ifctx, *vendp = TAG_END; ifctx->call.secs = 0; - ifctx->call.flags = htons(0x8000); /* We need an broadcast answer */ + ifctx->call.flags = htons(0x8000); /* We need a broadcast answer */ } static int diff --git a/sys/pc98/cbus/olpt.c b/sys/pc98/cbus/olpt.c index 18669eed4aac..5369e46a798b 100644 --- a/sys/pc98/cbus/olpt.c +++ b/sys/pc98/cbus/olpt.c @@ -62,7 +62,7 @@ * This driver sends two bytes (0x08, 0x00) in front of each packet, * to allow us to distinguish another format later. * - * Now added an Linux/Crynwr compatibility mode which is enabled using + * Now added a Linux/Crynwr compatibility mode which is enabled using * IF_LINK0 - Tim Wilkinson. * * TODO: diff --git a/sys/pc98/pc98/olpt.c b/sys/pc98/pc98/olpt.c index 18669eed4aac..5369e46a798b 100644 --- a/sys/pc98/pc98/olpt.c +++ b/sys/pc98/pc98/olpt.c @@ -62,7 +62,7 @@ * This driver sends two bytes (0x08, 0x00) in front of each packet, * to allow us to distinguish another format later. * - * Now added an Linux/Crynwr compatibility mode which is enabled using + * Now added a Linux/Crynwr compatibility mode which is enabled using * IF_LINK0 - Tim Wilkinson. * * TODO: diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index ad298599579e..bd7b5c318cd3 100644 --- a/sys/pci/ncr.c +++ b/sys/pci/ncr.c @@ -2056,7 +2056,7 @@ static struct script script0 = { }/*-------------------------< DISCONNECT >---------------*/,{ /* ** If QUIRK_AUTOSAVE is set, - ** do an "save pointer" operation. + ** do a "save pointer" operation. */ SCR_FROM_REG (QU_REG), 0, diff --git a/sys/sparc64/pci/psycho.c b/sys/sparc64/pci/psycho.c index 939018eb7920..33611d78c6d8 100644 --- a/sys/sparc64/pci/psycho.c +++ b/sys/sparc64/pci/psycho.c @@ -537,7 +537,7 @@ psycho_attach(device_t dev) * of a pair of psycho's to arrive here. * * We should calculate a TSB size based on amount of RAM - * and number of bus controllers and number an type of + * and number of bus controllers and number and type of * child devices. * * For the moment, 32KB should be more than enough. diff --git a/sys/sparc64/sparc64/cache.c b/sys/sparc64/sparc64/cache.c index ef17c5d3409a..6b27f14137d4 100644 --- a/sys/sparc64/sparc64/cache.c +++ b/sys/sparc64/sparc64/cache.c @@ -78,7 +78,7 @@ /* * Cache routines. * - * UltraSPARCs have an virtually indexed, physically tagged (VIPT) level 1 data + * UltraSPARCs have a virtually indexed, physically tagged (VIPT) level 1 data * cache (D$) and physically indexed, physically tagged (PIPT) level 1 * instruction (I$) and Level 2 (E$) caches. * D$ is directly mapped, I$ is pseudo 2-way associative. The Level 2 cache (E$) diff --git a/sys/sys/namei.h b/sys/sys/namei.h index 00e76438ad91..739b1ecf9954 100644 --- a/sys/sys/namei.h +++ b/sys/sys/namei.h @@ -148,7 +148,7 @@ struct nameidata { #define PARAMASK 0xfffe00 /* mask of parameter descriptors */ /* - * Initialization of an nameidata structure. + * Initialization of a nameidata structure. */ static void NDINIT(struct nameidata *, u_long, u_long, enum uio_seg, const char *, struct thread *); diff --git a/sys/sys/unpcb.h b/sys/sys/unpcb.h index 754cce6523dc..e69eedc4ba7d 100644 --- a/sys/sys/unpcb.h +++ b/sys/sys/unpcb.h @@ -44,7 +44,7 @@ * Protocol control block for an active * instance of a UNIX internal protocol. * - * A socket may be associated with an vnode in the + * A socket may be associated with a vnode in the * filesystem. If so, the unp_vnode pointer holds * a reference count to this vnode, which should be irele'd * when the socket goes away. diff --git a/tools/tools/mid/mid-build b/tools/tools/mid/mid-build index ced5f4cc1d20..0a2d4480a5a8 100755 --- a/tools/tools/mid/mid-build +++ b/tools/tools/mid/mid-build @@ -2,8 +2,9 @@ # # Copyright (c) March 1998 Wolfram Schneider # -# create an Message-ID, In-Reply-To look(1) index database +# create a Message-ID, In-Reply-To look(1) index database # +# $FreeBSD$ TMPDIR=/var/tmp; export TMPDIR @@ -25,7 +26,7 @@ all () current () { ( cd $archive || exit 1 - find current/freebsd-* current/cvs-* -type f | + find current/freebsd-* current/cvs-* -type f | mid-master-index 1 mid-index $dbout/mid-current ) } @@ -35,7 +36,7 @@ if [ $# -le 0 ]; then exit 1 fi -for db +for db do case $db in current) current;; diff --git a/usr.bin/chat/chat.8 b/usr.bin/chat/chat.8 index 306192cd9324..ecc733d1ce7b 100644 --- a/usr.bin/chat/chat.8 +++ b/usr.bin/chat/chat.8 @@ -361,7 +361,7 @@ stage of logging in to a callback system), \fBchat\fR will continue running the script (e.g., waiting for the incoming call and second stage login prompt). As soon as the incoming call is connected, you should use the \fBHANGUP ON\fR directive to reinstall normal hang up -signal behavior. Here is an (simple) example script: +signal behavior. Here is a (simple) example script: .IP ABORT 'BUSY' .br diff --git a/usr.bin/cmp/cmp.1 b/usr.bin/cmp/cmp.1 index b8195fbef9a5..2f82bc395d80 100644 --- a/usr.bin/cmp/cmp.1 +++ b/usr.bin/cmp/cmp.1 @@ -86,7 +86,7 @@ are the byte offsets from the beginning of and .Ar file2 , respectively, where the comparison will begin. -The offset is decimal by default, but may be expressed as an hexadecimal +The offset is decimal by default, but may be expressed as a hexadecimal or octal value by preceding it with a leading ``0x'' or ``0''. .Pp The diff --git a/usr.bin/compress/doc/README b/usr.bin/compress/doc/README index 9a0c35d49781..2b5f6ba98b23 100644 --- a/usr.bin/compress/doc/README +++ b/usr.bin/compress/doc/README @@ -233,7 +233,7 @@ Here is the README file from the previous version of compress (2.0): >Here is the README that I sent with my first posting: > >>Enclosed is a modified version of compress.c, along with scripts to make it ->>run identically to pack(1), unpack(1), an pcat(1). Here is what I +>>run identically to pack(1), unpack(1), and pcat(1). Here is what I >>(petsd!joe) and a colleague (petsd!peora!srd) did: >> >>1. Removed VAX dependencies. diff --git a/usr.bin/ldd/ldd.1 b/usr.bin/ldd/ldd.1 index 7ec710e787e7..0446aa260d7a 100644 --- a/usr.bin/ldd/ldd.1 +++ b/usr.bin/ldd/ldd.1 @@ -46,7 +46,7 @@ binaries. .Pp The .Fl v -option displays an verbose listing of the dynamic linking headers +option displays a verbose listing of the dynamic linking headers encoded in the executable. See the source code and include files for the definitive meaning of all the fields. diff --git a/usr.bin/lex/lex.1 b/usr.bin/lex/lex.1 index a67099aeaf1f..dcfc8277672f 100644 --- a/usr.bin/lex/lex.1 +++ b/usr.bin/lex/lex.1 @@ -3872,7 +3872,7 @@ REJECT. .PP .I fatal flex scanner internal error--end of buffer missed - -This can occur in an scanner which is reentered after a long-jump +This can occur in a scanner which is reentered after a long-jump has jumped out (or over) the scanner's activation frame. Before reentering the scanner, use: .nf diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c index b6eb1240633d..b1f68c8ec5a1 100644 --- a/usr.bin/make/suff.c +++ b/usr.bin/make/suff.c @@ -1031,7 +1031,7 @@ SuffAddLevel (Lst l, Src *targ) * Free all src structures in list that don't have a reference count * * Results: - * Ture if an src was removed + * True if a src was removed * * Side Effects: * The memory is free'd. diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c index bef76c528313..1867c7c5bc14 100644 --- a/usr.bin/pr/pr.c +++ b/usr.bin/pr/pr.c @@ -1437,7 +1437,7 @@ prhead(char *buf, const char *fname, int pagcnt) * restrictions. The specification for header line format * in the spec clearly does not limit length. No pr currently * restricts header length. However if we need to truncate in - * an reasonable way, adjust the length of the printf by + * a reasonable way, adjust the length of the printf by * changing HDFMT to allow a length max as an arguement printf. * buf (which contains the offset spaces and time field could * also be trimmed diff --git a/usr.bin/tr/tr.1 b/usr.bin/tr/tr.1 index 78b7b06a0ecd..77f2fea05640 100644 --- a/usr.bin/tr/tr.1 +++ b/usr.bin/tr/tr.1 @@ -276,7 +276,7 @@ to the ``['' character in However, if the shell script is deleting or squeezing characters as in the command ``tr -d [a-z]'', the characters ``['' and ``]'' will be included in the deletion or compression list which would not have happened -under an historic System V implementation. +under a historic System V implementation. Additionally, any scripts that depended on the sequence ``a-z'' to represent the three characters ``a'', ``-'' and ``z'' will have to be rewritten as ``a\e-z''. diff --git a/usr.bin/xlint/lint1/decl.c b/usr.bin/xlint/lint1/decl.c index e59fe67dfc33..6069bf5a6886 100644 --- a/usr.bin/xlint/lint1/decl.c +++ b/usr.bin/xlint/lint1/decl.c @@ -3010,7 +3010,7 @@ glchksz(sym_t *sym) if (sym->s_def == TDEF) { if (sym->s_type->t_tspec == FUNC) /* - * this can happen if an syntax error occurred + * this can happen if a syntax error occurred * after a function declaration */ return; diff --git a/usr.bin/xlint/lint1/emit1.c b/usr.bin/xlint/lint1/emit1.c index fc47a8417854..e62549c63c05 100644 --- a/usr.bin/xlint/lint1/emit1.c +++ b/usr.bin/xlint/lint1/emit1.c @@ -36,6 +36,7 @@ #if defined(__RCSID) && !defined(lint) __RCSID("$NetBSD: emit1.c,v 1.11 2002/01/31 19:36:54 tv Exp $"); #endif +__FBSDID("$FreeBSD$"); #include @@ -207,7 +208,7 @@ outtt(sym_t *tag, sym_t *tdef) } /* - * write information about an global declared/defined symbol + * write information about a global declared/defined symbol * with storage class extern * * informations about function definitions are written in outfdef(), diff --git a/usr.bin/xlint/lint1/init.c b/usr.bin/xlint/lint1/init.c index 0fd0383b1ae2..cf4cbddfa98f 100644 --- a/usr.bin/xlint/lint1/init.c +++ b/usr.bin/xlint/lint1/init.c @@ -35,6 +35,7 @@ #if defined(__RCSID) && !defined(lint) __RCSID("$NetBSD: init.c,v 1.9 2001/09/18 18:15:54 wiz Exp $"); #endif +__FBSDID("$FreeBSD$"); #include @@ -171,7 +172,7 @@ pushinit(void) if (istk->i_type->t_tspec != ARRAY) lerror("pushinit() 2"); istk->i_type->t_dim++; - /* from now its an complete type */ + /* from now its a complete type */ setcompl(istk->i_type, 0); } diff --git a/usr.bin/xlint/lint1/tree.c b/usr.bin/xlint/lint1/tree.c index edd61b0f400d..cefbeb8e5ec9 100644 --- a/usr.bin/xlint/lint1/tree.c +++ b/usr.bin/xlint/lint1/tree.c @@ -2023,7 +2023,7 @@ cvtcon(op_t op, int arg, type_t *tp, val_t *nv, val_t *v) * to be significant bits. Loss of significant bits * means that at least on of the bits was set in an * unsigned type or that at least one, but not all of - * the bits was set in an signed type. + * the bits was set in a signed type. * Loss of significant bits means that it is not * possible, also not with necessary casts, to convert * back to the original type. A example for a diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c index 5595fd3321fb..06ad9b082f42 100644 --- a/usr.sbin/moused/moused.c +++ b/usr.sbin/moused/moused.c @@ -1164,7 +1164,7 @@ r_identify(void) cur_proto[1] = rodent.mode.syncmask[1]; /* header bit pattern */ } - /* maybe this is an PnP mouse... */ + /* maybe this is a PnP mouse... */ if (rodent.mode.protocol == MOUSE_PROTO_UNKNOWN) { if (rodent.flags & NoPnP) diff --git a/usr.sbin/ndp/ndp.8 b/usr.sbin/ndp/ndp.8 index f06ce4cf0da4..945f1ee7e869 100644 --- a/usr.sbin/ndp/ndp.8 +++ b/usr.sbin/ndp/ndp.8 @@ -153,7 +153,7 @@ The entry will be permanent unless the word is given in the command. If the word .Li proxy -is given, this system will act as an proxy NDP server, +is given, this system will act as a proxy NDP server, responding to requests for .Ar hostname even though the host address is not its own. diff --git a/usr.sbin/ntp/doc/ntp.conf.5 b/usr.sbin/ntp/doc/ntp.conf.5 index ac064e9c2449..7798a975fa68 100644 --- a/usr.sbin/ntp/doc/ntp.conf.5 +++ b/usr.sbin/ntp/doc/ntp.conf.5 @@ -352,7 +352,7 @@ Authentication support allows the NTP client to verify that the server is in fact known and trusted and not an intruder intending accidentally or on purpose to masquerade as that server. The NTPv3 -specification RFC-1305 defines an scheme which provides +specification RFC-1305 defines a scheme which provides cryptographic authentication of received NTP packets. Originally, this was done using the Data Encryption Standard (DES) algorithm @@ -1251,7 +1251,7 @@ is sent to the system log. The .Ar numeric_address argument, expressed in -dotted- quad form, is the address of an host or network. +dotted-quad form, is the address of a host or network. The .Cm mask , also expressed in dotted-quad form, diff --git a/usr.sbin/pccard/pccardd/cardd.c b/usr.sbin/pccard/pccardd/cardd.c index 9e8af7f44214..fa9a27737d1d 100644 --- a/usr.sbin/pccard/pccardd/cardd.c +++ b/usr.sbin/pccard/pccardd/cardd.c @@ -579,7 +579,7 @@ assign_driver(struct slot *sp, struct card *cp) break; } /* - * Ask the kernel if we have an free irq. + * Ask the kernel if we have a free irq. */ res.min = i; res.max = i; diff --git a/usr.sbin/pppd/fsm.c b/usr.sbin/pppd/fsm.c index 7f5882c28ecd..0c49c7092d86 100644 --- a/usr.sbin/pppd/fsm.c +++ b/usr.sbin/pppd/fsm.c @@ -636,7 +636,7 @@ fsm_rtermack(f) /* - * fsm_rcoderej - Receive an Code-Reject. + * fsm_rcoderej - Receive a Code-Reject. */ static void fsm_rcoderej(f, inp, len) diff --git a/usr.sbin/pppd/lcp.c b/usr.sbin/pppd/lcp.c index 21ff02eea62c..7a88d5775b32 100644 --- a/usr.sbin/pppd/lcp.c +++ b/usr.sbin/pppd/lcp.c @@ -342,7 +342,7 @@ lcp_extcode(f, code, id, inp, len) /* - * lcp_rprotrej - Receive an Protocol-Reject. + * lcp_rprotrej - Receive a Protocol-Reject. * * Figure out which protocol is rejected and inform it. */ diff --git a/usr.sbin/prefix/prefix.8 b/usr.sbin/prefix/prefix.8 index 6ef6ea667d00..d28845815339 100644 --- a/usr.sbin/prefix/prefix.8 +++ b/usr.sbin/prefix/prefix.8 @@ -46,7 +46,7 @@ .Sh DESCRIPTION The .Nm -utility is used to assign an prefix +utility is used to assign a prefix to a network interface. This command is currently just a frontend of .Xr ifconfig 8 , diff --git a/usr.sbin/rpcbind/rpcb_svc_com.c b/usr.sbin/rpcbind/rpcb_svc_com.c index 83b7e44f0242..60c3864b49ff 100644 --- a/usr.sbin/rpcbind/rpcb_svc_com.c +++ b/usr.sbin/rpcbind/rpcb_svc_com.c @@ -943,7 +943,7 @@ forward_register(u_int32_t caller_xid, struct netbuf *caller_addr, lastxid = time_now * NFORWARD; /* - * Check if it is an duplicate entry. Then, + * Check if it is a duplicate entry. Then, * try to find an empty slot. If not available, then * use the slot with the earliest time. */ diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c index 5b7d3041d2c8..956b03972bf6 100644 --- a/usr.sbin/rtadvd/config.c +++ b/usr.sbin/rtadvd/config.c @@ -389,7 +389,7 @@ getconfig(intface) addr = (char *)agetstr(entbuf, &bp); if (addr == NULL) { syslog(LOG_ERR, - "<%s> need %s as an prefix for " + "<%s> need %s as a prefix for " "interface %s", __FUNCTION__, entbuf, intface); exit(1); @@ -503,7 +503,7 @@ getconfig(intface) addr = (char *)agetstr(entbuf, &bp); if (addr == NULL) { syslog(LOG_ERR, - "<%s> need %s as an route for " + "<%s> need %s as a route for " "interface %s", __FUNCTION__, entbuf, intface); exit(1); diff --git a/usr.sbin/timed/SMM.doc/timed/timed.ms b/usr.sbin/timed/SMM.doc/timed/timed.ms index 031f2559cebf..412399ae41b3 100644 --- a/usr.sbin/timed/SMM.doc/timed/timed.ms +++ b/usr.sbin/timed/SMM.doc/timed/timed.ms @@ -49,7 +49,7 @@ Berkeley, CA 94720 .FS This work was sponsored by the Defense Advanced Research Projects Agency (DoD), monitored by the Naval Electronics Systems -Command under contract No. N00039-84-C-0089, and by the Italian CSELT +Command under contract No. N00039-84-C-0089, and by the Italian CSELT Corporation. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing official policies, @@ -59,59 +59,59 @@ of the US Government, or of CSELT. .LP .OH 'The Berkeley UNIX Time Synchronization Protocol''SMM:12-%' .EH 'SMM:12-%''The Berkeley UNIX Time Synchronization Protocol' -.SH +.SH Introduction .PP -The Time Synchronization Protocol (TSP) +The Time Synchronization Protocol (TSP) has been designed for specific use by the program \fItimed\fP, -a local area network clock synchronizer for +a local area network clock synchronizer for the UNIX 4.3BSD operating system. Timed is built on the DARPA UDP protocol [4] and is based on a master slave scheme. .PP TSP serves a dual purpose. -First, it supports messages for the synchronization of the clocks +First, it supports messages for the synchronization of the clocks of the various hosts in a local area network. Second, it supports messages for the election that occurs among slave time daemons when, for any reason, the master disappears. -The synchronization mechanism and the election procedure -employed by the program timed are described +The synchronization mechanism and the election procedure +employed by the program timed are described in other documents [1,2,3]. .PP -Briefly, the synchronization software, which works in a +Briefly, the synchronization software, which works in a local area network, consists of a collection of \fItime daemons\fP (one per machine) and is based on a master-slave structure. -The present implementation keeps processor clocks synchronized +The present implementation keeps processor clocks synchronized within 20 milliseconds. A \fImaster time daemon\fP measures the time -difference between the clock of the machine on which it +difference between the clock of the machine on which it is running and those of all other machines. The current implementation uses ICMP \fITime Stamp Requests\fP [5] to measure the clock difference between machines. -The master computes the \fInetwork time\fP as the average of the +The master computes the \fInetwork time\fP as the average of the times provided by nonfaulty clocks.\** .FS -A clock is considered to be faulty when its value +A clock is considered to be faulty when its value is more than a small specified -interval apart from the majority of the clocks +interval apart from the majority of the clocks of the machines on the same network. See [1,2] for more details. .FE It then sends to each \fIslave time daemon\fP the correction that should be performed on the clock of its machine. This process is repeated periodically. -Since the correction is expressed as a time difference rather than an +Since the correction is expressed as a time difference rather than an absolute time, transmission delays do not interfere with synchronization. When a machine comes up and joins the network, it starts a slave time daemon, which will ask the master for the correct time and will reset the machine's clock before any user activity can begin. -The time daemons therefore maintain a single network time in spite of -the drift of clocks away from each other. +The time daemons therefore maintain a single network time in spite of +the drift of clocks away from each other. .PP -Additionally, a time daemon on gateway machines may run as +Additionally, a time daemon on gateway machines may run as a \fIsubmaster\fP. A submaster time daemon functions as a slave on one network that already has a master and as master on other networks. @@ -145,7 +145,7 @@ implemented, but will only point out when a message type requires a reliable transport mechanism. .PP The message format in TSP is the same for all message types; -however, in some instances, one or more fields are not used. +however, in some instances, one or more fields are not used. The next section describes the message format. The following sections describe in detail the different message types, their use and the contents @@ -171,12 +171,12 @@ Eight bytes of packet specific data. This field contains two 4 byte time values, a one byte hop count, or may be unused depending on the type of the packet. .IP 5) -A zero-terminated string of up to 256 \s-2ASCII\s+2 characters with the name of +A zero-terminated string of up to 256 \s-2ASCII\s+2 characters with the name of the machine sending the message. .PP The following charts describe the message types, show their fields, and explain their usages. -For the purpose of the following discussion, a time daemon can +For the purpose of the following discussion, a time daemon can be considered to be in one of three states: slave, master, or candidate for election to master. Also, the term \fIbroadcast\fP refers to @@ -189,10 +189,10 @@ Adjtime Message Type: TSP_ADJTIME (1) .sp 1 .PP -The master sends this message to a slave to communicate -the difference between +The master sends this message to a slave to communicate +the difference between the clock of the slave and -the network time the master has just computed. +the network time the master has just computed. The slave will accordingly adjust the time of its machine. This message requires an acknowledgment. @@ -253,7 +253,7 @@ Master Active Message Type: TSP_MASTERUP (6) .sp 1 .PP -The master broadcasts this message to +The master broadcasts this message to solicit the names of the active slaves. Slaves will reply with a Slave Active message. .sp 1 @@ -314,7 +314,7 @@ When two or more masters reply to a Master Request message, the slave uses this message to inform one of them that more than one master exists. .sp 1 .SH -Conflict Resolution Message +Conflict Resolution Message .so unused .LP Type: TSP_RESOLVE (12) @@ -331,7 +331,7 @@ Type: TSP_QUIT (13) .sp 1 .PP This message is sent by the master in three different contexts: -1) to a candidate that broadcasts an Master Candidature message, +1) to a candidate that broadcasts a Master Candidature message, 2) to another master when notified of its existence, 3) to another master if a loop is detected. In all cases, the recipient time daemon will become a slave. @@ -413,7 +413,7 @@ Type: TSP_MSITEREQ (20) .PP A local time daemon broadcasts this message to find the location of the master. -It then uses the Acknowledgement message to +It then uses the Acknowledgement message to communicate this location to \fItimedc\fP. .sp 1 .SH @@ -442,14 +442,14 @@ it knows that a loop exists and tries to correct the problem. .SH References .IP 1. -R. Gusella and S. Zatti, +R. Gusella and S. Zatti, \fITEMPO: A Network Time Controller for Distributed Berkeley UNIX System\fP, USENIX Summer Conference Proceedings, Salt Lake City, June 1984. .IP 2. R. Gusella and S. Zatti, \fIClock Synchronization in a Local Area Network\fP, University of California, Berkeley, Technical Report, \fIto appear\fP. .IP 3. -R. Gusella and S. Zatti, +R. Gusella and S. Zatti, \fIAn Election Algorithm for a Distributed Clock Synchronization Program\fP, University of California, Berkeley, CS Technical Report #275, Dec. 1985. .IP 4. diff --git a/usr.sbin/watch/watch.8 b/usr.sbin/watch/watch.8 index a549518d1ff4..6cc0e11ed496 100644 --- a/usr.sbin/watch/watch.8 +++ b/usr.sbin/watch/watch.8 @@ -81,7 +81,7 @@ Print the date and time when observation of a given tty is started. .It Fl W Allow write access to observed tty. .It Ar tty -Tty may be specified as an tty-style device, such as a pseudo tty device, +Tty may be specified as a tty-style device, such as a pseudo tty device, a virtual console, or a serial line, etc. Names may be preceded by .Pa /dev/ . diff --git a/usr.sbin/ypserv/ypinit.sh b/usr.sbin/ypserv/ypinit.sh index 8d1871b404f1..1be7e0e3e186 100644 --- a/usr.sbin/ypserv/ypinit.sh +++ b/usr.sbin/ypserv/ypinit.sh @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD$ # -# ypinit.sh - setup an master or slave server. +# ypinit.sh - setup a master or slave server. # (Taken from OpenBSD and modified for FreeBSD.) # DOMAINNAME=/bin/domainname @@ -180,7 +180,7 @@ __notice1 esac if [ -d "${YP_DIR}/${DOMAIN}" ]; then - echo "" + echo "" echo -n "Can we destroy the existing ${YP_DIR}/${DOMAIN} and its contents? [y/n: n] " read KILL @@ -203,7 +203,6 @@ __notice1 echo "OK, please clean it up by hand and start again. Bye" exit 0 fi - fi if ! mkdir "${YP_DIR}/${DOMAIN}"; then @@ -261,7 +260,6 @@ LIST_OK="NO" while [ "${LIST_OK}" = "NO" ]; do - if [ "${SERVERTYPE}" = "MASTER" ]; then HOST_LIST="${HOST}" @@ -300,8 +298,8 @@ do echo "Update the list of hosts running YP servers in domain ${DOMAIN}." echo "Master for this domain is ${MASTER_NAME}." echo "" - echo "First verify old servers, type \\ to remove a server." - echo "Then add new servers, one per line. When done type a ." + echo "First verify old servers, type \\ to remove a server." + echo "Then add new servers, one per line. When done type a ." echo "" echo " master server : ${HOST}" if [ "${NEW_LIST}" != "" ]; then @@ -358,13 +356,12 @@ if [ $? -ne 0 ]; then echo "" 1>&2 echo "Couldn't build yp data base ${YP_DIR}/${DOMAIN}/ypservers." 1>&2 ERROR_EXISTS="YES" - if [ "${ERROR_EXIT}" = "YES" ]; then + if [ "${ERROR_EXIT}" = "YES" ]; then exit 1 fi fi if [ "${SERVERTYPE}" = "MASTER" ]; then - CUR_PWD=`pwd` cd ${YP_DIR} echo "Running ${YP_DIR}/Makefile..." @@ -372,7 +369,7 @@ if [ "${SERVERTYPE}" = "MASTER" ]; then echo "" 1>&2 echo "Error running Makefile." 1>&2 ERROR_EXISTS="YES" - if [ "${ERROR_EXIT}" = "YES" ]; then + if [ "${ERROR_EXIT}" = "YES" ]; then exit 1 fi fi @@ -386,5 +383,4 @@ if [ "${SERVERTYPE}" = "MASTER" ]; then else echo "${HOST} has been setup as an YP master server without any errors. " fi - fi