Source-Changes-HG archive

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

[src/trunk]: src Do not use .Xo/.Xc to workaround ancient groff limits.



details:   https://anonhg.NetBSD.org/src/rev/2dc480e4eb29
branches:  trunk
changeset: 748128:2dc480e4eb29
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Oct 14 17:44:25 2009 +0000

description:
Do not use .Xo/.Xc to workaround ancient groff limits.

diffstat:

 dist/pf/share/man/man5/pf.conf.5 |  48 ++++++++++------------------------------
 usr.bin/hexdump/hexdump.1        |  10 ++-----
 2 files changed, 15 insertions(+), 43 deletions(-)

diffs (136 lines):

diff -r 756f8489c484 -r 2dc480e4eb29 dist/pf/share/man/man5/pf.conf.5
--- a/dist/pf/share/man/man5/pf.conf.5  Wed Oct 14 17:37:07 2009 +0000
+++ b/dist/pf/share/man/man5/pf.conf.5  Wed Oct 14 17:44:25 2009 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pf.conf.5,v 1.15 2009/03/22 14:29:35 perry Exp $
+.\"    $NetBSD: pf.conf.5,v 1.16 2009/10/14 17:44:25 joerg Exp $
 .\"    $OpenBSD: pf.conf.5,v 1.383 2007/07/17 16:27:38 jmc Exp $
 .\"
 .\" Copyright (c) 2002, Daniel Hartmeier
@@ -1407,13 +1407,8 @@
 .Xr pfctl 8 ,
 see the file
 .Em /etc/protocols .
-.It Xo
-.Ar from Aq Ar source
-.Ar port Aq Ar source
-.Ar os Aq Ar source
-.Ar to Aq Ar dest
-.Ar port Aq Ar dest
-.Xc
+.It Ar from Ao Ar source Ac Ar port Ao Ar source Ac Ar os Ao Ar source Ac \
+Ar to Ao Ar dest Ac Ar port Aq Ar dest
 This rule applies only to packets with the specified source and destination
 addresses and ports.
 .Pp
@@ -1592,11 +1587,8 @@
 block out proto { tcp, udp } all
 pass  out proto { tcp, udp } all user { \*(Lt 1000, dhartmei }
 .Ed
-.It Xo Ar flags Aq Ar a
-.Pf / Ns Aq Ar b
-.No \*(Ba / Ns Aq Ar b
-.No \*(Ba any
-.Xc
+.It Ar flags Ao Ar a Ac Pf / Ns Ao Ar b Ac No \*(Ba / Ns \
+Ao Ar b Ac No \*(Ba any
 This rule only applies to TCP packets that have the flags
 .Aq Ar a
 set out of set
@@ -1648,12 +1640,8 @@
 .Ar reassemble tcp
 will also not be recoverable from intermediate packets.
 Such connections will stall and time out.
-.It Xo Ar icmp-type Aq Ar type
-.Ar code Aq Ar code
-.Xc
-.It Xo Ar icmp6-type Aq Ar type
-.Ar code Aq Ar code
-.Xc
+.It Ar icmp-type Ao Ar type Ac Ar code Ao Ar code Ac
+.It Ar icmp6-type Ao Ar type Ac Ar code Ao Ar code Ac
 This rule only applies to ICMP or ICMPv6 packets with the specified type
 and code.
 Text names for ICMP types and codes are listed in
@@ -1669,9 +1657,7 @@
 .Ar icmp6-type
 .Pc
 must match.
-.It Xo Ar tos Aq Ar string
-.No \*(Ba Aq Ar number
-.Xc
+.It Ar tos Ao Ar string Ac No \*(Ba Aq Ar number
 This rule applies to packets with the specified
 .Em TOS
 bits set.
@@ -1747,10 +1733,7 @@
 The macro expansion for the
 .Ar label
 directive occurs only at configuration file parse time, not during runtime.
-.It Xo Ar queue Aq Ar queue
-.No \*(Ba ( Aq Ar queue ,
-.Aq Ar queue )
-.Xc
+.It Ar queue Ao Ar queue Ac No \*(Ba ( Ao Ar queue Ac , Aq Ar queue )
 Packets matching this rule will be assigned to the specified queue.
 If two queues are given, packets which have a
 .Em TOS
@@ -2030,9 +2013,7 @@
 .\" Prevent state changes for states created by this rule from appearing on the
 .\" .Xr pfsync 4
 .\" interface.
-.It Xo Aq Ar timeout
-.Aq Ar seconds
-.Xc
+.It Ao Ar timeout Ac Aq Ar seconds
 Changes the timeout values used for states created by this rule.
 For a list of all valid timeout names, see
 .Sx OPTIONS
@@ -2089,9 +2070,7 @@
 .It Ar max-src-conn Aq Ar number
 Limits the maximum number of simultaneous TCP connections which have
 completed the 3-way handshake that a single host can make.
-.It Xo Ar max-src-conn-rate Aq Ar number
-.No / Aq Ar seconds
-.Xc
+.It Ar max-src-conn-rate Ao Ar number Ac No / Aq Ar seconds
 Limit the rate of new connections over a time interval.
 The connection rate is an approximation calculated as a moving average.
 .El
@@ -2372,10 +2351,7 @@
 .It Ar anchor Aq Ar name
 Evaluates the filter rules in the specified
 .Ar anchor .
-.It Xo Ar load anchor
-.Aq Ar name
-.Ar from Aq Ar file
-.Xc
+.It Ar load anchor Ao Ar name Ac Ar from Aq Ar file
 Loads the rules from the specified file into the
 anchor
 .Ar name .
diff -r 756f8489c484 -r 2dc480e4eb29 usr.bin/hexdump/hexdump.1
--- a/usr.bin/hexdump/hexdump.1 Wed Oct 14 17:37:07 2009 +0000
+++ b/usr.bin/hexdump/hexdump.1 Wed Oct 14 17:44:25 2009 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: hexdump.1,v 1.18 2003/08/07 11:14:03 agc Exp $
+.\"    $NetBSD: hexdump.1,v 1.19 2009/10/14 17:44:59 joerg Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -251,13 +251,9 @@
 .Bl -tag -width  "Xc,_Xc,_Xc,_Xc,_Xc,_Xc" -offset indent
 .It Li \&%_c , \&%_p , \&%_u , \&%c
 One byte counts only.
-.It Xo
-.Li \&%d , \&%i , \&%o , \&%u , \&%X , \&%x
-.Xc
+.It Li \&%d , \&%i , \&%o , \&%u , \&%X , \&%x
 Four byte default, one, two, four and eight byte counts supported.
-.It Xo
-.Li \&%E , \&%e , \&%f , \&%G , \&%g
-.Xc
+.It Li \&%E , \&%e , \&%f , \&%G , \&%g
 Eight byte default, four byte counts supported.
 .El
 .Pp



Home | Main Index | Thread Index | Old Index