From: jmc Date: Thu, 22 Jul 2010 08:30:29 +0000 (+0000) Subject: remove some groff \s escapes, which we do not support; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=214d2c80a886fa88b73b73329edb0d05d193e653;p=openbsd remove some groff \s escapes, which we do not support; --- diff --git a/bin/csh/USD.doc/csh.1 b/bin/csh/USD.doc/csh.1 index 12acb8644be..8b44df43ce8 100644 --- a/bin/csh/USD.doc/csh.1 +++ b/bin/csh/USD.doc/csh.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: csh.1,v 1.9 2004/04/21 08:11:15 jmc Exp $ +.\" $OpenBSD: csh.1,v 1.10 2010/07/22 08:30:29 jmc Exp $ .\" $NetBSD: csh.1,v 1.3 1995/03/21 09:03:33 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -59,14 +59,14 @@ It incorporates good features of other shells and a .I history mechanism similar to the .I redo -of \s-2INTERLISP\s0. +of INTERLISP. While incorporating many features of other shells which make writing shell programs (shell scripts) easier, most of the features unique to .I csh -are designed more for the interactive \s-2UNIX\s0 user. +are designed more for the interactive UNIX user. .PP -\s-2UNIX\s0 +UNIX users who have read a general introduction to the system will find a valuable basic explanation of the shell here. Simple terminal interaction with @@ -89,7 +89,7 @@ A is a command language interpreter. .I Csh is the name of one particular command interpreter on -\s-2UNIX\s0. +UNIX. The primary purpose of .I csh is to translate command lines typed at a terminal into @@ -99,10 +99,10 @@ is a user program just like any you might write. Hopefully, .I csh will be a very useful program for you -in interacting with the \s-2UNIX\s0 system. +in interacting with the UNIX system. .PP In addition to this document, you will want to refer to a copy -of the \s-2UNIX\s0 User Reference Manual. +of the UNIX User Reference Manual. The .I csh documentation in section 1 of the manual provides a full description of all @@ -113,7 +113,7 @@ Many words in this document are shown in .I italics . These are important words; names of commands, and words which have special meaning in discussing -the shell and \s-2UNIX\s0. +the shell and UNIX. Many of the words are defined in a glossary at the end of this document. If you don't know what is meant by a word, you should look for it in the glossary. @@ -145,7 +145,7 @@ The basic notion of commands A .I shell in -\s-2UNIX\s0 +UNIX acts mostly as a medium through which other .I programs are invoked. @@ -159,7 +159,7 @@ systems both by the fact that it is just a user program, and by the fact that it is used almost exclusively as a mechanism for invoking other programs. .PP .I Commands -in the \s-2UNIX\s0 system consist of a list of strings or +in the UNIX system consist of a list of strings or .I words interpreted as a .I "command name" @@ -228,7 +228,7 @@ that mail had completed and signaled us that it was ready to read from the terminal again by printing another `% ' prompt. .PP -This is the essential pattern of all interaction with \s-2UNIX\s0 +This is the essential pattern of all interaction with UNIX through the shell. A complete command is typed at the terminal, the shell executes the command and when this execution completes, it prompts for a new command. @@ -259,7 +259,7 @@ to set the erase character to tset's default setting for this character .NH 2 Flag arguments .PP -A useful notion in \s-2UNIX\s0 is that of a +A useful notion in UNIX is that of a .I flag argument. While many arguments to commands specify file names or user names, @@ -282,14 +282,14 @@ causes .I ls to also give, for each file the size of the file in blocks of 512 characters. -The manual section for each command in the \s-2UNIX\s0 reference manual +The manual section for each command in the UNIX reference manual gives the available options for each command. The .I ls command has a large number of useful and interesting options. Most other commands have either no options or only one or two options. It is hard to remember options of commands which are not used very -frequently, so most \s-2UNIX\s0 utilities perform only one or two functions +frequently, so most UNIX utilities perform only one or two functions rather than having a large number of hard to remember options. .NH 2 Output to files @@ -352,10 +352,10 @@ character, this `scratch' character denotes the fact that the file will be a scratch file.* .FS *Note that if your erase character is a `#', you will have to precede the -`#' with a `\e'. The fact that the `#' character is the old (pre-\s-2CRT\s0) +`#' with a `\e'. The fact that the `#' character is the old (pre-CRT) standard erase character means that it seldom appears in a file name, and allows this convention to be used for scratch files. If you are using a -\s-2CRT\s0, your erase character should be a ^H, as we demonstrated +CRT, your erase character should be a ^H, as we demonstrated in section 1.1 how this could be set up. .FE The system will remove such files after a couple of days, @@ -518,7 +518,7 @@ routing of information to the line printer. Filenames .PP Many commands to be executed will need the names of files as arguments. -\s-2UNIX\s0 +UNIX .I pathnames consist of a number of .I components @@ -792,26 +792,26 @@ the system will print a copy of a list of all users of the system on your terminal. This is likely to continue for several minutes unless you stop it. You can send an -\s-2INTERRUPT\s0 +INTERRUPT .I signal to the .I cat command by typing ^C on your terminal.* .FS -*On some older Unix systems the \s-2DEL\s0 or \s-2RUBOUT\s0 key +*On some older Unix systems the DEL or RUBOUT key has the same effect. "stty all" will tell you the `intr' key value. .FE Since .I cat does not take any precautions to avoid or otherwise handle this signal, the -\s-2INTERRUPT\s0 +INTERRUPT will cause it to terminate. The shell notices that .I cat has terminated and prompts you again with `% '. -If you hit \s-2INTERRUPT\s0 again, the shell will just -repeat its prompt since it handles \s-2INTERRUPT\s0 signals +If you hit INTERRUPT again, the shell will just +repeat its prompt since it handles INTERRUPT signals and chooses to continue to execute commands rather than terminating like .I cat @@ -824,7 +824,7 @@ Thus the program in the first example above was terminated when we typed a ^D which generates an end-of-file from the standard input. The shell also terminates when it gets an end-of-file, printing `logout'; -\s-2UNIX\s0 then logs you off the system. +UNIX then logs you off the system. Since this means that typing too many ^D's can accidentally log us off, the shell has a mechanism for preventing this. This @@ -857,17 +857,17 @@ and the command would have received an end-of-file from it and terminated. Using a pipe here is more complicated than redirecting input so we would more likely use the first form. -These commands could also have been stopped by sending an \s-2INTERRUPT\s0. +These commands could also have been stopped by sending an INTERRUPT. .PP Another possibility for stopping a command is to suspend its execution temporarily, with the possibility of continuing execution later. This is -done by sending a \s-2STOP\s0 signal via typing a ^Z. +done by sending a STOP signal via typing a ^Z. This signal causes all commands running on the terminal (usually one, but more if a pipeline is executing) to become suspended. The shell notices that the command(s) have been suspended, types `Suspended', and then prompts for a new command. The previously executing command has been suspended, but otherwise -unaffected by the \s-2STOP\s0 signal. Any other commands can be executed +unaffected by the STOP signal. Any other commands can be executed while the original command remains suspended. The suspended command can be continued using the .I fg @@ -915,14 +915,14 @@ program typed EOT. The command will show which commands are suspended. The ^Z should only be typed at the beginning of a line since everything typed on the current line is discarded when a signal is sent -from the keyboard. This also happens on \s-2INTERRUPT\s0, and \s-2QUIT\s0 +from the keyboard. This also happens on INTERRUPT, and QUIT signals. More information on suspending jobs and controlling them is given in section 2.6. .PP If you write or run programs which are not fully debugged, then it may be necessary to stop them somewhat ungracefully. -This can be done by sending them a \s-2QUIT\s0 +This can be done by sending them a QUIT signal, sent by typing a ^\e. This will usually provoke the shell to produce a message like: .DS @@ -930,14 +930,14 @@ Quit (core dumped) .DE indicating that a file `core' has been created containing information about the running program's -state when it terminated due to the \s-2QUIT\s0 signal. +state when it terminated due to the QUIT signal. You can examine this file yourself, or forward information to the maintainer of the program telling him/her where the .I "core file" is. .PP If you run background commands (as explained in section 2.6) then these -commands will ignore \s-2INTERRUPT\s0 and \s-2QUIT\s0 signals at the +commands will ignore INTERRUPT and QUIT signals at the terminal. To stop them you must use the .I kill command. See section 2.6 for an example. @@ -990,7 +990,7 @@ about the way in which it operates. The remaining sections will go yet further into the internals of the shell, but you will surely want to try using the shell before you go any further. -To try it you can log in to \s-2UNIX\s0 and type the following +To try it you can log in to UNIX and type the following command to the system: .DS chsh -s /bin/csh myname diff --git a/bin/csh/USD.doc/csh.2 b/bin/csh/USD.doc/csh.2 index 3265037765f..e2b96c7764a 100644 --- a/bin/csh/USD.doc/csh.2 +++ b/bin/csh/USD.doc/csh.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: csh.2,v 1.9 2004/04/21 08:11:15 jmc Exp $ +.\" $OpenBSD: csh.2,v 1.10 2010/07/22 08:30:29 jmc Exp $ .\" $NetBSD: csh.2,v 1.3 1995/03/21 09:03:35 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -56,7 +56,7 @@ read commands from a file .I \&.login also in your home directory. This file contains commands which you wish to do each time you log in -to the \s-2UNIX\s0 system. +to the UNIX system. My .I \&.login file looks something like: @@ -75,7 +75,7 @@ if (\-e $mail) then endif .DE .PP -This file contains several commands to be executed by \s-2UNIX\s0 +This file contains several commands to be executed by UNIX each time I log in. The first is a .I set @@ -113,7 +113,7 @@ character to ^U. .PP Next I set the shell variable `time' to `15' causing the shell to automatically print out statistics lines for commands which execute for at least 15 seconds -of \s-2CPU\s+2 time. The variable `history' is set to 10 indicating that +of CPU time. The variable `history' is set to 10 indicating that I want the shell to remember the last 10 commands I type in its .I "history list" , (described later). @@ -134,7 +134,7 @@ When I log off (by giving the command) the shell will print `logout' and execute commands from the file `.logout' if it exists in my home directory. -After that the shell will terminate and \s-2UNIX\s0 will log +After that the shell will terminate and UNIX will log me off the system. If the system is not going down, I will receive a new login message. In any case, after the `logout' message the shell is committed to terminating @@ -418,7 +418,7 @@ they can be referenced. There is a way to refer to a previous command by searching for a string which appeared in it, and there are other, less useful, ways to select arguments to include in a new command. A complete description of all these mechanisms -is given in the C shell manual pages in the \s-2UNIX\s0 Programmer's Manual. +is given in the C shell manual pages in the UNIX Programmer's Manual. .NH 2 Aliases .PP @@ -654,7 +654,7 @@ variable. In the previous example this would mean that the `Done' message might have come right in the middle of the message to Bill. Background jobs are unaffected by any signals from the keyboard like -the \s-2STOP\s0, \s-2INTERRUPT\s0, or \s-2QUIT\s0 signals mentioned earlier. +the STOP, INTERRUPT, or QUIT signals mentioned earlier. .PP Jobs are recorded in a table inside the shell until they terminate. In this table, the shell remembers the command names, arguments, and the @@ -696,7 +696,7 @@ a new command, leaving the job running simultaneously. As mentioned in section 1.8, foreground jobs become .I suspended by typing ^Z, -which sends a \s-2STOP\s0 signal to the currently running +which sends a STOP signal to the currently running foreground job. A background job can become suspended by using the .I stop command described below. When jobs are suspended they merely stop @@ -813,7 +813,7 @@ The .I bg command runs a suspended job in the background. It is usually used after stopping the currently running foreground job with the -\s-2STOP\s0 signal. The combination of the \s-2STOP\s0 signal and the +STOP signal. The combination of the STOP signal and the .I bg command changes a foreground job into a background job. The @@ -1104,7 +1104,7 @@ is an implied change of working directory, even though no cd command was issued. In the above example the `ed' job was still in `/home/bill/project' even though the shell had changed to `/home/bill'. A similar warning is given when such a foreground job -terminates or is suspended (using the \s-2STOP\s0 signal) since +terminates or is suspended (using the STOP signal) since the return to the shell again implies a change of working directory. .DS % fg @@ -1221,7 +1221,7 @@ Thus .DS setenv TERM adm3a .DE -will set the value of the environment variable \s-2TERM\s0 +will set the value of the environment variable TERM to `adm3a'. A user program @@ -1253,7 +1253,7 @@ file which you wish to take effect right away. The .I time command can be used to cause a command to be timed no matter how much -\s-2CPU\s0 time it takes. +CPU time it takes. Thus .DS % time cp /etc/rc /home/bill/rc @@ -1278,7 +1278,7 @@ The word count command on the other hand used 0.1 seconds of user time and 0.1 seconds of system time in less than a second of elapsed time. The percentage `13%' indicates that over the period when it was active -the command `wc' used an average of 13 percent of the available \s-2CPU\s0 +the command `wc' used an average of 13 percent of the available CPU cycles of the machine. .PP The @@ -1300,7 +1300,7 @@ One useful feature which is discussed later is the built-in command which can be used to run the same command sequence with a number of different arguments. .PP -If you intend to use \s-2UNIX\s0 a lot you should look through +If you intend to use UNIX a lot you should look through the rest of this document and the csh manual pages (section1) to become familiar with the other facilities which are available to you. .bp diff --git a/bin/csh/USD.doc/csh.3 b/bin/csh/USD.doc/csh.3 index 34c29fbfc41..588fc32f234 100644 --- a/bin/csh/USD.doc/csh.3 +++ b/bin/csh/USD.doc/csh.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: csh.3,v 1.6 2004/08/03 09:39:42 jmc Exp $ +.\" $OpenBSD: csh.3,v 1.7 2010/07/22 08:30:29 jmc Exp $ .\" $NetBSD: csh.3,v 1.3 1995/03/21 09:03:38 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -552,7 +552,7 @@ Supplying input to commands Commands run from shell scripts receive by default the standard input of the shell which is running the script. This is different from previous shells running -under \s-2UNIX\s0. It allows shell scripts to fully participate +under UNIX. It allows shell scripts to fully participate in pipelines, but mandates extra notation for commands which are to take inline data. .PP diff --git a/bin/csh/USD.doc/csh.4 b/bin/csh/USD.doc/csh.4 index a9cac9c3cc3..92e144e4903 100644 --- a/bin/csh/USD.doc/csh.4 +++ b/bin/csh/USD.doc/csh.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: csh.4,v 1.4 2004/04/21 08:11:15 jmc Exp $ +.\" $OpenBSD: csh.4,v 1.5 2010/07/22 08:30:29 jmc Exp $ .\" $NetBSD: csh.4,v 1.3 1995/03/21 09:03:39 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -40,7 +40,7 @@ It is occasionally useful to use the .I foreach control structure at the terminal to aid in performing a number of similar commands. -For instance, there were at one point three shells in use on the Cory \s-2UNIX\s0 +For instance, there were at one point three shells in use on the Cory UNIX system at Cory Hall, `/bin/sh', `/bin/nsh', @@ -171,7 +171,7 @@ occasionally important. These are detailed fully in its manual section. .PP The shell has a number of command line option flags mostly of use -in writing \s-2UNIX\s0 programs, +in writing UNIX programs, and debugging shell scripts. See the csh(1) manual section for a list of these options. .bp diff --git a/bin/csh/USD.doc/csh.a b/bin/csh/USD.doc/csh.a index e4a820de2cf..447a1cc917c 100644 --- a/bin/csh/USD.doc/csh.a +++ b/bin/csh/USD.doc/csh.a @@ -1,4 +1,4 @@ -.\" $OpenBSD: csh.a,v 1.4 2003/06/02 23:32:07 millert Exp $ +.\" $OpenBSD: csh.a,v 1.5 2010/07/22 08:30:29 jmc Exp $ .\" $NetBSD: csh.a,v 1.3 1995/03/21 09:03:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -35,7 +35,7 @@ Appendix \- Special characters .LP The following table lists the special characters of .I csh -and the \s-2UNIX\s0 system, giving for each the section(s) in which it +and the UNIX system, giving for each the section(s) in which it is discussed. A number of these characters also have special meaning in expressions. See the diff --git a/bin/csh/USD.doc/csh.g b/bin/csh/USD.doc/csh.g index ddcb2ed4588..becd7527942 100644 --- a/bin/csh/USD.doc/csh.g +++ b/bin/csh/USD.doc/csh.g @@ -1,4 +1,4 @@ -.\" $OpenBSD: csh.g,v 1.6 2004/04/21 08:11:15 jmc Exp $ +.\" $OpenBSD: csh.g,v 1.7 2010/07/22 08:30:29 jmc Exp $ .\" $NetBSD: csh.g,v 1.3 1995/03/21 09:03:42 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -41,7 +41,7 @@ References of the form pr(1) indicate that the command .I pr -is in the \s-2UNIX\s0 User Reference manual in section 1. +is in the UNIX User Reference manual in section 1. You can look at an online copy of its manual page by doing .DS man 1 pr @@ -114,7 +114,7 @@ are called .IP alias An .I alias -specifies a shorter or different name for a \s-2UNIX\s0 +specifies a shorter or different name for a UNIX command, or a transformation on a command to be performed in the shell. The shell has a command @@ -128,7 +128,7 @@ is used to remove .I aliases (2.4). .IP argument -Commands in \s-2UNIX\s0 receive a list of +Commands in UNIX receive a list of .I argument words. Thus the command @@ -213,7 +213,7 @@ exits from loops (3.7). 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, +Most commands in UNIX are not built into the shell, but rather exist as files in .I bin directories. @@ -258,7 +258,7 @@ is usually used because it is easier to type. .IP chsh The .I chsh -command is used to change the shell which you use on \s-2UNIX\s0. +command is used to change the shell which you use on UNIX. 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 @@ -270,7 +270,7 @@ Thus I would do chsh -s /bin/csh bill .DE It is only necessary to do this once. -The next time you log in to \s-2UNIX\s0 after doing this command, +The next time you log in to UNIX after doing this command, you will be using .I csh rather than the shell in `/bin/sh' (1.9). @@ -286,7 +286,7 @@ A function performed by the system, either by the shell (a builtin .I command ) or by a program residing in a file in -a directory within the \s-2UNIX\s0 system, is called a +a directory within the UNIX system, is called a .I command (1.1). .IP "command name" @@ -295,7 +295,7 @@ When a command is issued, it consists of a .I "command name" , which is the first word of the command, followed by arguments. -The convention on \s-2UNIX\s0 is that the first word of a +The convention on UNIX is that the first word of a command names the function to be performed (1.1). .IP "command substitution" .br @@ -330,12 +330,12 @@ command in the programming language C (3.6). .IP control- Certain special characters, called .I control -characters, are produced by holding down the \s-2CONTROL\s0 key +characters, are produced by holding down the CONTROL key on your terminal and simultaneously pressing another character, much like -the \s-2SHIFT\s0 key is used to produce upper case characters. Thus +the SHIFT 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 +is produced by holding down the CONTROL key while pressing the +`c' key. Usually UNIX prints an caret (^) followed by the corresponding letter when you type a .I control character (e.g. `^C' for @@ -361,7 +361,7 @@ The .I cp (copy) program is used to copy the contents of one file into another file. -It is one of the most commonly used \s-2UNIX\s0 commands (1.6). +It is one of the most commonly used UNIX commands (1.6). .IP csh The name of the shell program that this document describes. @@ -406,11 +406,11 @@ statements, as it is in the C language, to label the code to be executed if none of the .I case labels matches the value switched on (3.7). -.IP \s-2DELETE\s0 +.IP DELETE The -\s-2DELETE\s0 +DELETE or -\s-2RUBOUT\s0 +RUBOUT key on the terminal normally causes an interrupt to be sent to the current job. Most users map the interrupt character to ^C. .IP detached @@ -501,7 +501,7 @@ or are executed if the condition between parentheses after the .I if is true (3.6). -.IP \s-2EOF\s0 +.IP EOF An .I "end\f1-\fPof\f1-\fPfile" is generated by the terminal by a control-d, @@ -539,11 +539,11 @@ In this example, \e There is also a non-printing character called .I escape , usually labelled -\s-2ESC\s0 +ESC or -\s-2ALTMODE\s0 +ALTMODE on terminal keyboards. -Some older \s-2UNIX\s0 systems use this character to indicate that +Some older UNIX systems use this character to indicate that output is to be .I suspended . Most systems use control-s to stop the output and control-q to start it. @@ -631,7 +631,7 @@ job in the .I foreground (1.8, 2.6). .IP filename -Each file in \s-2UNIX\s0 has a name consisting of up to 14 characters +Each file in UNIX has a name consisting of up to 14 characters and not including the character `/' which is used in .I pathname building. Most @@ -659,7 +659,7 @@ name. Other mechanisms use the metacharacter `~' and allow files in other users' directories to be named easily (1.6, 4.2). .IP flag -Many \s-2UNIX\s0 commands accept arguments which are not the names +Many UNIX commands accept arguments which are not the names of files or other users but are used to modify the action of the commands. These are referred to as .I flag @@ -798,7 +798,7 @@ This is useful if you sometimes accidentally type too many control-d characters, logging yourself off (2.2). .IP input -Many commands on \s-2UNIX\s0 take information from the terminal or from +Many commands on UNIX take information from the terminal or from files which they then act on. This information is called .I input . @@ -830,7 +830,7 @@ scripts (1.5, 3.8). An .I interrupt 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.) +of UNIX the RUBOUT or DELETE key were used for this purpose.) It causes most programs to stop execution. Certain programs, such as the shell and the editors, handle an @@ -901,7 +901,7 @@ The file .I \&.login in your .I home -directory is read by the shell each time you log in to \s-2UNIX\s0 +directory is read by the shell each time you log in to UNIX and the commands there are executed. There are a number of commands which are usefully placed here, especially @@ -932,9 +932,9 @@ in your .I \&.login file then this will not work and you must use .I logout -to log off the \s-2UNIX\s0 system (2.8). +to log off the UNIX system (2.8). .IP \&.logout -When you log off \s-2UNIX\s0 the shell will execute commands from +When you log off UNIX the shell will execute commands from the file .I \&.logout in your @@ -946,7 +946,7 @@ The command is the line printer daemon. The standard input of .I lpr -spooled and printed on the \s-2UNIX\s0 line printer. +spooled and printed on the UNIX line printer. You can also give .I lpr a list of filenames as arguments to be printed. @@ -958,7 +958,7 @@ as the last component of a .IP ls The .I ls -(list files) command is one of the most commonly used \s-2UNIX\s0 +(list files) command is one of the most commonly used UNIX commands. With no argument filenames it prints the names of the files in the current directory. @@ -970,7 +970,7 @@ directories (1.2). .IP mail The .I mail -program is used to send and receive messages from other \s-2UNIX\s0 +program is used to send and receive messages from other UNIX users (1.1, 2.1), whether they are logged on or not. .IP make The @@ -993,8 +993,8 @@ or The .I manual often referred to is the -`\s-2UNIX\s0 manual'. -It contains 9 numbered sections with a description of each \s-2UNIX\s0 +`UNIX manual'. +It contains 9 numbered sections with a description of each UNIX program (section 1), system call (section 2), subroutine (section 3), device (section 4), special data structure (section 5), game (section 6), miscellaneous item (section 7), system administration program (section 8), @@ -1016,7 +1016,7 @@ The supplementary documents are in subdirectories of /usr/doc. .IP metacharacter .br Many characters which are neither letters nor digits have special meaning -either to the shell or to \s-2UNIX\s0. +either to the shell or to UNIX. These characters are called .I metacharacters . If it is necessary to place these characters in arguments to commands @@ -1095,7 +1095,7 @@ 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 +Many commands in UNIX result in some lines of text which are called their .I output . This @@ -1242,7 +1242,7 @@ to print the current setting of variables in the environment An instance of a running program is called a .I process (2.6). -\s-2UNIX\s0 assigns each +UNIX assigns each .I process a unique number when it is started \- called the @@ -1300,7 +1300,7 @@ Each process is shown with its unique process number, an indication of the terminal name it is attached to, an indication of the state of the process (whether it is running, stopped, awaiting some event (sleeping), and whether it is swapped out), -and the amount of \s-2CPU\s0 time it has used so far. +and the amount of CPU time it has used so far. The command is identified by printing some of the words used when it was invoked (2.6). .\" Shells, such as the @@ -1398,11 +1398,11 @@ the See .I filename for a further explanation (1.6). -.IP \s-2RUBOUT\s0 -The \s-2RUBOUT\s0 or \s-2DELETE\s0 +.IP RUBOUT +The RUBOUT or DELETE 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. +prefer the BACKSPACE for this purpose. On older versions of UNIX +this key served as the INTR character. .IP "scratch file" Files whose names begin with a `#' are referred to as .I "scratch files" , @@ -1453,7 +1453,7 @@ See .IP signal A .I signal -in \s-2UNIX\s0 is a short message that is sent to a running program +in UNIX is a short message that is sent to a running program which causes something to happen to that process. .I Signals are sent either by typing special @@ -1526,7 +1526,7 @@ can contain any printable characters (2.2). .IP stty The .I stty -program changes certain parameters inside \s-2UNIX\s0 which determine +program changes certain parameters inside UNIX which determine how your terminal is handled. See stty(1) for a complete description (2.6). .IP substitution The shell implements a number of @@ -1546,7 +1546,7 @@ as .IP suspended A job becomes .I suspended -after a \s-2STOP\s0 signal is sent to it, either by typing a +after a STOP signal is sent to it, either by typing a .I control -z at the terminal (for .I foreground @@ -1596,7 +1596,7 @@ command is part of the shell's .IP time The .I time -command can be used to measure the amount of \s-2CPU\s0 +command can be used to measure the amount of CPU and real time consumed by a specified command as well as the amount of disk I/O, memory utilized, and number of page faults and swaps taken by the command (2.1, 2.8). @@ -1612,7 +1612,7 @@ file (2.1). The word .I tty is a historical abbreviation for `teletype' which is frequently used -in \s-2UNIX\s0 to indicate the +in UNIX to indicate the .I port to which a given terminal is connected. The .I tty @@ -1625,11 +1625,11 @@ to which your terminal is presently connected. The .I unalias command removes aliases (2.8). -.IP \s-2UNIX\s0 -\s-2UNIX\s0 is an operating system on which +.IP UNIX +UNIX is an operating system on which .I csh runs. -\s-2UNIX\s0 provides facilities which allow +UNIX provides facilities which allow .I csh to invoke other programs such as editors and text formatters which you may wish to use. @@ -1721,5 +1721,5 @@ using 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 +UNIX (you have to take turns typing). If you are both using display terminals, use talk(1), which is much more pleasant. diff --git a/usr.bin/tip/cu.1 b/usr.bin/tip/cu.1 index de31dc7de69..ee1633799d6 100644 --- a/usr.bin/tip/cu.1 +++ b/usr.bin/tip/cu.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cu.1,v 1.12 2010/06/29 23:32:52 nicm Exp $ +.\" $OpenBSD: cu.1,v 1.13 2010/07/22 08:32:58 jmc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)tip.1 8.4 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: June 29 2010 $ +.Dd $Mdocdate: July 22 2010 $ .Dt CU 1 .Os .Sh NAME @@ -189,7 +189,7 @@ The command string sent to the local system is processed by the shell. .It Ic ~C Fork a child process on the local system to perform special protocols -such as \s-1XMODEM\s+1. +such as XMODEM. The child program will be run with the following arrangement of file descriptors: .Bd -literal -offset indent diff --git a/usr.bin/tip/tip.1 b/usr.bin/tip/tip.1 index a6d9aa67778..4d09a84e04d 100644 --- a/usr.bin/tip/tip.1 +++ b/usr.bin/tip/tip.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tip.1,v 1.41 2010/06/29 16:41:56 nicm Exp $ +.\" $OpenBSD: tip.1,v 1.42 2010/07/22 08:32:58 jmc Exp $ .\" $NetBSD: tip.1,v 1.7 1994/12/08 09:31:05 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)tip.1 8.4 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: June 29 2010 $ +.Dd $Mdocdate: July 22 2010 $ .Dt TIP 1 .Os .Sh NAME @@ -176,7 +176,7 @@ The command string sent to the local system is processed by the shell. .It Ic ~C Fork a child process on the local system to perform special protocols -such as \s-1XMODEM\s+1. +such as XMODEM. The child program will be run with the following arrangement of file descriptors: .Bd -literal -offset indent diff --git a/usr.bin/tn3270/mset/map3270.5 b/usr.bin/tn3270/mset/map3270.5 index 036c774e769..dafd7b1efcc 100644 --- a/usr.bin/tn3270/mset/map3270.5 +++ b/usr.bin/tn3270/mset/map3270.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: map3270.5,v 1.9 2003/06/03 02:56:19 millert Exp $ +.\" $OpenBSD: map3270.5,v 1.10 2010/07/22 08:32:58 jmc Exp $ .\" Copyright (c) 1986 The Regents of the University of California. .\" All rights reserved. .\" @@ -35,7 +35,7 @@ map3270 \- database for mapping ASCII keystrokes into IBM 3270 keys .SH SYNOPSIS .B map3270 .SH DESCRIPTION -When emulating IBM-style 3270 terminals under \s-1UNIX\s0 (see \fItn3270\fR(1)), +When emulating IBM-style 3270 terminals under UNIX (see \fItn3270\fR(1)), a mapping must be performed between sequences of keys hit on a user's (ASCII) keyboard, and the keys that are available on a 3270. For example, a 3270 has a key labeled