Avoid use of direct troff requests in mdoc(7) manual pages.
This commit is contained in:
parent
ad736bbc89
commit
726b61ab5f
@ -286,9 +286,10 @@ The
|
||||
program and SCSI changer driver were written by
|
||||
.An Jason R. Thorpe Aq thorpej@and.com
|
||||
for And Communications, http://www.and.com/.
|
||||
.br
|
||||
.Pp
|
||||
Additional work by
|
||||
.An Hans Huebner
|
||||
.Aq hans@artcom.de
|
||||
and Steve Gunn
|
||||
and
|
||||
.An Steve Gunn
|
||||
.Aq csg@waterspout.com
|
||||
|
@ -187,7 +187,6 @@ The
|
||||
.Ar who
|
||||
symbol ``a'' is equivalent to ``ugo''.
|
||||
.Pp
|
||||
.ne 1i
|
||||
The
|
||||
.Ar perm
|
||||
symbols represent the portions of the mode bits as follows:
|
||||
|
@ -80,7 +80,7 @@ exceeded.)
|
||||
.Pp
|
||||
There are three separate areas that need to be discussed.
|
||||
They are as follows:
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -enum -compact -offset indent
|
||||
.It
|
||||
Symbolic links used as file name arguments for system calls.
|
||||
|
@ -480,14 +480,12 @@ This means that unsetting
|
||||
may not put back all the setting that were previously in effect.
|
||||
To set the terminal into a raw state and then accurately restore it, the following
|
||||
shell code is recommended:
|
||||
.nf
|
||||
|
||||
.Bd -literal
|
||||
save_state=$(stty -g)
|
||||
stty raw
|
||||
\&...
|
||||
stty "$save_state"
|
||||
|
||||
.fi
|
||||
.Ed
|
||||
.It Cm size
|
||||
The size of the terminal is printed as two numbers on a single line,
|
||||
first rows, then columns.
|
||||
|
@ -144,7 +144,6 @@ there will be no escape character.
|
||||
If Kerberos V5 authentication is being used, the
|
||||
.Fl f
|
||||
option allows the local credentials to be forwarded to the remote system.
|
||||
.ne 1i
|
||||
.It Fl k Ar realm
|
||||
If Kerberos authentication is being used, the
|
||||
.Fl k
|
||||
@ -415,7 +414,7 @@ variable is also exported if the
|
||||
or
|
||||
.Fl l
|
||||
options are used.
|
||||
.br
|
||||
.Pp
|
||||
Valid arguments for the
|
||||
.Ic environ
|
||||
command are:
|
||||
@ -520,7 +519,6 @@ option.
|
||||
This requires that the
|
||||
.Dv LINEMODE
|
||||
option be enabled.
|
||||
.ne 1i
|
||||
.It Ic litecho Pq Ic \-litecho
|
||||
Attempt to enable (disable) the
|
||||
.Dv LIT_ECHO
|
||||
@ -655,7 +653,6 @@ command,
|
||||
.Ic getstatus
|
||||
will send the subnegotiation to request that the server send
|
||||
its current option status.
|
||||
.ne 1i
|
||||
.It Ic ip
|
||||
Sends the
|
||||
.Dv TELNET IP
|
||||
@ -981,7 +978,6 @@ The initial value for the suspend character is taken to be
|
||||
the terminal's
|
||||
.Ic suspend
|
||||
character.
|
||||
.ne 1i
|
||||
.It Ic tracefile
|
||||
This is the file to which the output, caused by
|
||||
.Ic netdata
|
||||
@ -1128,7 +1124,6 @@ stream does not start automatically. The autoencrypt
|
||||
(autodecrypt) command states that encryption of the
|
||||
output (input) stream should be enabled as soon as
|
||||
possible.
|
||||
.sp
|
||||
.Pp
|
||||
Note: Because of export controls, the
|
||||
.Dv TELNET ENCRYPT
|
||||
@ -1284,7 +1279,6 @@ protocol processing (having to do with
|
||||
options).
|
||||
The initial value for this toggle is
|
||||
.Dv FALSE .
|
||||
.ne 1i
|
||||
.It Ic prettydump
|
||||
When the
|
||||
.Ic netdata
|
||||
|
@ -315,7 +315,6 @@ indicates that only dotted decimal addresses
|
||||
should be put into the
|
||||
.Pa utmp
|
||||
file.
|
||||
.ne 1i
|
||||
.It Fl U
|
||||
This option causes
|
||||
.Nm
|
||||
@ -432,7 +431,6 @@ Whenever a
|
||||
command is received, it is always responded
|
||||
to with a
|
||||
.Dv WILL TIMING-MARK
|
||||
.ne 1i
|
||||
.It "WILL LOGOUT"
|
||||
When a
|
||||
.Dv DO LOGOUT
|
||||
|
@ -144,7 +144,6 @@ there will be no escape character.
|
||||
If Kerberos V5 authentication is being used, the
|
||||
.Fl f
|
||||
option allows the local credentials to be forwarded to the remote system.
|
||||
.ne 1i
|
||||
.It Fl k Ar realm
|
||||
If Kerberos authentication is being used, the
|
||||
.Fl k
|
||||
@ -415,7 +414,7 @@ variable is also exported if the
|
||||
or
|
||||
.Fl l
|
||||
options are used.
|
||||
.br
|
||||
.Pp
|
||||
Valid arguments for the
|
||||
.Ic environ
|
||||
command are:
|
||||
@ -520,7 +519,6 @@ option.
|
||||
This requires that the
|
||||
.Dv LINEMODE
|
||||
option be enabled.
|
||||
.ne 1i
|
||||
.It Ic litecho Pq Ic \-litecho
|
||||
Attempt to enable (disable) the
|
||||
.Dv LIT_ECHO
|
||||
@ -655,7 +653,6 @@ command,
|
||||
.Ic getstatus
|
||||
will send the subnegotiation to request that the server send
|
||||
its current option status.
|
||||
.ne 1i
|
||||
.It Ic ip
|
||||
Sends the
|
||||
.Dv TELNET IP
|
||||
@ -981,7 +978,6 @@ The initial value for the suspend character is taken to be
|
||||
the terminal's
|
||||
.Ic suspend
|
||||
character.
|
||||
.ne 1i
|
||||
.It Ic tracefile
|
||||
This is the file to which the output, caused by
|
||||
.Ic netdata
|
||||
@ -1128,7 +1124,6 @@ stream does not start automatically. The autoencrypt
|
||||
(autodecrypt) command states that encryption of the
|
||||
output (input) stream should be enabled as soon as
|
||||
possible.
|
||||
.sp
|
||||
.Pp
|
||||
Note: Because of export controls, the
|
||||
.Dv TELNET ENCRYPT
|
||||
@ -1284,7 +1279,6 @@ protocol processing (having to do with
|
||||
options).
|
||||
The initial value for this toggle is
|
||||
.Dv FALSE .
|
||||
.ne 1i
|
||||
.It Ic prettydump
|
||||
When the
|
||||
.Ic netdata
|
||||
|
@ -315,7 +315,6 @@ indicates that only dotted decimal addresses
|
||||
should be put into the
|
||||
.Pa utmp
|
||||
file.
|
||||
.ne 1i
|
||||
.It Fl U
|
||||
This option causes
|
||||
.Nm
|
||||
@ -432,7 +431,6 @@ Whenever a
|
||||
command is received, it is always responded
|
||||
to with a
|
||||
.Dv WILL TIMING-MARK
|
||||
.ne 1i
|
||||
.It "WILL LOGOUT"
|
||||
When a
|
||||
.Dv DO LOGOUT
|
||||
|
@ -170,8 +170,7 @@ Sound support for
|
||||
added by Lyndon Nerenberg (VE7TCP/VE6BBM) <lyndon@orthanc.com>.
|
||||
.Pp
|
||||
Ability to key an external device added by
|
||||
.ie t J\(:org Wunsch
|
||||
.el Joerg Wunsch
|
||||
.An J\(:org Wunsch
|
||||
(DL8DTL).
|
||||
.Sh BUGS
|
||||
Does only understand a few European characters (namely German and
|
||||
|
@ -84,7 +84,7 @@ The index and data files have a similar syntax.
|
||||
Lines in them consist of several categories separated by colons.
|
||||
The categories are regular expressions formed using the following
|
||||
meta-characters:
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -tag -width "pat|pat" -compact -offset indent
|
||||
.It pat|pat
|
||||
alternate patterns
|
||||
|
@ -196,7 +196,6 @@ and a
|
||||
.Fn pclose
|
||||
function appeared in
|
||||
.At v7 .
|
||||
.br
|
||||
.Pp
|
||||
Bidirectional functionality was added in
|
||||
.Tn FreeBSD
|
||||
2.2.6.
|
||||
.Fx 2.2.6 .
|
||||
|
@ -238,7 +238,6 @@ The machine class.
|
||||
The machine model
|
||||
.It Li HW_NCPU
|
||||
The number of cpus.
|
||||
.ne 1i
|
||||
.It Li HW_BYTEORDER
|
||||
The byteorder (4,321, or 1,234).
|
||||
.It Li HW_PHYSMEM
|
||||
@ -294,7 +293,6 @@ information.
|
||||
.It KERN\_VERSION string no
|
||||
.It KERN\_VNODE struct vnode no
|
||||
.El
|
||||
.ne 1i
|
||||
.Pp
|
||||
.Bl -tag -width "123456"
|
||||
.It Li KERN_ARGMAX
|
||||
@ -411,7 +409,6 @@ describing destination of calls and their counts.
|
||||
.It Li GPROF_GMONPARAM
|
||||
Structure giving the sizes of the above arrays.
|
||||
.El
|
||||
.ne 1i
|
||||
.It Li KERN_QUANTUM
|
||||
The maximum period of time, in microseconds, for which a process is allowed
|
||||
to run without being preempted if other processes are in the run queue.
|
||||
@ -481,7 +478,6 @@ Get or set various global information about the IPv4
|
||||
The third level name is the protocol.
|
||||
The fourth level name is the variable name.
|
||||
The currently defined protocols and names are:
|
||||
.ne 1i
|
||||
.Bl -column ProtocolXX VariableXX TypeXX ChangeableXX
|
||||
.It Pa Protocol Variable Type Changeable
|
||||
.It icmp bmcastecho integer yes
|
||||
@ -617,7 +613,6 @@ The version of POSIX 1003.2 with which the system attempts to comply.
|
||||
.It Li USER_RE_DUP_MAX
|
||||
The maximum number of repeated occurrences of a regular expression
|
||||
permitted when using interval notation.
|
||||
.ne 1i
|
||||
.It Li USER_STREAM_MAX
|
||||
The minimum maximum number of streams that a process may have open
|
||||
at any one time.
|
||||
|
@ -44,12 +44,12 @@
|
||||
.Ft char *
|
||||
.Fn timezone "int zone" "int dst"
|
||||
.Sh DESCRIPTION
|
||||
.ft B
|
||||
.Bf Sy
|
||||
This interface is for compatibility only; it is impossible to reliably
|
||||
map timezone's arguments to a time zone abbreviation.
|
||||
See
|
||||
.Xr ctime 3 .
|
||||
.ft P
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
.Fn timezone
|
||||
|
@ -128,7 +128,6 @@ is encountered.
|
||||
If a protocol name is also supplied (non-
|
||||
.Dv NULL ) ,
|
||||
searches must also match the protocol.
|
||||
.ne 1i
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/services -compact
|
||||
.It Pa /etc/services
|
||||
|
@ -558,7 +558,6 @@ a field; if the result of a conversion is wider than the field width, the
|
||||
field is expanded to contain the conversion result.
|
||||
.Pp
|
||||
.Sh EXAMPLES
|
||||
.br
|
||||
To print a date and time in the form `Sunday, July 3, 10:02',
|
||||
where
|
||||
.Em weekday
|
||||
|
@ -87,8 +87,7 @@ The
|
||||
function has been contributed by Powerdog Industries.
|
||||
.Pp
|
||||
This man page was written by
|
||||
.ie t J\(:org Wunsch.
|
||||
.el Joerg Wunsch.
|
||||
.An J\(:org Wunsch .
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn strptime
|
||||
|
@ -87,21 +87,23 @@ and its conversion to,
|
||||
and back from,
|
||||
the POSIX representation over the leap second inserted at the end of June,
|
||||
1993.
|
||||
.ta \w'93/06/30 'u +\w'23:59:59 'u +\w'A+0 'u +\w'X=time2posix(T) 'u
|
||||
DATE TIME T X=time2posix(T) posix2time(X)
|
||||
93/06/30 23:59:59 A+0 B+0 A+0
|
||||
93/06/30 23:59:60 A+1 B+1 A+1 or A+2
|
||||
93/07/01 00:00:00 A+2 B+1 A+1 or A+2
|
||||
93/07/01 00:00:01 A+3 B+2 A+3
|
||||
|
||||
A leap second deletion would look like...
|
||||
|
||||
DATE TIME T X=time2posix(T) posix2time(X)
|
||||
??/06/30 23:59:58 A+0 B+0 A+0
|
||||
??/07/01 00:00:00 A+1 B+2 A+1
|
||||
??/07/01 00:00:01 A+2 B+3 A+2
|
||||
.Bl -column "93/06/30" "23:59:59" "A+0" "X=time2posix(T)"
|
||||
.It Sy DATE TIME T X=time2posix(T) posix2time(X)
|
||||
.It 93/06/30 23:59:59 A+0 B+0 A+0
|
||||
.It 93/06/30 23:59:60 A+1 B+1 A+1 or A+2
|
||||
.It 93/07/01 00:00:00 A+2 B+1 A+1 or A+2
|
||||
.It 93/07/01 00:00:01 A+3 B+2 A+3
|
||||
.El
|
||||
.Pp
|
||||
[Note: posix2time(B+1) => A+0 or A+1]
|
||||
A leap second deletion would look like...
|
||||
.Bl -column "??/06/30" "23:59:58" "A+0" "X=time2posix(T)"
|
||||
.It Sy DATE TIME T X=time2posix(T) posix2time(X)
|
||||
.It ??/06/30 23:59:58 A+0 B+0 A+0
|
||||
.It ??/07/01 00:00:00 A+1 B+2 A+1
|
||||
.It ??/07/01 00:00:01 A+2 B+3 A+2
|
||||
.El
|
||||
.Pp
|
||||
.D1 No "[Note: posix2time(B+1) => A+0 or A+1]"
|
||||
.Pp
|
||||
If leap-second support is not enabled,
|
||||
local time_t's and
|
||||
|
@ -166,7 +166,7 @@ such a sequence of calls would always return
|
||||
.Dv NULL .
|
||||
.Sh AUTHORS
|
||||
.An Wes Peters, Softweyr LLC: Aq wes@softweyr.com
|
||||
.br
|
||||
.Pp
|
||||
Based on the
|
||||
.Fx 3.0
|
||||
implementation.
|
||||
|
@ -144,7 +144,6 @@ the effective user ID is recorded as the saved set-user-ID,
|
||||
and the effective group ID is recorded as the saved set-group-ID.
|
||||
These values may be used in changing the effective IDs later (see
|
||||
.Xr setuid 2 ) .
|
||||
.ne 1i
|
||||
.Pp
|
||||
The set-ID bits are not honored if the respective file system has the
|
||||
.Ar nosuid
|
||||
@ -242,7 +241,6 @@ permission, but has an invalid magic number in its header.
|
||||
.It Bq Er ETXTBSY
|
||||
The new process file is a pure procedure (shared text)
|
||||
file that is currently open for writing or reading by some process.
|
||||
.ne 1i
|
||||
.It Bq Er ENOMEM
|
||||
The new process requires more virtual memory than
|
||||
is allowed by the imposed maximum
|
||||
|
@ -157,7 +157,6 @@ upon availability of data to be read.
|
||||
.Pp
|
||||
Several commands are available for doing advisory file locking;
|
||||
they all operate on the following structure:
|
||||
.ne 7v
|
||||
.Bd -literal
|
||||
struct flock {
|
||||
off_t l_start; /* starting offset */
|
||||
|
@ -391,7 +391,6 @@ entry failed because the user's quota of disk blocks was
|
||||
exhausted, or the allocation of an inode for a newly
|
||||
created file failed because the user's quota of inodes
|
||||
was exhausted.
|
||||
.ne 1i
|
||||
.It Er 70 ESTALE Em "Stale NFS file handle" .
|
||||
An attempt was made to access an open file (on an
|
||||
.Tn NFS
|
||||
@ -489,7 +488,6 @@ A session leader with a controlling terminal is a controlling process.
|
||||
.It Controlling terminal
|
||||
A terminal that is associated with a session is known as the controlling
|
||||
terminal for that session and its members.
|
||||
.ne 1i
|
||||
.It "Terminal Process Group ID"
|
||||
A terminal may be acquired by a session leader as its controlling terminal.
|
||||
Once a terminal is associated with a session, any of the process groups
|
||||
@ -567,7 +565,6 @@ for the super-user.)
|
||||
A process is recognized as a
|
||||
.Em super-user
|
||||
process and is granted special privileges if its effective user ID is 0.
|
||||
.ne 1i
|
||||
.It Special Processes
|
||||
The processes with process IDs of 0, 1, and 2 are special.
|
||||
Process 0 is the scheduler. Process 1 is the initialization process
|
||||
|
@ -132,7 +132,6 @@ are on different file systems.
|
||||
The directory in which the entry for the new link is being placed
|
||||
cannot be extended because there is no space left on the file
|
||||
system containing the directory.
|
||||
.ne 3v
|
||||
.It Bq Er EDQUOT
|
||||
The directory in which the entry for the new link
|
||||
is being placed cannot be extended because the
|
||||
|
@ -50,7 +50,6 @@
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The cftime and ascftime functions are made obsolete by strftime(3).
|
||||
.br
|
||||
They are available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
|
@ -45,7 +45,6 @@
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The getpw function is made obsolete by getpwuid(3).
|
||||
.br
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
|
@ -37,7 +37,6 @@
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The cfree function considered obsolete.
|
||||
.br
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
|
@ -55,7 +55,6 @@ struct qelem {
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The insque and remque functions are considered obsolete.
|
||||
.br
|
||||
They are available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
|
@ -44,7 +44,6 @@
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The cuserid function is made obsolete by getpwuid.
|
||||
.br
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
|
@ -50,10 +50,11 @@
|
||||
.Ft void
|
||||
.Fn regsub "const regexp *prog" "const char *source" "char *dest"
|
||||
.Sh DESCRIPTION
|
||||
.Bf Sy
|
||||
This interface is made obsolete by
|
||||
.Xr regex 3 .
|
||||
.br
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
.Fn regcomp ,
|
||||
|
@ -329,5 +329,4 @@ has been written by
|
||||
.An Poul-Henning Kamp .
|
||||
.Pp
|
||||
This man page by
|
||||
.ie t J\(:org Wunsch.
|
||||
.el Joerg Wunsch.
|
||||
.An J\(:org Wunsch .
|
||||
|
@ -46,7 +46,6 @@
|
||||
.Lb libkvm
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <kvm.h>
|
||||
.br
|
||||
.Ft char *
|
||||
.Fn kvm_geterr "kvm_t *kd"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -51,7 +51,6 @@
|
||||
.Fd #include <sys/file.h>
|
||||
.Fd #undef _KERNEL
|
||||
.\" .Fa kvm_t *kd
|
||||
.br
|
||||
.Ft char *
|
||||
.Fn kvm_getfiles "kvm_t *kd" "int op" "int arg" "int *cnt"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -51,7 +51,6 @@
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/sysctl.h>
|
||||
.\" .Fa kvm_t *kd
|
||||
.br
|
||||
.Ft struct kinfo_proc *
|
||||
.Fn kvm_getprocs "kvm_t *kd" "int op" "int arg" "int *cnt"
|
||||
.Ft char **
|
||||
|
@ -49,7 +49,6 @@
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <fcntl.h>
|
||||
.Fd #include <kvm.h>
|
||||
.br
|
||||
.Ft kvm_t *
|
||||
.Fn kvm_open "const char *execfile" "const char *corefile" "const char *swapfile" "int flags" "const char *errstr"
|
||||
.Ft kvm_t *
|
||||
|
@ -45,14 +45,14 @@
|
||||
.Ft void
|
||||
.Fn properties_free "properties list"
|
||||
.Sh DESCRIPTION
|
||||
.nf
|
||||
.Bd -literal
|
||||
typedef struct _properties {
|
||||
struct _properties *next;
|
||||
char *name;
|
||||
char *value;
|
||||
} *properties;
|
||||
.fi
|
||||
|
||||
.Ed
|
||||
.Pp
|
||||
The function
|
||||
.Fn properties_read
|
||||
reads
|
||||
|
@ -366,38 +366,37 @@ An example
|
||||
.Pa /etc/bootptab
|
||||
file follows:
|
||||
.Pp
|
||||
.nf
|
||||
# Sample bootptab file (domain=andrew.cmu.edu)
|
||||
.Bd -literal -offset indent
|
||||
# Sample bootptab file (domain=andrew.cmu.edu)
|
||||
|
||||
.default:\\
|
||||
:hd=/usr/boot:bf=null:\\
|
||||
:ds=netserver, lancaster:\\
|
||||
:ns=pcs2, pcs1:\\
|
||||
:ts=pcs2, pcs1:\\
|
||||
:sm=255.255.255.0:\\
|
||||
:gw=gw.cs.cmu.edu:\\
|
||||
:hn:to=-18000:
|
||||
\&.default:\\
|
||||
:hd=/usr/boot:bf=null:\\
|
||||
:ds=netserver, lancaster:\\
|
||||
:ns=pcs2, pcs1:\\
|
||||
:ts=pcs2, pcs1:\\
|
||||
:sm=255.255.255.0:\\
|
||||
:gw=gw.cs.cmu.edu:\\
|
||||
:hn:to=-18000:
|
||||
|
||||
carnegie:ht=6:ha=7FF8100000AF:tc=.default:
|
||||
baldwin:ht=1:ha=0800200159C3:tc=.default:
|
||||
wylie:ht=1:ha=00DD00CADF00:tc=.default:
|
||||
arnold:ht=1:ha=0800200102AD:tc=.default:
|
||||
bairdford:ht=1:ha=08002B02A2F9:tc=.default:
|
||||
bakerstown:ht=1:ha=08002B0287C8:tc=.default:
|
||||
carnegie:ht=6:ha=7FF8100000AF:tc=.default:
|
||||
baldwin:ht=1:ha=0800200159C3:tc=.default:
|
||||
wylie:ht=1:ha=00DD00CADF00:tc=.default:
|
||||
arnold:ht=1:ha=0800200102AD:tc=.default:
|
||||
bairdford:ht=1:ha=08002B02A2F9:tc=.default:
|
||||
bakerstown:ht=1:ha=08002B0287C8:tc=.default:
|
||||
|
||||
# Special domain name server and option tags for next host
|
||||
butlerjct:ha=08002001560D:ds=128.2.13.42:\\
|
||||
:T37=0x12345927AD3BCF:\\
|
||||
:T99="Special ASCII string":\\
|
||||
:tc=.default:
|
||||
# Special domain name server and option tags for next host
|
||||
butlerjct:ha=08002001560D:ds=128.2.13.42:\\
|
||||
:T37=0x12345927AD3BCF:\\
|
||||
:T99="Special ASCII string":\\
|
||||
:tc=.default:
|
||||
|
||||
gastonville:ht=6:ha=7FFF81000A47:tc=.default:
|
||||
hahntown:ht=6:ha=7FFF81000434:tc=.default:
|
||||
hickman:ht=6:ha=7FFF810001BA:tc=.default:
|
||||
lowber:ht=1:ha=00DD00CAF000:tc=.default:
|
||||
mtoliver:ht=1:ha=00DD00FE1600:tc=.default:
|
||||
|
||||
.fi
|
||||
gastonville:ht=6:ha=7FFF81000A47:tc=.default:
|
||||
hahntown:ht=6:ha=7FFF81000434:tc=.default:
|
||||
hickman:ht=6:ha=7FFF810001BA:tc=.default:
|
||||
lowber:ht=1:ha=00DD00CAF000:tc=.default:
|
||||
mtoliver:ht=1:ha=00DD00FE1600:tc=.default:
|
||||
.Ed
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/bootptab -compact
|
||||
.It /etc/bootptab
|
||||
|
@ -35,8 +35,6 @@
|
||||
.Dd April 19, 1994
|
||||
.Dt GETTYTAB 5
|
||||
.Os BSD 4.2
|
||||
.\" turn off hyphenation
|
||||
.hym 999
|
||||
.Sh NAME
|
||||
.Nm gettytab
|
||||
.Nd terminal configuration data base
|
||||
|
@ -133,11 +133,10 @@ is run in multi-user mode. Execution ends either by explicit request
|
||||
directive), upon reaching the end of the argument list or on error.
|
||||
.Pp
|
||||
For example:
|
||||
.nf
|
||||
|
||||
.Bd -literal
|
||||
/stand/sysinstall _ftpPath=ftp://ziggy/pub/ mediaSetFTP configPackages
|
||||
|
||||
.fi
|
||||
.Ed
|
||||
.Pp
|
||||
Would initialize
|
||||
.Nm
|
||||
for FTP installation media (using the server `ziggy') and then
|
||||
@ -335,10 +334,9 @@ to mount our DOS partition and make sure that an
|
||||
entry is created for it in the new installation. Before calling the
|
||||
.Ar diskLabelEditor
|
||||
function, we simply add an additional line:
|
||||
.nf
|
||||
da0s1=/dos_c N
|
||||
|
||||
.fi
|
||||
.Pp
|
||||
.Dl "da0s1=/dos_c N"
|
||||
.Pp
|
||||
before the call. This tells the label editor that you want to mount
|
||||
the first slice on
|
||||
.Pa /dos_c
|
||||
|
@ -61,7 +61,7 @@
|
||||
.Nm disklabel
|
||||
.Op Fl NW
|
||||
.Ar disk
|
||||
.sp
|
||||
.Pp
|
||||
.Nm disklabel
|
||||
.Fl B
|
||||
.Oo
|
||||
@ -124,8 +124,9 @@ and
|
||||
represents a slice. Some devices, most notably
|
||||
.Ar ccd ,
|
||||
require that the
|
||||
.if t ``whole-disk'' (or ``c'')
|
||||
.if n "whole-disk" (or "c")
|
||||
.Dq whole-disk
|
||||
(or
|
||||
.Dq c )
|
||||
partition be specified. For example
|
||||
.Pa ccd0c .
|
||||
You do not have to include the
|
||||
@ -220,8 +221,8 @@ itself must be provided as the canonical name, i.e. not as a full
|
||||
path name.
|
||||
.Pp
|
||||
PC-based systems have special requirements in order for the BIOS to properly
|
||||
recognize a FreeBSD disklabel. Older systems may require what is known as
|
||||
a ``dangerously dedicated''
|
||||
recognize a FreeBSD disklabel. Older systems may require what is known as a
|
||||
.Dq dangerously dedicated
|
||||
disklabel, which creates a fake DOS partition to work around problems older
|
||||
BIOSes have with modern disk geometries. On newer systems you generally want
|
||||
to create a normal DOS slice using
|
||||
@ -293,7 +294,8 @@ command
|
||||
The final three forms of
|
||||
.Nm
|
||||
are used to install bootstrap code. If you are creating a
|
||||
``dangerously-dedicated'' partition for compatibility with older PC systems,
|
||||
.Dq dangerously-dedicated
|
||||
partition for compatibility with older PC systems,
|
||||
you generally want to specify the raw disk name such as
|
||||
.Pa da0.
|
||||
If you are creating a label within an existing DOS slice, you should specify
|
||||
@ -313,8 +315,9 @@ then install the FreeBSD bootblocks in the slice.
|
||||
.Oo Ar disktype Oc
|
||||
.Pp
|
||||
This form installs the bootstrap only. It does not change the disk label.
|
||||
You should never use this command on a base disk unless you intend to create
|
||||
a ``dangerously-dedicated'' disk, such as
|
||||
You should never use this command on a base disk unless you intend to create a
|
||||
.Dq dangerously-dedicated
|
||||
disk, such as
|
||||
.Ar da0 .
|
||||
This command is typically run on a slice such as
|
||||
.Ar da0s1 .
|
||||
@ -329,10 +332,12 @@ This command is typically run on a slice such as
|
||||
.Ar disk Ar disktype
|
||||
.Oo Ar packid Oc
|
||||
.Pp
|
||||
.if t This form corresponds to the ``write label'' command described above.
|
||||
.if n This form corresponds to the "write label" command described above.
|
||||
This form corresponds to the
|
||||
.Dq write label
|
||||
command described above.
|
||||
In addition to writing a new volume label, it also installs the bootstrap.
|
||||
If run on a base disk this command will create a ``dangerously-dedicated''
|
||||
If run on a base disk this command will create a
|
||||
.Dq dangerously-dedicated
|
||||
label. This command is normally run on a slice rather then a base disk.
|
||||
.Pp
|
||||
.Nm disklabel
|
||||
@ -345,10 +350,12 @@ label. This command is normally run on a slice rather then a base disk.
|
||||
.Ar disk Ar protofile
|
||||
.Oo Ar disktype Oc
|
||||
.Pp
|
||||
.if t This form corresponds to the ``restore label'' command described above.
|
||||
.if n This form corresponds to the "restore label" command described above.
|
||||
This form corresponds to the
|
||||
.Dq restore label
|
||||
command described above.
|
||||
In addition to restoring the volume label, it also installs the bootstrap.
|
||||
If run on a base disk this command will create a ``dangerously-dedicated''
|
||||
If run on a base disk this command will create a
|
||||
.Dq dangerously-dedicated
|
||||
label. This command is normally run on a slice rather then a base disk.
|
||||
.Pp
|
||||
The bootstrap commands always access the disk directly, so it is not necessary
|
||||
@ -378,8 +385,9 @@ and
|
||||
flags are not specified, but
|
||||
.Ar disktype
|
||||
was specified, the names of the programs are taken from the
|
||||
.if t ``b0'' and ``b1''
|
||||
.if n "b0" and "b1"
|
||||
.Dq b0
|
||||
and
|
||||
.Dq b1
|
||||
parameters of the
|
||||
.Xr disktab 5
|
||||
entry for the disk if the disktab entry exists and includes those parameters.
|
||||
@ -412,11 +420,23 @@ Use
|
||||
to edit your newly created label, addiing appropriate partitions.
|
||||
.It
|
||||
Finally newfs the filesystem partitions you created in the label. A typical
|
||||
disklabel partiioning scheme would be to have an ``a'' partition
|
||||
of approximately 128MB to hold the root filesystem, a ``b'' partition for
|
||||
swap, a ``d'' partition for /var (usually 128MB), an ``e'' partition
|
||||
for /var/tmp (usually 128MB), an ``f'' partition for /usr (usually around 2G),
|
||||
and finally a ``g'' partition for /home (usally all remaining space).
|
||||
disklabel partiioning scheme would be to have an
|
||||
.Dq a
|
||||
partition
|
||||
of approximately 128MB to hold the root filesystem, a
|
||||
.Dq b
|
||||
partition for
|
||||
swap, a
|
||||
.Dq d
|
||||
partition for /var (usually 128MB), an
|
||||
.Dq e
|
||||
partition
|
||||
for /var/tmp (usually 128MB), an
|
||||
.Dq f
|
||||
partition for /usr (usually around 2G),
|
||||
and finally a
|
||||
.Dq g
|
||||
partition for /home (usally all remaining space).
|
||||
Your mileage may vary.
|
||||
.El
|
||||
.Pp
|
||||
@ -541,7 +561,8 @@ as obtained via
|
||||
.Pa /dev/da0s1 .
|
||||
When reading a label, FreeBSD will allow you to specify the base disk name
|
||||
even if the label resides on a slice. However, to be proper you should
|
||||
specify the base disk name only if you are using a ``dangerously-dedicated''
|
||||
specify the base disk name only if you are using a
|
||||
.Dq dangerously-dedicated
|
||||
label. Normally you specify the slice.
|
||||
.Pp
|
||||
.Dl disklabel da0s1 > savedlabel
|
||||
@ -559,8 +580,8 @@ flag to restore the label at a later date.
|
||||
Create a label for
|
||||
.Pa da0s1
|
||||
based on information for
|
||||
.if t ``da2212'' found in
|
||||
.if n "da2212" found in
|
||||
.Dq da2212
|
||||
found in
|
||||
.Pa /etc/disktab .
|
||||
Any existing bootstrap code will be clobbered.
|
||||
.Pp
|
||||
@ -599,9 +620,9 @@ On-disk and in-core labels are unchanged.
|
||||
.Dl disklabel -w -B /dev/da0s1 -b newboot1 -s newboot da2212
|
||||
.Pp
|
||||
Install a new label and bootstrap.
|
||||
.if t The label is derived from disktab information for ``da2212'' and
|
||||
.if n The label is derived from disktab information for "da2212" and
|
||||
installed both in-core and on-disk.
|
||||
The label is derived from disktab information for
|
||||
.Dq da2212
|
||||
and installed both in-core and on-disk.
|
||||
The bootstrap code comes from the files
|
||||
.Pa /boot/newboot1
|
||||
and
|
||||
@ -614,7 +635,9 @@ and
|
||||
.Dl disklabel -e da0s1
|
||||
.Pp
|
||||
Completely wipe any prior information on the disk, creating a new bootable
|
||||
disk with a DOS partition table containing one ``whole-disk'' slice. Then
|
||||
disk with a DOS partition table containing one
|
||||
.Dq whole-disk
|
||||
slice. Then
|
||||
initialize the slice, then edit it to your needs. The
|
||||
.Pa dd
|
||||
commands are optional, but may be necessary for some BIOSes to properly
|
||||
@ -629,21 +652,20 @@ The kernel device drivers will not allow the size of a disk partition
|
||||
to be decreased or the offset of a partition to be changed while it is open.
|
||||
Some device drivers create a label containing only a single large partition
|
||||
if a disk is unlabeled; thus, the label must be written to the
|
||||
.if t ``a''
|
||||
.if n "a"
|
||||
.Dq a
|
||||
partition of the disk while it is open. This sometimes requires the desired
|
||||
label to be set in two steps, the first one creating at least one other
|
||||
partition, and the second setting the label on the new partition while shrinking
|
||||
the
|
||||
.if t ``a''
|
||||
.if n "a"
|
||||
.Dq a
|
||||
partition.
|
||||
.Pp
|
||||
On some machines the bootstrap code may not fit entirely in the area
|
||||
allocated for it by some filesystems.
|
||||
As a result, it may not be possible to have filesystems on some partitions
|
||||
.if t of a ``bootable'' disk.
|
||||
.if n of a "bootable" disk.
|
||||
of a
|
||||
.Dq bootable
|
||||
disk.
|
||||
When installing bootstrap code,
|
||||
.Nm
|
||||
checks for these cases.
|
||||
@ -657,8 +679,9 @@ Conversely, if a partition has a type other than FS_UNUSED or FS_BOOT,
|
||||
will not install bootstrap code that overlaps it.
|
||||
.Sh BUGS
|
||||
When a disk name is given without a full pathname,
|
||||
.if t the constructed device name uses the ``c'' partition.
|
||||
.if n the constructed device name uses the "c" partition.
|
||||
the constructed device name uses the
|
||||
.Dq c
|
||||
partition.
|
||||
.Pp
|
||||
For the i386 architecture, the primary bootstrap sector contains
|
||||
an embedded
|
||||
|
@ -61,7 +61,7 @@
|
||||
.Nm disklabel
|
||||
.Op Fl NW
|
||||
.Ar disk
|
||||
.sp
|
||||
.Pp
|
||||
.Nm disklabel
|
||||
.Fl B
|
||||
.Oo
|
||||
@ -124,8 +124,9 @@ and
|
||||
represents a slice. Some devices, most notably
|
||||
.Ar ccd ,
|
||||
require that the
|
||||
.if t ``whole-disk'' (or ``c'')
|
||||
.if n "whole-disk" (or "c")
|
||||
.Dq whole-disk
|
||||
(or
|
||||
.Dq c )
|
||||
partition be specified. For example
|
||||
.Pa ccd0c .
|
||||
You do not have to include the
|
||||
@ -220,8 +221,8 @@ itself must be provided as the canonical name, i.e. not as a full
|
||||
path name.
|
||||
.Pp
|
||||
PC-based systems have special requirements in order for the BIOS to properly
|
||||
recognize a FreeBSD disklabel. Older systems may require what is known as
|
||||
a ``dangerously dedicated''
|
||||
recognize a FreeBSD disklabel. Older systems may require what is known as a
|
||||
.Dq dangerously dedicated
|
||||
disklabel, which creates a fake DOS partition to work around problems older
|
||||
BIOSes have with modern disk geometries. On newer systems you generally want
|
||||
to create a normal DOS slice using
|
||||
@ -293,7 +294,8 @@ command
|
||||
The final three forms of
|
||||
.Nm
|
||||
are used to install bootstrap code. If you are creating a
|
||||
``dangerously-dedicated'' partition for compatibility with older PC systems,
|
||||
.Dq dangerously-dedicated
|
||||
partition for compatibility with older PC systems,
|
||||
you generally want to specify the raw disk name such as
|
||||
.Pa da0.
|
||||
If you are creating a label within an existing DOS slice, you should specify
|
||||
@ -313,8 +315,9 @@ then install the FreeBSD bootblocks in the slice.
|
||||
.Oo Ar disktype Oc
|
||||
.Pp
|
||||
This form installs the bootstrap only. It does not change the disk label.
|
||||
You should never use this command on a base disk unless you intend to create
|
||||
a ``dangerously-dedicated'' disk, such as
|
||||
You should never use this command on a base disk unless you intend to create a
|
||||
.Dq dangerously-dedicated
|
||||
disk, such as
|
||||
.Ar da0 .
|
||||
This command is typically run on a slice such as
|
||||
.Ar da0s1 .
|
||||
@ -329,10 +332,12 @@ This command is typically run on a slice such as
|
||||
.Ar disk Ar disktype
|
||||
.Oo Ar packid Oc
|
||||
.Pp
|
||||
.if t This form corresponds to the ``write label'' command described above.
|
||||
.if n This form corresponds to the "write label" command described above.
|
||||
This form corresponds to the
|
||||
.Dq write label
|
||||
command described above.
|
||||
In addition to writing a new volume label, it also installs the bootstrap.
|
||||
If run on a base disk this command will create a ``dangerously-dedicated''
|
||||
If run on a base disk this command will create a
|
||||
.Dq dangerously-dedicated
|
||||
label. This command is normally run on a slice rather then a base disk.
|
||||
.Pp
|
||||
.Nm disklabel
|
||||
@ -345,10 +350,12 @@ label. This command is normally run on a slice rather then a base disk.
|
||||
.Ar disk Ar protofile
|
||||
.Oo Ar disktype Oc
|
||||
.Pp
|
||||
.if t This form corresponds to the ``restore label'' command described above.
|
||||
.if n This form corresponds to the "restore label" command described above.
|
||||
This form corresponds to the
|
||||
.Dq restore label
|
||||
command described above.
|
||||
In addition to restoring the volume label, it also installs the bootstrap.
|
||||
If run on a base disk this command will create a ``dangerously-dedicated''
|
||||
If run on a base disk this command will create a
|
||||
.Dq dangerously-dedicated
|
||||
label. This command is normally run on a slice rather then a base disk.
|
||||
.Pp
|
||||
The bootstrap commands always access the disk directly, so it is not necessary
|
||||
@ -378,8 +385,9 @@ and
|
||||
flags are not specified, but
|
||||
.Ar disktype
|
||||
was specified, the names of the programs are taken from the
|
||||
.if t ``b0'' and ``b1''
|
||||
.if n "b0" and "b1"
|
||||
.Dq b0
|
||||
and
|
||||
.Dq b1
|
||||
parameters of the
|
||||
.Xr disktab 5
|
||||
entry for the disk if the disktab entry exists and includes those parameters.
|
||||
@ -412,11 +420,23 @@ Use
|
||||
to edit your newly created label, addiing appropriate partitions.
|
||||
.It
|
||||
Finally newfs the filesystem partitions you created in the label. A typical
|
||||
disklabel partiioning scheme would be to have an ``a'' partition
|
||||
of approximately 128MB to hold the root filesystem, a ``b'' partition for
|
||||
swap, a ``d'' partition for /var (usually 128MB), an ``e'' partition
|
||||
for /var/tmp (usually 128MB), an ``f'' partition for /usr (usually around 2G),
|
||||
and finally a ``g'' partition for /home (usally all remaining space).
|
||||
disklabel partiioning scheme would be to have an
|
||||
.Dq a
|
||||
partition
|
||||
of approximately 128MB to hold the root filesystem, a
|
||||
.Dq b
|
||||
partition for
|
||||
swap, a
|
||||
.Dq d
|
||||
partition for /var (usually 128MB), an
|
||||
.Dq e
|
||||
partition
|
||||
for /var/tmp (usually 128MB), an
|
||||
.Dq f
|
||||
partition for /usr (usually around 2G),
|
||||
and finally a
|
||||
.Dq g
|
||||
partition for /home (usally all remaining space).
|
||||
Your mileage may vary.
|
||||
.El
|
||||
.Pp
|
||||
@ -541,7 +561,8 @@ as obtained via
|
||||
.Pa /dev/da0s1 .
|
||||
When reading a label, FreeBSD will allow you to specify the base disk name
|
||||
even if the label resides on a slice. However, to be proper you should
|
||||
specify the base disk name only if you are using a ``dangerously-dedicated''
|
||||
specify the base disk name only if you are using a
|
||||
.Dq dangerously-dedicated
|
||||
label. Normally you specify the slice.
|
||||
.Pp
|
||||
.Dl disklabel da0s1 > savedlabel
|
||||
@ -559,8 +580,8 @@ flag to restore the label at a later date.
|
||||
Create a label for
|
||||
.Pa da0s1
|
||||
based on information for
|
||||
.if t ``da2212'' found in
|
||||
.if n "da2212" found in
|
||||
.Dq da2212
|
||||
found in
|
||||
.Pa /etc/disktab .
|
||||
Any existing bootstrap code will be clobbered.
|
||||
.Pp
|
||||
@ -599,9 +620,9 @@ On-disk and in-core labels are unchanged.
|
||||
.Dl disklabel -w -B /dev/da0s1 -b newboot1 -s newboot da2212
|
||||
.Pp
|
||||
Install a new label and bootstrap.
|
||||
.if t The label is derived from disktab information for ``da2212'' and
|
||||
.if n The label is derived from disktab information for "da2212" and
|
||||
installed both in-core and on-disk.
|
||||
The label is derived from disktab information for
|
||||
.Dq da2212
|
||||
and installed both in-core and on-disk.
|
||||
The bootstrap code comes from the files
|
||||
.Pa /boot/newboot1
|
||||
and
|
||||
@ -614,7 +635,9 @@ and
|
||||
.Dl disklabel -e da0s1
|
||||
.Pp
|
||||
Completely wipe any prior information on the disk, creating a new bootable
|
||||
disk with a DOS partition table containing one ``whole-disk'' slice. Then
|
||||
disk with a DOS partition table containing one
|
||||
.Dq whole-disk
|
||||
slice. Then
|
||||
initialize the slice, then edit it to your needs. The
|
||||
.Pa dd
|
||||
commands are optional, but may be necessary for some BIOSes to properly
|
||||
@ -629,21 +652,20 @@ The kernel device drivers will not allow the size of a disk partition
|
||||
to be decreased or the offset of a partition to be changed while it is open.
|
||||
Some device drivers create a label containing only a single large partition
|
||||
if a disk is unlabeled; thus, the label must be written to the
|
||||
.if t ``a''
|
||||
.if n "a"
|
||||
.Dq a
|
||||
partition of the disk while it is open. This sometimes requires the desired
|
||||
label to be set in two steps, the first one creating at least one other
|
||||
partition, and the second setting the label on the new partition while shrinking
|
||||
the
|
||||
.if t ``a''
|
||||
.if n "a"
|
||||
.Dq a
|
||||
partition.
|
||||
.Pp
|
||||
On some machines the bootstrap code may not fit entirely in the area
|
||||
allocated for it by some filesystems.
|
||||
As a result, it may not be possible to have filesystems on some partitions
|
||||
.if t of a ``bootable'' disk.
|
||||
.if n of a "bootable" disk.
|
||||
of a
|
||||
.Dq bootable
|
||||
disk.
|
||||
When installing bootstrap code,
|
||||
.Nm
|
||||
checks for these cases.
|
||||
@ -657,8 +679,9 @@ Conversely, if a partition has a type other than FS_UNUSED or FS_BOOT,
|
||||
will not install bootstrap code that overlaps it.
|
||||
.Sh BUGS
|
||||
When a disk name is given without a full pathname,
|
||||
.if t the constructed device name uses the ``c'' partition.
|
||||
.if n the constructed device name uses the "c" partition.
|
||||
the constructed device name uses the
|
||||
.Dq c
|
||||
partition.
|
||||
.Pp
|
||||
For the i386 architecture, the primary bootstrap sector contains
|
||||
an embedded
|
||||
|
@ -187,7 +187,6 @@ If this amount is exceeded,
|
||||
prompts for a new tape.
|
||||
It is recommended to be a bit conservative on this option.
|
||||
The default tape length is 2300 feet.
|
||||
.ne 1i
|
||||
.It Fl T Ar date
|
||||
Use the specified date as the starting time for the dump
|
||||
instead of the time determined from looking in
|
||||
|
@ -316,12 +316,11 @@ This line must occur before any lines that specify partition
|
||||
information.
|
||||
.Pp
|
||||
It is an error if the following is not true:
|
||||
.Pp
|
||||
.nf
|
||||
1 <= number of cylinders
|
||||
1 <= number of heads <= 256
|
||||
1 <= number of sectors/track < 64
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
1 <= number of cylinders
|
||||
1 <= number of heads <= 256
|
||||
1 <= number of sectors/track < 64
|
||||
.Ed
|
||||
.Pp
|
||||
The number of cylinders should be less than or equal to 1024, but this
|
||||
is not enforced, although a warning will be output. Note that bootable
|
||||
@ -332,12 +331,11 @@ Non-bootable partitions do not have this restriction.
|
||||
.Pp
|
||||
Example (all of these are equivalent), for a disk with 1019 cylinders,
|
||||
39 heads, and 63 sectors:
|
||||
.Pp
|
||||
.nf
|
||||
g c1019 h39 s63
|
||||
g h39 c1019 s63
|
||||
g s63 h39 c1019
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
g c1019 h39 s63
|
||||
g h39 c1019 s63
|
||||
g s63 h39 c1019
|
||||
.Ed
|
||||
.It Xo
|
||||
.Ic p
|
||||
.No Ar partition
|
||||
@ -383,10 +381,9 @@ necessary, and the end offset will be rounded downwards to a cylinder
|
||||
boundary if necessary.
|
||||
.Pp
|
||||
Example: to clear partition 4 and mark it as unused:
|
||||
.Pp
|
||||
.nf
|
||||
p 4 0 0 0
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
p 4 0 0 0
|
||||
.Ed
|
||||
.Pp
|
||||
Example: to set partition 1 to a
|
||||
.Bx Free
|
||||
@ -394,9 +391,10 @@ partition, starting at sector 1
|
||||
for 2503871 sectors (note: these numbers will be rounded upwards and
|
||||
downwards to correspond to head and cylinder boundaries):
|
||||
.Pp
|
||||
.nf
|
||||
p 1 165 1 2503871
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
p 1 165 1 2503871
|
||||
.Ed
|
||||
.Pp
|
||||
.It Xo
|
||||
.Ic a
|
||||
.No Ar partition
|
||||
@ -407,13 +405,10 @@ the active partition. Can occur anywhere in the config file, but only
|
||||
one must be present.
|
||||
.Pp
|
||||
Example: to make partition 1 the active partition:
|
||||
.Pp
|
||||
.nf
|
||||
a 1
|
||||
.fi
|
||||
|
||||
.Bd -literal -offset indent
|
||||
a 1
|
||||
.Ed
|
||||
.El
|
||||
.Pp
|
||||
.Sh FILES
|
||||
.Bl -tag -width /boot/mbr -compact
|
||||
.It Pa /boot/mbr
|
||||
|
@ -344,12 +344,11 @@ This line must occur before any lines that specify partition
|
||||
information.
|
||||
.Pp
|
||||
It is an error if the following is not true:
|
||||
.Pp
|
||||
.nf
|
||||
1 <= number of cylinders
|
||||
1 <= number of heads <= 256
|
||||
1 <= number of sectors/track < 64
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
1 <= number of cylinders
|
||||
1 <= number of heads <= 256
|
||||
1 <= number of sectors/track < 64
|
||||
.Ed
|
||||
.Pp
|
||||
The number of cylinders should be less than or equal to 1024, but this
|
||||
is not enforced, although a warning will be output. Note that bootable
|
||||
@ -360,12 +359,11 @@ Non-bootable partitions do not have this restriction.
|
||||
.Pp
|
||||
Example (all of these are equivalent), for a disk with 1019 cylinders,
|
||||
39 heads, and 63 sectors:
|
||||
.Pp
|
||||
.nf
|
||||
g c1019 h39 s63
|
||||
g h39 c1019 s63
|
||||
g s63 h39 c1019
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
g c1019 h39 s63
|
||||
g h39 c1019 s63
|
||||
g s63 h39 c1019
|
||||
.Ed
|
||||
.It Xo
|
||||
.Ic p
|
||||
.No Ar partition
|
||||
@ -411,20 +409,18 @@ necessary, and the end offset will be rounded downwards to a cylinder
|
||||
boundary if necessary.
|
||||
.Pp
|
||||
Example: to clear partition 4 and mark it as unused:
|
||||
.Pp
|
||||
.nf
|
||||
p 4 0 0 0
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
p 4 0 0 0
|
||||
.Ed
|
||||
.Pp
|
||||
Example: to set partition 1 to a
|
||||
.Bx Free
|
||||
partition, starting at sector 1
|
||||
for 2503871 sectors (note: these numbers will be rounded upwards and
|
||||
downwards to correspond to head and cylinder boundaries):
|
||||
.Pp
|
||||
.nf
|
||||
p 1 165 1 2503871
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
p 1 165 1 2503871
|
||||
.Ed
|
||||
.It Xo
|
||||
.Ic a
|
||||
.No Ar partition
|
||||
@ -435,13 +431,10 @@ the active partition. Can occur anywhere in the config file, but only
|
||||
one must be present.
|
||||
.Pp
|
||||
Example: to make partition 1 the active partition:
|
||||
.Pp
|
||||
.nf
|
||||
a 1
|
||||
.fi
|
||||
|
||||
.Bd -literal -offset indent
|
||||
a 1
|
||||
.Ed
|
||||
.El
|
||||
.Pp
|
||||
.Sh FILES
|
||||
.Bl -tag -width /boot/mbr -compact
|
||||
.It Pa /boot/mbr
|
||||
|
@ -103,7 +103,6 @@ may be a multi-component name or may begin with slash to indicate that
|
||||
the root inode should be used to start the lookup. If some component
|
||||
along the pathname is not found, the last valid directory encountered is
|
||||
left as the active inode.
|
||||
.br
|
||||
This command is valid only if the starting inode is a directory.
|
||||
.Pp
|
||||
.It Cm active
|
||||
@ -216,9 +215,9 @@ Exit the program.
|
||||
.Sh BUGS
|
||||
Manipulation of ``short'' symlinks doesn't work (in particular, don't
|
||||
try changing a symlink's type).
|
||||
.br
|
||||
.Pp
|
||||
You must specify modes as numbers rather than symbolic names.
|
||||
.br
|
||||
.Pp
|
||||
There are a bunch of other things that you might want to do which
|
||||
.Nm
|
||||
doesn't implement.
|
||||
@ -232,7 +231,7 @@ first appeared in
|
||||
.Nx ,
|
||||
written by
|
||||
.An John T. Kohl .
|
||||
.br
|
||||
.Pp
|
||||
.An Peter Wemm
|
||||
ported it to
|
||||
.Fx .
|
||||
|
@ -98,11 +98,12 @@ of memory for large disks with few cylinder groups.
|
||||
The
|
||||
.Nm
|
||||
command appeared in SunOS 3.x.
|
||||
.br
|
||||
.Pp
|
||||
This version of
|
||||
.Nm
|
||||
first appeared in
|
||||
.Ox 2.1 .
|
||||
.Pp
|
||||
A
|
||||
.Fx
|
||||
version first appeared in
|
||||
|
@ -316,12 +316,11 @@ This line must occur before any lines that specify partition
|
||||
information.
|
||||
.Pp
|
||||
It is an error if the following is not true:
|
||||
.Pp
|
||||
.nf
|
||||
1 <= number of cylinders
|
||||
1 <= number of heads <= 256
|
||||
1 <= number of sectors/track < 64
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
1 <= number of cylinders
|
||||
1 <= number of heads <= 256
|
||||
1 <= number of sectors/track < 64
|
||||
.Ed
|
||||
.Pp
|
||||
The number of cylinders should be less than or equal to 1024, but this
|
||||
is not enforced, although a warning will be output. Note that bootable
|
||||
@ -332,12 +331,11 @@ Non-bootable partitions do not have this restriction.
|
||||
.Pp
|
||||
Example (all of these are equivalent), for a disk with 1019 cylinders,
|
||||
39 heads, and 63 sectors:
|
||||
.Pp
|
||||
.nf
|
||||
g c1019 h39 s63
|
||||
g h39 c1019 s63
|
||||
g s63 h39 c1019
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
g c1019 h39 s63
|
||||
g h39 c1019 s63
|
||||
g s63 h39 c1019
|
||||
.Ed
|
||||
.It Xo
|
||||
.Ic p
|
||||
.No Ar partition
|
||||
@ -383,10 +381,9 @@ necessary, and the end offset will be rounded downwards to a cylinder
|
||||
boundary if necessary.
|
||||
.Pp
|
||||
Example: to clear partition 4 and mark it as unused:
|
||||
.Pp
|
||||
.nf
|
||||
p 4 0 0 0
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
p 4 0 0 0
|
||||
.Ed
|
||||
.Pp
|
||||
Example: to set partition 1 to a
|
||||
.Bx Free
|
||||
@ -394,9 +391,10 @@ partition, starting at sector 1
|
||||
for 2503871 sectors (note: these numbers will be rounded upwards and
|
||||
downwards to correspond to head and cylinder boundaries):
|
||||
.Pp
|
||||
.nf
|
||||
p 1 165 1 2503871
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
p 1 165 1 2503871
|
||||
.Ed
|
||||
.Pp
|
||||
.It Xo
|
||||
.Ic a
|
||||
.No Ar partition
|
||||
@ -407,13 +405,10 @@ the active partition. Can occur anywhere in the config file, but only
|
||||
one must be present.
|
||||
.Pp
|
||||
Example: to make partition 1 the active partition:
|
||||
.Pp
|
||||
.nf
|
||||
a 1
|
||||
.fi
|
||||
|
||||
.Bd -literal -offset indent
|
||||
a 1
|
||||
.Ed
|
||||
.El
|
||||
.Pp
|
||||
.Sh FILES
|
||||
.Bl -tag -width /boot/mbr -compact
|
||||
.It Pa /boot/mbr
|
||||
|
@ -228,7 +228,7 @@ is that vnode arguments must be manually mapped.
|
||||
.\"
|
||||
.Sh SEE ALSO
|
||||
.Xr mount 8
|
||||
.sp
|
||||
.Pp
|
||||
UCLA Technical Report CSD-910056,
|
||||
.Em "Stackable Layers: an Architecture for File System Development" .
|
||||
.Sh BUGS
|
||||
|
@ -228,7 +228,7 @@ is that vnode arguments must be manually mapped.
|
||||
.\"
|
||||
.Sh SEE ALSO
|
||||
.Xr mount 8
|
||||
.sp
|
||||
.Pp
|
||||
UCLA Technical Report CSD-910056,
|
||||
.Em "Stackable Layers: an Architecture for File System Development" .
|
||||
.Sh BUGS
|
||||
|
@ -179,7 +179,6 @@ with read/write-behind achieve higher performance with this feature disabled, so
|
||||
this value should be left at the default value of 0 milliseconds. See
|
||||
.Xr tunefs 8
|
||||
for more details on how to set this option.
|
||||
.ne 1i
|
||||
.It Fl e Ar maxbpg
|
||||
Indicate the maximum number of blocks any single file can
|
||||
allocate out of a cylinder group before it is forced to begin
|
||||
@ -291,7 +290,6 @@ bad sector allocation.
|
||||
.It Fl r Ar revolutions/minute
|
||||
The speed of the disk in revolutions per minute. This value is no longer of
|
||||
interest, since all the parameters which depend on it are usually disabled.
|
||||
.ne 1i
|
||||
.It Fl t Ar #tracks/cylinder
|
||||
The number of tracks/cylinder available for data allocation by the file
|
||||
system.
|
||||
|
@ -344,12 +344,11 @@ This line must occur before any lines that specify partition
|
||||
information.
|
||||
.Pp
|
||||
It is an error if the following is not true:
|
||||
.Pp
|
||||
.nf
|
||||
1 <= number of cylinders
|
||||
1 <= number of heads <= 256
|
||||
1 <= number of sectors/track < 64
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
1 <= number of cylinders
|
||||
1 <= number of heads <= 256
|
||||
1 <= number of sectors/track < 64
|
||||
.Ed
|
||||
.Pp
|
||||
The number of cylinders should be less than or equal to 1024, but this
|
||||
is not enforced, although a warning will be output. Note that bootable
|
||||
@ -360,12 +359,11 @@ Non-bootable partitions do not have this restriction.
|
||||
.Pp
|
||||
Example (all of these are equivalent), for a disk with 1019 cylinders,
|
||||
39 heads, and 63 sectors:
|
||||
.Pp
|
||||
.nf
|
||||
g c1019 h39 s63
|
||||
g h39 c1019 s63
|
||||
g s63 h39 c1019
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
g c1019 h39 s63
|
||||
g h39 c1019 s63
|
||||
g s63 h39 c1019
|
||||
.Ed
|
||||
.It Xo
|
||||
.Ic p
|
||||
.No Ar partition
|
||||
@ -411,20 +409,18 @@ necessary, and the end offset will be rounded downwards to a cylinder
|
||||
boundary if necessary.
|
||||
.Pp
|
||||
Example: to clear partition 4 and mark it as unused:
|
||||
.Pp
|
||||
.nf
|
||||
p 4 0 0 0
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
p 4 0 0 0
|
||||
.Ed
|
||||
.Pp
|
||||
Example: to set partition 1 to a
|
||||
.Bx Free
|
||||
partition, starting at sector 1
|
||||
for 2503871 sectors (note: these numbers will be rounded upwards and
|
||||
downwards to correspond to head and cylinder boundaries):
|
||||
.Pp
|
||||
.nf
|
||||
p 1 165 1 2503871
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
p 1 165 1 2503871
|
||||
.Ed
|
||||
.It Xo
|
||||
.Ic a
|
||||
.No Ar partition
|
||||
@ -435,13 +431,10 @@ the active partition. Can occur anywhere in the config file, but only
|
||||
one must be present.
|
||||
.Pp
|
||||
Example: to make partition 1 the active partition:
|
||||
.Pp
|
||||
.nf
|
||||
a 1
|
||||
.fi
|
||||
|
||||
.Bd -literal -offset indent
|
||||
a 1
|
||||
.Ed
|
||||
.El
|
||||
.Pp
|
||||
.Sh FILES
|
||||
.Bl -tag -width /boot/mbr -compact
|
||||
.It Pa /boot/mbr
|
||||
|
@ -238,7 +238,6 @@ Note that the
|
||||
flag replaces the function of the old
|
||||
.Xr dumpdir 8
|
||||
program.
|
||||
.ne 1i
|
||||
.It Fl x
|
||||
The named files are read from the given media.
|
||||
If a named file matches a directory whose contents
|
||||
|
@ -8,14 +8,13 @@
|
||||
.Nm rtquery
|
||||
.Nd query routing daemons for their routing tables
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Nm rtquery
|
||||
.Op Fl np1
|
||||
.Op Fl w Ar timeout
|
||||
.Op Fl r Ar addr
|
||||
.Op Fl a Ar secret
|
||||
.Ar host ...
|
||||
.br
|
||||
.Nm
|
||||
.Nm rtquery
|
||||
.Op Fl t Ar op
|
||||
.Ar host ...
|
||||
.Sh DESCRIPTION
|
||||
|
@ -224,6 +224,5 @@ utility appeared in
|
||||
.Fx 3.0 .
|
||||
.Sh AUTHORS
|
||||
The program was written by
|
||||
.ie t J\(:org Wunsch,
|
||||
.el Joerg Wunsch,
|
||||
.An J\(:org Wunsch ,
|
||||
Dresden.
|
||||
|
@ -125,8 +125,7 @@ file appeared somewhere after
|
||||
.Bx 4.3 .
|
||||
.Sh AUTHORS
|
||||
This man page has been written by
|
||||
.ie t J\(:org Wunsch
|
||||
.el Joerg Wunsch
|
||||
.An J\(:org Wunsch
|
||||
after the comments in
|
||||
.Pa <sysexits.h> .
|
||||
.Sh BUGS
|
||||
|
@ -166,8 +166,7 @@ architecture
|
||||
.Xr MAKEDEV 8
|
||||
.Sh AUTHORS
|
||||
This man page has been written by
|
||||
.if t J\(:org Wunsch
|
||||
.if n Joerg Wunsch
|
||||
.An J\(:org Wunsch
|
||||
with initial input by
|
||||
.An David E. O'Brien .
|
||||
.Sh HISTORY
|
||||
|
@ -110,9 +110,9 @@ Antares Microsystems ISP2100 variants.
|
||||
.Pp
|
||||
.Pp
|
||||
Target mode support may be enabled with the
|
||||
.sp
|
||||
.Pp
|
||||
.Cd options ISP_TARGET_MODE
|
||||
.sp
|
||||
.Pp
|
||||
option.
|
||||
.Sh BOOT OPTIONS
|
||||
.Pp
|
||||
@ -120,7 +120,7 @@ The following options are switchable by setting values in the loader
|
||||
configuration file (see the
|
||||
.Xr loader 8
|
||||
manual page). They are:
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -tag -width "isp_no_fwload" -compact
|
||||
.It isp_disable
|
||||
A bit mask of units to skip configuration for.
|
||||
|
@ -35,9 +35,10 @@ The structure is defined in the header file as follows:
|
||||
.Pp
|
||||
Positions are typically in the range 0-2000.
|
||||
.Ss One line perl example:
|
||||
.Bd -literal -compact
|
||||
perl -e 'open(JOY,"/dev/joy0")||die;while(1)
|
||||
.br
|
||||
{sysread(JOY,$x,16);@j=unpack("iiii",$x);print "@j\\n";sleep(1);}'
|
||||
.Ed
|
||||
.Ss ioctl calls
|
||||
Several ioctl() calls are also available.
|
||||
They take an argument of
|
||||
|
@ -126,8 +126,7 @@ hardware is likely to be wedged, and is being reset.
|
||||
.Xr ifconfig 8
|
||||
.Sh AUTHORS
|
||||
This driver was written by
|
||||
.ie t J\(:org Wunsch,
|
||||
.el Joerg Wunsch,
|
||||
.An J\(:org Wunsch ,
|
||||
based on RealTek's packet driver for the RTL 8002, as well as on some
|
||||
description of the successor chip, RTL 8012, gracefully provided by
|
||||
RealTek.
|
||||
|
@ -51,9 +51,8 @@ The
|
||||
.Nm pcvt
|
||||
driver provides a virtual screen handling system.
|
||||
Probably most important is an emulation of a wide range
|
||||
of DEC VT-220
|
||||
.if t \(tm
|
||||
.if n (TM)
|
||||
of DEC
|
||||
.Tn VT-220
|
||||
functionality.
|
||||
See
|
||||
.Sx Features
|
||||
@ -65,16 +64,14 @@ driver requires the keyboard driver
|
||||
.Nm atkbd
|
||||
to be also configured in the kernel.
|
||||
.Ss Features
|
||||
.Bl -bullet
|
||||
.Bl -bullet -compact
|
||||
.It
|
||||
Almost full DEC VT220
|
||||
.if t \(tm
|
||||
.if n (TM)
|
||||
Almost full DEC
|
||||
.Tn VT220
|
||||
functionality
|
||||
.Po
|
||||
moving towards VT320
|
||||
.if t \(tm
|
||||
.if n (TM)
|
||||
moving towards
|
||||
.Tn VT320
|
||||
.Pc
|
||||
.It
|
||||
Completely independent virtual terminals for MDA/HGC/CGA/EGA and VGA
|
||||
@ -90,9 +87,7 @@ VT220 downloadable character set supported when run on EGA/VGA
|
||||
VT220 user defined keys for each virtual terminal
|
||||
.It
|
||||
Optional function key label support
|
||||
.if t \('a
|
||||
.if n 'a
|
||||
la Hewlett-Packard terminals
|
||||
\('a la Hewlett-Packard terminals
|
||||
.It
|
||||
Display function codes functionality
|
||||
.It
|
||||
@ -107,9 +102,10 @@ requires
|
||||
to be defined
|
||||
.Pc
|
||||
.El
|
||||
|
||||
.Pp
|
||||
What it cannot:
|
||||
.Bl -bullet
|
||||
.Pp
|
||||
.Bl -bullet -compact
|
||||
.It
|
||||
No double wide/high characters
|
||||
.It
|
||||
@ -149,13 +145,13 @@ provide appropriate
|
||||
.Em options
|
||||
lines within the config file, possibly overriding the built-in default
|
||||
values.
|
||||
|
||||
.Pp
|
||||
The following list gives a short overview of the available configuration
|
||||
options.
|
||||
Refer to the file
|
||||
.Pa i386/isa/pcvt/pcvt_conf.h
|
||||
in the kernel source tree for detailed documentation.
|
||||
|
||||
.Pp
|
||||
Note: the following conventions apply to all the Boolean options.
|
||||
If an option is given with no value, a value of 1
|
||||
.Pq activated
|
||||
@ -165,14 +161,13 @@ deactivated.
|
||||
Any other value is substituted by 1, too.
|
||||
If an option
|
||||
is omitted, a built-in default is assumed.
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width indent -compact
|
||||
|
||||
.It Em PCVT_NSCREENS
|
||||
Defines the number of virtual screens.
|
||||
.br
|
||||
.It No
|
||||
Default: 8
|
||||
|
||||
.Pp
|
||||
.It Em PCVT_VT220KEYB
|
||||
If activated, a keyboard layout resembling a DEC VT200 (TM) is generated.
|
||||
If deactivated, a mixture between VT220 and HP is used.
|
||||
@ -183,36 +178,36 @@ and
|
||||
in the
|
||||
.Nm pcvt
|
||||
documentation directory for a full description.
|
||||
.br
|
||||
.It No
|
||||
Default: off
|
||||
|
||||
.Pp
|
||||
.It Em PCVT_SCREENSAVER
|
||||
Enables the builtin screensaver feature.
|
||||
.br
|
||||
.It No
|
||||
Default: on
|
||||
|
||||
.Pp
|
||||
.It Em PCVT_PRETTYSCRNS
|
||||
If enabled, a blinking-star screensaver is used.
|
||||
If disabled, the screen
|
||||
is simply blanked
|
||||
.Pq which might be useful for energy-saving monitors .
|
||||
.br
|
||||
.It No
|
||||
Default: on
|
||||
|
||||
.Pp
|
||||
.It Em PCVT_CTRL_ALT_DEL
|
||||
If enabled, the key combination
|
||||
.Aq Em Ctrl
|
||||
.Aq Em Alt
|
||||
.Aq Em Del
|
||||
invokes a CPU reset.
|
||||
.br
|
||||
.It No
|
||||
Default: off
|
||||
|
||||
.Pp
|
||||
.It Em PCVT_USEKBDSEC
|
||||
Do NOT override a security lock for the keyboard.
|
||||
.br
|
||||
.It No
|
||||
Default: on
|
||||
|
||||
.Pp
|
||||
.It Em PCVT_24LINESDEF
|
||||
If enabled, the 25-line modi
|
||||
.Po
|
||||
@ -225,9 +220,9 @@ Note that this is a startup option; it is possible to toggle between
|
||||
the 24- and 25-lines' display by the
|
||||
.Xr scon 1
|
||||
utility.
|
||||
.br
|
||||
.It No
|
||||
Default: off
|
||||
|
||||
.Pp
|
||||
.It Em PCVT_META_ESC
|
||||
If enabled, a sequence composed of
|
||||
.Aq Em esc ,
|
||||
@ -237,10 +232,10 @@ key modifier.
|
||||
If disabled, then normal key code with the value
|
||||
.Em 0x80
|
||||
added is sent.
|
||||
.br
|
||||
.It No
|
||||
Default: off
|
||||
.El
|
||||
|
||||
.Pp
|
||||
Note that there are further options available which are mainly used for
|
||||
debugging purposes or as a workaround for hardware problems.
|
||||
They are found in
|
||||
@ -254,15 +249,15 @@ related to the
|
||||
.Nm pcvt
|
||||
driver.
|
||||
To make use of them, a program should contain the following line:
|
||||
|
||||
.Pp
|
||||
.Dl #include <machine/pcvt_ioctl.h>
|
||||
|
||||
.Pp
|
||||
Any parameter definitions cited below can be found in that file.
|
||||
|
||||
.Pp
|
||||
.Em Keyboard related functions
|
||||
|
||||
.Pp
|
||||
Three functions are related to basic keyboard hardware:
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It KBDRESET
|
||||
reset keyboard, set defaults;
|
||||
@ -272,7 +267,7 @@ the values is stored to;
|
||||
.It KBDSTPMAT
|
||||
set current typematic value, similar to above command.
|
||||
.El
|
||||
|
||||
.Pp
|
||||
Symbolic values are available for the appropriate constants.
|
||||
To specify the initial typematic delay time, they are
|
||||
KBD_TPD250 for 250 ms through
|
||||
@ -285,21 +280,19 @@ The intermediate values
|
||||
are: 30.0, 26.7, 24.0, 21.8, 20.0, 18.5, 17.1, 16.0, 15.0, 13.3,
|
||||
12.0, 10.9, 10.0, 9.2, 8.6, 8.0, 7.5, 6.7, 6.0, 5.5, 5.0, 4.6, 4.3,
|
||||
4.0, 3.7, 3.3, 3.0, 2.7, 2.5, 2.3, 2.1, 2.0 characters per second.
|
||||
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It KBDGREPSW
|
||||
get key repetition switch, and
|
||||
.It KBDSREPSW
|
||||
set key repetition switch
|
||||
.El
|
||||
|
||||
.Pp
|
||||
again take a pointer to int as argument.
|
||||
They manipulate the
|
||||
drivers internal keyboard repetition flag, possible values are:
|
||||
KBD_REPEATOFF or KBD_REPEATON.
|
||||
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It KBDGLEDS
|
||||
get LED state, and
|
||||
@ -307,29 +300,28 @@ get LED state, and
|
||||
set LED state manipulate the keyboard indicators, but do not influence
|
||||
the drivers idea of lock key state.
|
||||
.El
|
||||
|
||||
.Pp
|
||||
The int where the argument points to
|
||||
may have the values
|
||||
KBD_SCROLLLOCK, KBD_NUMLOCK, KBD_CAPSLOCK, which may be used in any
|
||||
conjunction.
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It KBDGLOCK
|
||||
gets state of SCROLL,NUM,CAPS, and
|
||||
.It KBDSLOCK
|
||||
sets state of SCROLL,NUM,CAPS + LEDs
|
||||
.El
|
||||
|
||||
.Pp
|
||||
should be used in a same manner to get/set the drivers internal
|
||||
LED flags.
|
||||
|
||||
|
||||
.Pp
|
||||
.Em Keyboard remapping
|
||||
|
||||
.Pp
|
||||
One important feature of the
|
||||
.Nm pcvt
|
||||
driver is its ability to overload the built in key definition.
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It KBDGCKEY
|
||||
get current key values,
|
||||
@ -338,13 +330,13 @@ set new key assignment values, and
|
||||
.It KBDGOKEY
|
||||
get original key assignment values
|
||||
.El
|
||||
|
||||
.Pp
|
||||
arrange those functions.
|
||||
The take a pointer to a
|
||||
.Em struct kbd_ovlkey
|
||||
as argument as described below.
|
||||
In addition,
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It KBDRMKEY
|
||||
removes a key assignment, taking a pointer to an int as argument which
|
||||
@ -367,11 +359,11 @@ struct kbd_ovlkey /* complete definition of a key */
|
||||
char altgr[KBDMAXOVLKEYSIZE+1]; /* emitted string, altgr */
|
||||
};
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
The appropriate values for the
|
||||
.Em type
|
||||
field are:
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It KBD_NONE
|
||||
no function, key is disabled,
|
||||
@ -407,20 +399,20 @@ or
|
||||
.Dq Enter
|
||||
keys.
|
||||
.El
|
||||
|
||||
.Pp
|
||||
The
|
||||
.Em subtype
|
||||
field contains one of the values
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It KBD_SUBT_STR
|
||||
key is bound to a string, or
|
||||
.It KBD_SUBT_FNC
|
||||
key is bound to a function.
|
||||
.El
|
||||
|
||||
.Pp
|
||||
.Em Downloadable character set interface
|
||||
|
||||
.Pp
|
||||
EGA and VGA video adaptors provide the capability of downloadable
|
||||
software fonts.
|
||||
Since the
|
||||
@ -429,14 +421,14 @@ of any IBM-compatible PC video board does not allow the full interpretation
|
||||
of DEC multinational character set or ISO Latin-1
|
||||
.Pq ISO 8859-1 ,
|
||||
this might be very useful for a U**X environment.
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGASETFONTATTR
|
||||
set font attr, and
|
||||
.It VGAGETFONTATTR
|
||||
get font attr
|
||||
.El
|
||||
|
||||
.Pp
|
||||
are used to manipulate the drivers information about a downloaded
|
||||
font.
|
||||
The take a pointer to a
|
||||
@ -451,14 +443,14 @@ struct vgafontattr {
|
||||
int screen_scanlines; /* Scanlines per screen - 1 byte */
|
||||
};
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
Each character of each font is to be downloaded with
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGALOADCHAR
|
||||
load vga char,
|
||||
.El
|
||||
|
||||
.Pp
|
||||
taking a pointer to
|
||||
.Em struct vgaloadchar
|
||||
as its argument:
|
||||
@ -470,14 +462,14 @@ struct vgaloadchar {
|
||||
u_char char_table[32]; /* VGA character shape table */
|
||||
};
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
The field
|
||||
.Em character_set
|
||||
takes the values
|
||||
CH_SET0, CH_SET1, CH_SET2, CH_SET3 on EGA's or VGA's. Since VGA's
|
||||
might have up to eight simultaneously loaded fonts, they can take
|
||||
CH_SET4, CH_SET5, CH_SET6, or CH_SET7, too.
|
||||
|
||||
.Pp
|
||||
Note that there's a dependence between the font size
|
||||
and a possible screen height
|
||||
.Pq in character rows ,
|
||||
@ -492,15 +484,14 @@ Font size
|
||||
8 x 16 not 25
|
||||
applicable
|
||||
.Ed
|
||||
|
||||
|
||||
.Pp
|
||||
.Em General screen manipulation commands
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGACURSOR
|
||||
sets cursor shape,
|
||||
.El
|
||||
|
||||
.Pp
|
||||
taking a pointer to the following structure as argument:
|
||||
.Bd -literal
|
||||
struct cursorshape {
|
||||
@ -510,14 +501,14 @@ struct cursorshape {
|
||||
int end; /* end scanline, range 0... Character Height - 1 */
|
||||
};
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGASETSCREEN
|
||||
set screen info, and
|
||||
.It VGAGETSCREEN
|
||||
get screen info,
|
||||
.El
|
||||
|
||||
.Pp
|
||||
provide an interface to some general driver internal variables
|
||||
which might modify the behaviour of the screens,
|
||||
or which might simply be used to force the driver to switch
|
||||
@ -558,18 +549,18 @@ struct screeninfo {
|
||||
/* currently ignored on write */
|
||||
};
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
Its field
|
||||
.Em pure_vt_mode
|
||||
may take the values M_HPVT for a mixed VTxxx and HP Mode, with function
|
||||
key labels and a status line, or M_PUREVT for only VTxxx sequences
|
||||
recognized, with no labels.
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGASETCOLMS
|
||||
sets the number of columns for the current screen,
|
||||
.El
|
||||
|
||||
.Pp
|
||||
its parameter is a pointer to an integer containing either a value of 80,
|
||||
or a value of 132.
|
||||
Note that setting the number of columns to 132 is only supported on
|
||||
@ -579,9 +570,9 @@ Any unsupported numbers cause the ioctl to fail with
|
||||
.Pq see Xr intro 2
|
||||
being set to
|
||||
.Em EINVAL .
|
||||
|
||||
.Pp
|
||||
.Em VGA color palette interface
|
||||
|
||||
.Pp
|
||||
Only on VGA adaptors, there's a color palette register at the output.
|
||||
It is responsible for the red, green and blue output voltage provided
|
||||
for each of the 256 internal color codes, each lying in the range of
|
||||
@ -590,14 +581,14 @@ Thus, these adaptors map each color code to a color of a
|
||||
.Dq palette
|
||||
out of 262144 colors.
|
||||
The commands
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGAREADPEL
|
||||
read VGA palette entry, and
|
||||
.It VGAWRITEPEL
|
||||
write VGA palette entry
|
||||
.El
|
||||
|
||||
.Pp
|
||||
establish an interface to these palette registers.
|
||||
Their argument is
|
||||
a pointer to:
|
||||
@ -607,17 +598,15 @@ struct vgapel {
|
||||
unsigned r, g, b; /* RGB values, masked by VGA_PMASK (63) */
|
||||
};
|
||||
.Ed
|
||||
|
||||
|
||||
.Pp
|
||||
.Em Driver identification
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGAPCVTID
|
||||
returns information if the current compiled in driver is pcvt and it's
|
||||
major and minor revision numbers. the call is taking a pointer to the
|
||||
following structure as argument:
|
||||
.El
|
||||
|
||||
.Bd -literal
|
||||
struct pcvtid {
|
||||
#define PCVTIDNAMELN 16 /* driver id - string length */
|
||||
@ -629,15 +618,13 @@ struct pcvtid {
|
||||
#define PCVTIDMINOR 00
|
||||
};
|
||||
.Ed
|
||||
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGAPCVTINFO
|
||||
returns information if the current compiled in driver is pcvt and it's
|
||||
compile time options. the call is taking a pointer to the following
|
||||
structure as argument:
|
||||
.El
|
||||
|
||||
.Bd -literal
|
||||
struct pcvtinfo {
|
||||
u_int opsys; /* PCVT_xxx(x)BSD */
|
||||
@ -659,21 +646,20 @@ struct pcvtinfo {
|
||||
u_long compile_opts; /* PCVT_xxxxxxxxxxxxxxx */
|
||||
};
|
||||
.Ed
|
||||
|
||||
|
||||
.Pp
|
||||
.Em Screen saver
|
||||
|
||||
.Pp
|
||||
Depending on the configuration of a
|
||||
.Nm pcvt
|
||||
driver, their might be a simple screen saver available.
|
||||
It is controlled
|
||||
by the command
|
||||
|
||||
.Pp
|
||||
.Bl -tag -width 20n -offset indent -compact
|
||||
.It VGASCREENSAVER
|
||||
set timeout for screen saver in seconds; 0 turns it off,
|
||||
.El
|
||||
|
||||
.Pp
|
||||
taking a pointer to an integer as argument.
|
||||
Despite of its command name,
|
||||
this is available on
|
||||
@ -682,9 +668,9 @@ kind of adaptor if configured in by the
|
||||
.Xr config 8
|
||||
option
|
||||
.Dq PCVT_SCREENSAVER
|
||||
|
||||
.Pp
|
||||
.Em Compatibility commands for USL-style VT's
|
||||
|
||||
.Pp
|
||||
.Nm pcvt
|
||||
supports a subset of the USL-style commands used to control
|
||||
the virtual terminal interface.
|
||||
@ -697,7 +683,6 @@ They are ugly with respect to the implied semantics
|
||||
See the file
|
||||
.Pa i386/include/pcvt_ioctl.h
|
||||
for their documentation.
|
||||
|
||||
.Sh FILES
|
||||
.Bl -tag -width /usr/include/machine/pcvt_ioctl.h
|
||||
.It Pa /usr/include/machine/pcvt_ioctl.h
|
||||
@ -730,14 +715,15 @@ Written by
|
||||
with much help from
|
||||
.An Brian Dunford-Shore Aq brian@morpheus.wustl.edu
|
||||
and
|
||||
.An Joerg Wunsch Aq joerg@FreeBSD.org
|
||||
.An J\(:org Wunsch Aq joerg@FreeBSD.org
|
||||
.Pp
|
||||
This driver is based on several people's previous work, notably
|
||||
the historic
|
||||
.Xr pccons 4
|
||||
implementation by
|
||||
.An William Jolitz and Don Ahn Aq ljolitz@cardio.ucsf.edu
|
||||
.br
|
||||
.An William Jolitz Aq ljolitz@cardio.ucsf.edu
|
||||
and
|
||||
.An Don Ahn ,
|
||||
and the keyboard mapping code from
|
||||
.An Holger Veit Aq veit@first.gmd.de.
|
||||
.Sh SEE ALSO
|
||||
|
@ -34,7 +34,7 @@
|
||||
user-space interface to ppbus parallel 'geek' port
|
||||
.Sh SYNOPSIS
|
||||
.Cd "device ppi"
|
||||
.sp
|
||||
.Pp
|
||||
Minor numbering: Unit numbers correspond directly to ppbus numbers.
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
@ -218,6 +218,6 @@ device driver written and ported from
|
||||
.Tn Mach
|
||||
2.5
|
||||
by Julian Elischer.
|
||||
.sp
|
||||
.Pp
|
||||
The current owner of record is Matthew Jacob who has suffered too many
|
||||
years of breaking tape drivers.
|
||||
|
@ -96,16 +96,13 @@ device is assumed to use a 16650A-type (extended FIFO) chip
|
||||
.El
|
||||
.Pp
|
||||
Minor numbering:
|
||||
.br
|
||||
.Bd -literal
|
||||
0b\fIOLIMMMMM\fR
|
||||
.br
|
||||
call\fBO\fRut
|
||||
.br
|
||||
\fBL\fRock
|
||||
.br
|
||||
\fBI\fRnitial
|
||||
.br
|
||||
\fBMMMMMM\fRinor
|
||||
\fBMMMMM\fRinor
|
||||
.Ed
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm sio
|
||||
|
@ -181,16 +181,14 @@ The original implementation of
|
||||
.Nm
|
||||
was written in 1994 at Cronyx Ltd., Moscow by
|
||||
.An Serge Vakulenko Aq vak@cronyx.ru .
|
||||
.ie t J\(:org Wunsch
|
||||
.el Joerg Wunsch
|
||||
.An J\(:org Wunsch
|
||||
.Aq joerg_wunsch@uriah.heep.sax.de
|
||||
rewrote a large part in 1997 in order
|
||||
to fully implement the state machine as described in RFC 1661, so it
|
||||
could also be used for dialup lines. He also wrote this man page.
|
||||
Serge later on wrote a basic implementation for PAP and CHAP, which
|
||||
served as the base for the current implementation, done again by
|
||||
.ie t J\(:org Wunsch.
|
||||
.el Joerg Wunsch.
|
||||
.An J\(:org Wunsch .
|
||||
.Sh BUGS
|
||||
Many.
|
||||
.Pp
|
||||
|
@ -33,17 +33,15 @@
|
||||
.Sh NAME
|
||||
.Nm ttcp
|
||||
.Nd Transmission Control Protocol Extensions for Transactions
|
||||
.Sh
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/socket.h>
|
||||
.Fd #include <netinet/in.h>
|
||||
.Fd #include <netinet/tcp.h>
|
||||
.Ft int
|
||||
.Fn setsockopt sock IPPROTO_TCP TCP_NOPUSH &One "sizeof One"
|
||||
.br
|
||||
.Ft ssize_t
|
||||
.Fn sendto sock msg len MSG_EOF &sin "sizeof sin"
|
||||
.br
|
||||
.Ft ssize_t
|
||||
.Fn sendto sock msg len MSG_EOF 0 0
|
||||
.Sh DESCRIPTION
|
||||
|
@ -89,8 +89,7 @@ driver has been written by
|
||||
.An Peter Dufault
|
||||
in May, 1995. The driver has
|
||||
then been improved and made actually usable at all by
|
||||
.ie t J\(:org Wunsch
|
||||
.el Joerg Wunsch
|
||||
.An J\(:org Wunsch
|
||||
in January, 1996.
|
||||
.Sh HISTORY
|
||||
The
|
||||
|
@ -143,7 +143,6 @@ isn't 1000000 then the application is probably using the wrong clock.
|
||||
.Xr times 3
|
||||
.Sh AUTHORS
|
||||
This man page has been written by
|
||||
.ie t J\(:org Wunsch
|
||||
.el Joerg Wunsch
|
||||
.An J\(:org Wunsch
|
||||
after a description posted by
|
||||
.An Bruce Evans .
|
||||
|
@ -334,7 +334,6 @@ see
|
||||
.Pp
|
||||
.It Li local/
|
||||
local executables, libraries, etc.
|
||||
.br
|
||||
Also used as the default destination for the
|
||||
.Tn FreeBSD
|
||||
ports framework.
|
||||
|
@ -289,7 +289,6 @@ For example the following string,
|
||||
Produces
|
||||
.Ar file1 , file2 , file3 ) .
|
||||
.El
|
||||
.ne 1i
|
||||
.Ss Manual Domain Macros
|
||||
.Bl -column "Name" "Parsed" Callable" -compact
|
||||
.It Em Name Parsed Callable Description
|
||||
|
@ -196,7 +196,6 @@ outlined as follows:
|
||||
.It
|
||||
.Tn "BUGS"
|
||||
.El
|
||||
.ne 7
|
||||
.Sh TROFF IDIOSYNCRASIES
|
||||
The
|
||||
.Nm \-mdoc
|
||||
@ -614,7 +613,6 @@ will be ugly.
|
||||
.It Li \&.Dd month day, year
|
||||
The date should be written formally:
|
||||
.Pp
|
||||
.ne 5
|
||||
.Dl January 25, 1989
|
||||
.El
|
||||
.Sh INTRODUCTION OF MANUAL AND GENERAL TEXT DOMAINS
|
||||
@ -1603,7 +1601,6 @@ and while they have nesting limitations, the one line quote macros
|
||||
can be used inside
|
||||
of them.
|
||||
.Pp
|
||||
.ne 5
|
||||
.Bd -filled -offset indent
|
||||
.Bl -column "quote " "close " "open " "Enclose Stringx(in XX) " XXstringXX
|
||||
.Em " Quote Close Open Function Result"
|
||||
@ -1655,7 +1652,6 @@ The
|
||||
(no space) macro performs the analogous suffix function.
|
||||
.El
|
||||
.Pp
|
||||
.ne 4
|
||||
Examples of quoting:
|
||||
.Bl -tag -width ".Aq Pa ctype.h ) ,xxxxxxxx" -compact -offset indent
|
||||
.It Li \&.Aq
|
||||
|
@ -75,7 +75,6 @@ appeared in
|
||||
.Fx 2.2 .
|
||||
.Sh AUTHORS
|
||||
This man page was written by
|
||||
.if t J\(:org Wunsch
|
||||
.if n Joerg Wunsch
|
||||
.An J\(:org Wunsch
|
||||
after a description from
|
||||
.An Julian Elischer .
|
||||
|
@ -60,5 +60,4 @@ appeared in
|
||||
.Fx 2.2 .
|
||||
.Sh AUTHORS
|
||||
This man page was written by
|
||||
.if t J\(:org Wunsch.
|
||||
.if n Joerg Wunsch.
|
||||
.An J\(:org Wunsch .
|
||||
|
@ -248,8 +248,7 @@ used to be the traditional form. It doesn't let you specify a timeout or a
|
||||
hence it has been discontinued.
|
||||
.Sh AUTHORS
|
||||
This man page was written by
|
||||
.ie t J\(:org Wunsch.
|
||||
.el Joerg Wunsch.
|
||||
.An J\(:org Wunsch .
|
||||
.Nm Asleep
|
||||
and
|
||||
.Nm await
|
||||
|
@ -203,5 +203,4 @@ the system. The historical number scheme can be considered as a
|
||||
simple linearly ordered set of interrupt priority groups.
|
||||
.Sh AUTHORS
|
||||
This man page was written by
|
||||
.ie t J\(:org Wunsch.
|
||||
.el Joerg Wunsch.
|
||||
.An J\(:org Wunsch .
|
||||
|
@ -41,13 +41,16 @@
|
||||
.Nm time
|
||||
.Nd system time variables
|
||||
.Sh SYNOPSIS
|
||||
.Va extern struct timeval boottime;
|
||||
.br
|
||||
.Va extern volatile struct timeval mono_time;
|
||||
.br
|
||||
.Va extern struct timeval runtime;
|
||||
.br
|
||||
.Va extern struct timeval time;
|
||||
.Bl -item -compact
|
||||
.It
|
||||
.Va extern struct timeval boottime ;
|
||||
.It
|
||||
.Va extern volatile struct timeval mono_time ;
|
||||
.It
|
||||
.Va extern struct timeval runtime ;
|
||||
.It
|
||||
.Va extern struct timeval time ;
|
||||
.El
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Va time
|
||||
|
@ -170,5 +170,4 @@ The uio mechanism appeared in some early version of
|
||||
.Ux .
|
||||
.Sh AUTHORS
|
||||
This man page was written by
|
||||
.ie t J\(:org Wunsch.
|
||||
.el Joerg Wunsch.
|
||||
.An J\(:org Wunsch .
|
||||
|
@ -123,12 +123,11 @@ names are separated from their values by TAB or
|
||||
SPACE characters. symbol-value can be specified in
|
||||
a hexadecimal (\ex\fI??\fR) or octal (\e\fI???\fR)
|
||||
representation, and can be only one character in length.
|
||||
.Pp
|
||||
.Bd -literal
|
||||
.Ar symbol-name1 symbol-value1
|
||||
.br
|
||||
.Ar symbol-name2 symbol-value2
|
||||
.br
|
||||
.Ar ...
|
||||
.Ed
|
||||
.Pp
|
||||
The
|
||||
.Ar charmap
|
||||
|
@ -143,7 +143,6 @@ is encoded within the output, along with
|
||||
a magic number to ensure that neither decompression of random data nor
|
||||
recompression of compressed data is attempted.
|
||||
.Pp
|
||||
.ne 8
|
||||
The amount of compression obtained depends on the size of the
|
||||
input, the number of
|
||||
.Ar bits
|
||||
|
@ -373,7 +373,7 @@ is specified the floppy will be read only.
|
||||
The
|
||||
.Ar density
|
||||
may be one of:
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -tag -compact -width 1440x
|
||||
.It 180
|
||||
9 head 40 track single sided floppy
|
||||
@ -478,21 +478,20 @@ for
|
||||
.Cm C:
|
||||
will be set to the actual current directory.
|
||||
Note that this means that invocations such as:
|
||||
.sp
|
||||
doscmd ../foo
|
||||
.sp
|
||||
.Pp
|
||||
.Dl "doscmd ../foo
|
||||
.Pp
|
||||
will not work as the
|
||||
.Cm C:
|
||||
directory will start with the current path.
|
||||
Also, the following environment variables will be defined if not
|
||||
already defined:
|
||||
|
||||
.nf
|
||||
.Bd -literal
|
||||
.Cm "COMSPEC=C:\eCOMMAND.COM
|
||||
.Cm "PATH=C:\e
|
||||
.Cm "PROMPT=DOS>
|
||||
.fi
|
||||
|
||||
.Ed
|
||||
.Pp
|
||||
The
|
||||
.Cm PATH
|
||||
variable is also used to find
|
||||
@ -731,9 +730,9 @@ If
|
||||
.Nm doscmd
|
||||
encounters an interrupt which is unimplemented, it will print a message
|
||||
such as:
|
||||
.sp
|
||||
Unknown interrupt 21 function 99
|
||||
.sp
|
||||
.Pp
|
||||
.Dl Unknown interrupt 21 function 99
|
||||
.Pp
|
||||
and exit.
|
||||
.Pp
|
||||
If
|
||||
|
@ -163,22 +163,23 @@ 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.
|
||||
For example,
|
||||
.br
|
||||
>10 string language impress\ (imPRESS data)
|
||||
.br
|
||||
.Bd -literal -compact
|
||||
>10 string language impress (imPRESS data)
|
||||
.Ed
|
||||
in an existing magic file would have to be changed to
|
||||
.br
|
||||
.Bd -literal -compact
|
||||
>10 string language\e impress (imPRESS data)
|
||||
.br
|
||||
.Ed
|
||||
.Pp
|
||||
In addition, in this version, if a pattern string contains a backslash,
|
||||
it must be escaped. For example
|
||||
.br
|
||||
.Bd -literal -compact
|
||||
0 string \ebegindata Andrew Toolkit document
|
||||
.br
|
||||
.Ed
|
||||
in an existing magic file would have to be changed to
|
||||
.br
|
||||
.Bd -literal -compact
|
||||
0 string \e\ebegindata Andrew Toolkit document
|
||||
.br
|
||||
.Ed
|
||||
.Pp
|
||||
SunOS releases 3.2 and later from Sun Microsystems include a
|
||||
.Xr file 1
|
||||
@ -186,8 +187,9 @@ command derived from the System V one, but with some extensions.
|
||||
My version differs from Sun's only in minor ways.
|
||||
It includes the extension of the `&' operator, used as,
|
||||
for example,
|
||||
.br
|
||||
.Bd -literal -compact
|
||||
>16 long&0x7fffffff >0 not stripped
|
||||
.Ed
|
||||
.Sh MAGIC DIRECTORY
|
||||
The magic file entries have been collected from various sources,
|
||||
mainly USENET, and contributed by various authors.
|
||||
|
@ -143,7 +143,6 @@ turns off this option. Default:
|
||||
Specifying
|
||||
.Fl \&bl
|
||||
lines-up compound statements like this:
|
||||
.ne 4
|
||||
.Bd -literal -offset indent
|
||||
if (...)
|
||||
{
|
||||
@ -154,7 +153,6 @@ if (...)
|
||||
Specifying
|
||||
.Fl \&br
|
||||
(the default) makes them look like this:
|
||||
.ne 3
|
||||
.Bd -literal -offset indent
|
||||
if (...) {
|
||||
code
|
||||
@ -170,7 +168,6 @@ is for these comments to start in the same column as those on code.
|
||||
Enables (disables) the placement of comment delimiters on blank lines. With
|
||||
this option enabled, comments look like this:
|
||||
.Bd -literal -offset indent
|
||||
.ne 3
|
||||
/*
|
||||
* this is a comment
|
||||
*/
|
||||
@ -263,13 +260,11 @@ will be lined up to start at the character position just after the left
|
||||
paren. For example, here is how a piece of continued code looks with
|
||||
.Fl nlp
|
||||
in effect:
|
||||
.ne 2
|
||||
.Bd -literal -offset indent
|
||||
p1 = first_procedure(second_procedure(p2, p3),
|
||||
\ \ third_procedure(p4, p5));
|
||||
.Ed
|
||||
.Pp
|
||||
.ne 5
|
||||
With
|
||||
.Fl lp
|
||||
in effect (the default) the code looks somewhat clearer:
|
||||
@ -278,7 +273,6 @@ p1\ =\ first_procedure(second_procedure(p2,\ p3),
|
||||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ third_procedure(p4,\ p5));
|
||||
.Ed
|
||||
.Pp
|
||||
.ne 5
|
||||
Inserting two more newlines we get:
|
||||
.Bd -literal -offset indent
|
||||
p1\ =\ first_procedure(second_procedure(p2,
|
||||
@ -444,7 +438,6 @@ command appeared in
|
||||
has even more switches than
|
||||
.Xr ls 1 .
|
||||
.Pp
|
||||
.ne 5
|
||||
A common mistake that often causes grief is typing:
|
||||
.Pp
|
||||
.Dl indent *.c
|
||||
|
@ -6,7 +6,7 @@
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm key
|
||||
.Nd stand\-alone program for computing responses to S/Key challenges
|
||||
.Nd stand-alone program for computing responses to S/Key challenges
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl n Ar count
|
||||
@ -21,18 +21,15 @@ it prompts for the user's secret password, and produces both word
|
||||
and hex format responses.
|
||||
.Sh EXAMPLE
|
||||
Usage example:
|
||||
.sp 0
|
||||
>key \-n 5 99 th91334
|
||||
.sp 0
|
||||
Enter password: <your secret password is entered here>
|
||||
.sp 0
|
||||
OMEN US HORN OMIT BACK AHOY
|
||||
.sp 0
|
||||
.... 4 more passwords.
|
||||
.sp 0
|
||||
>
|
||||
.Bd -literal -offset indent -compact
|
||||
>key -n 5 99 th91334
|
||||
Enter password: <your secret password is entered here>
|
||||
OMEN US HORN OMIT BACK AHOY
|
||||
\&.... 4 more passwords.
|
||||
>
|
||||
.Ed
|
||||
.Sh OPTIONS
|
||||
.Bl -tag -width indent
|
||||
.Bl -tag -width Fl
|
||||
.It Fl n Ar count
|
||||
The number of one time access passwords to print.
|
||||
The default is one.
|
||||
|
@ -56,7 +56,7 @@ Original command by
|
||||
and
|
||||
.An John S. Walden .
|
||||
Rewritten in Perl by
|
||||
.An J\(:org \%Wunsch
|
||||
.An J\(:org Wunsch
|
||||
so that it could be made setuid, with the S/Key keys file read-protected
|
||||
from the users.
|
||||
Rewritten in C by
|
||||
|
@ -141,9 +141,10 @@ The
|
||||
program was originally written in Perl and was contributed by
|
||||
.An Wolfram Schneider ,
|
||||
this manual page has been written by
|
||||
.if n Joerg Wunsch.
|
||||
.if t J\(:org Wunsch.
|
||||
.An J\(:org Wunsch .
|
||||
The current version of
|
||||
.Nm
|
||||
was rewritten in C by Peter Wemm using
|
||||
was rewritten in C by
|
||||
.An Peter Wemm
|
||||
using
|
||||
.Xr sysctl 3 .
|
||||
|
@ -110,7 +110,6 @@ joins 4 files together along each line.
|
||||
To merge the lines from four different files use
|
||||
.Bd -literal
|
||||
lam file1 \-S "\\
|
||||
.br
|
||||
" file2 file3 file4
|
||||
.Ed
|
||||
|
||||
|
@ -1033,7 +1033,7 @@ File giving initial mail commands.
|
||||
Temporary files.
|
||||
.It Pa /usr/share/misc/mail.*help
|
||||
Help files.
|
||||
.sp
|
||||
.Pp
|
||||
.It Pa /usr/share/misc/mail.rc
|
||||
.It Pa /usr/local/etc/mail.rc
|
||||
.It Pa /etc/mail.rc
|
||||
|
@ -128,7 +128,7 @@ Used to end a mapping. All are equivalent.
|
||||
Used as a delimiter in mappings.
|
||||
.El
|
||||
.El
|
||||
.sp
|
||||
.Pp
|
||||
Key words which should only appear once are:
|
||||
.Bl -tag -width PHONOGRAM
|
||||
.It Dv ENCODING
|
||||
@ -165,11 +165,10 @@ A single
|
||||
.Dv RUNE
|
||||
follows and is used as the invalid rune for this locale.
|
||||
.El
|
||||
.sp
|
||||
.Pp
|
||||
The following keywords may appear multiple times and have the following
|
||||
format for data:
|
||||
.in +.5i
|
||||
.Bl -tag -width "<RUNE1 THRU RUNEn : RUNE2>"
|
||||
.Bl -tag -width "<RUNE1 THRU RUNEn : RUNE2>" -offset indent
|
||||
.It Dv <RUNE1 RUNE2>
|
||||
.Dv RUNE1
|
||||
is mapped to
|
||||
@ -185,7 +184,6 @@ through
|
||||
.Dv RUNE2
|
||||
+ n-1.
|
||||
.El
|
||||
.in -.5i
|
||||
.Bl -tag -width PHONOGRAM
|
||||
.It Dv MAPLOWER
|
||||
Defines the tolower mappings.
|
||||
@ -210,11 +208,10 @@ Only values up to
|
||||
.Nm 255
|
||||
are allowed.
|
||||
.El
|
||||
.sp
|
||||
.Pp
|
||||
The following keywords may appear multiple times and have the following
|
||||
format for data:
|
||||
.in +.5i
|
||||
.Bl -tag -width "RUNE1 THRU RUNEn"
|
||||
.Bl -tag -width "RUNE1 THRU RUNEn" -offset indent
|
||||
.It Dv RUNE
|
||||
This rune has the property defined by the keyword.
|
||||
.It Dv "RUNE1 THRU RUNEn"
|
||||
@ -224,7 +221,6 @@ and
|
||||
.Dv RUNEn
|
||||
have the property defined by the keyword.
|
||||
.El
|
||||
.in -.5i
|
||||
.Bl -tag -width PHONOGRAM
|
||||
.It Dv ALPHA
|
||||
Defines runes which are alphabetic, printable and graphic.
|
||||
|
@ -64,8 +64,7 @@ prompts for the new password twice in order to detect typing errors.
|
||||
The new password should be at least six characters long (which
|
||||
may be overridden using the
|
||||
.Xr login.conf 5
|
||||
.if t ``minpasswordlen''
|
||||
.if n "minpasswordlen"
|
||||
.Dq minpasswordlen
|
||||
setting for a user's login class) and not purely alphabetic.
|
||||
Its total length must be less than
|
||||
.Dv _PASSWORD_LEN
|
||||
@ -74,8 +73,7 @@ Its total length must be less than
|
||||
The new password should contain a mixture of upper and lower case
|
||||
characters (which may be overridden using the
|
||||
.Xr login.conf 5
|
||||
.if t ``mixpasswordcase''
|
||||
.if n "mixpasswordcase"
|
||||
.Dq mixpasswordcase
|
||||
setting for a user's login class). Allowing lower case passwords may
|
||||
be useful where the password file will be used in situations where only
|
||||
lower case passwords are permissible, such as when using Samba to
|
||||
@ -97,8 +95,7 @@ is used to update the password databases.
|
||||
.El
|
||||
When changing local or NIS password, the next password change date
|
||||
is set according to
|
||||
.if t ``passwordtime''
|
||||
.if n "passwordtime"
|
||||
.Dq passwordtime
|
||||
capability in the user's login class.
|
||||
.Pp
|
||||
To change another user's Kerberos password, one must first
|
||||
@ -115,8 +112,7 @@ If a user exists in the NIS password
|
||||
database but does not exist locally,
|
||||
.Nm passwd
|
||||
automatically switches into
|
||||
.if t ``yppasswd''
|
||||
.if n "yppasswd"
|
||||
.Dq yppasswd
|
||||
mode.
|
||||
If the specified
|
||||
user does not exist in either the local password database of the
|
||||
@ -153,14 +149,12 @@ When NIS is enabled, the
|
||||
flag can be used to force
|
||||
.Nm passwd
|
||||
into
|
||||
.if t ``local only''
|
||||
.if n "local only"
|
||||
.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
|
||||
.if t ``placeholder''
|
||||
.if n "placeholder"
|
||||
.Dq placeholder
|
||||
users such as
|
||||
.Pa bin
|
||||
or
|
||||
@ -200,8 +194,7 @@ option and
|
||||
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
|
||||
.if t ``localhost''.
|
||||
.if n "localhost".
|
||||
.Dq localhost .
|
||||
This can be overridden with the
|
||||
.Fl h
|
||||
flag.
|
||||
|
@ -102,15 +102,13 @@ utility is a printing and pagination filter for text files.
|
||||
When multiple input files are specified, each is read, formatted,
|
||||
and written to standard output.
|
||||
By default, the input is separated into 66-line pages, each with
|
||||
.sp
|
||||
.in +2
|
||||
.ti -2
|
||||
\(bu A 5-line header with the page number, date, time, and
|
||||
.Bl -bullet
|
||||
.It
|
||||
A 5-line header with the page number, date, time, and
|
||||
the pathname of the file.
|
||||
.sp
|
||||
.ti -2
|
||||
\(bu A 5-line trailer consisting of blank lines.
|
||||
.in -2
|
||||
.It
|
||||
A 5-line trailer consisting of blank lines.
|
||||
.El
|
||||
.Pp
|
||||
If standard output is associated with a terminal,
|
||||
diagnostic messages are suppressed until the
|
||||
|
@ -109,9 +109,9 @@ option suppresses this behavior.
|
||||
The form of a
|
||||
.Nm
|
||||
command is as follows:
|
||||
.sp
|
||||
.Pp
|
||||
.Dl [address[,address]]function[arguments]
|
||||
.sp
|
||||
.Pp
|
||||
Whitespace may be inserted before the first address and the function
|
||||
portions of the command.
|
||||
.Pp
|
||||
@ -178,7 +178,7 @@ flag is given.
|
||||
In addition,
|
||||
.Nm
|
||||
has the following two additions to regular expressions:
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -enum -compact
|
||||
.It
|
||||
In a context address, any character other than a backslash
|
||||
@ -195,7 +195,7 @@ and the second
|
||||
.Dq x
|
||||
stands for itself, so that the regular expression is
|
||||
.Dq abcxdef .
|
||||
.sp
|
||||
.Pp
|
||||
.It
|
||||
The escape sequence \en matches a newline character embedded in the
|
||||
pattern space.
|
||||
@ -273,71 +273,68 @@ The function can be preceded by white space.
|
||||
The terminating
|
||||
.Dq }
|
||||
must be preceded by a newline or optional white space.
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -tag -width "XXXXXX" -compact
|
||||
.It [2addr] function-list
|
||||
Execute function-list only when the pattern space is selected.
|
||||
.sp
|
||||
.Pp
|
||||
.It [1addr]a\e
|
||||
.It text
|
||||
.br
|
||||
Write
|
||||
.Em text
|
||||
to standard output immediately before each attempt to read a line of input,
|
||||
whether by executing the
|
||||
.Dq N
|
||||
function or by beginning a new cycle.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]b[label]
|
||||
Branch to the
|
||||
.Dq \&:
|
||||
function with the specified label.
|
||||
If the label is not specified, branch to the end of the script.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]c\e
|
||||
.It text
|
||||
.br
|
||||
Delete the pattern space.
|
||||
With 0 or 1 address or at the end of a 2-address range,
|
||||
.Em text
|
||||
is written to the standard output.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]d
|
||||
Delete the pattern space and start the next cycle.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]D
|
||||
Delete the initial segment of the pattern space through the first
|
||||
newline character and start the next cycle.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]g
|
||||
Replace the contents of the pattern space with the contents of the
|
||||
hold space.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]G
|
||||
Append a newline character followed by the contents of the hold space
|
||||
to the pattern space.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]h
|
||||
Replace the contents of the hold space with the contents of the
|
||||
pattern space.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]H
|
||||
Append a newline character followed by the contents of the pattern space
|
||||
to the hold space.
|
||||
.sp
|
||||
.Pp
|
||||
.It [1addr]i\e
|
||||
.It text
|
||||
.br
|
||||
Write
|
||||
.Em text
|
||||
to the standard output.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]l
|
||||
(The letter ell.)
|
||||
Write the pattern space to the standard output in a visually unambiguous
|
||||
form.
|
||||
This form is as follows:
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -tag -width "carriage-returnXX" -offset indent -compact
|
||||
.It backslash
|
||||
\e\e
|
||||
@ -362,28 +359,28 @@ Long lines are folded, with the point of folding indicated by displaying
|
||||
a backslash followed by a newline.
|
||||
The end of each line is marked with a
|
||||
.Dq $ .
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]n
|
||||
Write the pattern space to the standard output if the default output has
|
||||
not been suppressed, and replace the pattern space with the next line of
|
||||
input.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]N
|
||||
Append the next line of input to the pattern space, using an embedded
|
||||
newline character to separate the appended material from the original
|
||||
contents.
|
||||
Note that the current line number changes.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]p
|
||||
Write the pattern space to standard output.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]P
|
||||
Write the pattern space, up to the first newline character to the
|
||||
standard output.
|
||||
.sp
|
||||
.Pp
|
||||
.It [1addr]q
|
||||
Branch to the end of the script and quit without starting a new cycle.
|
||||
.sp
|
||||
.Pp
|
||||
.It [1addr]r file
|
||||
Copy the contents of
|
||||
.Em file
|
||||
@ -393,7 +390,7 @@ If
|
||||
.Em file
|
||||
cannot be read for any reason, it is silently ignored and no error
|
||||
condition is set.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]s/regular expression/replacement/flags
|
||||
Substitute the replacement string for the first instance of the regular
|
||||
expression in the pattern space.
|
||||
@ -443,7 +440,7 @@ if a replacement was made.
|
||||
If the replacement string is identical to that which it replaces, it
|
||||
is still considered to have been a replacement.
|
||||
.El
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]t [label]
|
||||
Branch to the
|
||||
.Dq \&:
|
||||
@ -452,14 +449,14 @@ most recent reading of an input line or execution of a
|
||||
.Dq t
|
||||
function.
|
||||
If no label is specified, branch to the end of the script.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]w Em file
|
||||
Append the pattern space to the
|
||||
.Em file .
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]x
|
||||
Swap the contents of the pattern and hold spaces.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]y/string1/string2/
|
||||
Replace all occurrences of characters in
|
||||
.Em string1
|
||||
@ -474,27 +471,27 @@ and
|
||||
a backslash followed by any character other than a newline is that literal
|
||||
character, and a backslash followed by an ``n'' is replaced by a newline
|
||||
character.
|
||||
.sp
|
||||
.Pp
|
||||
.It [2addr]!function
|
||||
.It [2addr]!function-list
|
||||
Apply the function or function-list only to the lines that are
|
||||
.Em not
|
||||
selected by the address(es).
|
||||
.sp
|
||||
.Pp
|
||||
.It [0addr]:label
|
||||
This function does nothing; it bears a label to which the
|
||||
.Dq b
|
||||
and
|
||||
.Dq t
|
||||
commands may branch.
|
||||
.sp
|
||||
.Pp
|
||||
.It [1addr]=
|
||||
Write the line number to the standard output followed by a newline
|
||||
character.
|
||||
.sp
|
||||
.Pp
|
||||
.It [0addr]
|
||||
Empty lines are ignored.
|
||||
.sp
|
||||
.Pp
|
||||
.It [0addr]#
|
||||
The
|
||||
.Dq #
|
||||
|
@ -125,15 +125,13 @@ system is processed by the shell.
|
||||
Fork a child process on the local system to perform special protocols
|
||||
such as \s-1XMODEM\s+1. The child program will be run with the following
|
||||
somewhat unusual arrangement of file descriptors:
|
||||
.nf
|
||||
.in +1i
|
||||
.Bd -literal -offset indent -compact
|
||||
0 <-> local tty in
|
||||
1 <-> local tty out
|
||||
2 <-> local tty out
|
||||
3 <-> remote tty in
|
||||
4 <-> remote tty out
|
||||
.in -1i
|
||||
.fi
|
||||
.Ed
|
||||
.It Ic \&~#
|
||||
Send a
|
||||
.Dv BREAK
|
||||
|
@ -143,7 +143,7 @@ the octal sequence to the full 3 octal digits.
|
||||
.It \echaracter
|
||||
A backslash followed by certain special characters maps to special
|
||||
values.
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -column
|
||||
.It \ea <alert character>
|
||||
.It \eb <backspace>
|
||||
@ -153,14 +153,14 @@ values.
|
||||
.It \et <tab>
|
||||
.It \ev <vertical tab>
|
||||
.El
|
||||
.sp
|
||||
.Pp
|
||||
A backslash followed by any other character maps to that character.
|
||||
.It c-c
|
||||
Represents the range of characters between the range endpoints, inclusively.
|
||||
.It [:class:]
|
||||
Represents all characters belonging to the defined character class.
|
||||
Class names are:
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -column
|
||||
.It alnum <alphanumeric characters>
|
||||
.It alpha <alphabetic characters>
|
||||
@ -234,18 +234,18 @@ The
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh EXAMPLES
|
||||
The following examples are shown as given to the shell:
|
||||
.sp
|
||||
.Pp
|
||||
Create a list of the words in file1, one per line, where a word is taken to
|
||||
be a maximal string of letters.
|
||||
.sp
|
||||
.Pp
|
||||
.D1 Li "tr -cs \*q[:alpha:]\*q \*q\en\*q < file1"
|
||||
.sp
|
||||
.Pp
|
||||
Translate the contents of file1 to upper-case.
|
||||
.sp
|
||||
.Pp
|
||||
.D1 Li "tr \*q[:lower:]\*q \*q[:upper:]\*q < file1"
|
||||
.sp
|
||||
.Pp
|
||||
Strip out non-printable characters from file1.
|
||||
.sp
|
||||
.Pp
|
||||
.D1 Li "tr -cd \*q[:print:]\*q < file1"
|
||||
.Sh COMPATIBILITY
|
||||
System V has historically implemented character ranges using the syntax
|
||||
|
@ -48,7 +48,6 @@
|
||||
.Op Fl k Ar ch
|
||||
.Op Fl m Ar mapping
|
||||
.Op Ar terminal
|
||||
.br
|
||||
.Nm reset
|
||||
.Op Fl IQrSs
|
||||
.Op Fl
|
||||
@ -63,7 +62,7 @@ initializes terminals.
|
||||
.Nm Tset
|
||||
first determines the type of terminal that you are using.
|
||||
This determination is done as follows, using the first terminal type found.
|
||||
.sp
|
||||
.Pp
|
||||
.Bl -bullet -compact -offset indent
|
||||
.It
|
||||
The
|
||||
|
@ -148,11 +148,14 @@ as of the 4.1 Berkeley Software Distribution.
|
||||
.Sh SEE ALSO
|
||||
.Xr diff 1
|
||||
.Sh DIAGNOSTICS
|
||||
.Bl -item -compact
|
||||
.It
|
||||
Inappropriate else or endif.
|
||||
.br
|
||||
.It
|
||||
Premature
|
||||
.Tn EOF
|
||||
with line numbers of the unterminated #ifdefs.
|
||||
.El
|
||||
.Pp
|
||||
Exit status is 0 if output is exact copy of input, 1 if not, 2 if trouble.
|
||||
.Sh BUGS
|
||||
|
@ -32,31 +32,21 @@
|
||||
.Nd command for adding new users
|
||||
.Sh SYNOPSIS
|
||||
.Nm adduser
|
||||
.Bk -words
|
||||
.Op Fl check_only
|
||||
.br
|
||||
.Op Fl class Ar login_class
|
||||
.br
|
||||
.Op Fl config_create
|
||||
.br
|
||||
.Op Fl dotdir Ar dotdir
|
||||
.br
|
||||
.Op Fl group Ar login_group
|
||||
.br
|
||||
.Op Fl h | help
|
||||
.br
|
||||
.Op Fl home Ar home
|
||||
.br
|
||||
.Op Fl message Ar message_file
|
||||
.br
|
||||
.Op Fl noconfig
|
||||
.br
|
||||
.Op Fl shell Ar shell
|
||||
.br
|
||||
.Op Fl s | silent | q | quiet
|
||||
.br
|
||||
.Op Fl uid Ar uid_start
|
||||
.br
|
||||
.Op Fl v | verbose
|
||||
.Ek
|
||||
.Sh DESCRIPTION
|
||||
.Nm Adduser
|
||||
is a simple program for adding new users.
|
||||
|
@ -128,7 +128,6 @@ routing table. It can also occur if the kernel cannot allocate memory.
|
||||
.Xr arp 8 ,
|
||||
.Xr ifconfig 8 ,
|
||||
.Xr route 8
|
||||
.sp
|
||||
.Rs
|
||||
.%A Plummer, D.
|
||||
.%B "An Ethernet Address Resolution Protocol"
|
||||
@ -140,4 +139,3 @@ routing table. It can also occur if the kernel cannot allocate memory.
|
||||
.%B "Trailer Encapsulations
|
||||
.%T RFC893
|
||||
.Re
|
||||
|
||||
|
@ -123,6 +123,5 @@ command appeared in
|
||||
.Fx 4.0 .
|
||||
.Sh AUTHORS
|
||||
The program has been contributed by
|
||||
.ie t S/oren Schmidt,
|
||||
.el Søren Schmidt,
|
||||
.An S\(/oren Schmidt ,
|
||||
Denmark.
|
||||
|
@ -163,8 +163,7 @@ strings kernel | grep ___
|
||||
.Sh DEBUG KERNELS
|
||||
Traditional BSD kernels compiled without symbols due to the heavy load on the
|
||||
system when compiling a
|
||||
.if n "debug"
|
||||
.if t ``debug''
|
||||
.Dq debug
|
||||
kernel. A debug kernel contains complete symbols for all the source files, and
|
||||
enables an experienced kernel programmer to analyse the cause of a problem. The
|
||||
debuggers available prior to 4.4BSD-Lite were able to find some information
|
||||
|
@ -182,7 +182,6 @@ fields \(em day of month, and day of week. If both fields are
|
||||
restricted (ie, aren't *), the command will be run when
|
||||
.Em either
|
||||
field matches the current time. For example,
|
||||
.br
|
||||
``30 4 1,15 * 5''
|
||||
would cause a command to be run at 4:30 am on the 1st and 15th of each
|
||||
month, plus every Friday.
|
||||
|
@ -39,14 +39,12 @@
|
||||
.Op Fl e Ar exec-file-name
|
||||
.Op Ar conf-file
|
||||
.Sh DESCRIPTION
|
||||
|
||||
A crunched binary is a program made up of many other programs linked
|
||||
together into a single executable. The crunched binary main()
|
||||
function determines which component program to run by the contents of
|
||||
argv[0]. The main reason to crunch programs together is for fitting
|
||||
as many programs as possible onto an installation or system recovery
|
||||
floppy.
|
||||
|
||||
.Pp
|
||||
.Nm
|
||||
reads in the specifications in
|
||||
@ -63,7 +61,6 @@ uses the companion program
|
||||
.Nm crunchide
|
||||
to eliminate link-time conflicts between the component programs by
|
||||
hiding all unnecessary symbols.
|
||||
|
||||
.Pp
|
||||
.Nm
|
||||
places specific requirements on package
|
||||
@ -84,7 +81,6 @@ in the source directory
|
||||
looks for the file
|
||||
.Pa Makefile.foo
|
||||
in the current directory.
|
||||
|
||||
.Pp
|
||||
After
|
||||
.Nm
|
||||
@ -95,7 +91,6 @@ run make in each component program's source dir to build the object
|
||||
files for the user. This is not done automatically since in release
|
||||
engineering circumstances it is generally not desirable to be
|
||||
modifying objects in other directories.
|
||||
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Bl -tag -width indent
|
||||
@ -129,7 +124,6 @@ Add ``make obj'' rules to each program make target.
|
||||
Quiet operation. Status messages are suppressed.
|
||||
.El
|
||||
.Sh CRUNCHGEN CONFIGURATION FILE COMMANDS
|
||||
|
||||
.Nm Crunchgen
|
||||
reads specifications from the
|
||||
.Ar conf-file
|
||||
@ -171,7 +165,6 @@ whenever
|
||||
appears in argv[0]. This allows programs that change their behavior when
|
||||
run under different names to operate correctly.
|
||||
.El
|
||||
|
||||
To handle specialized situations, such as when the source is not
|
||||
available or not built via a conventional Makefile, the following
|
||||
.Nm special
|
||||
@ -236,7 +229,6 @@ This option is to be used as a last resort as its use can cause a
|
||||
symbol conflict, however in certain instances it may be the only way to
|
||||
have a symbol resolve.
|
||||
.El
|
||||
|
||||
.Pp
|
||||
Only the
|
||||
.Nm objpaths
|
||||
@ -251,7 +243,6 @@ which are in turn calculated from
|
||||
so is sometimes convenient to specify the earlier parameters and let
|
||||
.Nm
|
||||
calculate forward from there if it can.
|
||||
|
||||
.Pp
|
||||
The makefile produced by
|
||||
.Nm
|
||||
@ -272,20 +263,20 @@ Here is an example
|
||||
input conf file, named
|
||||
.Dq Pa kcopy.conf :
|
||||
.Pp
|
||||
.nf
|
||||
srcdirs /usr/src/bin /usr/src/sbin
|
||||
.Bd -literal -offset indent
|
||||
srcdirs /usr/src/bin /usr/src/sbin
|
||||
|
||||
progs test cp echo sh fsck halt init mount umount myinstall
|
||||
progs anotherprog
|
||||
ln test [ # test can be invoked via [
|
||||
ln sh -sh # init invokes the shell with "-sh" in argv[0]
|
||||
progs test cp echo sh fsck halt init mount umount myinstall
|
||||
progs anotherprog
|
||||
ln test [ # test can be invoked via [
|
||||
ln sh -sh # init invokes the shell with "-sh" in argv[0]
|
||||
|
||||
special myprog objpaths /homes/leroy/src/myinstall.o # no sources
|
||||
special myprog objpaths /homes/leroy/src/myinstall.o # no sources
|
||||
|
||||
special anotherprog -DNO_FOO WITHOUT_BAR=YES
|
||||
special anotherprog -DNO_FOO WITHOUT_BAR=YES
|
||||
|
||||
libs -lutil -lcrypt
|
||||
.fi
|
||||
libs -lutil -lcrypt
|
||||
.Ed
|
||||
.Pp
|
||||
This conf file specifies a small crunched binary consisting of some
|
||||
basic system utilities plus a homegrown install program ``myinstall'',
|
||||
@ -300,13 +291,13 @@ are added to all build targets.
|
||||
.Pp
|
||||
The crunched binary ``kcopy'' can be built as follows:
|
||||
.Pp
|
||||
.nf
|
||||
% crunchgen -m Makefile kcopy.conf # gen Makefile and kcopy.c
|
||||
% make objs # build the component programs' .o files
|
||||
% make # build the crunched binary kcopy
|
||||
% kcopy sh # test that this invokes a sh shell
|
||||
$ # it works!
|
||||
.fi
|
||||
.Bd -literal -offset indent
|
||||
% crunchgen -m Makefile kcopy.conf # gen Makefile and kcopy.c
|
||||
% make objs # build the component programs' .o files
|
||||
% make # build the crunched binary kcopy
|
||||
% kcopy sh # test that this invokes a sh shell
|
||||
$ # it works!
|
||||
.Ed
|
||||
.Pp
|
||||
At this point the binary ``kcopy'' can be copied onto an install floppy
|
||||
and hard-linked to the names of the component programs.
|
||||
|
@ -36,7 +36,6 @@
|
||||
.Op Fl k Ar keep-symbol
|
||||
.Op Ar object-file ...
|
||||
.Sh DESCRIPTION
|
||||
|
||||
.Nm Crunchide
|
||||
hides the global symbols of
|
||||
.Ar object-file
|
||||
@ -72,12 +71,12 @@ multiple component programs.
|
||||
.Nm Crunch
|
||||
was written by
|
||||
.An James da Silva Aq jds@cs.umd.edu .
|
||||
.sp 0
|
||||
.Pp
|
||||
Copyright (c) 1994 University of Maryland. All Rights Reserved.
|
||||
.Pp
|
||||
Chris Demetriou <cgd@netbsd.org> reorganized
|
||||
.Nm
|
||||
so that it supported multiple object formats, and added
|
||||
ELF object support and ECOFF object recognition.
|
||||
.sp 0
|
||||
.Pp
|
||||
Copyright (c) 1997 Christopher G. Demetriou. All Rights Reserved.
|
||||
|
@ -232,7 +232,6 @@ It is safe to invoke
|
||||
multiple times concurrently (with different input files),
|
||||
as might happen when
|
||||
.Xr sendmail
|
||||
.nh
|
||||
is delivering mail asynchronously. This is because locking is used to
|
||||
keep things orderly.
|
||||
.Sh FILE FORMAT
|
||||
@ -464,7 +463,7 @@ will report:
|
||||
.Bd -literal -offset indent
|
||||
ctm_rmail: message contains no delta
|
||||
.Ed
|
||||
.sp \n(Ppu
|
||||
.Pp
|
||||
and return an exit status of 1. You can use this to redirect wayward messages
|
||||
back into your real mailbox if your mail filter goes wonky.
|
||||
.Pp
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user