Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man5 Use more .Ql (quoted literal) for variable va...



details:   https://anonhg.NetBSD.org/src/rev/4d44ca44d6d2
branches:  trunk
changeset: 836190:4d44ca44d6d2
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Oct 01 11:16:04 2018 +0000

description:
Use more .Ql (quoted literal) for variable values.
Misc markup fixes.

diffstat:

 share/man/man5/rc.conf.5 |  106 +++++++++++++++++++++++-----------------------
 1 files changed, 53 insertions(+), 53 deletions(-)

diffs (truncated from 340 to 300 lines):

diff -r b41cea0940eb -r 4d44ca44d6d2 share/man/man5/rc.conf.5
--- a/share/man/man5/rc.conf.5  Mon Oct 01 09:47:34 2018 +0000
+++ b/share/man/man5/rc.conf.5  Mon Oct 01 11:16:04 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: rc.conf.5,v 1.176 2018/10/01 07:11:27 wiz Exp $
+.\"    $NetBSD: rc.conf.5,v 1.177 2018/10/01 11:16:04 uwe Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -123,21 +123,23 @@
 .Sy inetd ,
 are generally named after the program or the system they enable,
 and have boolean values (specified using
-.Sq Ic YES ,
-.Sq Ic TRUE ,
-.Sq Ic ON
+.Ql YES ,
+.Ql TRUE ,
+.Ql ON
 or
-.Sq Ic 1
+.Ql 1
 for true, and
-.Sq Ic NO ,
-.Sq Ic FALSE ,
-.Sq Ic OFF
+.Ql NO ,
+.Ql FALSE ,
+.Ql OFF
 or
-.Sq Ic 0
+.Ql 0
 for false, with the values being case insensitive).
 Flags variables, such as
 .Sy inetd_flags
-have the same name with "_flags" appended, and determine what
+have the same name with
+.Dq _flags
+appended, and determine what
 arguments are passed to the program if it is enabled.
 .Pp
 If a variable that
@@ -218,10 +220,10 @@
 The default value of
 .Va rc_silent_cmd
 is
-.Dq twiddle ,
+.Ql twiddle ,
 which will display a spinning symbol instead of each line of output.
 Another useful value is
-.Dq \&: ,
+.Ql \&: ,
 which will display nothing at all.
 .El
 .Ss Basic network configuration
@@ -300,9 +302,9 @@
 .Xr dhcpcd 8
 which may be required to get the network operational.
 The default is
-.Dq "OPTIONAL:/var" ,
+.Ql "OPTIONAL:" Ns Pa /var ,
 where the
-.Dq "OPTIONAL:"
+.Ql "OPTIONAL:"
 prefix means that it's not an error if the file system is not
 present in
 .Xr fstab 5 .
@@ -313,9 +315,9 @@
 that may require network services to be available to mount,
 that must be available early in the system boot for general services to use.
 The default is
-.Dq "OPTIONAL:/usr" ,
+.Ql "OPTIONAL:" Ns Pa /usr ,
 where the
-.Dq "OPTIONAL:"
+.Ql "OPTIONAL:"
 prefix means that it is not an error if the file system is not
 present in
 .Xr fstab 5 .
@@ -460,7 +462,7 @@
 can be used to override the default location of the
 .Dq real
 temporary directories,
-.Dq Pa /private/tmp .
+.Pa /private/tmp .
 See
 .Xr security 7
 for additional details.
@@ -556,7 +558,7 @@
 The directory where crash dumps are stored is specified by
 .Sy savecore_dir .
 The default setting is
-.Dq Pa /var/crash .
+.Pa /var/crash .
 .It Sy sysdb
 Boolean value.
 Builds various system databases, including
@@ -667,7 +669,7 @@
 variable (see below) to the output of
 .Xr ifconfig 8
 with the
-.Dq Li -l
+.Fl l
 flag and suppresses warnings about interfaces in this list that
 do not have an ifconfig file or variable.
 .It Sy blacklistd
@@ -726,21 +728,20 @@
 .Sq Em "address netmask"
 pairs to configure additional network addresses for the given
 configured interface
-.Dq *
 (e.g.
 .Sy ifaliases_le0 ) .
 If
 .Em netmask
 is
-.Dq - ,
+.Ql - ,
 then use the default netmask for the interface.
 .Pp
 .Sy ifaliases_*
 covers limited cases only and is considered unrecommended.
 We recommend using
-.Sy ifconfig_nnX
+.Sy ifconfig_xxN
 variables or
-.Pa /etc/ifconfig.xxN
+.Pa /etc/ifconfig. Ns Ar xxN
 files with multiple lines instead.
 .It Sy ifwatchd
 Boolean value.
@@ -753,14 +754,14 @@
 .It Sy ip6addrctl_policy
 A string.
 Can be:
