mdoc fixes.

This commit is contained in:
Joel Dahl 2012-09-08 08:46:43 +00:00
parent 0cf0d912b7
commit 7ca72d7e5d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240235

View File

@ -292,7 +292,7 @@ In direct mode,
acts as server which accepts incoming acts as server which accepts incoming
.Em PPP .Em PPP
connections on stdin/stdout. connections on stdin/stdout.
.It "Supports PAP and CHAP (rfc 1994, 2433 and 2759) authentication. .It Supports PAP and CHAP (rfc 1994, 2433 and 2759) authentication.
With PAP or CHAP, it is possible to skip the Unix style With PAP or CHAP, it is possible to skip the Unix style
.Xr login 1 .Xr login 1
procedure, and use the procedure, and use the
@ -1019,12 +1019,11 @@ This behaviour can be changed using the
.Dq set redial .Dq set redial
command: command:
.Pp .Pp
.No set redial Ar secs Ns Xo .No set redial Ar secs Ns
.Oo + Ns Ar inc Ns .Oo + Ns Ar inc Ns
.Op - Ns Ar max Ns .Oo - Ns Ar max Ns Oc Oc Ns
.Oc Ns Op . Ns Ar next .Op . Ns Ar next
.Op Ar attempts .Op Ar attempts
.Xc
.Pp .Pp
.Bl -tag -width attempts -compact .Bl -tag -width attempts -compact
.It Ar secs .It Ar secs
@ -1083,7 +1082,6 @@ are specified, the total number of attempts is still 4 (it does not
attempt each number 4 times). attempt each number 4 times).
.Pp .Pp
Alternatively, Alternatively,
.Pp
.Bd -literal -offset indent .Bd -literal -offset indent
set redial 10+10-5.3 20 set redial 10+10-5.3 20
.Ed .Ed
@ -2029,11 +2027,8 @@ dialing and redialing separated by either a pipe
or a colon or a colon
.Pq Dq \&: : .Pq Dq \&: :
.Bd -ragged -offset indent .Bd -ragged -offset indent
.No set phone Ar telno Ns Xo .No set phone Ar telno Ns
.Oo \&| Ns Ar backupnumber .Oo \&| Ns Ar backupnumber Oc Ns ... Ns Oo : Ns Ar nextnumber Oc Ns ...
.Oc Ns ... Ns Oo : Ns Ar nextnumber
.Oc Ns ...
.Xc
.Ed .Ed
.Pp .Pp
Numbers after the first in a pipe-separated list are only used if the Numbers after the first in a pipe-separated list are only used if the
@ -2530,7 +2525,6 @@ will show the same information at the
link level. link level.
.Pp .Pp
Armed with this information, the following configuration might be used: Armed with this information, the following configuration might be used:
.Pp
.Bd -literal -offset indent .Bd -literal -offset indent
mp: mp:
set timeout 0 set timeout 0
@ -2554,13 +2548,11 @@ Usually, the link will be configured first, then cloned.
If you wish all links If you wish all links
to be up all the time, you can add the following line to the end of your to be up all the time, you can add the following line to the end of your
configuration. configuration.
.Pp
.Bd -literal -offset indent .Bd -literal -offset indent
link 1,2,3 set mode ddial link 1,2,3 set mode ddial
.Ed .Ed
.Pp .Pp
If you want the links to dial on demand, this command could be used: If you want the links to dial on demand, this command could be used:
.Pp
.Bd -literal -offset indent .Bd -literal -offset indent
link * set mode auto link * set mode auto
.Ed .Ed
@ -2570,7 +2562,6 @@ Links may be tied to specific names by removing the
line above, and specifying the following after the line above, and specifying the following after the
.Dq clone .Dq clone
command: command:
.Pp
.Bd -literal -offset indent .Bd -literal -offset indent
link 1 set device /dev/cuad0 link 1 set device /dev/cuad0
link 2 set device /dev/cuad1 link 2 set device /dev/cuad1
@ -3218,9 +3209,7 @@ Disabling this option will prevent the re-application of sticky routes,
although the although the
.Sq stick route .Sq stick route
list will still be maintained. list will still be maintained.
.It Op tcp Ns Xo .It Oo tcp Oc Ns No mssfixup
.No mssfixup
.Xc
Default: Enabled. Default: Enabled.
This option tells This option tells
.Nm .Nm
@ -3474,7 +3463,7 @@ be logged to the file
.Ar remotePort Ns .Ar remotePort Ns
.Oo .Oo
.No - Ns Ar remotePort .No - Ns Ar remotePort
.Oc Ns .Oc
.Oc .Oc
.Xc .Xc
This command causes incoming This command causes incoming
@ -3606,7 +3595,7 @@ These commands are also discussed in the file
.Pa README.nat .Pa README.nat
which comes with the source distribution. which comes with the source distribution.
.Pp .Pp
.It Op !\& Ns Xo .It Oo !\& Oc Ns Xo
.No bg Ar command .No bg Ar command
.Xc .Xc
The given The given
@ -3808,7 +3797,7 @@ command is used
.Dq !\& ) , .Dq !\& ) ,
.Nm .Nm
will not complain if the route does not already exist. will not complain if the route does not already exist.
.It dial|call Op Ar label Ns Xo .It dial|call Oo Ar label Oc Ns Xo
.No ... .No ...
.Xc .Xc
This command is the equivalent of This command is the equivalent of
@ -3945,10 +3934,9 @@ When invoked with
.Ar sub-command , .Ar sub-command ,
only the synopsis for the given sub-command is shown. only the synopsis for the given sub-command is shown.
.El .El
.It Op data Ns Xo .It Oo data Oc Ns Xo
.No link .No link
.Ar name Ns Op , Ns Ar name Ns .Ar name Ns Oo , Ns Ar name Oc Ns ... Ar command Op Ar args
.No ... Ar command Op Ar args
.Xc .Xc
This command may prefix any other command if the user wishes to This command may prefix any other command if the user wishes to
specify which link the command should affect. specify which link the command should affect.
@ -3970,7 +3958,7 @@ is
.Dq * , .Dq * ,
.Ar command .Ar command
is executed on all links. is executed on all links.
.It load Op Ar label Ns Xo .It load Oo Ar label Oc Ns Xo
.No ... .No ...
.Xc .Xc
Load the given Load the given
@ -4196,7 +4184,7 @@ certain characters from end to end (such as XON/XOFF etc).
.Pp .Pp
For the XON/XOFF scenario, use For the XON/XOFF scenario, use
.Dq set accmap 000a0000 . .Dq set accmap 000a0000 .
.It set Op auth Ns Xo .It set Oo auth Oc Ns Xo
.No key Ar value .No key Ar value
.Xc .Xc
This sets the authentication key (or password) used in client mode This sets the authentication key (or password) used in client mode
@ -4360,7 +4348,6 @@ as an option.
The The
.Ar option Ns No s .Ar option Ns No s
are as follows (in this order of preference): are as follows (in this order of preference):
.Pp
.Bl -tag -width Ds .Bl -tag -width Ds
.It auth .It auth
The callee is expected to decide the callback number based on The callee is expected to decide the callback number based on
@ -4993,11 +4980,8 @@ If you wish to assign a dynamic IP number to the peer,
.Ar hisaddr .Ar hisaddr
may also be specified as a range of IP numbers in the format may also be specified as a range of IP numbers in the format
.Bd -ragged -offset indent .Bd -ragged -offset indent
.Ar \&IP Ns Oo \&- Ns Ar \&IP Ns Xo .Ar \&IP Ns Oo \&- Ns Ar \&IP Ns Oc Ns Oo , Ns Ar \&IP Ns
.Oc Ns Oo , Ns Ar \&IP Ns .Oo \&- Ns Ar \&IP Ns Oc Oc Ns ...
.Op \&- Ns Ar \&IP Ns
.Oc Ns ...
.Xc
.Ed .Ed
.Pp .Pp
for example: for example:
@ -5319,10 +5303,7 @@ This allows the line parity to be set.
The default value is The default value is
.Ar none . .Ar none .
.It set phone Ar telno Ns Xo .It set phone Ar telno Ns Xo
.Oo \&| Ns Ar backupnumber .Oo \&| Ns Ar backupnumber Oc Ns ... Ns Oo : Ns Ar nextnumber Oc Ns ... Xc
.Oc Ns ... Ns Oo : Ns Ar nextnumber
.Oc Ns ...
.Xc
This allows the specification of the phone number to be used in This allows the specification of the phone number to be used in
place of the \\\\T string in the dial and login chat scripts. place of the \\\\T string in the dial and login chat scripts.
Multiple phone numbers may be given separated either by a pipe Multiple phone numbers may be given separated either by a pipe
@ -5350,7 +5331,7 @@ This option configures the underlying
.Xr ng_pppoe 4 .Xr ng_pppoe 4
node to either standard RFC2516 PPPoE or proprietary 3Com mode. node to either standard RFC2516 PPPoE or proprietary 3Com mode.
If not set the system default will be used. If not set the system default will be used.
.It set Op proc Ns Xo .It set Oo proc Oc Ns Xo
.No title Op Ar value .No title Op Ar value
.Xc .Xc
The current process title as displayed by The current process title as displayed by
@ -5599,7 +5580,6 @@ NAS-Port-Id.
The The
.Ar option Ns No s .Ar option Ns No s
are as follows: are as follows:
.Pp
.Bl -tag -width Ds .Bl -tag -width Ds
.It pid .It pid
PID of the corresponding tunnel. PID of the corresponding tunnel.
@ -5634,8 +5614,8 @@ If
is unspecified or zero, the default kernel controlled value is used. is unspecified or zero, the default kernel controlled value is used.
.It set redial Ar secs Ns Xo .It set redial Ar secs Ns Xo
.Oo + Ns Ar inc Ns .Oo + Ns Ar inc Ns
.Op - Ns Ar max Ns .Oo - Ns Ar max Ns Oc Oc Ns
.Oc Ns Op . Ns Ar next .Op . Ns Ar next
.Op Ar attempts .Op Ar attempts
.Xc .Xc
.Nm .Nm
@ -5935,7 +5915,7 @@ Show the current IPCP statistics.
Show the protocol layers currently in use. Show the protocol layers currently in use.
.It show lcp .It show lcp
Show the current LCP statistics. Show the current LCP statistics.
.It show Op data Ns Xo .It show Oo data Oc Ns Xo
.No link .No link
.Xc .Xc
Show high level link information. Show high level link information.