mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-26 07:55:01 +00:00
Remove whitespace at EOL.
This commit is contained in:
parent
7ebcc426ef
commit
f247324df7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79755
@ -11,15 +11,15 @@
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
file specifies (user, host) combinations and/or (user, tty)
|
||||
file specifies (user, host) combinations and/or (user, tty)
|
||||
combinations for which a login will be either accepted or refused.
|
||||
.Pp
|
||||
When someone logs in, the
|
||||
When someone logs in, the
|
||||
.Nm
|
||||
is scanned for the first entry that
|
||||
matches the (user, host) combination, or, in case of non-networked
|
||||
logins, the first entry that matches the (user, tty) combination. The
|
||||
permissions field of that table entry determines whether the login will
|
||||
permissions field of that table entry determines whether the login will
|
||||
be accepted or refused.
|
||||
.Pp
|
||||
Each line of the login access control table has three fields separated by a
|
||||
|
@ -411,7 +411,7 @@ You have to consider and be careful to use them.
|
||||
.Li icmp
|
||||
.Li tcp
|
||||
.Li udp
|
||||
all protocols
|
||||
all protocols
|
||||
.\"
|
||||
.Pp
|
||||
.It Ar policy
|
||||
|
@ -135,5 +135,5 @@ commands in single quotes
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Bx 4.2 .
|
||||
|
@ -313,7 +313,7 @@ utility is expected to offer a superset of the
|
||||
.St -p1003.2
|
||||
functionality.
|
||||
.Sh SEE ALSO
|
||||
.Xr ld 1 ,
|
||||
.Xr ld 1 ,
|
||||
.Xr ranlib 1 ,
|
||||
.Xr strmode 3 ,
|
||||
.Xr ar 5
|
||||
|
@ -36,7 +36,7 @@
|
||||
.Dt BANNER 6
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm banner
|
||||
.Nm banner
|
||||
.Nd print large banner on printer
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
|
@ -70,9 +70,9 @@ with the last slash
|
||||
.Ql \&/
|
||||
character to the end of
|
||||
.Ar string
|
||||
(after first stripping trailing slashes),
|
||||
(after first stripping trailing slashes),
|
||||
and writes the result to the standard output.
|
||||
.Sh EXAMPLES
|
||||
.Sh EXAMPLES
|
||||
The following line sets the shell variable
|
||||
.Ev FOO
|
||||
to
|
||||
|
@ -83,7 +83,7 @@ variable of
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Bx 4.0 .
|
||||
It was named after the dog of Heidi Stettner.
|
||||
He died
|
||||
|
@ -72,7 +72,7 @@ Print lines from today and the previous
|
||||
.Ar num
|
||||
days (backward, past).
|
||||
.It Fl f Pa calendarfile
|
||||
Use
|
||||
Use
|
||||
.Pa calendarfile
|
||||
as the default calendar file.
|
||||
.It Xo Fl t
|
||||
@ -109,11 +109,11 @@ multiple line specifications for a single date.
|
||||
``Easter'', is Easter for this year, and may be followed by a positive
|
||||
or negative integer.
|
||||
.Pp
|
||||
``Paskha'', is Orthodox Easter for this year, and may be followed by a
|
||||
``Paskha'', is Orthodox Easter for this year, and may be followed by a
|
||||
positive or negative integer.
|
||||
.Pp
|
||||
Weekdays may be followed by ``-4'' ... ``+5'' (aliases for
|
||||
last, first, second, third, fourth) for moving events like
|
||||
last, first, second, third, fourth) for moving events like
|
||||
``the last Monday in April''
|
||||
.Pp
|
||||
By convention, dates followed by an asterisk are not fixed, i.e., change
|
||||
@ -167,7 +167,7 @@ Paskha\fB\et\fROrthodox Easter
|
||||
file in current directory
|
||||
.It Pa ~/.calendar
|
||||
.Pa calendar
|
||||
HOME directory.
|
||||
HOME directory.
|
||||
.Nm
|
||||
does a chdir into this directory if it exists.
|
||||
.It Pa ~/.calendar/calendar
|
||||
|
@ -45,15 +45,15 @@
|
||||
.Ar file
|
||||
.Op Ar
|
||||
.Sh DESCRIPTION
|
||||
.Nm Cap_mkdb
|
||||
.Nm Cap_mkdb
|
||||
builds a hashed database out of the
|
||||
.Xr getcap 3
|
||||
.Xr getcap 3
|
||||
logical database constructed by the concatenation of the specified
|
||||
files.
|
||||
.Pp
|
||||
The database is named by the basename of the first file argument and
|
||||
the string
|
||||
.Dq .db .
|
||||
.Dq .db .
|
||||
The
|
||||
.Xr getcap 3
|
||||
routines can access the database in this form much more quickly
|
||||
|
@ -102,7 +102,7 @@ substituted for the \\T substitution metacharacter in a send string.
|
||||
.B -U \fI<phone number 2>
|
||||
Pass in a second string, usually a phone number, that will be
|
||||
substituted for the \\U substitution metacharacter in a send string.
|
||||
This is useful when dialing an ISDN terminal adapter that requires two
|
||||
This is useful when dialing an ISDN terminal adapter that requires two
|
||||
numbers.
|
||||
.TP
|
||||
.B script
|
||||
@ -245,19 +245,19 @@ The SAY strings could be used to give progress messages in sections of
|
||||
the script where you want to have 'ECHO OFF' but still let the user
|
||||
know what is happening. An example is:
|
||||
.IP
|
||||
ABORT BUSY
|
||||
ABORT BUSY
|
||||
.br
|
||||
ECHO OFF
|
||||
ECHO OFF
|
||||
.br
|
||||
SAY "Dialling your ISP...\\n"
|
||||
SAY "Dialling your ISP...\\n"
|
||||
.br
|
||||
\&'' ATDT5551212
|
||||
\&'' ATDT5551212
|
||||
.br
|
||||
TIMEOUT 120
|
||||
.br
|
||||
SAY "Waiting up to 2 minutes for connection ... "
|
||||
.br
|
||||
CONNECT ''
|
||||
CONNECT ''
|
||||
.br
|
||||
SAY "Connected, now logging in ...\\n"
|
||||
.br
|
||||
@ -481,7 +481,7 @@ The delay is 1/10th of a second.
|
||||
.I (not valid in expect.)
|
||||
.TP
|
||||
.B \\\\q
|
||||
Suppress writing the string to
|
||||
Suppress writing the string to
|
||||
.IR syslogd (8).
|
||||
The string ?????? is
|
||||
written to the log in its place.
|
||||
|
@ -156,5 +156,5 @@ such as conditionals.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Bx 4.0 .
|
||||
|
@ -205,7 +205,7 @@ gcos fields (typically used for site specific user information).
|
||||
Note that
|
||||
.Xr finger 1
|
||||
will display the office location and office phone together under the
|
||||
heading
|
||||
heading
|
||||
.Ar Office: .
|
||||
.Pp
|
||||
The user's
|
||||
@ -410,7 +410,7 @@ slave, in a given NIS domain will do.
|
||||
.Pp
|
||||
When using the
|
||||
.Fl d
|
||||
option, the hostname defaults to
|
||||
option, the hostname defaults to
|
||||
.Dq localhost .
|
||||
The
|
||||
.Fl h
|
||||
@ -477,5 +477,5 @@ User information should (and eventually will) be stored elsewhere.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Bx 4.3 Reno .
|
||||
|
@ -74,7 +74,7 @@ Use historic algorithms instead of the (superior) default one.
|
||||
.Pp
|
||||
Algorithm 1 is the algorithm used by historic
|
||||
.Bx
|
||||
systems as the
|
||||
systems as the
|
||||
.Xr sum 1
|
||||
algorithm and by historic
|
||||
.At V
|
||||
|
@ -68,7 +68,7 @@ byte values (octal) for each difference.
|
||||
Print nothing for differing files; return exit
|
||||
status only.
|
||||
.It Fl x
|
||||
Like
|
||||
Like
|
||||
.Fl l
|
||||
but prints in hexadecimal and using zero as index
|
||||
for the first byte in the files.
|
||||
@ -79,7 +79,7 @@ are not equal.
|
||||
.Pp
|
||||
The optional arguments
|
||||
.Ar skip1
|
||||
and
|
||||
and
|
||||
.Ar skip2
|
||||
are the byte offsets from the beginning of
|
||||
.Ar file1
|
||||
|
@ -59,7 +59,7 @@ and
|
||||
reads from the standard input and writes to the standard output.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Bl -tag -width indent
|
||||
.Bl -tag -width indent
|
||||
.It Fl b
|
||||
Do not output any backspaces, printing only the last character
|
||||
written to each column position.
|
||||
|
@ -105,5 +105,5 @@ in documents which are already double-spaced.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Bx 3.0 .
|
||||
|
@ -75,5 +75,5 @@ Backspace characters decrement the column count by one.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Bx 3.0 .
|
||||
|
@ -98,5 +98,5 @@ the screen if no other information is available.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Bx 4.3 Reno .
|
||||
|
@ -51,7 +51,7 @@
|
||||
.Op Ar
|
||||
.Nm uncompress
|
||||
.Op Fl cfv
|
||||
.Op Ar
|
||||
.Op Ar
|
||||
.Nm zcat
|
||||
.Op Ar
|
||||
.Sh DESCRIPTION
|
||||
|
@ -211,5 +211,5 @@ will similarly be noted.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Bx 3.0 .
|
||||
|
@ -88,7 +88,7 @@ input line.
|
||||
The options are as follows:
|
||||
.Bl -tag -width indent
|
||||
.It Fl b Ar list
|
||||
The
|
||||
The
|
||||
.Ar list
|
||||
specifies byte positions.
|
||||
.It Fl c Ar list
|
||||
|
@ -41,10 +41,10 @@
|
||||
.Fl 23AbDEfHIMOPRrtVvXxYz
|
||||
.Fl c Ar file
|
||||
.Fl d Ar file
|
||||
.Fl i Ar port Ns Xo
|
||||
.Fl i Ar port Ns Xo
|
||||
.Op : Ns Ar cnt
|
||||
.Xc
|
||||
.Fl o Ar port Ns Xo
|
||||
.Fl o Ar port Ns Xo
|
||||
.Op : Ns Ar cnt
|
||||
.Xc
|
||||
.Fl S Ar int
|
||||
@ -61,7 +61,7 @@ which allows it to run a larger variety of DOS applications.
|
||||
It should be noted that MS DOS 6.2 and higher appear
|
||||
to cause difficulties for
|
||||
.Nm .
|
||||
To boot DOS, either provide the
|
||||
To boot DOS, either provide the
|
||||
.Fl b
|
||||
flag or omit the
|
||||
.Ar cmd
|
||||
@ -74,7 +74,7 @@ and
|
||||
.Ar args
|
||||
are ignored.
|
||||
.Pp
|
||||
Although
|
||||
Although
|
||||
.Nm
|
||||
only provides a subset of DOS, it is sufficient to run a variety of
|
||||
programs, including, but not limited to, compilers, assemblers and
|
||||
@ -417,7 +417,7 @@ the number of heads and
|
||||
.Ar sec
|
||||
the number of sectors per track,
|
||||
or it can be one of the standard types specified by
|
||||
.Ar type
|
||||
.Ar type
|
||||
(see below).
|
||||
The option
|
||||
.Ar fdisk_tab
|
||||
@ -489,7 +489,7 @@ already defined:
|
||||
.Bd -literal
|
||||
.Cm "COMSPEC=C:\eCOMMAND.COM
|
||||
.Cm "PATH=C:\e
|
||||
.Cm "PROMPT=DOS>
|
||||
.Cm "PROMPT=DOS>
|
||||
.Ed
|
||||
.Pp
|
||||
The
|
||||
@ -501,7 +501,7 @@ Like DOS, first
|
||||
will be looked for and then
|
||||
.Ar cmd.exe .
|
||||
.Sh "CONFIGURATION VARIABLES"
|
||||
There are several variables in the
|
||||
There are several variables in the
|
||||
.Cm .doscmdrc
|
||||
file which are internal to doscmd and do not actually get inserted into
|
||||
the DOS environment. These are:
|
||||
@ -540,7 +540,7 @@ to let the X server find it.
|
||||
.Nm Doscmd
|
||||
translates
|
||||
.Tn BSD/OS
|
||||
file names into
|
||||
file names into
|
||||
.Tn DOS
|
||||
file names by converting to all upper case and eliminating any invalid
|
||||
character. It does not make any attempt to convert ASCII files into
|
||||
@ -617,7 +617,7 @@ _
|
||||
To install DOS on a pseudo hard disk under doscmd, do the following:
|
||||
.Bl -tag -width XXXX
|
||||
.It 1
|
||||
Create a
|
||||
Create a
|
||||
.Pa .doscmdrc
|
||||
with at least the following:
|
||||
.Bd -literal -offset indent
|
||||
@ -664,10 +664,10 @@ run doscmd.
|
||||
At the > prompt type
|
||||
.Li fdisk .
|
||||
.It 5
|
||||
Select
|
||||
Select
|
||||
.Li Create DOS partition or Logical Drive .
|
||||
.It 6
|
||||
Select
|
||||
Select
|
||||
.Li Create Primary DOS Partition .
|
||||
.It 7
|
||||
Tell it how big to make it
|
||||
@ -689,7 +689,7 @@ At the > prompt type
|
||||
Get out of doscmd.
|
||||
.It 13
|
||||
Either remove the floppy from the drive or add the line
|
||||
.Bd -literal -offset indent
|
||||
.Bd -literal -offset indent
|
||||
boot C:
|
||||
.Ed
|
||||
to your
|
||||
@ -711,7 +711,7 @@ redir.com
|
||||
Quit doscmd.
|
||||
.It 16
|
||||
You know have a bootable pseudo disk which will automatically call
|
||||
the magic
|
||||
the magic
|
||||
.Li redir
|
||||
program, which installs
|
||||
.Fx
|
||||
@ -736,7 +736,7 @@ and exit.
|
||||
.Pp
|
||||
If
|
||||
.Nm
|
||||
emits the message
|
||||
emits the message
|
||||
.Ic X11 support not compiled in
|
||||
when supplied the
|
||||
.Fl x
|
||||
@ -744,10 +744,10 @@ switch, this support can be added by defining an environment variable
|
||||
.Ev X11BASE
|
||||
which points to the installed X Window System (normally
|
||||
.Pa /usr/X11R6
|
||||
) and then typing
|
||||
) and then typing
|
||||
.Ic make install
|
||||
in the source directory (normally
|
||||
.Pa /usr/src/usr.bin/doscmd
|
||||
in the source directory (normally
|
||||
.Pa /usr/src/usr.bin/doscmd
|
||||
). For this to work, the X programmer's kit must have been installed.
|
||||
.Sh AUTHORS
|
||||
.An Pace Willisson ,
|
||||
|
@ -107,8 +107,8 @@ Filesystem mount points are not traversed.
|
||||
counts the storage used by symbolic links and not the files they
|
||||
reference unless the
|
||||
.Fl H
|
||||
or
|
||||
.Fl L
|
||||
or
|
||||
.Fl L
|
||||
option is specified.
|
||||
If either the
|
||||
.Fl H
|
||||
|
320
usr.bin/ee/ee.1
320
usr.bin/ee/ee.1
@ -17,27 +17,27 @@
|
||||
.Op +#
|
||||
.Op Ar
|
||||
.Sh DESCRIPTION
|
||||
The command
|
||||
.Nm
|
||||
is a simple screen oriented text editor. It is always in text insertion
|
||||
mode unless there is a prompt at the bottom of the terminal, or a
|
||||
menu present (in a box in the middle of the terminal). The command
|
||||
.Nm ree
|
||||
is the same as
|
||||
The command
|
||||
.Nm
|
||||
is a simple screen oriented text editor. It is always in text insertion
|
||||
mode unless there is a prompt at the bottom of the terminal, or a
|
||||
menu present (in a box in the middle of the terminal). The command
|
||||
.Nm ree
|
||||
is the same as
|
||||
.Nm ,
|
||||
but restricted to editing the named
|
||||
but restricted to editing the named
|
||||
file (no file operations, or shell escapes are allowed).
|
||||
.Pp
|
||||
For
|
||||
For
|
||||
.Nm
|
||||
to work properly, the environment variable
|
||||
.Ev TERM
|
||||
must be set to indicate the type of terminal being used. For
|
||||
example, for an
|
||||
.Tn HP 700/92
|
||||
terminal, the
|
||||
.Ev TERM
|
||||
variable should be set to "70092". See your System Administrator if
|
||||
to work properly, the environment variable
|
||||
.Ev TERM
|
||||
must be set to indicate the type of terminal being used. For
|
||||
example, for an
|
||||
.Tn HP 700/92
|
||||
terminal, the
|
||||
.Ev TERM
|
||||
variable should be set to "70092". See your System Administrator if
|
||||
you need more information.
|
||||
.Pp
|
||||
The following options are available:
|
||||
@ -47,28 +47,28 @@ Turn off expansion of tab character to spaces.
|
||||
.It Fl i
|
||||
Turn off display of information window at top of terminal.
|
||||
.It Fl h
|
||||
Turn off highlighting of borders of windows and menus (improves
|
||||
Turn off highlighting of borders of windows and menus (improves
|
||||
performance on some terminals).
|
||||
.It Sy +#
|
||||
Move the cursor to line '#' at startup.
|
||||
.El
|
||||
.Ss "Control keys"
|
||||
To do anything other than insert text, the user must use the control
|
||||
keys (the
|
||||
.Li Control
|
||||
key, represented by a "^", pressed in conjunction with an
|
||||
alphabetic key, e.g., ^a) and function keys available on the keyboard
|
||||
(such as
|
||||
To do anything other than insert text, the user must use the control
|
||||
keys (the
|
||||
.Li Control
|
||||
key, represented by a "^", pressed in conjunction with an
|
||||
alphabetic key, e.g., ^a) and function keys available on the keyboard
|
||||
(such as
|
||||
.Em "Next Page" ,
|
||||
.Em "Prev Page" ,
|
||||
arrow keys, etc.).
|
||||
.Pp
|
||||
Since not all terminals have function keys,
|
||||
Since not all terminals have function keys,
|
||||
.Nm
|
||||
has the basic cursor movement functions assigned to control keys as
|
||||
well as more intuitive keys on the keyboard when available. For
|
||||
instance, to move the cursor up, the user can use the up arrow key,
|
||||
or
|
||||
has the basic cursor movement functions assigned to control keys as
|
||||
well as more intuitive keys on the keyboard when available. For
|
||||
instance, to move the cursor up, the user can use the up arrow key,
|
||||
or
|
||||
.Em ^u .
|
||||
.Bl -tag -width indent
|
||||
.It ^a
|
||||
@ -123,10 +123,10 @@ Undelete the last deleted line.
|
||||
Pop up menu.
|
||||
.El
|
||||
.Ss "EMACS keys mode"
|
||||
Since many shells provide an Emacs mode (for cursor movement and other editing
|
||||
operations), some bindings that may be more useful for people familiar with
|
||||
those bindings have been provided. These are accessible via the
|
||||
.Em settings
|
||||
Since many shells provide an Emacs mode (for cursor movement and other editing
|
||||
operations), some bindings that may be more useful for people familiar with
|
||||
those bindings have been provided. These are accessible via the
|
||||
.Em settings
|
||||
menu, or via the initialization file (see below). The mappings are as follows:
|
||||
.Bl -tag -width indent
|
||||
.It ^a
|
||||
@ -194,11 +194,11 @@ Insert a newline at the cursor position.
|
||||
Move the cursor in the direction indicated.
|
||||
.El
|
||||
.Ss Commands
|
||||
Some operations require more information than a single keystroke can
|
||||
provide. For the most basic operations, there is a menu that can be
|
||||
obtained by pressing the
|
||||
Some operations require more information than a single keystroke can
|
||||
provide. For the most basic operations, there is a menu that can be
|
||||
obtained by pressing the
|
||||
.Tn ESC
|
||||
key. The same operations, and more can be performed by obtaining the
|
||||
key. The same operations, and more can be performed by obtaining the
|
||||
command prompt (^c) and typing in one of the commands below.
|
||||
.Bl -tag -width indent
|
||||
.It ! Ns Ar cmd
|
||||
@ -235,23 +235,23 @@ Write the text to the named
|
||||
.Ar file .
|
||||
.El
|
||||
.Ss "Menu Operations"
|
||||
Pop-up menus can be obtained by pressing the
|
||||
.Em escape
|
||||
key (or
|
||||
.Em ^[
|
||||
if no
|
||||
.Em escape
|
||||
key is present). When in the menu, the escape key can be
|
||||
used to leave the menu without performing any operations. Use the up and
|
||||
down arrow keys, or
|
||||
Pop-up menus can be obtained by pressing the
|
||||
.Em escape
|
||||
key (or
|
||||
.Em ^[
|
||||
if no
|
||||
.Em escape
|
||||
key is present). When in the menu, the escape key can be
|
||||
used to leave the menu without performing any operations. Use the up and
|
||||
down arrow keys, or
|
||||
.Em ^u
|
||||
for moving up and
|
||||
.Em ^d
|
||||
for moving down to move to the desired items in the menu, then press
|
||||
.Em return
|
||||
for moving up and
|
||||
.Em ^d
|
||||
for moving down to move to the desired items in the menu, then press
|
||||
.Em return
|
||||
to perform the indicated task.
|
||||
.Pp
|
||||
To the left of each menu item is a letter, which if the corresponding
|
||||
To the left of each menu item is a letter, which if the corresponding
|
||||
letter is pressed on the keyboard selects that menu entry.
|
||||
.Pp
|
||||
The main menu in
|
||||
@ -259,30 +259,30 @@ The main menu in
|
||||
is as follows:
|
||||
.Bl -tag -width indent
|
||||
.It leave editor
|
||||
If changes have been made, the user will get a menu prompting whether or
|
||||
If changes have been made, the user will get a menu prompting whether or
|
||||
not the changes should be saved.
|
||||
.It help
|
||||
Display a help screen, with all of the keyboard operations and commands.
|
||||
.It file operations
|
||||
Pop up a menu for selecting whether to read a file, write to a file, or
|
||||
save the current contents of the editor, as well as send the contents of
|
||||
Pop up a menu for selecting whether to read a file, write to a file, or
|
||||
save the current contents of the editor, as well as send the contents of
|
||||
the editor to a print command (see the section
|
||||
.Sx "Initializing ee from a file" ) .
|
||||
.It redraw screen
|
||||
Provide a means to repaint the screen if the screen has been corrupted.
|
||||
.It settings
|
||||
Show the current values of the operating modes, and right margin. By
|
||||
pressing return when the cursor is on a particular item, the value can be
|
||||
Show the current values of the operating modes, and right margin. By
|
||||
pressing return when the cursor is on a particular item, the value can be
|
||||
changed. To leave this menu, press the
|
||||
.Em escape
|
||||
key. (See
|
||||
.Sx Modes
|
||||
below.)
|
||||
.It search
|
||||
Pop up a menu in which the user may choose to enter a string to search
|
||||
Pop up a menu in which the user may choose to enter a string to search
|
||||
for, or search for a string already entered.
|
||||
.It miscellaneous
|
||||
Pop up a menu that allows the user to format the current paragraph,
|
||||
Pop up a menu that allows the user to format the current paragraph,
|
||||
execute a shell command, or check the spelling of the text in the editor.
|
||||
.El
|
||||
.Ss "Paragraph Formatting"
|
||||
@ -298,133 +298,133 @@ Line with no characters, or only spaces and/or tabs.
|
||||
Line starting with a period ('.') or right angle bracket ('>').
|
||||
.El
|
||||
.Pp
|
||||
A paragraph may be formatted two ways: explicitly by choosing the
|
||||
A paragraph may be formatted two ways: explicitly by choosing the
|
||||
.Em format paragraph
|
||||
menu item, or by setting
|
||||
.Nm
|
||||
to automatically
|
||||
format paragraphs. The automatic mode may be set via a menu, or via the
|
||||
to automatically
|
||||
format paragraphs. The automatic mode may be set via a menu, or via the
|
||||
initialization file.
|
||||
.Pp
|
||||
There are three states for text operation in
|
||||
.Nm :
|
||||
free-form, margins,
|
||||
free-form, margins,
|
||||
and automatic formatting.
|
||||
.Pp
|
||||
"Free-form" is best used for things like programming. There are no
|
||||
"Free-form" is best used for things like programming. There are no
|
||||
restrictions on the length of lines, and no formatting takes place.
|
||||
.Pp
|
||||
"Margins" allows the user to type in text without having to worry about going
|
||||
"Margins" allows the user to type in text without having to worry about going
|
||||
beyond the right margin (the right margin may be set in the
|
||||
.Em settings
|
||||
menu, the default is for the margin to be the right edge of the
|
||||
menu, the default is for the margin to be the right edge of the
|
||||
terminal). This is the mode that allows the
|
||||
.Em format paragraph
|
||||
menu item to work.
|
||||
.Pp
|
||||
"Automatic formatting" provides word-processor-like behavior. The user
|
||||
"Automatic formatting" provides word-processor-like behavior. The user
|
||||
may type in text, while
|
||||
.Nm
|
||||
will make sure the entire paragraph fits
|
||||
within the width of the terminal every time the user inserts a space after
|
||||
typing or deleting text. Margin observation must also be enabled in order for
|
||||
will make sure the entire paragraph fits
|
||||
within the width of the terminal every time the user inserts a space after
|
||||
typing or deleting text. Margin observation must also be enabled in order for
|
||||
automatic formatting to occur.
|
||||
.Ss Modes
|
||||
Although
|
||||
.Nm
|
||||
is a 'modeless' editor (it is in text insertion mode all the
|
||||
is a 'modeless' editor (it is in text insertion mode all the
|
||||
time), there are modes in some of the things it does. These include:
|
||||
.Bl -tag -width indent
|
||||
.It tab expansion
|
||||
Tabs may be inserted as a single tab character, or replaced with spaces.
|
||||
.It case sensitivity
|
||||
The search operation can be sensitive to whether characters are upper- or
|
||||
The search operation can be sensitive to whether characters are upper- or
|
||||
lower-case, or ignore case completely.
|
||||
.It margins observed
|
||||
Lines can either be truncated at the right margin, or extend on forever.
|
||||
.It auto paragraph formatting
|
||||
While typing in text, the editor can try to keep it looking reasonably well
|
||||
While typing in text, the editor can try to keep it looking reasonably well
|
||||
within the width of the screen.
|
||||
.It eightbit characters
|
||||
Toggle whether eight bit characters are displayed as their value in angle
|
||||
Toggle whether eight bit characters are displayed as their value in angle
|
||||
brackets (e.g. "<220>") or as a character.
|
||||
.It info window
|
||||
A window showing the keyboard operations that can be performed can be
|
||||
A window showing the keyboard operations that can be performed can be
|
||||
displayed or not.
|
||||
.It emacs keys
|
||||
Control keys may be given bindings similar to emacs, or not.
|
||||
.It 16 bit characters
|
||||
Toggles whether sixteen bit characters are handled as one 16-bit quantities or
|
||||
Toggles whether sixteen bit characters are handled as one 16-bit quantities or
|
||||
two 8-bit quantities. This works primarily with the Chinese Big 5 code set.
|
||||
.El
|
||||
.Pp
|
||||
You may set these modes via the initialization file (see below), or with a
|
||||
You may set these modes via the initialization file (see below), or with a
|
||||
menu (see above).
|
||||
.Ss "Spell Checking"
|
||||
There are two ways to have the spelling in the text checked from
|
||||
.Nm .
|
||||
One is by the traditional
|
||||
.Xr spell 1
|
||||
command, the other is with the
|
||||
command, the other is with the
|
||||
optional
|
||||
.Xr ispell 1
|
||||
command.
|
||||
.Pp
|
||||
Using
|
||||
.Nm spell ,
|
||||
the words that are not recognized will be placed at the top
|
||||
the words that are not recognized will be placed at the top
|
||||
of the file. For the
|
||||
.Nm ispell
|
||||
option, the file is written to disk,
|
||||
option, the file is written to disk,
|
||||
then
|
||||
.Nm ispell
|
||||
run on the file, and the file read back in once
|
||||
run on the file, and the file read back in once
|
||||
.Nm ispell
|
||||
has completed making changes to the file.
|
||||
.Ss "Printing the contents of the editor"
|
||||
The user may select a menu item which prints the contents of the editor.
|
||||
The user may select a menu item which prints the contents of the editor.
|
||||
.Nm
|
||||
pipes the text in the editor to the command specified by the
|
||||
initialization command
|
||||
pipes the text in the editor to the command specified by the
|
||||
initialization command
|
||||
.Em printcommand
|
||||
(see the section
|
||||
(see the section
|
||||
.Sx Initializing ee from a file
|
||||
below). The default is to send the contents to
|
||||
.Xr lp 1 .
|
||||
.Xr lp 1 .
|
||||
.Pp
|
||||
Whatever the user assigns to
|
||||
.Em printcommand
|
||||
must take input from
|
||||
Whatever the user assigns to
|
||||
.Em printcommand
|
||||
must take input from
|
||||
standard input. See your system administrator for more details.
|
||||
.Ss "Shell operations"
|
||||
Shell commands can be executed from within
|
||||
.Nm
|
||||
by selecting the
|
||||
.Em shell command
|
||||
item in the
|
||||
.Em miscellaneous
|
||||
menu, or by placing an exclamation mark ("!") before the command to
|
||||
execute at the
|
||||
.Em command:
|
||||
prompt. Additionally, the user may direct the contents of the edit buffer
|
||||
out to a shell operation (via a pipe) by using the left angle bracket
|
||||
(">"), followed by a "!" and the shell command to execute. The output of
|
||||
a shell operation can also be directed into the edit buffer by using a
|
||||
right angle bracket ("<") before the exclamation mark. These can even be
|
||||
used together to send output to a shell operation and read back the
|
||||
results into the editor. So, if the editor contained a list of words
|
||||
to be sorted, they could be sorted by typing the following at the command
|
||||
Shell commands can be executed from within
|
||||
.Nm
|
||||
by selecting the
|
||||
.Em shell command
|
||||
item in the
|
||||
.Em miscellaneous
|
||||
menu, or by placing an exclamation mark ("!") before the command to
|
||||
execute at the
|
||||
.Em command:
|
||||
prompt. Additionally, the user may direct the contents of the edit buffer
|
||||
out to a shell operation (via a pipe) by using the left angle bracket
|
||||
(">"), followed by a "!" and the shell command to execute. The output of
|
||||
a shell operation can also be directed into the edit buffer by using a
|
||||
right angle bracket ("<") before the exclamation mark. These can even be
|
||||
used together to send output to a shell operation and read back the
|
||||
results into the editor. So, if the editor contained a list of words
|
||||
to be sorted, they could be sorted by typing the following at the command
|
||||
prompt:
|
||||
.Dl ><!sort
|
||||
This would send the contents of the editor to be piped into the
|
||||
.Xr sort 1
|
||||
utility and the result would be placed into the edit buffer at the current
|
||||
.Dl ><!sort
|
||||
This would send the contents of the editor to be piped into the
|
||||
.Xr sort 1
|
||||
utility and the result would be placed into the edit buffer at the current
|
||||
cursor location. The old information would have to be deleted by the user.
|
||||
.Ss "Initializing ee from a file"
|
||||
Since different users have different preferences,
|
||||
.Nm
|
||||
allows some
|
||||
slight configurability. There are three possible locations for an
|
||||
allows some
|
||||
slight configurability. There are three possible locations for an
|
||||
initialization file for
|
||||
.Nm :
|
||||
the file
|
||||
@ -433,21 +433,21 @@ the file
|
||||
.Pa .init.ee
|
||||
in the user's home directory, or the file
|
||||
.Pa .init.ee
|
||||
in the current directory (if different from the home
|
||||
directory). This allows system administrators to set some preferences for
|
||||
in the current directory (if different from the home
|
||||
directory). This allows system administrators to set some preferences for
|
||||
the users on a system-wide basis (for example, the
|
||||
.Em print
|
||||
command),
|
||||
and the user to customize settings for particular directories (like one
|
||||
command),
|
||||
and the user to customize settings for particular directories (like one
|
||||
for correspondence, and a different directory for programming).
|
||||
.Pp
|
||||
The file
|
||||
.Pa /usr/share/misc/init.ee
|
||||
is read first, then
|
||||
is read first, then
|
||||
.Pa $HOME/.init.ee ,
|
||||
then
|
||||
.Pa .init.ee ,
|
||||
with the settings specified by the
|
||||
with the settings specified by the
|
||||
most recent file read taking precedence.
|
||||
.Pp
|
||||
The following items may be entered in the initialization file:
|
||||
@ -465,30 +465,30 @@ Cause
|
||||
.Nm
|
||||
to insert tabs as a single character.
|
||||
.It info
|
||||
A small information window is displayed at the top of the terminal
|
||||
A small information window is displayed at the top of the terminal
|
||||
(default).
|
||||
.It noinfo
|
||||
Turn off the display of the information window.
|
||||
.It margins
|
||||
Cause
|
||||
.Nm
|
||||
to truncate lines at the right margin when the
|
||||
cursor passes beyond the right margin as set by the user
|
||||
while text is being inserted
|
||||
to truncate lines at the right margin when the
|
||||
cursor passes beyond the right margin as set by the user
|
||||
while text is being inserted
|
||||
(default).
|
||||
.It nomargins
|
||||
Allow lines to extend beyond the right margin.
|
||||
.It autoformat
|
||||
Cause
|
||||
.Nm
|
||||
to automatically try to format the current paragraph while
|
||||
to automatically try to format the current paragraph while
|
||||
text insertion is occurring.
|
||||
.It noautoformat
|
||||
Turn off automatic paragraph formatting (default).
|
||||
.It printcommand
|
||||
Allow the setting of the print command (default: "lp").
|
||||
.It rightmargin
|
||||
The user can select a value for the right margin (the first column on the
|
||||
The user can select a value for the right margin (the first column on the
|
||||
screen is zero).
|
||||
.It highlight
|
||||
Turn on highlighting of border of information window and menus (default).
|
||||
@ -497,7 +497,7 @@ Turn off highlighting of border of information window and menus.
|
||||
.It eightbit
|
||||
Turn on display of eight bit characters.
|
||||
.It noeightbit
|
||||
Turn off display of eight bit characters (they are displayed as their decimal
|
||||
Turn off display of eight bit characters (they are displayed as their decimal
|
||||
value inside angle brackets, e.g., "<220>").
|
||||
.It 16bit
|
||||
Turns on handling of 16-bit characters.
|
||||
@ -509,48 +509,48 @@ Turns on emacs key bindings.
|
||||
Turns off emacs key bindings.
|
||||
.El
|
||||
.Ss "Save Editor Configuration"
|
||||
When using this entry from the
|
||||
.Em settings
|
||||
menu, the user may choose to save the current configuration of
|
||||
When using this entry from the
|
||||
.Em settings
|
||||
menu, the user may choose to save the current configuration of
|
||||
the editor (see
|
||||
.Sx Initializing ee from a file
|
||||
above) to a file named
|
||||
.Pa .init.ee
|
||||
in the current directory or the user's home directory. If a file named
|
||||
.Pa .init.ee
|
||||
already exists, it will be renamed
|
||||
above) to a file named
|
||||
.Pa .init.ee
|
||||
in the current directory or the user's home directory. If a file named
|
||||
.Pa .init.ee
|
||||
already exists, it will be renamed
|
||||
.Pa .init.ee.old .
|
||||
.Sh CAVEATS
|
||||
THIS MATERIAL IS PROVIDED "AS IS". THERE ARE
|
||||
NO WARRANTIES OF ANY KIND WITH REGARD TO THIS
|
||||
MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE. Neither
|
||||
Hewlett-Packard nor Hugh Mahon shall be liable
|
||||
for errors contained herein, nor for
|
||||
incidental or consequential damages in
|
||||
connection with the furnishing, performance or
|
||||
use of this material. Neither Hewlett-Packard
|
||||
nor Hugh Mahon assumes any responsibility for
|
||||
the use or reliability of this software or
|
||||
documentation. This software and
|
||||
documentation is totally UNSUPPORTED. There
|
||||
is no support contract available. Hewlett-Packard
|
||||
has done NO Quality Assurance on ANY
|
||||
of the program or documentation. You may find
|
||||
the quality of the materials inferior to
|
||||
supported materials.
|
||||
THIS MATERIAL IS PROVIDED "AS IS". THERE ARE
|
||||
NO WARRANTIES OF ANY KIND WITH REGARD TO THIS
|
||||
MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE. Neither
|
||||
Hewlett-Packard nor Hugh Mahon shall be liable
|
||||
for errors contained herein, nor for
|
||||
incidental or consequential damages in
|
||||
connection with the furnishing, performance or
|
||||
use of this material. Neither Hewlett-Packard
|
||||
nor Hugh Mahon assumes any responsibility for
|
||||
the use or reliability of this software or
|
||||
documentation. This software and
|
||||
documentation is totally UNSUPPORTED. There
|
||||
is no support contract available. Hewlett-Packard
|
||||
has done NO Quality Assurance on ANY
|
||||
of the program or documentation. You may find
|
||||
the quality of the materials inferior to
|
||||
supported materials.
|
||||
.Pp
|
||||
Always make a copy of files that cannot be easily reproduced before
|
||||
Always make a copy of files that cannot be easily reproduced before
|
||||
editing. Save files early, and save often.
|
||||
.Ss "International Code Set Support"
|
||||
.Nm Ee
|
||||
supports single-byte character code sets (eight-bit clean), or the
|
||||
Chinese Big-5 code set. (Other multi-byte code sets may function, but the
|
||||
reason Big-5 works is that a two-byte character also takes up two columns on
|
||||
supports single-byte character code sets (eight-bit clean), or the
|
||||
Chinese Big-5 code set. (Other multi-byte code sets may function, but the
|
||||
reason Big-5 works is that a two-byte character also takes up two columns on
|
||||
the screen.)
|
||||
.Sh WARNINGS
|
||||
The automatic paragraph formatting operation
|
||||
The automatic paragraph formatting operation
|
||||
may be too slow for slower systems.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /usr/share/misc/init.ee -compact
|
||||
@ -559,14 +559,14 @@ may be too slow for slower systems.
|
||||
.It Pa .init.ee
|
||||
.El
|
||||
.Sh AUTHORS
|
||||
The software
|
||||
The software
|
||||
.Nm
|
||||
was developed by
|
||||
.An Hugh Mahon .
|
||||
.Pp
|
||||
This software and documentation contains
|
||||
proprietary information which is protected by
|
||||
copyright. All rights are reserved.
|
||||
This software and documentation contains
|
||||
proprietary information which is protected by
|
||||
copyright. All rights are reserved.
|
||||
.Pp
|
||||
Copyright (c) 1990, 1991, 1992, 1993, 1995, 1996 Hugh Mahon.
|
||||
.Sh "SEE ALSO"
|
||||
|
@ -47,8 +47,8 @@
|
||||
The
|
||||
.Nm
|
||||
command is usually used in a Bourne shell script.
|
||||
It tests for the appropriate status "false" before running
|
||||
(or failing to run) a list of commands.
|
||||
It tests for the appropriate status "false" before running
|
||||
(or failing to run) a list of commands.
|
||||
.Pp
|
||||
The
|
||||
.Nm
|
||||
|
@ -121,7 +121,7 @@ flags are mutually exclusive.
|
||||
.It Fl n
|
||||
Don't preserve the modification time of the transferred file.
|
||||
.It Fl o Ar file
|
||||
Set the output file name to
|
||||
Set the output file name to
|
||||
.Ar file .
|
||||
By default, a ``pathname'' is extracted from the specified URI, and
|
||||
its basename is used as the name of the output file.
|
||||
@ -164,7 +164,7 @@ Set timeout value to
|
||||
Overrides the environment variables
|
||||
.Ev FTP_TIMEOUT
|
||||
for FTP transfers or
|
||||
.Ev HTTP_TIMEOUT
|
||||
.Ev HTTP_TIMEOUT
|
||||
for HTTP transfers if set.
|
||||
.It Fl U
|
||||
When using passive FTP, allocate the port for the data connection from
|
||||
@ -190,7 +190,7 @@ only if they were all successfully retrieved.
|
||||
.Sh ENVIRONMENT
|
||||
.Bl -tag -width HTTP_TIMEOUT
|
||||
.It Ev FTP_TIMEOUT
|
||||
maximum time, in seconds, to wait before aborting an
|
||||
maximum time, in seconds, to wait before aborting an
|
||||
.Tn FTP
|
||||
connection.
|
||||
.It Ev HTTP_TIMEOUT
|
||||
@ -205,7 +205,7 @@ library are supported.
|
||||
.Sh SEE ALSO
|
||||
.Xr fetch 3
|
||||
.Sh HISTORY
|
||||
The
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
.Fx 2.1.5 .
|
||||
|
@ -155,15 +155,15 @@ to be
|
||||
Do not prepend filenames to output lines (brief mode).
|
||||
.It Fl c
|
||||
Cause a checking printout of the parsed form of the magic file.
|
||||
This is usually used in conjunction with
|
||||
This is usually used in conjunction with
|
||||
.Fl m
|
||||
to debug a new magic file before installing it.
|
||||
.It Fl f Ar namefile
|
||||
Read the names of the files to be examined from
|
||||
Read the names of the files to be examined from
|
||||
.Ar namefile
|
||||
(one per line)
|
||||
(one per line)
|
||||
before the argument list.
|
||||
Either
|
||||
Either
|
||||
.Ar namefile
|
||||
or at least one filename argument must be present;
|
||||
to test the standard input, use
|
||||
@ -243,12 +243,12 @@ can be used to set the default magic number files.
|
||||
.Sh STANDARDS CONFORMANCE
|
||||
This program is believed to exceed the System V Interface Definition
|
||||
of FILE(CMD), as near as one can determine from the vague language
|
||||
contained therein.
|
||||
contained therein.
|
||||
Its behaviour is mostly compatible with the System V program of the same name.
|
||||
This version knows more magic, however, so it will produce
|
||||
different (albeit more accurate) output in many cases.
|
||||
different (albeit more accurate) output in many cases.
|
||||
.Pp
|
||||
The one significant difference
|
||||
The one significant difference
|
||||
between this version and System V
|
||||
is that this version treats any white space
|
||||
as a delimiter, so that spaces in pattern strings must be escaped.
|
||||
@ -286,7 +286,7 @@ mainly USENET, and contributed by various authors.
|
||||
.An Christos Zoulas
|
||||
(address below) will collect additional
|
||||
or corrected magic file entries.
|
||||
A consolidation of magic file entries
|
||||
A consolidation of magic file entries
|
||||
will be distributed periodically.
|
||||
.Pp
|
||||
The order of entries in the magic file is significant.
|
||||
@ -296,7 +296,7 @@ If your old
|
||||
.Nm
|
||||
command uses a magic file,
|
||||
keep the old magic file around for comparison purposes
|
||||
(rename it to
|
||||
(rename it to
|
||||
.Pa /usr/share/misc/magic.orig ) .
|
||||
.Sh EXAMPLES
|
||||
.Bd -literal
|
||||
@ -325,7 +325,7 @@ file: application/x-executable, dynamically linked (uses shared libs), no
|
||||
/dev/hda: application/x-not-regular-file
|
||||
.Ed
|
||||
.Sh HISTORY
|
||||
There has been a
|
||||
There has been a
|
||||
.Nm
|
||||
command in every
|
||||
.Ux
|
||||
|
@ -5,7 +5,7 @@
|
||||
.\"
|
||||
.Dd December 8, 2000
|
||||
.Dt MAGIC 5 "Public Domain"
|
||||
.Os
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm magic
|
||||
.Nd file command's magic number file
|
||||
@ -110,10 +110,10 @@ value,
|
||||
to specify that the value from the file must be greater than the specified
|
||||
value,
|
||||
.Em & ,
|
||||
to specify that the value from the file must have set all of the bits
|
||||
to specify that the value from the file must have set all of the bits
|
||||
that are set in the specified value,
|
||||
.Em ^ ,
|
||||
to specify that the value from the file must have clear any of the bits
|
||||
to specify that the value from the file must have clear any of the bits
|
||||
that are set in the specified value, or
|
||||
.Em x ,
|
||||
to specify that any value will match.
|
||||
@ -130,7 +130,7 @@ is octal, and
|
||||
is hexadecimal.
|
||||
.It ""
|
||||
For string values, the byte string from the
|
||||
file must match the specified byte string.
|
||||
file must match the specified byte string.
|
||||
The operators
|
||||
.Em = ,
|
||||
.Em <
|
||||
@ -184,11 +184,11 @@ The value at that offset is read, and is used again as an offset
|
||||
in the file.
|
||||
Indirect offsets are of the form:
|
||||
.Em (x[.[bslBSL]][+-][y]) .
|
||||
The value of
|
||||
The value of
|
||||
.Em x
|
||||
is used as an offset in the file.
|
||||
A byte, short or long is read at that offset
|
||||
depending on the
|
||||
depending on the
|
||||
.Em [bslBSL]
|
||||
type specifier.
|
||||
The capitalized types interpret the number as a big endian value, whereas
|
||||
@ -203,13 +203,13 @@ Sometimes you do not know the exact offset as this depends on the length of
|
||||
preceding fields.
|
||||
You can specify an offset relative to the end of the
|
||||
last uplevel field (of course this may only be done for sublevel tests, i.e.\&
|
||||
test beginning with
|
||||
test beginning with
|
||||
.Em > Ns ) .
|
||||
Such a relative offset is specified using
|
||||
.Em &
|
||||
as a prefix to the offset.
|
||||
.Sh BUGS
|
||||
The formats
|
||||
The formats
|
||||
.Em long ,
|
||||
.Em belong ,
|
||||
.Em lelong ,
|
||||
@ -221,7 +221,7 @@ The formats
|
||||
and
|
||||
.Em ledate
|
||||
are system-dependent; perhaps they should be specified as a number
|
||||
of bytes (2B, 4B, etc),
|
||||
of bytes (2B, 4B, etc),
|
||||
since the files being recognized typically come from
|
||||
a system on which the lengths are invariant.
|
||||
.Pp
|
||||
@ -237,7 +237,7 @@ indirect offsets.
|
||||
.\" Date: 3 Sep 85 08:19:07 GMT
|
||||
.\" Organization: Sun Microsystems, Inc.
|
||||
.\" Lines: 136
|
||||
.\"
|
||||
.\"
|
||||
.\" Here's a manual page for the format accepted by the "file" made by adding
|
||||
.\" the changes I posted to the S5R2 version.
|
||||
.\"
|
||||
|
@ -23,10 +23,10 @@ The
|
||||
utility reads a file from stdin and writes it to stdout, converting each
|
||||
byte to its decimal representation on the fly.
|
||||
.Pp
|
||||
If the first
|
||||
If the first
|
||||
.Op string
|
||||
is present, it is printed before the data; if the second
|
||||
.Op string
|
||||
is present, it is printed before the data; if the second
|
||||
.Op string
|
||||
is present, it is printed after the data.
|
||||
.Pp
|
||||
This program is used to embed binary or other files into C source files,
|
||||
|
@ -53,7 +53,7 @@ Options:
|
||||
.Bl -tag -width Fl
|
||||
.It Fl c
|
||||
Just print a count of messages and exit.
|
||||
.It Fl f Ar file
|
||||
.It Fl f Ar file
|
||||
The supplied file
|
||||
is examined instead of the invoker's mailbox.
|
||||
If the
|
||||
@ -61,10 +61,10 @@ If the
|
||||
option is used, the
|
||||
.Ar user
|
||||
argument should not be used.
|
||||
Read from standard input if file name
|
||||
.Ar -
|
||||
Read from standard input if file name
|
||||
.Ar -
|
||||
is given.
|
||||
.It Fl s Ar sender
|
||||
.It Fl s Ar sender
|
||||
Only mail from addresses containing
|
||||
the
|
||||
supplied string are printed.
|
||||
|
@ -192,7 +192,7 @@ For tcp, it is the address of the tcpcb, and for udp, the inpcb (socket pcb).
|
||||
For unix domain sockets, its the address of the socket pcb and the address
|
||||
of the connected pcb (if connected).
|
||||
Otherwise the protocol number and address of the socket itself are printed.
|
||||
The attempt is to make enough information available to
|
||||
The attempt is to make enough information available to
|
||||
permit further analysis without duplicating
|
||||
.Xr netstat 1 .
|
||||
.Pp
|
||||
|
@ -342,11 +342,11 @@ The current settings for
|
||||
and
|
||||
.Ic structure
|
||||
are used while transferring the file.
|
||||
.It Ic gate Op Ar host Op Ar port
|
||||
.It Ic gate Op Ar host Op Ar port
|
||||
Toggle gate-ftp mode.
|
||||
This will not be permitted if the gate-ftp server hasn't been set
|
||||
(either explicitly by the user, or from the
|
||||
.Ev FTPSERVER
|
||||
.Ev FTPSERVER
|
||||
environment variable).
|
||||
If
|
||||
.Ar host
|
||||
@ -680,7 +680,7 @@ server (see below).
|
||||
Retrieve
|
||||
.Ic file
|
||||
and display with the program defined in
|
||||
.Ev PAGER
|
||||
.Ev PAGER
|
||||
(which defaults to
|
||||
.Xr more 1 ) .
|
||||
.It Ic passive
|
||||
@ -1069,7 +1069,7 @@ on the command line.
|
||||
.Pp
|
||||
The following formats are valid syntax for an auto-fetch element:
|
||||
.Bl -tag -width "host:/file"
|
||||
.It host:/file
|
||||
.It host:/file
|
||||
.Dq Classic
|
||||
ftp format
|
||||
.It ftp://[user:password@]host[:port]/file
|
||||
@ -1108,7 +1108,7 @@ connection creation and deletion.
|
||||
.Pp
|
||||
If
|
||||
.Ic file
|
||||
contains a glob character and globbing is enabled,
|
||||
contains a glob character and globbing is enabled,
|
||||
(see
|
||||
.Ic glob ) ,
|
||||
then the equivalent of
|
||||
@ -1347,7 +1347,7 @@ auto-login process.
|
||||
.El
|
||||
.Sh COMMAND LINE EDITING
|
||||
.Nm
|
||||
supports interactive command line editing, via the
|
||||
supports interactive command line editing, via the
|
||||
.Xr editline 3
|
||||
library.
|
||||
It is enabled with the
|
||||
@ -1392,7 +1392,7 @@ Port to use when connecting to gate-ftp server when
|
||||
is enabled.
|
||||
Default is port returned by a
|
||||
.Fn getservbyname
|
||||
lookup of
|
||||
lookup of
|
||||
.Dq ftpgate/tcp .
|
||||
.It Ev HOME
|
||||
For default location of a
|
||||
@ -1428,7 +1428,7 @@ The
|
||||
command appeared in
|
||||
.Bx 4.2 .
|
||||
.Pp
|
||||
Various features such as command line editing, context sensitive
|
||||
Various features such as command line editing, context sensitive
|
||||
command and file completion, dynamic progress bar, automatic
|
||||
fetching of files, ftp and http URLs, and modification time
|
||||
preservation were implemented in
|
||||
|
@ -39,7 +39,7 @@
|
||||
.Nm gcore
|
||||
.Nd get core images of running process
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Nm
|
||||
.Op Fl s
|
||||
.Op Fl c Ar core
|
||||
.Op Ar exec
|
||||
@ -70,7 +70,7 @@ Stop the process while gathering the core image, and resume it
|
||||
when done. This guarantees that the resulting core dump will
|
||||
be in a consistent state. The process is resumed even if it was
|
||||
already stopped.
|
||||
The same effect can be achieved manually with
|
||||
The same effect can be achieved manually with
|
||||
.Xr kill 1 .
|
||||
.El
|
||||
.Sh FILES
|
||||
@ -94,5 +94,5 @@ to temporarily stop the target process.
|
||||
.Pp
|
||||
.Nm Gcore
|
||||
is not compatible with the original
|
||||
.Bx 4.2
|
||||
.Bx 4.2
|
||||
version.
|
||||
|
@ -33,7 +33,7 @@
|
||||
.Nm gencat
|
||||
.Nd NLS catalog compiler
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Nm
|
||||
.Ar "output-file"
|
||||
.Ar "input-files..."
|
||||
.Sh DESCRIPTION
|
||||
@ -156,7 +156,7 @@ If the character following the backslash is not one of those specified,
|
||||
the backslash is ignored.
|
||||
.Pp
|
||||
The
|
||||
.Nm
|
||||
.Nm
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh SEE ALSO
|
||||
.Xr catclose 3 ,
|
||||
|
@ -87,7 +87,7 @@ to
|
||||
so a
|
||||
.Ar system_var
|
||||
of
|
||||
.Dq Li PATH
|
||||
.Dq Li PATH
|
||||
is used.)
|
||||
.Pp
|
||||
The
|
||||
|
@ -55,14 +55,14 @@ then
|
||||
fi
|
||||
set \-\- $args
|
||||
# You cannot use the set command with a backquoted getopt directly,
|
||||
# since the exit code from getopt would be shadowed by those of set,
|
||||
# since the exit code from getopt would be shadowed by those of set,
|
||||
# which is zero by definition.
|
||||
for i
|
||||
do
|
||||
case "$i"
|
||||
in
|
||||
\-a|\-b)
|
||||
echo flag $i set; sflags="${i#-}$sflags";
|
||||
echo flag $i set; sflags="${i#-}$sflags";
|
||||
shift;;
|
||||
\-o)
|
||||
echo oarg is "'"$2"'"; oarg="$2"; shift;
|
||||
@ -107,7 +107,7 @@ has.
|
||||
.Pp
|
||||
Arguments containing white space or embedded shell metacharacters
|
||||
generally will not survive intact; this looks easy to fix but
|
||||
isn't. People trying to fix
|
||||
isn't. People trying to fix
|
||||
.Nm
|
||||
or the example in this manpage should check the history of this file
|
||||
in
|
||||
|
@ -65,7 +65,7 @@ and establishes the relation between its symbol table
|
||||
and the call graph profile.
|
||||
The default graph profile file name is the name
|
||||
of the executable with the suffix
|
||||
.Pa .gmon
|
||||
.Pa .gmon
|
||||
appended.
|
||||
If more than one profile file is specified,
|
||||
the
|
||||
@ -121,10 +121,10 @@ Find a minimal set of arcs that can be broken to eliminate all cycles with
|
||||
.Ar count
|
||||
or more members.
|
||||
Caution: the algorithm used to break cycles is exponential,
|
||||
so using this option may cause
|
||||
so using this option may cause
|
||||
.Nm
|
||||
to run for a very long time.
|
||||
.It Fl e Ar name
|
||||
.It Fl e Ar name
|
||||
Suppresses the printing of the graph profile entry for routine
|
||||
.Ar name
|
||||
and all its descendants
|
||||
@ -137,7 +137,7 @@ Only one
|
||||
may be given with each
|
||||
.Fl e
|
||||
option.
|
||||
.It Fl E Ar name
|
||||
.It Fl E Ar name
|
||||
Suppresses the printing of the graph profile entry for routine
|
||||
.Ar name
|
||||
(and its descendants) as
|
||||
@ -151,7 +151,7 @@ above, and also excludes the time spent in
|
||||
.Fl E
|
||||
.Ar mcleanup
|
||||
is the default.)
|
||||
.It Fl f Ar name
|
||||
.It Fl f Ar name
|
||||
Prints the graph profile entry of only the specified routine
|
||||
.Ar name
|
||||
and its descendants.
|
||||
@ -163,7 +163,7 @@ Only one
|
||||
may be given with each
|
||||
.Fl f
|
||||
option.
|
||||
.It Fl F Ar name
|
||||
.It Fl F Ar name
|
||||
Prints the graph profile entry of only the routine
|
||||
.Ar name
|
||||
and its descendants (as
|
||||
@ -185,7 +185,7 @@ overrides
|
||||
the
|
||||
.Fl E
|
||||
option.
|
||||
.It Fl k Ar fromname Ar toname
|
||||
.It Fl k Ar fromname Ar toname
|
||||
Will delete any arcs from routine
|
||||
.Ar fromname
|
||||
to routine
|
||||
|
@ -46,7 +46,7 @@
|
||||
.Sh DESCRIPTION
|
||||
This filter displays the first
|
||||
.Ar count
|
||||
lines or
|
||||
lines or
|
||||
.Ar bytes
|
||||
of each of the specified files, or of the standard input if no
|
||||
files are specified.
|
||||
|
@ -143,7 +143,7 @@ searching with
|
||||
.Aq Ar groupname .
|
||||
.It Cm grplist
|
||||
returns subgroups included in superset
|
||||
defined by
|
||||
defined by
|
||||
.Aq Ar groupname .
|
||||
.It Cm filsys
|
||||
returns file system type, export point, server, mount mode, and import point
|
||||
@ -159,8 +159,8 @@ and
|
||||
returns information about the local cluster the workstation, specified by
|
||||
.Aq Ar "workstation\-name" .
|
||||
Included is information about the local file and print servers.
|
||||
This information is accesses by
|
||||
.Sy clusterinfo
|
||||
This information is accesses by
|
||||
.Sy clusterinfo
|
||||
at boot time.
|
||||
.It Cm sloc
|
||||
returns network name of service host for
|
||||
|
@ -90,14 +90,14 @@ implies this option.
|
||||
Display the input offset in hexadecimal, followed by eight
|
||||
space-separated, five column, zero-filled, two-byte units
|
||||
of input data, in unsigned decimal, per line.
|
||||
.It Fl e Ar format_string
|
||||
.It Fl e Ar format_string
|
||||
Specify a format string to be used for displaying data.
|
||||
.It Fl f Ar format_file
|
||||
.It Fl f Ar format_file
|
||||
Specify a file that contains one or more newline separated format strings.
|
||||
Empty lines and lines whose first non-blank character is a hash mark
|
||||
.Pf ( Cm \&# )
|
||||
are ignored.
|
||||
.It Fl n Ar length
|
||||
.It Fl n Ar length
|
||||
Interpret only
|
||||
.Ar length
|
||||
bytes of input.
|
||||
@ -106,7 +106,7 @@ bytes of input.
|
||||
Display the input offset in hexadecimal, followed by eight
|
||||
space-separated, six column, zero-filled, two byte quantities of
|
||||
input data, in octal, per line.
|
||||
.It Fl s Ar offset
|
||||
.It Fl s Ar offset
|
||||
Skip
|
||||
.Ar offset
|
||||
bytes from the beginning of the input.
|
||||
@ -221,7 +221,7 @@ described in the C standard are supported:
|
||||
.Nm Hexdump
|
||||
also supports the following additional conversion strings:
|
||||
.Bl -tag -width Fl
|
||||
.It Cm \&_a Ns Op Cm dox
|
||||
.It Cm \&_a Ns Op Cm dox
|
||||
Display the input offset, cumulative across input files, of the
|
||||
next byte to be displayed.
|
||||
The appended characters
|
||||
@ -231,7 +231,7 @@ and
|
||||
.Cm x
|
||||
specify the display base
|
||||
as decimal, octal or hexadecimal respectively.
|
||||
.It Cm \&_A Ns Op Cm dox
|
||||
.It Cm \&_A Ns Op Cm dox
|
||||
Identical to the
|
||||
.Cm \&_a
|
||||
conversion string except that it is only performed
|
||||
@ -268,12 +268,12 @@ are as follows:
|
||||
One byte counts only.
|
||||
.It Xo
|
||||
.Li \&%d , \&%i , \&%o ,
|
||||
.Li \&%u , \&%X , \&%x
|
||||
.Li \&%u , \&%X , \&%x
|
||||
.Xc
|
||||
Four byte default, one, two and four byte counts supported.
|
||||
.It Xo
|
||||
.Li \&%E , \&%e , \&%f ,
|
||||
.Li \&%G , \&%g
|
||||
.Li \&%G , \&%g
|
||||
.Xc
|
||||
Eight byte default, four byte counts supported.
|
||||
.El
|
||||
|
@ -186,7 +186,7 @@ code. The default is
|
||||
Enables (disables) forcing of `else's to cuddle up to the immediately preceding
|
||||
`}'. The default is
|
||||
.Fl \&ce .
|
||||
.It Fl \&ci Ns Ar n
|
||||
.It Fl \&ci Ns Ar n
|
||||
Sets the continuation indent to be
|
||||
.Ar n .
|
||||
Continuation
|
||||
@ -198,7 +198,7 @@ is in effect.
|
||||
.Fl \&ci
|
||||
defaults to the same value as
|
||||
.Fl i .
|
||||
.It Fl cli Ns Ar n
|
||||
.It Fl cli Ns Ar n
|
||||
Causes case labels to be indented
|
||||
.Ar n
|
||||
tab stops to the right of the containing
|
||||
@ -208,7 +208,7 @@ statement.
|
||||
causes case labels to be indented half a tab stop. The
|
||||
default is
|
||||
.Fl cli0 .
|
||||
.It Fl d Ns Ar n
|
||||
.It Fl d Ns Ar n
|
||||
Controls the placement of comments which are not to the
|
||||
right of code. For example,
|
||||
.Fl \&d\&1
|
||||
@ -217,7 +217,7 @@ left of code. Specifying the default
|
||||
.Fl \&d\&0
|
||||
lines-up these comments with the code. See the section on comment
|
||||
indentation below.
|
||||
.It Fl \&di Ns Ar n
|
||||
.It Fl \&di Ns Ar n
|
||||
Specifies the indentation, in character positions, from a declaration keyword
|
||||
to the following identifier. The default is
|
||||
.Fl di16 .
|
||||
@ -258,13 +258,13 @@ should be used.
|
||||
Block comments are then handled like box comments.
|
||||
The default is
|
||||
.Fl fcb .
|
||||
.It Fl i Ns Ar n
|
||||
.It Fl i Ns Ar n
|
||||
The number of spaces for one indentation level. The default is 8.
|
||||
.It Fl \&ip , nip
|
||||
Enables (disables) the indentation of parameter declarations from the left
|
||||
margin. The default is
|
||||
.Fl \&ip .
|
||||
.It Fl l Ns Ar n
|
||||
.It Fl l Ns Ar n
|
||||
Maximum length of an output line. The default is 78.
|
||||
.It Fl \&lp , nlp
|
||||
Lines-up code surrounded by parenthesis in continuation lines. If a line
|
||||
@ -326,7 +326,7 @@ get rid of blank lines after declarations. Default:
|
||||
Causes
|
||||
.Nm
|
||||
to take its input from stdin and put its output to stdout.
|
||||
.It Fl T Ns Ar typename
|
||||
.It Fl T Ns Ar typename
|
||||
Adds
|
||||
.Ar typename
|
||||
to the list of type keywords. Names accumulate:
|
||||
@ -397,13 +397,13 @@ line as possible. Blank lines break paragraphs.
|
||||
.Ss Comment indentation
|
||||
If a comment is on a line with code it is started in the `comment column',
|
||||
which is set by the
|
||||
.Fl c Ns Ns Ar n
|
||||
.Fl c Ns Ns Ar n
|
||||
command line parameter. Otherwise, the comment is started at
|
||||
.Ar n
|
||||
indentation levels less than where code is currently being placed, where
|
||||
.Ar n
|
||||
is specified by the
|
||||
.Fl d Ns Ns Ar n
|
||||
.Fl d Ns Ns Ar n
|
||||
command line parameter. If the code on a line extends past the comment
|
||||
column, the comment starts further to the right, and the right margin may be
|
||||
automatically extended in extreme cases.
|
||||
|
@ -1,6 +1,6 @@
|
||||
.\" Copyright (c) 1994 Adam Glass
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
@ -8,7 +8,7 @@
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. The name of the Author may not be used to endorse or promote products
|
||||
.\" derived from this software without specific prior written permission.
|
||||
.\"
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY Adam Glass ``AS IS'' AND
|
||||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
@ -20,7 +20,7 @@
|
||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\""
|
||||
.Dd August 8, 1994
|
||||
@ -51,7 +51,7 @@ Remove the message queue associated with the id
|
||||
.Nm msqid
|
||||
from the system.
|
||||
.It Fl m Ar shmid
|
||||
Mark the shared memory segment associated with id
|
||||
Mark the shared memory segment associated with id
|
||||
.Nm shmid
|
||||
for removal.
|
||||
This marked segment will be destroyed after the last detach.
|
||||
@ -60,11 +60,11 @@ Removes the semaphore set associated with id
|
||||
.Nm semid
|
||||
from the system.
|
||||
.It Fl Q Ar msgkey
|
||||
Remove the message queue associated with key
|
||||
Remove the message queue associated with key
|
||||
.Nm msgkey
|
||||
from the system.
|
||||
.It Fl M Ar shmkey
|
||||
Mark the shared memory segment associated with key
|
||||
Mark the shared memory segment associated with key
|
||||
.Nm shmkey
|
||||
for removal.
|
||||
This marked segment will be destroyed after the last detach.
|
||||
|
@ -145,7 +145,7 @@ a function in APL.
|
||||
.Sh EXAMPLES
|
||||
The command
|
||||
.Dl jot 21 -1 1.00
|
||||
.Pp
|
||||
.Pp
|
||||
prints 21 evenly spaced numbers increasing from -1 to 1.
|
||||
The
|
||||
.Tn ASCII
|
||||
|
@ -58,13 +58,13 @@ The options are as follows:
|
||||
.Bl -tag -width Fl
|
||||
.It Fl d
|
||||
Display all numbers in decimal.
|
||||
.It Fl f Ar file
|
||||
.It Fl f Ar file
|
||||
Display the specified file instead of
|
||||
.Pa ktrace.out .
|
||||
.It Fl l
|
||||
Loop reading the trace file, once the end-of-file is reached, waiting for
|
||||
more data.
|
||||
.It Fl m Ar maxdata
|
||||
.It Fl m Ar maxdata
|
||||
Display at most
|
||||
.Ar maxdata
|
||||
bytes when decoding
|
||||
|
@ -22,8 +22,8 @@ key server process
|
||||
to be used by any secure network services, such as NFS.
|
||||
.Sh SEE ALSO
|
||||
.Xr chkey 1 ,
|
||||
.Xr keylogout 1 ,
|
||||
.Xr keylogout 1 ,
|
||||
.Xr login 1 ,
|
||||
.Xr publickey 5 ,
|
||||
.Xr keyserv 8 ,
|
||||
.Xr newkey 8
|
||||
.Xr keyserv 8 ,
|
||||
.Xr newkey 8
|
||||
|
@ -74,7 +74,7 @@ List the names of the available signals and exit, like in
|
||||
.It Fl m
|
||||
Match the argument
|
||||
.Ar procname
|
||||
as a (case insensitive) regular expression against the names
|
||||
as a (case insensitive) regular expression against the names
|
||||
of processes found.
|
||||
CAUTION! This is dangerous, a single dot will match any process
|
||||
running under the effective UID of the caller.
|
||||
@ -91,7 +91,7 @@ Limit potentially matching processes to those belonging to
|
||||
the specified
|
||||
.Ar user .
|
||||
.It Fl t Ar tty
|
||||
Limit potentially matching processes to those running on
|
||||
Limit potentially matching processes to those running on
|
||||
the specified
|
||||
.Ar tty .
|
||||
.It Fl c Ar procname
|
||||
@ -104,11 +104,11 @@ the specified
|
||||
.Ar progname .
|
||||
.El
|
||||
.Sh ALL PROCESSES
|
||||
Sending a signal to all processes with uid
|
||||
Sending a signal to all processes with uid
|
||||
.Nm XYZ
|
||||
is already supported by
|
||||
.Xr kill 1 .
|
||||
So use
|
||||
.Xr kill 1 .
|
||||
So use
|
||||
.Xr kill 1
|
||||
for this job (e.g. $ kill -TERM -1 or
|
||||
as root $ echo kill -TERM -1 | su -m <user>)
|
||||
|
@ -85,23 +85,23 @@ Clear the trace points associated with the specified file or processes.
|
||||
.It Fl d
|
||||
Descendants; perform the operation for all current children of the
|
||||
designated processes.
|
||||
.It Fl f Ar file
|
||||
.It Fl f Ar file
|
||||
Log trace records to
|
||||
.Ar file
|
||||
instead of
|
||||
.Pa ktrace.out .
|
||||
.It Fl g Ar pgid
|
||||
.It Fl g Ar pgid
|
||||
Enable (disable) tracing on all processes in the process group (only one
|
||||
.Fl g
|
||||
flag is permitted).
|
||||
.It Fl i
|
||||
Inherit; pass the trace flags to all future children of the designated
|
||||
processes.
|
||||
.It Fl p Ar pid
|
||||
.It Fl p Ar pid
|
||||
Enable (disable) tracing on the indicated process id (only one
|
||||
.Fl p
|
||||
flag is permitted).
|
||||
.It Fl t Ar trstr
|
||||
.It Fl t Ar trstr
|
||||
The string argument represents the kernel trace points, one per letter.
|
||||
The following table equates the letters with the tracepoints:
|
||||
.Pp
|
||||
|
@ -42,12 +42,12 @@
|
||||
.Nm
|
||||
.Op Fl f Ar min . Ns Ar max
|
||||
.Op Fl s Ar sepstring
|
||||
.Op Fl t Ar c
|
||||
.Op Fl t Ar c
|
||||
.Ar
|
||||
.Nm
|
||||
.Op Fl p Ar min . Ns Ar max
|
||||
.Op Fl s Ar sepstring
|
||||
.Op Fl t Ar c
|
||||
.Op Fl t Ar c
|
||||
.Ar
|
||||
.Sh DESCRIPTION
|
||||
.Nm Lam
|
||||
|
@ -113,7 +113,7 @@ Flags, as accumulated by the accounting facilities in the system.
|
||||
.It
|
||||
The command name under which the process was called.
|
||||
.It
|
||||
The amount of
|
||||
The amount of
|
||||
CPU
|
||||
.Pq Fl c ,
|
||||
wall
|
||||
|
@ -217,7 +217,7 @@ A somewhat more complicated example:
|
||||
yyin = fopen( argv[0], "r" );
|
||||
else
|
||||
yyin = stdin;
|
||||
|
||||
|
||||
yylex();
|
||||
}
|
||||
|
||||
@ -705,7 +705,7 @@ a single blank, and throws away whitespace found at the end of a line:
|
||||
.PP
|
||||
If the action contains a '{', then the action spans till the balancing '}'
|
||||
is found, and the action may cross multiple lines.
|
||||
.I flex
|
||||
.I flex
|
||||
knows about C strings and comments and won't be fooled by braces found
|
||||
within them, but also allows actions to begin with
|
||||
.B %{
|
||||
@ -1903,7 +1903,7 @@ interactive to avoid problems due to waiting to fill buffers
|
||||
(see the discussion of the
|
||||
.B \-I
|
||||
flag below). A non-zero value
|
||||
in the macro invocation marks the buffer as interactive, a zero
|
||||
in the macro invocation marks the buffer as interactive, a zero
|
||||
value as non-interactive. Note that use of this macro overrides
|
||||
.B %option interactive ,
|
||||
.B %option always-interactive
|
||||
@ -2123,7 +2123,7 @@ The result is large but fast. This option is equivalent to
|
||||
generates a "help" summary of
|
||||
.I flex's
|
||||
options to
|
||||
.I stdout
|
||||
.I stdout
|
||||
and then exits.
|
||||
.B \-?
|
||||
and
|
||||
@ -2427,7 +2427,7 @@ and 8-bit scanners.
|
||||
specifies that you want flex to generate a C++
|
||||
scanner class. See the section on Generating C++ Scanners below for
|
||||
details.
|
||||
.TP
|
||||
.TP
|
||||
.B \-C[aefFmr]
|
||||
controls the degree of table compression and, more generally, trade-offs
|
||||
between small scanners and fast scanners.
|
||||
@ -2885,7 +2885,7 @@ It is a particularly expensive option.
|
||||
Getting rid of backing up is messy and often may be an enormous
|
||||
amount of work for a complicated scanner. In principal, one begins
|
||||
by using the
|
||||
.B \-b
|
||||
.B \-b
|
||||
flag to generate a
|
||||
.I lex.backup
|
||||
file. For example, on the input
|
||||
@ -3155,7 +3155,7 @@ one which doesn't include a newline:
|
||||
Compiled with
|
||||
.B \-Cf,
|
||||
this is about as fast as one can get a
|
||||
.I flex
|
||||
.I flex
|
||||
scanner to go for this particular problem.
|
||||
.PP
|
||||
A final note:
|
||||
@ -3481,7 +3481,7 @@ for the other.
|
||||
.PP
|
||||
IMPORTANT: the present form of the scanning class is
|
||||
.I experimental
|
||||
and may change considerably between major releases.
|
||||
and may change considerably between major releases.
|
||||
.SH INCOMPATIBILITIES WITH LEX AND POSIX
|
||||
.I flex
|
||||
is a rewrite of the AT&T Unix
|
||||
|
@ -167,7 +167,7 @@ resource limits.
|
||||
If specific limits settings follow this switch, both soft and hard
|
||||
limits are affected until overridden later with either the
|
||||
.Fl S
|
||||
or
|
||||
or
|
||||
.Fl H
|
||||
flags.
|
||||
.Fl e
|
||||
@ -290,7 +290,7 @@ as well that apply to the 'news' account, you might use:
|
||||
.Pp
|
||||
.Dl eval `limits -U news -aBec 0`
|
||||
.Pp
|
||||
As with the
|
||||
As with the
|
||||
.Xr setrlimit 2
|
||||
call, only the superuser may raise process "hard" resource limits.
|
||||
Non-root users may, however, lower them or change "soft" resource limits
|
||||
|
@ -43,14 +43,14 @@
|
||||
.Nm
|
||||
.Op Fl Scims
|
||||
.Op Fl l Ar limit
|
||||
.Op Fl d Ar database
|
||||
.Op Fl d Ar database
|
||||
.Ar pattern ...
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
program searches a database for all pathnames which match the specified
|
||||
.Ar pattern .
|
||||
The database is recomputed periodically (usually weekly or daily),
|
||||
The database is recomputed periodically (usually weekly or daily),
|
||||
and contains the pathnames
|
||||
of all files which are publicly accessible.
|
||||
.Pp
|
||||
@ -99,9 +99,9 @@ Suppress normal output; instead print a count of matching file names.
|
||||
Search in
|
||||
.Ar database
|
||||
instead the default file name database.
|
||||
Multiple
|
||||
Multiple
|
||||
.Fl d
|
||||
options are allowed. Each additional
|
||||
options are allowed. Each additional
|
||||
.Fl d
|
||||
option adds the specified database to the list
|
||||
of databases to be searched.
|
||||
@ -117,9 +117,9 @@ $ locate -d $HOME/lib/mydb: foo
|
||||
.Pp
|
||||
will first search string
|
||||
.Dq foo
|
||||
in
|
||||
in
|
||||
.Pa $HOME/lib/mydb
|
||||
and then in
|
||||
and then in
|
||||
.Pa /var/db/locate.database .
|
||||
.Bd -literal
|
||||
$ locate -d $HOME/lib/mydb::/cdrom/locate.database foo
|
||||
@ -127,11 +127,11 @@ $ locate -d $HOME/lib/mydb::/cdrom/locate.database foo
|
||||
.Pp
|
||||
will first search string
|
||||
.Dq foo
|
||||
in
|
||||
in
|
||||
.Pa $HOME/lib/mydb
|
||||
and then in
|
||||
and then in
|
||||
.Pa /var/db/locate.database
|
||||
and then in
|
||||
and then in
|
||||
.Pa /cdrom/locate.database .
|
||||
.Bd -literal
|
||||
$ locate -d db1 -d db2 -d db3 pattern
|
||||
@ -142,35 +142,35 @@ is the same as
|
||||
$ locate -d db1:db2:db3 pattern
|
||||
.Ed
|
||||
.Pp
|
||||
or
|
||||
or
|
||||
.Bd -literal
|
||||
.Dq $ locate -d db1:db2 -d db3 pattern .
|
||||
.Dq $ locate -d db1:db2 -d db3 pattern .
|
||||
.Ed
|
||||
.Pp
|
||||
If
|
||||
.Ar -
|
||||
.Ar -
|
||||
is given as the database name, standard input will be read instead.
|
||||
For example, you can compress your database
|
||||
and use:
|
||||
For example, you can compress your database
|
||||
and use:
|
||||
.Bd -literal
|
||||
$ zcat database.gz | locate -d - pattern
|
||||
.Ed
|
||||
.Pp
|
||||
This might be useful on machines with a fast CPU and little RAM and slow
|
||||
I/O. Note: you can only use
|
||||
I/O. Note: you can only use
|
||||
.Ar one
|
||||
pattern for stdin.
|
||||
.It Fl i
|
||||
Ignore case distinctions in both the pattern and the database.
|
||||
.It Fl l Ar number
|
||||
Limit output to
|
||||
Limit output to
|
||||
.Ar number
|
||||
of file names and exit.
|
||||
.It Fl m
|
||||
Use
|
||||
.Xr mmap 2
|
||||
instead of the
|
||||
.Xr stdio 3
|
||||
Use
|
||||
.Xr mmap 2
|
||||
instead of the
|
||||
.Xr stdio 3
|
||||
library.
|
||||
This is the default behavior.
|
||||
Usually faster in most cases.
|
||||
@ -192,8 +192,8 @@ Script that starts the database rebuild
|
||||
.Sh ENVIRONMENT
|
||||
.Bl -tag -width LOCATE_PATH -compact
|
||||
.It Pa LOCATE_PATH
|
||||
path to the locate database if set and not empty, ignored if the
|
||||
.Fl d
|
||||
path to the locate database if set and not empty, ignored if the
|
||||
.Fl d
|
||||
option was specified.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
@ -213,10 +213,10 @@ option was specified.
|
||||
.Sh BUGS
|
||||
The
|
||||
.Nm
|
||||
program may fail to list some files that are present, or may
|
||||
program may fail to list some files that are present, or may
|
||||
list files that have been removed from the system. This is because
|
||||
locate only reports files that are present in the database, which is
|
||||
typically only regenerated once a week by the
|
||||
typically only regenerated once a week by the
|
||||
.Pa /etc/periodic/weekly/310.locate
|
||||
script. Use
|
||||
.Xr find 1
|
||||
@ -224,18 +224,18 @@ to locate files that are of a more transitory nature.
|
||||
.Pp
|
||||
The
|
||||
.Nm
|
||||
database was built by user
|
||||
database was built by user
|
||||
.Dq nobody .
|
||||
.Xr find 1
|
||||
skips directories,
|
||||
which are not readable for user
|
||||
.Dq nobody ,
|
||||
which are not readable for user
|
||||
.Dq nobody ,
|
||||
group
|
||||
.Dq nobody ,
|
||||
or
|
||||
world.
|
||||
E.g. if your HOME directory is not world-readable, all your
|
||||
files are
|
||||
files are
|
||||
.Ar not
|
||||
in the database.
|
||||
.Pp
|
||||
@ -244,13 +244,13 @@ The
|
||||
database is not byte order independent.
|
||||
It is not possible
|
||||
to share the databases between machines with different byte order.
|
||||
The current
|
||||
The current
|
||||
.Nm
|
||||
implementation understand databases in host byte order or
|
||||
network byte order if both architectures use the same integer size.
|
||||
network byte order if both architectures use the same integer size.
|
||||
So you can read on a
|
||||
.Fx Ns /i386
|
||||
machine
|
||||
machine
|
||||
(little endian)
|
||||
a locate database which was built on SunOS/sparc machine
|
||||
(big endian, net).
|
||||
|
@ -60,7 +60,7 @@ Don't use a timeout value. Terminal will be locked forever.
|
||||
.It Fl p
|
||||
A password is not requested, instead the user's current login password
|
||||
is used.
|
||||
.It Fl t Ar timeout
|
||||
.It Fl t Ar timeout
|
||||
The time limit (default 15 minutes) is changed to
|
||||
.Ar timeout
|
||||
minutes.
|
||||
|
@ -57,7 +57,7 @@ unless the
|
||||
.Fl k
|
||||
option is specified. BSD-style locking is used, as described in
|
||||
.Xr flock 2 ;
|
||||
the mere existence of the
|
||||
the mere existence of the
|
||||
.Ar file
|
||||
is not considered to constitute a lock.
|
||||
.Pp
|
||||
|
@ -74,13 +74,13 @@ Log the process id of the logger process
|
||||
with each line.
|
||||
.It Fl s
|
||||
Log the message to standard error, as well as the system log.
|
||||
.It Fl f Ar file
|
||||
.It Fl f Ar file
|
||||
Log the specified file.
|
||||
.It Fl h Ar host
|
||||
Send the message to the remote system
|
||||
.It Fl h Ar host
|
||||
Send the message to the remote system
|
||||
.Ar host
|
||||
instead of logging it locally.
|
||||
.It Fl p Ar pri
|
||||
.It Fl p Ar pri
|
||||
Enter the message with the specified priority.
|
||||
The priority may be specified numerically or as a ``facility.level''
|
||||
pair.
|
||||
@ -90,7 +90,7 @@ level in the
|
||||
.Ar local3
|
||||
facility.
|
||||
The default is ``user.notice.''
|
||||
.It Fl t Ar tag
|
||||
.It Fl t Ar tag
|
||||
Mark every line in the log with the specified
|
||||
.Ar tag .
|
||||
.It Ar message
|
||||
|
@ -107,7 +107,7 @@ file.
|
||||
.Pp
|
||||
If the file
|
||||
.Pa /etc/skeykeys
|
||||
exists,
|
||||
exists,
|
||||
.Nm
|
||||
will offer S/key password validation if the user has an entry in the file.
|
||||
.Pa /etc/skey.access
|
||||
|
@ -11,15 +11,15 @@
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
file specifies (user, host) combinations and/or (user, tty)
|
||||
file specifies (user, host) combinations and/or (user, tty)
|
||||
combinations for which a login will be either accepted or refused.
|
||||
.Pp
|
||||
When someone logs in, the
|
||||
When someone logs in, the
|
||||
.Nm
|
||||
is scanned for the first entry that
|
||||
matches the (user, host) combination, or, in case of non-networked
|
||||
logins, the first entry that matches the (user, tty) combination. The
|
||||
permissions field of that table entry determines whether the login will
|
||||
permissions field of that table entry determines whether the login will
|
||||
be accepted or refused.
|
||||
.Pp
|
||||
Each line of the login access control table has three fields separated by a
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Ar string
|
||||
.Op Ar
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
The
|
||||
.Nm
|
||||
utility displays any lines in
|
||||
.Ar file
|
||||
|
@ -13,7 +13,7 @@
|
||||
.Fl D Ns Ar name Ns Op Ar =value
|
||||
.Oc
|
||||
.Op Fl U Ns Ar name
|
||||
.Op Ar filename
|
||||
.Op Ar filename
|
||||
\|.\|.\|.
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
@ -135,8 +135,8 @@ Next, the commands in the user's personal command file
|
||||
.Pa ~/.mailrc
|
||||
are executed.
|
||||
.Nm
|
||||
then examines its command line options to determine whether a
|
||||
new message is to be sent, or whether an existing mailbox is to
|
||||
then examines its command line options to determine whether a
|
||||
new message is to be sent, or whether an existing mailbox is to
|
||||
be read.
|
||||
.Ss Sending mail
|
||||
To send a message to one or more people,
|
||||
|
@ -56,7 +56,7 @@
|
||||
.Sh DESCRIPTION
|
||||
.Nm Make
|
||||
is a program designed to simplify the maintenance of other programs.
|
||||
Its input is a list of specifications
|
||||
Its input is a list of specifications
|
||||
describing dependency relationships between the generation of
|
||||
files and programs.
|
||||
The first of
|
||||
@ -593,7 +593,7 @@ The colon may be escaped with a backslash
|
||||
.No \&/ Op Cm 1g
|
||||
.Xc
|
||||
.Sm on
|
||||
The
|
||||
The
|
||||
.Cm C
|
||||
modifier is just like the
|
||||
.Cm S
|
||||
|
@ -43,14 +43,14 @@ compression and decompression of individual files, as well as
|
||||
streaming compression and decompression via standard input and
|
||||
output.
|
||||
.Pp
|
||||
The default operation is compression, decompression can be
|
||||
The default operation is compression, decompression can be
|
||||
selected by supplying the
|
||||
.Fl d
|
||||
flag on the commandline.
|
||||
.Pp
|
||||
If any
|
||||
.Ar file
|
||||
arguments are supplied, the operation is performed on each file
|
||||
arguments are supplied, the operation is performed on each file
|
||||
separately. Compression replaces the original file with one having a
|
||||
.Pa .gz
|
||||
suffix. Decompression will remove a
|
||||
@ -61,7 +61,7 @@ If no
|
||||
.Ar file
|
||||
arguments are supplied,
|
||||
.Nm
|
||||
reads from standard input and writes the results of the operation
|
||||
reads from standard input and writes the results of the operation
|
||||
to standard output.
|
||||
.Sh SEE ALSO
|
||||
.Xr gzip 1
|
||||
|
@ -78,7 +78,7 @@ so that multiple
|
||||
.Nm Ns 's
|
||||
may be run from a single Makefile.
|
||||
.It Fl f
|
||||
Write the include file dependencies to
|
||||
Write the include file dependencies to
|
||||
.Ar file ,
|
||||
instead of the default ``.depend''.
|
||||
.It Fl p
|
||||
|
@ -66,7 +66,7 @@ If a symbolic mode is specified, the op symbols
|
||||
.Dq -
|
||||
(hyphen) are interpreted relative to an assumed initial mode of
|
||||
.Dq a=rw
|
||||
(read and write permissions for all).
|
||||
(read and write permissions for all).
|
||||
.El
|
||||
.Pp
|
||||
If the
|
||||
|
@ -154,10 +154,10 @@ systems.
|
||||
.It Dv VARIABLE
|
||||
This keyword must be followed by a single tab or space character,
|
||||
after which encoding specific data is placed.
|
||||
Currently only the
|
||||
Currently only the
|
||||
.Dv "EUC"
|
||||
encoding requires variable data.
|
||||
See
|
||||
See
|
||||
.Xr euc 4
|
||||
for further details.
|
||||
.It Dv INVALID
|
||||
|
@ -186,7 +186,7 @@ A
|
||||
.Nm
|
||||
utility appeared in
|
||||
.Ox 2.1 .
|
||||
This implementation was written independently based on the
|
||||
This implementation was written independently based on the
|
||||
.Ox
|
||||
man page, and
|
||||
first appeared in
|
||||
|
@ -152,7 +152,7 @@ with the
|
||||
.Fl c
|
||||
option should be placed in
|
||||
.Pa /etc/periodic/daily
|
||||
(see
|
||||
(see
|
||||
.Xr periodic 8 )
|
||||
to run every night. This will remove all messages over 21 days old.
|
||||
A different expiration may be specified on the command line to override
|
||||
|
@ -230,7 +230,7 @@ uses the device
|
||||
returns a 0 exit status when the operation(s) were successful,
|
||||
1 if the command was unrecognized, and 2 if an operation failed.
|
||||
.Pp
|
||||
The following density table was taken from the
|
||||
The following density table was taken from the
|
||||
.Sq Historical sequential access density codes
|
||||
table (A-1) in Revision 11 of the SCSI-3 Stream Device Commands (SSC)
|
||||
working draft, dated November 11, 1997.
|
||||
|
@ -56,7 +56,7 @@ Permanent connections will stay connected even if no applications use them.
|
||||
This allows users to run different ncp* programs
|
||||
without specifying a file server and user to use.
|
||||
Established connections can be destroyed with the
|
||||
.Xr ncplogout 1
|
||||
.Xr ncplogout 1
|
||||
command.
|
||||
.Pp
|
||||
Upper case options described in this manual
|
||||
@ -143,7 +143,7 @@ ncp* programs try to find a suitable connection in the following order:
|
||||
.Bl -enum -offset indent
|
||||
.It
|
||||
Try to find a connection owned by the user.
|
||||
If there is more than one such
|
||||
If there is more than one such
|
||||
connection, try to determine which one is primary.
|
||||
The primary flag is set with the
|
||||
.Fl D
|
||||
|
@ -22,7 +22,7 @@ command to be closed.
|
||||
If the connection is busy (i.e. used by other processes) it will
|
||||
be closed when the last process using it is terminated.
|
||||
This command is similar to the
|
||||
.Tn DOS
|
||||
.Tn DOS
|
||||
logout.exe command.
|
||||
.Pp
|
||||
The options are:
|
||||
|
@ -135,7 +135,7 @@ With either interface display (option
|
||||
.Fl i
|
||||
or an interval, as described below),
|
||||
show the number of dropped packets.
|
||||
.It Fl f Ar address_family
|
||||
.It Fl f Ar address_family
|
||||
Limit statistics or address control block reports to those
|
||||
of the specified
|
||||
.Ar address family .
|
||||
@ -174,7 +174,7 @@ By default, show the IP Multicast virtual-interface and routing tables.
|
||||
If the
|
||||
.Fl s
|
||||
option is also present, show multicast routing statistics.
|
||||
.It Fl I Ar interface
|
||||
.It Fl I Ar interface
|
||||
Show information about the specified interface;
|
||||
used with a
|
||||
.Ar wait
|
||||
@ -230,7 +230,7 @@ Show network addresses and ports as numbers (normally
|
||||
interprets addresses and ports and attempts to display them
|
||||
symbolically).
|
||||
This option may be used with any of the display formats.
|
||||
.It Fl p Ar protocol
|
||||
.It Fl p Ar protocol
|
||||
Show statistics about
|
||||
.Ar protocol ,
|
||||
which is either a well-known name for a protocol or an alias for it. Some
|
||||
@ -325,21 +325,21 @@ and
|
||||
manual pages.
|
||||
The mapping between letters and flags is:
|
||||
.Bl -column XXXX RTF_BLACKHOLE
|
||||
1 RTF_PROTO1 Protocol specific routing flag #1
|
||||
2 RTF_PROTO2 Protocol specific routing flag #2
|
||||
1 RTF_PROTO1 Protocol specific routing flag #1
|
||||
2 RTF_PROTO2 Protocol specific routing flag #2
|
||||
3 RTF_PROTO3 Protocol specific routing flag #3
|
||||
B RTF_BLACKHOLE Just discard pkts (during updates)
|
||||
B RTF_BLACKHOLE Just discard pkts (during updates)
|
||||
b RTF_BROADCAST The route represents a broadcast address
|
||||
C RTF_CLONING Generate new routes on use
|
||||
C RTF_CLONING Generate new routes on use
|
||||
c RTF_PRCLONING Protocol-specified generate new routes on use
|
||||
D RTF_DYNAMIC Created dynamically (by redirect)
|
||||
D RTF_DYNAMIC Created dynamically (by redirect)
|
||||
G RTF_GATEWAY Destination requires forwarding by intermediary
|
||||
H RTF_HOST Host entry (net otherwise)
|
||||
H RTF_HOST Host entry (net otherwise)
|
||||
L RTF_LLINFO Valid protocol to link address translation
|
||||
M RTF_MODIFIED Modified dynamically (by redirect)
|
||||
R RTF_REJECT Host or net unreachable
|
||||
S RTF_STATIC Manually added
|
||||
U RTF_UP Route usable
|
||||
M RTF_MODIFIED Modified dynamically (by redirect)
|
||||
R RTF_REJECT Host or net unreachable
|
||||
S RTF_STATIC Manually added
|
||||
U RTF_UP Route usable
|
||||
W RTF_WASCLONED Route was generated as a result of cloning
|
||||
X RTF_XRESOLVE External daemon translates proto to link address
|
||||
.El
|
||||
|
@ -12,7 +12,7 @@
|
||||
.Nm
|
||||
.Fl u Ar username
|
||||
.Sh DESCRIPTION
|
||||
.Nm Newkey
|
||||
.Nm Newkey
|
||||
is normally run by the network administrator on the
|
||||
Network Interface Service
|
||||
(\s-1NIS\s0)
|
||||
@ -25,21 +25,21 @@ NFS\s0.
|
||||
.Pp
|
||||
.Nm Newkey
|
||||
will prompt for the login password of the given username and then
|
||||
create a new public/secret key pair in
|
||||
create a new public/secret key pair in
|
||||
.Pa /etc/publickey
|
||||
encrypted with the login password of the given user.
|
||||
.Pp
|
||||
Use of this program is
|
||||
not required: users may create their own keys using
|
||||
not required: users may create their own keys using
|
||||
.Xr chkey 1 .
|
||||
.Sh OPTIONS
|
||||
.Bl -tag -width indent
|
||||
.It Fl h Ar hostname
|
||||
Create a new public key for the super-user at the given hostname.
|
||||
Create a new public key for the super-user at the given hostname.
|
||||
Prompts for the root password of the given hostname.
|
||||
.It Fl u Ar username
|
||||
Create a new public key for the given username.
|
||||
Prompts for the
|
||||
Prompts for the
|
||||
NIS
|
||||
password of the given username.
|
||||
.El
|
||||
@ -52,6 +52,6 @@ password of the given username.
|
||||
The Network Information Service
|
||||
(\s-1NIS\s0)
|
||||
was formerly known as Sun Yellow Pages
|
||||
(\s-1YP\s0).
|
||||
(\s-1YP\s0).
|
||||
The functionality of the two remains the same;
|
||||
only the name has changed.
|
||||
|
@ -52,21 +52,21 @@ at a low priority.
|
||||
If
|
||||
.Fl Ns Ar number
|
||||
is not given,
|
||||
.Nm
|
||||
.Nm
|
||||
assumes the value 10.
|
||||
The priority is a value in the range -20 to 20.
|
||||
The default priority is 0, priority 20 is the lowest possible.
|
||||
The default priority is 0, priority 20 is the lowest possible.
|
||||
.Nm Nice
|
||||
will execute
|
||||
.Ar command
|
||||
at priority
|
||||
.Ar number
|
||||
relative to the priority
|
||||
of
|
||||
of
|
||||
.Nm .
|
||||
Higher priorities than the
|
||||
current process priority can only requested by the
|
||||
super-user.
|
||||
super-user.
|
||||
Negative numbers are expressed as
|
||||
.Fl - Ns Ar number .
|
||||
.Pp
|
||||
@ -83,15 +83,15 @@ manual page.
|
||||
.Sh EXAMPLES
|
||||
$ nice -5 date
|
||||
.Pp
|
||||
Execute command
|
||||
.Sq date
|
||||
Execute command
|
||||
.Sq date
|
||||
at priority 5 assuming the priority of the
|
||||
shell is 0.
|
||||
.Pp
|
||||
# nice -16 nice --35 date
|
||||
.Pp
|
||||
Execute command
|
||||
.Sq date
|
||||
Execute command
|
||||
.Sq date
|
||||
at priority -19 assuming the priority of the
|
||||
shell is 0 and you are the super-user.
|
||||
.Sh SEE ALSO
|
||||
|
@ -221,7 +221,7 @@ The default
|
||||
is 6.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
The
|
||||
The
|
||||
.Nm
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh SEE ALSO
|
||||
|
@ -47,7 +47,7 @@ The symbol table (name list) of each object in
|
||||
.Ar file Ns (s)
|
||||
is displayed.
|
||||
If a library (archive) is given,
|
||||
.Nm
|
||||
.Nm
|
||||
displays a list for each
|
||||
object archive member.
|
||||
If
|
||||
|
@ -45,7 +45,7 @@ and
|
||||
.Pp
|
||||
If invoked by any other name,
|
||||
.Nm prog
|
||||
is expanded to
|
||||
is expanded to
|
||||
.Pa /usr/libexec/<objformat>/prog
|
||||
and executed.
|
||||
.Sh DIAGNOSTICS
|
||||
@ -68,7 +68,7 @@ If the environment variable
|
||||
.Ev OBJFORMAT_PATH
|
||||
is set, its value is used as the base path to
|
||||
.Nm prog .
|
||||
The default is
|
||||
The default is
|
||||
.Pa /usr/libexec .
|
||||
.El
|
||||
.Sh FILES
|
||||
@ -84,13 +84,13 @@ If present, specifies the object file format to use. Syntax is
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
command appeared in
|
||||
command appeared in
|
||||
.Fx 3.0 .
|
||||
.Sh AUTHORS
|
||||
.An -nosplit
|
||||
.Nm
|
||||
was written by
|
||||
was written by
|
||||
.An Peter Wemm Aq peter@netplex.com.au .
|
||||
This manual page was written by
|
||||
This manual page was written by
|
||||
.An David O'Brien Aq obrien@NUXI.com .
|
||||
.\" .Sh BUGS
|
||||
|
@ -50,14 +50,14 @@
|
||||
.Op Fl o
|
||||
.Sh DESCRIPTION
|
||||
.Nm Passwd
|
||||
changes the user's local, Kerberos, or NIS password.
|
||||
changes the user's local, Kerberos, or NIS password.
|
||||
If the user is not the super-user,
|
||||
.Nm
|
||||
first prompts for the current password and will not continue unless the correct
|
||||
password is entered.
|
||||
.Pp
|
||||
When entering the new password, the characters entered do not echo, in order to
|
||||
avoid the password being seen by a passer-by.
|
||||
avoid the password being seen by a passer-by.
|
||||
.Nm
|
||||
prompts for the new password twice in order to detect typing errors.
|
||||
.Pp
|
||||
@ -94,7 +94,7 @@ is used to update the password databases.
|
||||
.Pp
|
||||
.El
|
||||
When changing local or NIS password, the next password change date
|
||||
is set according to
|
||||
is set according to
|
||||
.Dq passwordtime
|
||||
capability in the user's login class.
|
||||
.Pp
|
||||
@ -111,7 +111,7 @@ has built-in support for NIS.
|
||||
If a user exists in the NIS password
|
||||
database but does not exist locally,
|
||||
.Nm
|
||||
automatically switches into
|
||||
automatically switches into
|
||||
.Dq yppasswd
|
||||
mode.
|
||||
If the specified
|
||||
@ -148,12 +148,12 @@ When NIS is enabled, the
|
||||
.Fl l
|
||||
flag can be used to force
|
||||
.Nm
|
||||
into
|
||||
into
|
||||
.Dq local only
|
||||
mode.
|
||||
This flag can be used to change the entry
|
||||
for a local user when an NIS user exists with the same login name.
|
||||
For example, you will sometimes find entries for system
|
||||
For example, you will sometimes find entries for system
|
||||
.Dq placeholder
|
||||
users such as
|
||||
.Pa bin
|
||||
@ -193,7 +193,7 @@ option and
|
||||
.Nm
|
||||
is unable to determine the name of the NIS master server (possibly because
|
||||
the local domainname isn't set), the name of the NIS master is assumed to
|
||||
be
|
||||
be
|
||||
.Dq localhost .
|
||||
This can be overridden with the
|
||||
.Fl h
|
||||
@ -213,7 +213,7 @@ flag is of limited practical use but is useful for testing.
|
||||
.Bl -tag -width /etc/master.passwd -compact
|
||||
.It Pa /etc/master.passwd
|
||||
The user database
|
||||
.It Pa /etc/passwd
|
||||
.It Pa /etc/passwd
|
||||
A Version 7 format password file
|
||||
.It Pa /etc/passwd.XXXXXX
|
||||
Temporary copy of the password file
|
||||
|
@ -59,7 +59,7 @@ of empty lines.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Bl -tag -width Fl
|
||||
.It Fl d Ar list
|
||||
.It Fl d Ar list
|
||||
Use one or more of the provided characters to replace the newline
|
||||
characters instead of the default tab.
|
||||
The characters in
|
||||
|
@ -126,11 +126,11 @@ In the following option descriptions, column, lines, offset, page, and
|
||||
width are positive decimal integers and gap is a nonnegative decimal integer.
|
||||
.Bl -tag -width 4n
|
||||
.It Ar \&+page
|
||||
Begin output at page number
|
||||
Begin output at page number
|
||||
.Ar page
|
||||
of the formatted input.
|
||||
.It Fl Ar column
|
||||
Produce output that is
|
||||
Produce output that is
|
||||
.Ar columns
|
||||
wide (default is 1) that is written vertically
|
||||
down each column in the order in which the text
|
||||
@ -146,7 +146,7 @@ When used with
|
||||
.Fl t ,
|
||||
the minimum number of lines is used to display the output.
|
||||
.It Fl a
|
||||
Modify the effect of the
|
||||
Modify the effect of the
|
||||
.Fl column
|
||||
option so that the columns are filled across the page in a round-robin order
|
||||
(e.g., when column is 2, the first input line heads column
|
||||
@ -169,15 +169,15 @@ found in the input.
|
||||
Expand each input
|
||||
.Em <tab>
|
||||
to the next greater column
|
||||
position specified by the formula
|
||||
position specified by the formula
|
||||
.Ar n*gap+1 ,
|
||||
where
|
||||
where
|
||||
.Em n
|
||||
is an integer > 0.
|
||||
If
|
||||
.Ar gap
|
||||
is zero or is omitted the default is 8.
|
||||
All
|
||||
All
|
||||
.Em <tab>
|
||||
characters in the input are expanded into the appropriate
|
||||
number of
|
||||
@ -194,7 +194,7 @@ sequence of
|
||||
.Em <newline>
|
||||
characters.
|
||||
.It Fl h Ar header
|
||||
Use the string
|
||||
Use the string
|
||||
.Ar header
|
||||
to replace the
|
||||
.Ar file name
|
||||
@ -231,12 +231,12 @@ Use
|
||||
specified as argument instead of one found in environment.
|
||||
Use "C" to reset locale to default.
|
||||
.It Fl l Ar lines
|
||||
Override the 66 line default and reset the page length to
|
||||
Override the 66 line default and reset the page length to
|
||||
.Ar lines .
|
||||
If
|
||||
.Ar lines
|
||||
is not greater than the sum of both the header and trailer
|
||||
depths (in lines), the
|
||||
depths (in lines), the
|
||||
.Nm
|
||||
utility suppresses output of both the header and trailer, as if the
|
||||
.Fl t
|
||||
@ -262,7 +262,7 @@ are assumed.
|
||||
Provide
|
||||
.Ar width
|
||||
digit line numbering.
|
||||
The default for
|
||||
The default for
|
||||
.Ar width ,
|
||||
if not specified, is 5.
|
||||
The number occupies the first
|
||||
@ -296,7 +296,7 @@ Separate text columns by the single character
|
||||
.Ar char
|
||||
instead of by the appropriate number of
|
||||
.Em <space>s
|
||||
(default for
|
||||
(default for
|
||||
.Ar char
|
||||
is the
|
||||
.Em <tab>
|
||||
|
@ -106,7 +106,7 @@ Write a <vertical tab> character.
|
||||
Write a <single quote> character.
|
||||
.It Cm \e\e
|
||||
Write a backslash character.
|
||||
.It Cm \e Ns Ar num
|
||||
.It Cm \e Ns Ar num
|
||||
Write an 8-bit character whose
|
||||
.Tn ASCII
|
||||
value is the 1-, 2-, or 3-digit
|
||||
@ -182,7 +182,7 @@ followed by an optional digit string giving a
|
||||
which specifies the number of digits to appear after the decimal point,
|
||||
for
|
||||
.Cm e
|
||||
and
|
||||
and
|
||||
.Cm f
|
||||
formats, or the maximum number of characters to be printed
|
||||
from a string; if the digit string is missing, the precision is treated
|
||||
@ -291,6 +291,6 @@ hexadecimal character constants were deliberately not provided.
|
||||
.Pp
|
||||
The escape sequence \e000 is the string terminator. When present in the
|
||||
.Ar format ,
|
||||
the
|
||||
the
|
||||
.Ar format
|
||||
will be truncated at the \e000 character.
|
||||
|
@ -62,7 +62,7 @@ By default only the user quotas are printed.
|
||||
The following options are available:
|
||||
.Bl -tag -width indent
|
||||
.It Fl g
|
||||
Print group quotas for the group
|
||||
Print group quotas for the group
|
||||
of which the user is a member.
|
||||
The optional
|
||||
.Fl u
|
||||
|
@ -55,7 +55,7 @@
|
||||
.Oc
|
||||
.Sh DESCRIPTION
|
||||
.Nm Renice
|
||||
alters the
|
||||
alters the
|
||||
scheduling priority of one or more running processes.
|
||||
The following
|
||||
.Ar who
|
||||
@ -63,7 +63,7 @@ parameters are interpreted as process ID's, process group
|
||||
ID's, or user names.
|
||||
.Nm Renice Ns 'ing
|
||||
a process group causes all processes in the process group
|
||||
to have their scheduling priority altered.
|
||||
to have their scheduling priority altered.
|
||||
.Nm Renice Ns 'ing
|
||||
a user causes all processes owned by the user to have
|
||||
their scheduling priority altered.
|
||||
@ -74,7 +74,7 @@ Options supported by
|
||||
.Nm :
|
||||
.Bl -tag -width Ds
|
||||
.It Fl g
|
||||
Force
|
||||
Force
|
||||
.Ar who
|
||||
parameters to be interpreted as process group ID's.
|
||||
.It Fl u
|
||||
|
@ -61,7 +61,7 @@ is a language similar to C known as
|
||||
Language (Remote Procedure Call Language).
|
||||
.Pp
|
||||
.Nm Rpcgen
|
||||
is normally used as in the first synopsis where
|
||||
is normally used as in the first synopsis where
|
||||
it takes an input file and generates three output files.
|
||||
If the
|
||||
.Ar infile
|
||||
@ -93,7 +93,7 @@ The
|
||||
.Fl \&Ss
|
||||
and
|
||||
.Fl \&Sm
|
||||
options generate sample client, server and makefile, respectively.
|
||||
options generate sample client, server and makefile, respectively.
|
||||
The
|
||||
.Fl a
|
||||
option generates all files, including sample files.
|
||||
@ -106,14 +106,14 @@ then the client side sample file is written to
|
||||
the server side sample file to
|
||||
.Pa proto_server.c
|
||||
and the sample makefile to
|
||||
.Pa makefile.proto .
|
||||
.Pa makefile.proto .
|
||||
.Pp
|
||||
The server created can be started both by the port monitors
|
||||
(for example,
|
||||
.Xr inetd 8 )
|
||||
or by itself.
|
||||
When it is started by a port monitor,
|
||||
it creates servers only for the transport for which
|
||||
it creates servers only for the transport for which
|
||||
the file descriptor
|
||||
.Em 0
|
||||
was passed.
|
||||
@ -159,20 +159,20 @@ a pointer to the input and output arguments,
|
||||
.It
|
||||
the size of these routines.
|
||||
.El
|
||||
A server can use the dispatch table to check authorization
|
||||
and then to execute the service routine;
|
||||
A server can use the dispatch table to check authorization
|
||||
and then to execute the service routine;
|
||||
a client library may use it to deal with the details of storage
|
||||
management and XDR data conversion.
|
||||
.Pp
|
||||
The other three synopses shown above are used when
|
||||
The other three synopses shown above are used when
|
||||
one does not want to generate all the output files,
|
||||
but only a particular one.
|
||||
See the
|
||||
.Sx EXAMPLES
|
||||
section below for examples of
|
||||
section below for examples of
|
||||
.Nm
|
||||
usage.
|
||||
When
|
||||
When
|
||||
.Nm
|
||||
is executed with the
|
||||
.Fl s
|
||||
@ -282,7 +282,7 @@ This option may be specified more than once.
|
||||
.It Fl h
|
||||
Compile into C data-definitions (a header).
|
||||
.Fl T
|
||||
option can be used in conjunction to produce a
|
||||
option can be used in conjunction to produce a
|
||||
header which supports
|
||||
.Tn RPC
|
||||
dispatch tables.
|
||||
@ -307,8 +307,8 @@ Such servers can be self-started or can be started by
|
||||
When the server is self-started, it backgrounds itself by default.
|
||||
A special define symbol
|
||||
.Em RPC_SVC_FG
|
||||
can be used to run the
|
||||
server process in foreground, or the user may simply compile without
|
||||
can be used to run the
|
||||
server process in foreground, or the user may simply compile without
|
||||
the
|
||||
.Fl I
|
||||
option.
|
||||
@ -316,12 +316,12 @@ option.
|
||||
If there are no pending client requests, the
|
||||
.Nm inetd
|
||||
servers exit after 120 seconds (default).
|
||||
The default can be changed with the
|
||||
The default can be changed with the
|
||||
.Fl K
|
||||
option.
|
||||
All the error messages for
|
||||
.Nm inetd
|
||||
servers
|
||||
servers
|
||||
are always logged with
|
||||
.Xr syslog 3 .
|
||||
.\" .IP
|
||||
@ -340,7 +340,7 @@ after servicing a request before exiting.
|
||||
That interval can be changed using the
|
||||
.Fl K
|
||||
flag.
|
||||
To create a server that exits immediately upon servicing a request,
|
||||
To create a server that exits immediately upon servicing a request,
|
||||
use
|
||||
.Fl K Ar 0 .
|
||||
To create a server that never exits, the appropriate argument is
|
||||
@ -368,21 +368,21 @@ Compile into server-side stubs,
|
||||
but do not generate a
|
||||
.Qq main
|
||||
routine.
|
||||
This option is useful for doing callback-routines
|
||||
and for users who need to write their own
|
||||
This option is useful for doing callback-routines
|
||||
and for users who need to write their own
|
||||
.Qq main
|
||||
routine to do initialization.
|
||||
.It Fl M
|
||||
Generate multithread-safe stubs for passing arguments and results between
|
||||
rpcgen generated code and user written code.
|
||||
This option is useful
|
||||
This option is useful
|
||||
for users who want to use threads in their code.
|
||||
However, the
|
||||
.Xr rpc_svc_calls 3
|
||||
functions are not yet MT-safe, which means that rpcgen generated server-side
|
||||
code will not be MT-safe.
|
||||
.It Fl N
|
||||
This option allows procedures to have multiple arguments.
|
||||
This option allows procedures to have multiple arguments.
|
||||
It also uses the style of parameter passing that closely resembles C.
|
||||
So, when passing an argument to a remote procedure, you do not have to
|
||||
pass a pointer to the argument, but can pass the argument itself.
|
||||
@ -416,10 +416,10 @@ standard output is used
|
||||
.Fl \&Sm ,
|
||||
.Fl \&Ss ,
|
||||
and
|
||||
.Fl t
|
||||
.Fl t
|
||||
modes only).
|
||||
.It Fl s Ar nettype
|
||||
Compile into server-side stubs for all the
|
||||
Compile into server-side stubs for all the
|
||||
transports belonging to the class
|
||||
.Ar nettype .
|
||||
The supported classes are
|
||||
@ -431,8 +431,8 @@ The supported classes are
|
||||
.Em datagram_v ,
|
||||
.Em tcp ,
|
||||
and
|
||||
.Em udp
|
||||
(see
|
||||
.Em udp
|
||||
(see
|
||||
.Xr rpc 3
|
||||
for the meanings associated with these classes).
|
||||
This option may be specified more than once.
|
||||
@ -455,7 +455,7 @@ Generate the code to support
|
||||
.Tn RPC
|
||||
dispatch tables.
|
||||
.Pp
|
||||
The options
|
||||
The options
|
||||
.Fl c ,
|
||||
.Fl h ,
|
||||
.Fl l ,
|
||||
@ -465,7 +465,7 @@ The options
|
||||
.Fl \&Sm ,
|
||||
.Fl \&Ss ,
|
||||
and
|
||||
.Fl t
|
||||
.Fl t
|
||||
are used exclusively to generate a particular type of file,
|
||||
while the options
|
||||
.Fl D
|
||||
@ -473,7 +473,7 @@ and
|
||||
.Fl T
|
||||
are global and can be used with the other options.
|
||||
.It Fl Y Ar pathname
|
||||
Give the name of the directory where
|
||||
Give the name of the directory where
|
||||
.Nm
|
||||
will start looking for the C-preprocessor.
|
||||
.El
|
||||
@ -495,7 +495,7 @@ to the standard output.
|
||||
.Pp
|
||||
To send the test version of the
|
||||
.Fl D Ns Ar TEST ,
|
||||
server side stubs for
|
||||
server side stubs for
|
||||
all the transport belonging to the class
|
||||
.Ar datagram_n
|
||||
to standard output, use:
|
||||
|
@ -54,7 +54,7 @@ server and reports what it finds.
|
||||
.Pp
|
||||
In the first synopsis,
|
||||
.Nm
|
||||
lists all the registered RPC services with
|
||||
lists all the registered RPC services with
|
||||
.Nm rpcbind
|
||||
on
|
||||
.Ar host .
|
||||
@ -65,7 +65,7 @@ If
|
||||
.Fl s
|
||||
is used, the information is displayed in a concise format.
|
||||
.Pp
|
||||
In the second synopsis,
|
||||
In the second synopsis,
|
||||
.Nm
|
||||
lists all the RPC services registered with
|
||||
.Nm rpcbind ,
|
||||
@ -107,14 +107,14 @@ attempts to find all the registered version
|
||||
numbers for the specified
|
||||
.Ar prognum
|
||||
by calling version 0,
|
||||
which is presumed not to exist;
|
||||
which is presumed not to exist;
|
||||
if it does exist,
|
||||
.Nm
|
||||
attempts to obtain this information by calling
|
||||
an extremely high version number instead,
|
||||
and attempts to call each registered version.
|
||||
Note:
|
||||
the version number is required for
|
||||
Note:
|
||||
the version number is required for
|
||||
.Fl b
|
||||
and
|
||||
.Fl d
|
||||
@ -131,7 +131,7 @@ environment variable, or if that is unset or empty, the transport
|
||||
in the
|
||||
.Xr netconfig 5
|
||||
database is used.
|
||||
This is a generic option,
|
||||
This is a generic option,
|
||||
and can be used in conjunction with other options as
|
||||
shown in the
|
||||
.Sx SYNOPSIS .
|
||||
@ -139,7 +139,7 @@ shown in the
|
||||
Use
|
||||
.Ar serv_address
|
||||
as the (universal) address for the service on
|
||||
.Ar transport
|
||||
.Ar transport
|
||||
to ping procedure 0
|
||||
of the specified
|
||||
.Ar prognum
|
||||
@ -150,11 +150,11 @@ option is required with the
|
||||
.Fl a
|
||||
option.
|
||||
.Pp
|
||||
If
|
||||
If
|
||||
.Ar versnum
|
||||
is not specified,
|
||||
.Nm
|
||||
tries to ping all
|
||||
tries to ping all
|
||||
available version numbers for that program number.
|
||||
This option avoids calls to remote
|
||||
.Nm rpcbind
|
||||
@ -196,7 +196,7 @@ Display a list of entries with a given
|
||||
.Ar prognum
|
||||
and
|
||||
.Ar versnum
|
||||
on the specified
|
||||
on the specified
|
||||
.Ar host .
|
||||
Entries are returned for all transports
|
||||
in the same protocol family as that used to contact the remote
|
||||
@ -226,7 +226,7 @@ options instead of the port number given by
|
||||
Use of this option avoids a call to the remote
|
||||
.Nm rpcbind
|
||||
to find out the address of the service.
|
||||
This option is made
|
||||
This option is made
|
||||
obsolete by the
|
||||
.Fl a
|
||||
option.
|
||||
@ -269,7 +269,7 @@ on the specified
|
||||
.Ar host
|
||||
using UDP,
|
||||
and report whether a response was received.
|
||||
This option is made
|
||||
This option is made
|
||||
obsolete by the
|
||||
.Fl T
|
||||
option as shown in the third synopsis.
|
||||
@ -280,7 +280,7 @@ To show all of the RPC services registered on the local machine use:
|
||||
.Dl "example% rpcinfo"
|
||||
.Pp
|
||||
To show all of the RPC
|
||||
services registered with
|
||||
services registered with
|
||||
.Nm rpcbind
|
||||
on the machine named
|
||||
.Dq klaxon
|
||||
@ -289,7 +289,7 @@ use:
|
||||
.Dl "example% rpcinfo klaxon"
|
||||
.Pp
|
||||
The information displayed by the above commands can be quite lengthy.
|
||||
Use the
|
||||
Use the
|
||||
.Fl s
|
||||
option to display a more concise list:
|
||||
.Pp
|
||||
@ -305,12 +305,12 @@ option to display a more concise list:
|
||||
.El
|
||||
.Pp
|
||||
To show whether the RPC
|
||||
service with program number
|
||||
service with program number
|
||||
.Ar prognum
|
||||
and version
|
||||
.Ar versnum
|
||||
is
|
||||
registered on the machine named
|
||||
registered on the machine named
|
||||
.Dq klaxon
|
||||
for the transport TCP
|
||||
use:
|
||||
@ -324,7 +324,7 @@ protocol on the local machine use:
|
||||
.Pp
|
||||
.Dl "example% rpcinfo -p"
|
||||
.Pp
|
||||
To delete the registration for version
|
||||
To delete the registration for version
|
||||
1 of the
|
||||
.Nm walld
|
||||
(program number 100008)
|
||||
|
@ -198,7 +198,7 @@ To convert stream input into vector output and back again, use
|
||||
A 10 by 10 array of random numbers from 1 to 100 and
|
||||
its transpose can be generated with
|
||||
.Bd -literal -offset indent
|
||||
% jot \-r 100 | rs 10 10 | tee array | rs \-T > tarray
|
||||
% jot \-r 100 | rs 10 10 | tee array | rs \-T > tarray
|
||||
.Ed
|
||||
.Pp
|
||||
In the editor
|
||||
|
@ -37,7 +37,7 @@
|
||||
.Dt RUP 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm rup
|
||||
.Nm rup
|
||||
.Nd remote status display
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
@ -45,7 +45,7 @@
|
||||
.Sh DESCRIPTION
|
||||
.Nm Rup
|
||||
displays a summary of the current system status of a particular
|
||||
.Ar host
|
||||
.Ar host
|
||||
or all hosts on the local network.
|
||||
The output shows the current time of day, how long the system has
|
||||
been up,
|
||||
|
@ -49,7 +49,7 @@ for each machine on the local network; these are formed from packets
|
||||
broadcast by each host on the network once every three minutes.
|
||||
.Pp
|
||||
Machines for which no status report has been received for 11
|
||||
minutes are shown as being down, and machines for which no status
|
||||
minutes are shown as being down, and machines for which no status
|
||||
report has been received for 4 days are not shown in the list at all.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
|
@ -49,7 +49,7 @@
|
||||
.Nm Script
|
||||
makes a typescript of everything printed on your terminal.
|
||||
It is useful for students who need a hardcopy record of an interactive
|
||||
session as proof of an assignment, as the typescript file
|
||||
session as proof of an assignment, as the typescript file
|
||||
can be printed out later with
|
||||
.Xr lpr 1 .
|
||||
.Pp
|
||||
@ -66,7 +66,7 @@ If the argument
|
||||
.Ar command ...
|
||||
is given,
|
||||
.Nm
|
||||
will run the specified command with an optional argument vector
|
||||
will run the specified command with an optional argument vector
|
||||
instead of an interactive shell.
|
||||
.Pp
|
||||
Options:
|
||||
@ -95,7 +95,7 @@ to exit
|
||||
the Bourne shell
|
||||
.Pf ( Xr sh 1 ) ,
|
||||
and
|
||||
.Em exit ,
|
||||
.Em exit ,
|
||||
.Em logout
|
||||
or
|
||||
.Em control-d
|
||||
|
@ -89,7 +89,7 @@ of the input file which is to be split.
|
||||
If a second additional argument is specified, it is used as a prefix
|
||||
for the names of the files into which the file is split.
|
||||
In this case, each file into which the file is split is named by the
|
||||
prefix followed by a lexically ordered suffix in the range of
|
||||
prefix followed by a lexically ordered suffix in the range of
|
||||
.Dq Li aa-zz .
|
||||
.Pp
|
||||
If the
|
||||
|
@ -87,7 +87,7 @@ Historic implementations of
|
||||
.Nm
|
||||
only search the initialized data portion of the object file.
|
||||
This was reasonable as strings were normally stored there.
|
||||
Given new compiler technology which installs strings in the
|
||||
Given new compiler technology which installs strings in the
|
||||
text portion of the object file, the default behavior was
|
||||
changed.
|
||||
.Sh HISTORY
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm
|
||||
.Op Fl
|
||||
.Op Fl flm
|
||||
.Op Fl c Ar class
|
||||
.Op Fl c Ar class
|
||||
.Op Ar login Op Ar args
|
||||
.Sh DESCRIPTION
|
||||
.Nm Su
|
||||
@ -189,16 +189,16 @@ as user
|
||||
You will be asked for man's password unless your real UID is 0.
|
||||
.It Li "su man -c 'catman /usr/share/man /usr/local/man /usr/X11R6/man'"
|
||||
Same as above, but the target command constitutes of more than a
|
||||
single word and hence is quoted for use with the
|
||||
single word and hence is quoted for use with the
|
||||
.Fl c
|
||||
option being passed to the shell. (Most shells expect the argument to
|
||||
.Fl c
|
||||
to be a single word).
|
||||
.It Li "su -c staff man -c 'catman /usr/share/man /usr/local/man /usr/X11R6/man'"
|
||||
Same as above, but the target command is run with the resource limits of
|
||||
the login class
|
||||
Same as above, but the target command is run with the resource limits of
|
||||
the login class
|
||||
.Dq staff .
|
||||
Note: in this example, the first
|
||||
Note: in this example, the first
|
||||
.Fl c
|
||||
option applies to
|
||||
.Nm
|
||||
|
@ -61,7 +61,7 @@ are relocated to the beginning of the table and in the order given.
|
||||
.Bl -tag -width flag
|
||||
.It Fl c
|
||||
Makes all any symbols not in
|
||||
.Ar symlist
|
||||
.Ar symlist
|
||||
local to this file.
|
||||
.It Fl t
|
||||
Restrict the symbol table to the symbols listed in
|
||||
|
@ -68,7 +68,7 @@ virtual memory statistics (a la
|
||||
.Xr vmstat 8 ) ,
|
||||
network ``mbuf'' utilization,
|
||||
.Tn TCP/IP
|
||||
statistics,
|
||||
statistics,
|
||||
and network connections (a la
|
||||
.Xr netstat 1 ) .
|
||||
.Pp
|
||||
@ -231,7 +231,7 @@ display; the minimum unambiguous prefix may be supplied.
|
||||
.Bl -tag -width Fl -compact
|
||||
.It Cm numbers
|
||||
Show the disk
|
||||
.Tn I/O
|
||||
.Tn I/O
|
||||
statistics in numeric form. Values are
|
||||
displayed in numeric columns which scroll downward.
|
||||
.It Cm bars
|
||||
@ -244,11 +244,11 @@ Toggle the display of kilobytes per transaction.
|
||||
not display kilobytes per transaction).
|
||||
.El
|
||||
.It Ic swap
|
||||
Show information about swap space usage on all the
|
||||
Show information about swap space usage on all the
|
||||
swap areas compiled into the kernel.
|
||||
The first column is the device name of the partition.
|
||||
The next column is the total space available in the partition.
|
||||
The
|
||||
The
|
||||
.Ar Used
|
||||
column indicates the total blocks used so far;
|
||||
the graph shows the percentage of space in use on each partition.
|
||||
@ -307,14 +307,14 @@ handled by the per process name translation cache.
|
||||
.Pp
|
||||
At the bottom left is the disk usage display.
|
||||
It reports the number of
|
||||
kilobytes per transaction, transactions per second, megabytes
|
||||
kilobytes per transaction, transactions per second, megabytes
|
||||
per second and the percentage of the time the disk was busy averaged
|
||||
over the refresh period of the display (by default, five seconds).
|
||||
The system keeps statistics on most every storage device. In general, up
|
||||
to seven devices are displayed. The devices displayed by default are the
|
||||
first devices in the kernel's device list. See
|
||||
first devices in the kernel's device list. See
|
||||
.Xr devstat 3
|
||||
and
|
||||
and
|
||||
.Xr devstat 9
|
||||
for details on the devstat system.
|
||||
.Pp
|
||||
@ -483,7 +483,7 @@ then the pipe separated matching expressions are ORed together. Any
|
||||
device matching the combined expression will be displayed, if there is room
|
||||
to display it. For example:
|
||||
.Pp
|
||||
.Dl match da,scsi | cd,ide
|
||||
.Dl match da,scsi | cd,ide
|
||||
.Pp
|
||||
This will display all SCSI Direct Access devices and all IDE CDROM devices.
|
||||
.Pp
|
||||
|
@ -35,7 +35,7 @@ that the
|
||||
library uses.
|
||||
It performs the same functions of
|
||||
.Xr captoinfo 1
|
||||
and
|
||||
and
|
||||
.Xr tic 1
|
||||
of System V.
|
||||
It also can be used to generate a terminfo source listing from a terminfo
|
||||
@ -79,24 +79,24 @@ environment variable, and in
|
||||
otherwise
|
||||
.Nm
|
||||
will look in all available databases.
|
||||
If neither
|
||||
If neither
|
||||
.Fl I
|
||||
or
|
||||
.Fl B
|
||||
are given the
|
||||
.Fl I
|
||||
option will be assumed.
|
||||
If the
|
||||
If the
|
||||
.Fl B
|
||||
option is used, the compiled output will be put in the
|
||||
terminfo database, otherwise standard output is used.
|
||||
.Pp
|
||||
You cannot translate from terminfo binary to terminfo binary.
|
||||
Translating from terminfo source to terminfo source is possible,
|
||||
but not of much use in most cases, as
|
||||
Translating from terminfo source to terminfo source is possible,
|
||||
but not of much use in most cases, as
|
||||
.Em use=
|
||||
fields will be followed and incorporated into the output terminal
|
||||
description.
|
||||
description.
|
||||
.Pp
|
||||
.Nm Tconv
|
||||
should be able translate all standard termcap parameterized strings
|
||||
@ -157,7 +157,7 @@ The default filename of the termcap database.
|
||||
.Xr terminfo 5
|
||||
.Sh DIAGNOSTICS
|
||||
The line number of a warning message when translating a file
|
||||
may refer to the last line of an entry instead of the line in the entry
|
||||
may refer to the last line of an entry instead of the line in the entry
|
||||
that generated the warning.
|
||||
.Sh BUGS
|
||||
More warning messages could be generated.
|
||||
|
@ -37,7 +37,7 @@
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm telnet
|
||||
.Nd user interface to the
|
||||
.Nd user interface to the
|
||||
.Tn TELNET
|
||||
protocol
|
||||
.Sh SYNOPSIS
|
||||
@ -58,7 +58,7 @@ protocol
|
||||
The
|
||||
.Nm
|
||||
command
|
||||
is used to communicate with another host using the
|
||||
is used to communicate with another host using the
|
||||
.Tn TELNET
|
||||
protocol.
|
||||
If
|
||||
@ -114,7 +114,7 @@ or, on systems that support it, a symbolic
|
||||
TOS name found in the
|
||||
.Pa /etc/iptos
|
||||
file.
|
||||
.It Fl X Ar atype
|
||||
.It Fl X Ar atype
|
||||
Disables the
|
||||
.Ar atype
|
||||
type of authentication.
|
||||
@ -141,7 +141,7 @@ Sets the initial value of the
|
||||
.Ic debug
|
||||
toggle to
|
||||
.Dv TRUE .
|
||||
.It Fl e Ar escapechar
|
||||
.It Fl e Ar escapechar
|
||||
Sets the initial
|
||||
.Nm
|
||||
escape character to
|
||||
@ -164,7 +164,7 @@ realm
|
||||
.Ar realm
|
||||
instead of the remote host's realm, as determined by
|
||||
.Xr krb_realmofhost 3 .
|
||||
.It Fl l Ar user
|
||||
.It Fl l Ar user
|
||||
When connecting to the remote system, if the remote system
|
||||
understands the
|
||||
.Ev ENVIRON
|
||||
@ -178,7 +178,7 @@ option.
|
||||
This option may also be used with the
|
||||
.Ic open
|
||||
command.
|
||||
.It Fl n Ar tracefile
|
||||
.It Fl n Ar tracefile
|
||||
Opens
|
||||
.Ar tracefile
|
||||
for recording trace information.
|
||||
@ -250,7 +250,7 @@ either \*(Lqcharacter at a time\*(Rq
|
||||
or \*(Lqold line by line\*(Rq
|
||||
depending on what the remote system supports.
|
||||
.Pp
|
||||
When
|
||||
When
|
||||
.Dv LINEMODE
|
||||
is enabled, character processing is done on the
|
||||
local system, under the control of the remote system. When input
|
||||
@ -269,7 +269,7 @@ to turn off and on the local echo
|
||||
(this would mostly be used to enter passwords
|
||||
without the password being echoed).
|
||||
.Pp
|
||||
If the
|
||||
If the
|
||||
.Dv LINEMODE
|
||||
option is enabled, or if the
|
||||
.Ic localchars
|
||||
@ -284,7 +284,7 @@ and
|
||||
characters are trapped locally, and sent as
|
||||
.Tn TELNET
|
||||
protocol sequences to the remote side.
|
||||
If
|
||||
If
|
||||
.Dv LINEMODE
|
||||
has ever been enabled, then the user's
|
||||
.Ic susp
|
||||
@ -295,9 +295,9 @@ are also sent as
|
||||
protocol sequences,
|
||||
and
|
||||
.Ic quit
|
||||
is sent as a
|
||||
is sent as a
|
||||
.Dv TELNET ABORT
|
||||
instead of
|
||||
instead of
|
||||
.Dv BREAK .
|
||||
There are options (see
|
||||
.Ic toggle
|
||||
@ -338,7 +338,7 @@ and
|
||||
commands).
|
||||
.Pp
|
||||
.Bl -tag -width "mode type"
|
||||
.It Ic auth Ar argument ...
|
||||
.It Ic auth Ar argument ...
|
||||
The auth command manipulates the information sent through the
|
||||
.Dv TELNET AUTHENTICATE
|
||||
option. Valid arguments for the
|
||||
@ -363,7 +363,7 @@ authentication.
|
||||
Close a
|
||||
.Tn TELNET
|
||||
session and return to command mode.
|
||||
.It Ic display Ar argument ...
|
||||
.It Ic display Ar argument ...
|
||||
Displays all, or some, of the
|
||||
.Ic set
|
||||
and
|
||||
@ -462,7 +462,7 @@ Valid arguments for the
|
||||
.Ic environ
|
||||
command are:
|
||||
.Bl -tag -width Fl
|
||||
.It Ic define Ar variable value
|
||||
.It Ic define Ar variable value
|
||||
Define the variable
|
||||
.Ar variable
|
||||
to have a value of
|
||||
@ -472,15 +472,15 @@ The
|
||||
.Ar value
|
||||
may be enclosed in single or double quotes so
|
||||
that tabs and spaces may be included.
|
||||
.It Ic undefine Ar variable
|
||||
.It Ic undefine Ar variable
|
||||
Remove
|
||||
.Ar variable
|
||||
from the list of environment variables.
|
||||
.It Ic export Ar variable
|
||||
.It Ic export Ar variable
|
||||
Mark the variable
|
||||
.Ar variable
|
||||
to be exported to the remote side.
|
||||
.It Ic unexport Ar variable
|
||||
.It Ic unexport Ar variable
|
||||
Mark the variable
|
||||
.Ar variable
|
||||
to not be exported unless
|
||||
@ -514,7 +514,7 @@ If the remote side also supports the concept of
|
||||
suspending a user's session for later reattachment,
|
||||
the logout argument indicates that you
|
||||
should terminate the session immediately.
|
||||
.It Ic mode Ar type
|
||||
.It Ic mode Ar type
|
||||
.Ar Type
|
||||
is one of several options, depending on the state of the
|
||||
.Tn TELNET
|
||||
@ -535,40 +535,40 @@ Enable the
|
||||
option, or, if the remote side does not understand the
|
||||
.Dv LINEMODE
|
||||
option, then attempt to enter \*(Lqold-line-by-line\*(Rq mode.
|
||||
.It Ic isig Pq Ic \-isig
|
||||
Attempt to enable (disable) the
|
||||
.It Ic isig Pq Ic \-isig
|
||||
Attempt to enable (disable) the
|
||||
.Dv TRAPSIG
|
||||
mode of the
|
||||
mode of the
|
||||
.Dv LINEMODE
|
||||
option.
|
||||
This requires that the
|
||||
This requires that the
|
||||
.Dv LINEMODE
|
||||
option be enabled.
|
||||
.It Ic edit Pq Ic \-edit
|
||||
Attempt to enable (disable) the
|
||||
.It Ic edit Pq Ic \-edit
|
||||
Attempt to enable (disable) the
|
||||
.Dv EDIT
|
||||
mode of the
|
||||
mode of the
|
||||
.Dv LINEMODE
|
||||
option.
|
||||
This requires that the
|
||||
This requires that the
|
||||
.Dv LINEMODE
|
||||
option be enabled.
|
||||
.It Ic softtabs Pq Ic \-softtabs
|
||||
Attempt to enable (disable) the
|
||||
.It Ic softtabs Pq Ic \-softtabs
|
||||
Attempt to enable (disable) the
|
||||
.Dv SOFT_TAB
|
||||
mode of the
|
||||
mode of the
|
||||
.Dv LINEMODE
|
||||
option.
|
||||
This requires that the
|
||||
This requires that the
|
||||
.Dv LINEMODE
|
||||
option be enabled.
|
||||
.It Ic litecho Pq Ic \-litecho
|
||||
Attempt to enable (disable) the
|
||||
.It Ic litecho Pq Ic \-litecho
|
||||
Attempt to enable (disable) the
|
||||
.Dv LIT_ECHO
|
||||
mode of the
|
||||
mode of the
|
||||
.Dv LINEMODE
|
||||
option.
|
||||
This requires that the
|
||||
This requires that the
|
||||
.Dv LINEMODE
|
||||
option be enabled.
|
||||
.It Ic ?\&
|
||||
@ -625,7 +625,7 @@ Close any open
|
||||
session and exit
|
||||
.Nm .
|
||||
An end of file (in command mode) will also close a session and exit.
|
||||
.It Ic send Ar arguments
|
||||
.It Ic send Ar arguments
|
||||
Sends one or more special character sequences to the remote host.
|
||||
The following are the arguments which may be specified
|
||||
(more than one argument may be specified at a time):
|
||||
@ -747,8 +747,8 @@ Prints out help information for the
|
||||
.Ic send
|
||||
command.
|
||||
.El
|
||||
.It Ic set Ar argument value
|
||||
.It Ic unset Ar argument value
|
||||
.It Ic set Ar argument value
|
||||
.It Ic unset Ar argument value
|
||||
The
|
||||
.Ic set
|
||||
command will set any one of a number of
|
||||
@ -1052,20 +1052,20 @@ Displays the legal
|
||||
.Pq Ic unset
|
||||
commands.
|
||||
.El
|
||||
.It Ic skey Ar sequence challenge
|
||||
.It Ic skey Ar sequence challenge
|
||||
The
|
||||
.Ic skey
|
||||
command computes a response to the S/Key challenge.
|
||||
.It Ic slc Ar state
|
||||
.It Ic slc Ar state
|
||||
The
|
||||
.Ic slc
|
||||
command (Set Local Characters) is used to set
|
||||
or change the state of the special
|
||||
characters when the
|
||||
characters when the
|
||||
.Dv TELNET LINEMODE
|
||||
option has
|
||||
been enabled. Special characters are characters that get
|
||||
mapped to
|
||||
mapped to
|
||||
.Tn TELNET
|
||||
commands sequences (like
|
||||
.Ic ip
|
||||
@ -1091,7 +1091,7 @@ was started.
|
||||
.It Ic import
|
||||
Switch to the remote defaults for the special characters.
|
||||
The remote default characters are those of the remote system
|
||||
at the time when the
|
||||
at the time when the
|
||||
.Tn TELNET
|
||||
connection was established.
|
||||
.It Ic ?\&
|
||||
@ -1104,7 +1104,7 @@ Show the current status of
|
||||
.Nm .
|
||||
This includes the peer one is connected to, as well
|
||||
as the current mode.
|
||||
.It Ic toggle Ar arguments ...
|
||||
.It Ic toggle Ar arguments ...
|
||||
Toggle (between
|
||||
.Dv TRUE
|
||||
and
|
||||
@ -1373,17 +1373,17 @@ Suspend
|
||||
.Nm .
|
||||
This command only works when the user is using the
|
||||
.Xr csh 1 .
|
||||
.It Ic \&! Op Ar command
|
||||
.It Ic \&! Op Ar command
|
||||
Execute a single command in a subshell on the local
|
||||
system. If
|
||||
.Ar command
|
||||
is omitted, then an interactive
|
||||
subshell is invoked.
|
||||
.It Ic ?\& Op Ar command
|
||||
.It Ic ?\& Op Ar command
|
||||
Get help. With no arguments,
|
||||
.Nm
|
||||
prints a help summary.
|
||||
If
|
||||
If
|
||||
.Ar command
|
||||
is specified,
|
||||
.Nm
|
||||
@ -1424,7 +1424,7 @@ IPv6 support was added by WIDE/KAME project.
|
||||
On some remote systems, echo has to be turned off manually when in
|
||||
\*(Lqold line by line\*(Rq mode.
|
||||
.Pp
|
||||
In \*(Lqold line by line\*(Rq mode or
|
||||
In \*(Lqold line by line\*(Rq mode or
|
||||
.Dv LINEMODE
|
||||
the terminal's
|
||||
.Ic eof
|
||||
|
@ -88,7 +88,7 @@ does not maintain connections between transfers; thus, the
|
||||
.Cm connect
|
||||
command does not actually create a connection,
|
||||
but merely remembers what host is to be used for transfers.
|
||||
You do not have to use the
|
||||
You do not have to use the
|
||||
.Cm connect
|
||||
command; the remote host can be specified as part of the
|
||||
.Cm get
|
||||
@ -111,7 +111,7 @@ If the latter form is used,
|
||||
the last hostname specified becomes the default for future transfers.
|
||||
.Pp
|
||||
.It Cm mode Ar transfer-mode
|
||||
Set the mode for transfers;
|
||||
Set the mode for transfers;
|
||||
.Ar transfer-mode
|
||||
may be one of
|
||||
.Em ascii
|
||||
|
@ -60,7 +60,7 @@ After the
|
||||
finishes,
|
||||
.Nm
|
||||
writes to the standard error stream,
|
||||
(in seconds):
|
||||
(in seconds):
|
||||
the total time elapsed,
|
||||
the time used to execute the
|
||||
.Ar command
|
||||
@ -82,7 +82,7 @@ The contents of the
|
||||
.Em rusage
|
||||
structure are printed as well.
|
||||
.It Fl o Ar file
|
||||
Write the output to
|
||||
Write the output to
|
||||
.Ar file
|
||||
instead of stderr. If
|
||||
.Ar file
|
||||
@ -100,7 +100,7 @@ Some shells may provide a builtin
|
||||
command which is similar or identical to this utility.
|
||||
Consult the
|
||||
.Xr builtin 1
|
||||
manual page.
|
||||
manual page.
|
||||
.Sh DIAGNOSTICS
|
||||
If
|
||||
.Ar command
|
||||
@ -108,7 +108,7 @@ could be timed successfully, its exit status is returned.
|
||||
If
|
||||
.Ar command
|
||||
terminated abnormally, a warning message is output to stderr.
|
||||
If the
|
||||
If the
|
||||
.Ar command
|
||||
was found but could not be run, the exit status is 126.
|
||||
If no
|
||||
|
@ -62,23 +62,23 @@ When
|
||||
.Xr tip 1
|
||||
is invoked, an entry for a remote system is looked up in the
|
||||
.Pa /etc/remote
|
||||
database.
|
||||
If the entry includes an "ACU" type capability (abbreviated at),
|
||||
database.
|
||||
If the entry includes an "ACU" type capability (abbreviated at),
|
||||
.Xr tip 1
|
||||
looks up the specified modem in
|
||||
looks up the specified modem in
|
||||
.Pa /etc/modems .
|
||||
If a modem entry is found,
|
||||
the corresponding capabilities determine how
|
||||
the corresponding capabilities determine how
|
||||
.Xr tip 1
|
||||
programs the modem when connecting to and disconnecting from the
|
||||
remote system.
|
||||
.Sh CAPABILITIES
|
||||
Capabilities are either strings (str), numbers (num), or boolean
|
||||
flags (bool). A string capability is specified by
|
||||
flags (bool). A string capability is specified by
|
||||
.Em capability Ns Ar = Ns Em value ;
|
||||
for example, ``reset_command=ATZ\\r''. A numeric capability is specified by
|
||||
.Em capability Ns Ar # Ns Em value ;
|
||||
for example, ``intercharacter_delay#50''. A boolean capability is specified
|
||||
for example, ``intercharacter_delay#50''. A boolean capability is specified
|
||||
by simply listing the capability.
|
||||
.Bl -tag -width intercharacter_delay
|
||||
.It Cm \&dial_command
|
||||
@ -114,7 +114,7 @@ issued to the modem.
|
||||
.It Cm \&lock_baud
|
||||
(bool)
|
||||
Use a fixed bit rate between the computer and the modem (DTE / DCE). The
|
||||
bit rate is specified in
|
||||
bit rate is specified in
|
||||
.Pa /etc/remote .
|
||||
.It Cm \&reset_command
|
||||
(str)
|
||||
|
@ -41,11 +41,11 @@
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl v
|
||||
.Fl Ns Ns Ar speed
|
||||
.Fl Ns Ns Ar speed
|
||||
.Ar system\-name
|
||||
.Nm
|
||||
.Op Fl v
|
||||
.Fl Ns Ns Ar speed
|
||||
.Fl Ns Ns Ar speed
|
||||
.Ar phone\-number
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
@ -70,7 +70,7 @@ are recognized:
|
||||
Drop the connection and exit
|
||||
(you may still be logged in on the
|
||||
remote machine).
|
||||
.It Ic \&~c Op Ar name
|
||||
.It Ic \&~c Op Ar name
|
||||
Change directory to
|
||||
.Ar name
|
||||
(no argument
|
||||
@ -87,7 +87,7 @@ Copy file from remote to local.
|
||||
.Nm Tip
|
||||
prompts first for the name of the file to be sent, then for
|
||||
a command to be executed on the remote machine.
|
||||
.It Ic \&~p Ar from Op Ar to
|
||||
.It Ic \&~p Ar from Op Ar to
|
||||
Send a file to a remote
|
||||
.Ux
|
||||
host. The put command causes the remote
|
||||
@ -99,7 +99,7 @@ file. If the ``to'' file isn't specified the ``from'' file name is used.
|
||||
This command is actually a
|
||||
.Ux
|
||||
specific version of the ``~>'' command.
|
||||
.It Ic \&~t Ar from Op Ar to
|
||||
.It Ic \&~t Ar from Op Ar to
|
||||
Take a file from a remote
|
||||
.Ux
|
||||
host.
|
||||
@ -216,7 +216,7 @@ When
|
||||
must dial a phone number to connect to a system it will print
|
||||
various messages indicating its actions.
|
||||
.Nm Tip
|
||||
supports modems that use the AT command set.
|
||||
supports modems that use the AT command set.
|
||||
.Nm Tip
|
||||
uses the file
|
||||
.Pa /etc/modems
|
||||
|
@ -53,7 +53,7 @@ applications. When invoked as the
|
||||
utility, the screen will be cleared as if
|
||||
.Dl tput clear
|
||||
had been executed.
|
||||
The options to
|
||||
The options to
|
||||
.Nm
|
||||
are as follows:
|
||||
.Bl -tag -width Ds
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user