-.Bl -tag -width auto -compact
-.It Li auto
+.Bl -tag -width "Ql auto" -compact
+.It Ql auto
 automatically determine from system settings; will read priorities from
 .Pa /etc/ip6addrctl.conf
 or if that file does not exist it will default to IPv6 first, then IPv4.
-.It Li ipv4_prefer
+.It Ql ipv4_prefer
 try IPv4 before IPv6.
-.It Li ipv6_prefer
+.It Ql ipv6_prefer
 try IPv6 before IPv4.
 .El
 .It Sy ip6addrctl_verbose
@@ -777,10 +778,10 @@
 By setting
 .Sy ip6mode
 to
-.Dq Li router ,
-.Dq Li host ,
+.Ql router ,
+.Ql host ,
 or
-.Dq Li autohost ,
+.Ql autohost ,
 you can configure your node as a router,
 a non-autoconfigured host, or an autoconfigured host.
 Invalid values will be ignored, and the node will be configured as
@@ -790,7 +791,7 @@
 If
 .Sy ip6mode
 is equal to
-.Dq Li router ,
+.Ql router ,
 and
 .Sy ip6uniquelocal
 is false,
@@ -835,21 +836,20 @@
 Specifies arguments to supply to
 .Xr ipmon 8 .
 Defaults to
-.Dq Li -ns .
+.Ql -ns .
 A typical example would be
-.Dq Fl nD Pa /var/log/ipflog
+.Ql "-nD /var/log/ipflog"
 to have
 .Xr ipmon 8
 log directly to a file bypassing
 .Xr syslogd 8 .
 If the
-.Dq -D
+.Fl D
 argument is used, remember to modify
 .Pa /etc/newsyslog.conf
 accordingly; for example:
-.Bd -literal
-/var/log/ipflog  640  10  100  *  Z  /var/run/ipmon.pid
-.Ed
+.Pp
+.Dl /var/log/ipflog  640  10  100  *  Z  /var/run/ipmon.pid
 .It Sy ipnat
 Boolean value.
 Runs
@@ -963,7 +963,7 @@
 and will call
 .Xr pppd 8
 with the
-.Dq call Sy peer
+.Dq Ic call Va peer
 option.
 .It Sy racoon
 Boolean value.
@@ -1000,7 +1000,7 @@
 Passes
 .Sy inetd_flags .
 The
-.Dq Li -l
+.Fl l
 flag turns on libwrap connection logging.
 .It Sy rpcbind
 Boolean value.
@@ -1045,7 +1045,7 @@
 .Sy httpd
 is true.
 The default setting is
-.Dq Pa /var/www .
+.Pa /var/www .
 .It Sy httpd_wwwuser
 A string.
 If non-blank and
@@ -1059,7 +1059,7 @@
 .Xr httpd 8
 is requiring extra privileges to start listening on default port 80.
 The default setting is
-.Dq Dv _httpd .
+.Ql _httpd .
 .It Sy lpd
 Boolean value.
 Runs
@@ -1067,7 +1067,7 @@
 and passes
 .Sy lpd_flags .
 The
-.Dq Li -l
+.Fl l
 flag will turn on extra logging.
 .It Sy mdnsd
 Boolean value.
@@ -1090,7 +1090,7 @@
 .Xr chroot 2 Ns ed
 to
 .Sy named_chrootdir .
-.Sy named_chrootdir Ns Pa /var/run/log
+.Li \&${named_chrootdir} Ns Pa /var/run/log
 will be added to the list of log sockets that
 .Xr syslogd 8
 listens to.
@@ -1111,12 +1111,12 @@
 .Xr chroot 2 Ns ed
 to
 .Sy ntpd_chrootdir .
-.Sy ntpd_chrootdir Ns Pa /var/run/log
+.Li \&${ntpd_chrootdir} Ns Pa /var/run/log
 will be added to the list of log sockets that
 .Xr syslogd 8
 listens to.
 This option requires that the kernel has
-.Dl pseudo-device clockctl
+.D1 Cd pseudo-device clockctl
 compiled in, and that
 .Pa /dev/clockctl
 is present.
@@ -1144,14 +1144,14 @@
 and passes
 .Sy timed_flags .
 The
-.Dq Li -M
+.Fl M
 option allows
 .Xr timed 8
 to be a master time source as well as a slave.
 If you are also running
 .Xr ntpd 8 ,
 only one machine running both should have the
-.Dq Li -M
+.Fl M
 flag given to
 .Xr timed 8 .
 .El
@@ -1251,7 +1251,7 @@
 This is only for IPv6 routers, so set
 .Sy ip6mode
 to
-.Dq Li router
+.Ql router
 if you use it.
 .El
 .Ss X Window System daemons
@@ -1295,7 +1295,7 @@
 Passes
 .Sy ypserv_flags .
 The
-.Dq Li -d



Home | Main Index | Thread Index | Old Index