summaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2001-11-13 13:54:27 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2001-11-13 13:54:27 +0000
commit138760cea6dfae9292858f5f76e471374533727e (patch)
treea6b3996d64f3d12e658b68801b9c193ac0e12fd1 /share/man/man4
parent90d933d7a0cf14ffac9d7d6f3fafacdec21260e6 (diff)
o) Fix bogus .Xr usage;
o) CAVEAT -> CAVEATS; o) AUTHOR -> AUTHORS; o) Start new sentence on a new line; o) For URL and path names use .Pa; o) We don't like .Pp before .Rs; o) Don't use .Pp before/after .Sh; o) OpenBSD -> .Ox; millert@ ok and help;
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/atalk.44
-rw-r--r--share/man/man4/clnp.44
-rw-r--r--share/man/man4/cltp.46
-rw-r--r--share/man/man4/crypto.44
-rw-r--r--share/man/man4/icmp.46
-rw-r--r--share/man/man4/idp.46
-rw-r--r--share/man/man4/ifmedia.411
-rw-r--r--share/man/man4/inet.44
-rw-r--r--share/man/man4/ip.48
-rw-r--r--share/man/man4/man4.alpha/intro.45
-rw-r--r--share/man/man4/man4.alpha/le.44
-rw-r--r--share/man/man4/man4.alpha/tga.418
-rw-r--r--share/man/man4/man4.amiga/ae.44
-rw-r--r--share/man/man4/man4.amiga/bah.48
-rw-r--r--share/man/man4/man4.amiga/ed.46
-rw-r--r--share/man/man4/man4.amiga/es.46
-rw-r--r--share/man/man4/man4.amiga/gtsc.49
-rw-r--r--share/man/man4/man4.amiga/joy.45
-rw-r--r--share/man/man4/man4.amiga/le.44
-rw-r--r--share/man/man4/man4.amiga/qn.46
-rw-r--r--share/man/man4/man4.hp300/ct.44
-rw-r--r--share/man/man4/man4.hp300/dv.44
-rw-r--r--share/man/man4/man4.hp300/hil.46
-rw-r--r--share/man/man4/man4.hp300/le.48
-rw-r--r--share/man/man4/man4.hp300/rb.428
-rw-r--r--share/man/man4/man4.hp300/st.415
-rw-r--r--share/man/man4/man4.hp300/tc.49
-rw-r--r--share/man/man4/man4.i386/iy.44
-rw-r--r--share/man/man4/man4.mac68k/adb.46
-rw-r--r--share/man/man4/man4.mac68k/ae.45
-rw-r--r--share/man/man4/man4.mac68k/mc.45
-rw-r--r--share/man/man4/man4.macppc/abtn.44
-rw-r--r--share/man/man4/man4.macppc/bm.44
-rw-r--r--share/man/man4/man4.macppc/gm.44
-rw-r--r--share/man/man4/man4.mvme68k/le.44
-rw-r--r--share/man/man4/man4.sparc/cgeight.45
-rw-r--r--share/man/man4/man4.sparc/le.44
-rw-r--r--share/man/man4/man4.sparc64/gem.45
-rw-r--r--share/man/man4/man4.sparc64/hme.45
-rw-r--r--share/man/man4/man4.sun3/le.44
-rw-r--r--share/man/man4/man4.vax/acc.44
-rw-r--r--share/man/man4/man4.vax/ad.44
-rw-r--r--share/man/man4/man4.vax/css.44
-rw-r--r--share/man/man4/man4.vax/de.44
-rw-r--r--share/man/man4/man4.vax/dhu.44
-rw-r--r--share/man/man4/man4.vax/dmc.48
-rw-r--r--share/man/man4/man4.vax/dmv.46
-rw-r--r--share/man/man4/man4.vax/ec.48
-rw-r--r--share/man/man4/man4.vax/en.46
-rw-r--r--share/man/man4/man4.vax/ex.44
-rw-r--r--share/man/man4/man4.vax/hk.44
-rw-r--r--share/man/man4/man4.vax/ik.44
-rw-r--r--share/man/man4/man4.vax/il.44
-rw-r--r--share/man/man4/man4.vax/ix.44
-rw-r--r--share/man/man4/man4.vax/np.44
-rw-r--r--share/man/man4/man4.vax/qe.44
-rw-r--r--share/man/man4/man4.vax/uda.44
-rw-r--r--share/man/man4/man4.vax/va.46
-rw-r--r--share/man/man4/man4.vax/vp.44
-rw-r--r--share/man/man4/man4.vax/vv.44
-rw-r--r--share/man/man4/netintro.412
-rw-r--r--share/man/man4/options.49
-rw-r--r--share/man/man4/pty.416
-rw-r--r--share/man/man4/strip.48
-rw-r--r--share/man/man4/termios.46
-rw-r--r--share/man/man4/tp.453
-rw-r--r--share/man/man4/udp.46
-rw-r--r--share/man/man4/ukphy.44
-rw-r--r--share/man/man4/urio.44
-rw-r--r--share/man/man4/uscanner.44
-rw-r--r--share/man/man4/vlan.43
71 files changed, 245 insertions, 235 deletions
diff --git a/share/man/man4/atalk.4 b/share/man/man4/atalk.4
index 40f6ed078c0..67e29047f95 100644
--- a/share/man/man4/atalk.4
+++ b/share/man/man4/atalk.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: atalk.4,v 1.10 2001/09/06 15:04:34 mpech Exp $
+.\" $OpenBSD: atalk.4,v 1.11 2001/11/13 13:54:25 mpech Exp $
.\"
.\" This file is derived from the atalk.4 man page in the Netatalk 1.4b2
.\" distribution. That distribution is covered by the following copyright:
@@ -84,7 +84,7 @@ struct sockaddr_at {
The port of a socket may be set with
.Xr bind 2 .
The node for
-.Xr bind
+.Xr bind 2
must always be
.Dv ATADDR_ANYNODE :
``this node.'' The net
diff --git a/share/man/man4/clnp.4 b/share/man/man4/clnp.4
index 6a0c001276b..7abbe4d57ab 100644
--- a/share/man/man4/clnp.4
+++ b/share/man/man4/clnp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: clnp.4,v 1.6 2000/12/21 21:01:15 aaron Exp $
+.\" $OpenBSD: clnp.4,v 1.7 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: clnp.4,v 1.4 1994/11/30 16:22:07 jtc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -73,7 +73,7 @@ system calls may be used).
Outgoing packets automatically have a CLNP header prepended to them.
Incoming packets received by the user contain the full CLNP header.
The following
-.Xr setsockopt
+.Xr setsockopt 2
options apply to CLNP:
.Bl -tag -width CLNPOPT_FLAGS
.It Dv CLNPOPT_FLAGS
diff --git a/share/man/man4/cltp.4 b/share/man/man4/cltp.4
index 1dd44849812..49b10a56183 100644
--- a/share/man/man4/cltp.4
+++ b/share/man/man4/cltp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cltp.4,v 1.6 2000/12/21 21:01:15 aaron Exp $
+.\" $OpenBSD: cltp.4,v 1.7 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: cltp.4,v 1.3 1994/11/30 16:22:08 jtc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -56,9 +56,9 @@ protocol family.
.Tn CLTP
sockets are connectionless, and are
normally used with the
-.Xr sendto
+.Xr sendto 2
and
-.Xr recvfrom
+.Xr recvfrom 2
calls, though the
.Xr connect 2
call may also be used to fix the destination for future
diff --git a/share/man/man4/crypto.4 b/share/man/man4/crypto.4
index 34c8ea8e64e..06b6561102d 100644
--- a/share/man/man4/crypto.4
+++ b/share/man/man4/crypto.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypto.4,v 1.2 2001/05/14 09:02:54 deraadt Exp $
+.\" $OpenBSD: crypto.4,v 1.3 2001/11/13 13:54:25 mpech Exp $
.\"
.\" Copyright (c) 2001 Theo de Raadt
.\" All rights reserved.
@@ -37,7 +37,7 @@
.Op Ar count
.Sh DESCRIPTION
The
-.Xr crypto
+.Nm
driver provides userland applications access to hardware crypto support
via the kernel.
The
diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4
index 374880ac1ee..1fe643b7ab2 100644
--- a/share/man/man4/icmp.4
+++ b/share/man/man4/icmp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: icmp.4,v 1.7 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: icmp.4,v 1.8 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: icmp.4,v 1.3 1994/11/30 16:22:14 jtc Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
@@ -65,9 +65,9 @@ is obtained from
.Tn ICMP
sockets are connectionless,
and are normally used with the
-.Xr sendto
+.Xr sendto 2
and
-.Xr recvfrom
+.Xr recvfrom 2
calls, though the
.Xr connect 2
call may also be used to fix the destination for future
diff --git a/share/man/man4/idp.4 b/share/man/man4/idp.4
index a31d5e14fe7..f31de5f14dd 100644
--- a/share/man/man4/idp.4
+++ b/share/man/man4/idp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: idp.4,v 1.6 2000/12/21 21:01:16 aaron Exp $
+.\" $OpenBSD: idp.4,v 1.7 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: idp.4,v 1.3 1994/11/30 16:22:15 jtc Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
@@ -56,9 +56,9 @@ protocol family.
.Tn IDP
sockets are connectionless, and are
normally used with the
-.Xr sendto
+.Xr sendto 2
and
-.Xr recvfrom
+.Xr recvfrom 2
calls, though the
.Xr connect 2
call may also be used to fix the destination for future
diff --git a/share/man/man4/ifmedia.4 b/share/man/man4/ifmedia.4
index 58ce778c898..307e58f368f 100644
--- a/share/man/man4/ifmedia.4
+++ b/share/man/man4/ifmedia.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifmedia.4,v 1.7 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: ifmedia.4,v 1.8 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: ifmedia.4,v 1.1 1998/08/09 00:37:17 thorpej Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -136,7 +136,8 @@ connector.
100baseVG AnyLAN.
[100baseVG, 100VG]
.It Dv IFM_100_T2
-100baseT2. [100baseT2, 100T2]
+100baseT2.
+[100baseT2, 100T2]
.It Dv IFM_1000_FX
1000baseFX, 1Gb/s over fiber optic cables.
[1000baseFX, 1000FX]
@@ -182,9 +183,11 @@ All routes vs. single route broadcast.
The following media types are defined for FDDI:
.Bl -tag -offset indent -width IFM_FDDI_SMF
.It Dv IFM_FDDI_SMF
-Single-mode fiber. [Single-mode, SMF]
+Single-mode fiber.
+[Single-mode, SMF]
.It Dv IFM_FDDI_MMF
-Multi-mode fiber. [Multi-mode, MMF]
+Multi-mode fiber.
+[Multi-mode, MMF]
.It Dv IFM_FDDI_UTP
Unshielded twisted pair, RJ45 connector.
[UTP, CDDI]
diff --git a/share/man/man4/inet.4 b/share/man/man4/inet.4
index e654e1a1bc9..2233eb767ad 100644
--- a/share/man/man4/inet.4
+++ b/share/man/man4/inet.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inet.4,v 1.8 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: inet.4,v 1.9 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: inet.4,v 1.3 1994/11/30 16:22:18 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -176,7 +176,7 @@ Get interface network mask.
.%B PS1
.%N 8
.Re
-.Sh CAVEAT
+.Sh CAVEATS
The Internet protocol support is subject to change as
the Internet protocols develop.
Users should not depend on details of the current implementation, but rather
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 9e6e4a4e952..76f5539a901 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ip.4,v 1.17 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: ip.4,v 1.18 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: ip.4,v 1.3 1994/11/30 16:22:19 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -118,7 +118,7 @@ option is enabled on a
.Dv SOCK_DGRAM
socket,
the
-.Xr recvmsg
+.Xr recvmsg 2
call will return the destination
.Tn IP
address for a
@@ -279,9 +279,9 @@ Raw
.Tn IP
sockets are connectionless,
and are normally used with the
-.Xr sendto
+.Xr sendto 2
and
-.Xr recvfrom
+.Xr recvfrom 2
calls, though the
.Xr connect 2
call may also be used to fix the destination for future
diff --git a/share/man/man4/man4.alpha/intro.4 b/share/man/man4/man4.alpha/intro.4
index c5559dbfbb4..634b71ce835 100644
--- a/share/man/man4/man4.alpha/intro.4
+++ b/share/man/man4/man4.alpha/intro.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.4,v 1.8 2001/10/06 22:11:58 miod Exp $
+.\" $OpenBSD: intro.4,v 1.9 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1998 The OpenBSD Project
.\" All Rights Reserved.
@@ -67,7 +67,8 @@ The autoconfiguration system is described in
A list of the supported devices is given below.
.Sh LIST OF DEVICES
The devices listed below are supported in this incarnation of
-the system. Pseudo-devices are not listed.
+the system.
+Pseudo-devices are not listed.
Devices are indicated by their functional interface.
Not all supported devices are listed.
.Pp
diff --git a/share/man/man4/man4.alpha/le.4 b/share/man/man4/man4.alpha/le.4
index 1e5c1972f37..28275158fc3 100644
--- a/share/man/man4/man4.alpha/le.4
+++ b/share/man/man4/man4.alpha/le.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: le.4,v 1.4 1999/07/09 13:35:44 aaron Exp $
+.\" $OpenBSD: le.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1998 The OpenBSD Project
.\" All rights reserved.
@@ -23,7 +23,7 @@ Ethernet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
diff --git a/share/man/man4/man4.alpha/tga.4 b/share/man/man4/man4.alpha/tga.4
index 31ce1a81f5a..2da716c9fec 100644
--- a/share/man/man4/man4.alpha/tga.4
+++ b/share/man/man4/man4.alpha/tga.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tga.4,v 1.1 2001/10/06 22:33:39 nate Exp $
+.\" $OpenBSD: tga.4,v 1.2 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 2001 Nathan L. Binkert
.\" All rights reserved.
@@ -41,10 +41,10 @@ This driver handles TGA graphics hardware within the
console framework.
.Pp
On TGA adapters, the resolution is set on the card and is not changed
-at runtime. On some TGA models, there are four dip switches. On
-other models, there is a rotary switch with positions 0-F. There are
-also some that use jumpers.
-.Pp
+at runtime.
+On some TGA models, there are four dip switches.
+On other models, there is a rotary switch with positions 0-F.
+There are also some that use jumpers.
.Ss TGA Switch Settings:
.Bl -column "Setting" "Pixel Freq" "Resolution" "Refresh Rate"
.It Li Switch Ta Pixel Ta Monitor Ta Refresh
@@ -70,10 +70,10 @@ there are no guarantees.
.Pp
N.B.: The resolution selected is the resolution used in X windows.
.Pp
-There are also a couple of extra jumpers on some card. One of these
-jumpers often selects the card to be the primary display. Exactly one
-of the cards in your machine should have that jumper on. If you have
-extra cards, they should have the jumper off.
+There are also a couple of extra jumpers on some card.
+One of these jumpers often selects the card to be the primary display.
+Exactly one of the cards in your machine should have that jumper on.
+If you have extra cards, they should have the jumper off.
.Sh SEE ALSO
.Xr pci 4 ,
.Xr wscons 4 ,
diff --git a/share/man/man4/man4.amiga/ae.4 b/share/man/man4/man4.amiga/ae.4
index 81bf5a55322..8a4031cf98c 100644
--- a/share/man/man4/man4.amiga/ae.4
+++ b/share/man/man4/man4.amiga/ae.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ae.4,v 1.7 1999/07/09 13:35:45 aaron Exp $
+.\" $OpenBSD: ae.4,v 1.8 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: ae.4,v 1.3 1995/10/07 18:09:11 chopps Exp $
.\"
.\" Copyright (c) 1995 Bernd Ernesti and Klaus Burkert. All rights reserved.
@@ -63,7 +63,7 @@ Ethernet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
diff --git a/share/man/man4/man4.amiga/bah.4 b/share/man/man4/man4.amiga/bah.4
index 40f200a1d08..e2d4cef9013 100644
--- a/share/man/man4/man4.amiga/bah.4
+++ b/share/man/man4/man4.amiga/bah.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bah.4,v 1.8 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: bah.4,v 1.9 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: bah.4,v 1.2 1995/06/06 23:41:37 cgd Exp $
.\"
.\" Copyright (c) 1995 Ignatios Souvatzis
@@ -51,7 +51,7 @@ ARCnet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface does not employ the address resolution protocol described in
@@ -60,9 +60,9 @@ to dynamically map between Internet and Ethernet addresses on the local
network.
Instead, it uses the least significant 8 bits of the IP address as hardware
address, as described in
-.Xr RFC 1051
+.Em RFC 1051
and
-.Xr RFC 1201
+.Em RFC 1201
as one option.
.Pp
With the IFF_LINK0 flag cleared, IP encoding is done according to the
diff --git a/share/man/man4/man4.amiga/ed.4 b/share/man/man4/man4.amiga/ed.4
index c6f7ba3ac21..a11023fe577 100644
--- a/share/man/man4/man4.amiga/ed.4
+++ b/share/man/man4/man4.amiga/ed.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ed.4,v 1.3 1999/05/16 19:56:46 alex Exp $
+.\" $OpenBSD: ed.4,v 1.4 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: ed.4,v 1.3 1999/05/16 19:56:46 alex Exp $
+.\" $Id: ed.4,v 1.4 2001/11/13 13:54:26 mpech Exp $
.\"
.Dd August 30, 1994
.Dt ED 4 amiga
@@ -47,7 +47,7 @@ DP8390 Ethernet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
diff --git a/share/man/man4/man4.amiga/es.4 b/share/man/man4/man4.amiga/es.4
index 12d85e00d07..f28827b6c76 100644
--- a/share/man/man4/man4.amiga/es.4
+++ b/share/man/man4/man4.amiga/es.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: es.4,v 1.3 1999/05/16 19:56:47 alex Exp $
+.\" $OpenBSD: es.4,v 1.4 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: es.4,v 1.3 1999/05/16 19:56:47 alex Exp $
+.\" $Id: es.4,v 1.4 2001/11/13 13:54:26 mpech Exp $
.\"
.Dd August 30, 1994
.Dt ES 4 amiga
@@ -47,7 +47,7 @@ SMC91C90 Ethernet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
diff --git a/share/man/man4/man4.amiga/gtsc.4 b/share/man/man4/man4.amiga/gtsc.4
index 90daadd28ad..f164130c5fc 100644
--- a/share/man/man4/man4.amiga/gtsc.4
+++ b/share/man/man4/man4.amiga/gtsc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gtsc.4,v 1.9 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: gtsc.4,v 1.10 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1994 Christian E. Hopps
.\" All rights reserved.
@@ -63,10 +63,11 @@ uses is based on the WD33c93 SCSI chip.
.Bl -diag
.It sbicwait TIMEO @%d with asr=x%x csr=x%x
The 33c93 code (sbic) has been waiting too long for a SCSI chip
-operation to complete. %d is the line in the source file
+operation to complete.
+%d is the line in the source file
.Pa amiga/dev/sbic.c
-at which the SCSI chip timed-out. Asr and csr are status registers
-withing the SCSI chip.
+at which the SCSI chip timed-out.
+Asr and csr are status registers withing the SCSI chip.
.It gtsc%d: abort %s: csr = 0x%02x, asr = 0x%02x
A SCSI operation %s was aborted due to an error.
.It gtsc%d: csr == 0x%02i
diff --git a/share/man/man4/man4.amiga/joy.4 b/share/man/man4/man4.amiga/joy.4
index c902317fed5..8d45fa6fb79 100644
--- a/share/man/man4/man4.amiga/joy.4
+++ b/share/man/man4/man4.amiga/joy.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: joy.4,v 1.2 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: joy.4,v 1.3 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 2000 Marc Espie
.\" All rights reserved.
@@ -44,7 +44,8 @@ The joystick connectors also accept mouses.
There is no simple way to find out whether a mouse or a joystick is currently
plugged in.
.Pp
-The joystick is a digital device. Each
+The joystick is a digital device.
+Each
.Fn read
on the file descriptor does return
one byte representing the current state of the joystick,
diff --git a/share/man/man4/man4.amiga/le.4 b/share/man/man4/man4.amiga/le.4
index 222c766a7cd..6774516d3dd 100644
--- a/share/man/man4/man4.amiga/le.4
+++ b/share/man/man4/man4.amiga/le.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: le.4,v 1.5 2000/03/02 14:46:44 todd Exp $
+.\" $OpenBSD: le.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -57,7 +57,7 @@ Ethernet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
diff --git a/share/man/man4/man4.amiga/qn.4 b/share/man/man4/man4.amiga/qn.4
index d36f7b1fa7e..89e8fa8fe4e 100644
--- a/share/man/man4/man4.amiga/qn.4
+++ b/share/man/man4/man4.amiga/qn.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: qn.4,v 1.9 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: qn.4,v 1.10 2001/11/13 13:54:26 mpech Exp $
.\"
.\"
.\" Copyright (c) 1995 Mika Kortelainen. All rights reserved.
@@ -62,7 +62,7 @@ Ethernet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
@@ -80,7 +80,7 @@ Resource Management Force's ethernet card, manufacturer\ 2011, product\ 2
.Sh NOTES
Multicasting not done yet.
If the driver happens to lock up, you may use
-.Xr ifconfig
+.Xr ifconfig 8
to force the driver down and up again.
This usually helps.
.Sh HISTORY
diff --git a/share/man/man4/man4.hp300/ct.4 b/share/man/man4/man4.hp300/ct.4
index f726e8e523a..3ab79fa9559 100644
--- a/share/man/man4/man4.hp300/ct.4
+++ b/share/man/man4/man4.hp300/ct.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ct.4,v 1.5 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: ct.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -70,7 +70,7 @@ is not supported.
.It
The
.Dv MTIOCGET
-.Xr ioctl
+.Xr ioctl 2
is not supported.
.It
The record size for read and write operations must be between
diff --git a/share/man/man4/man4.hp300/dv.4 b/share/man/man4/man4.hp300/dv.4
index 540b0fe875b..f1481e1bd48 100644
--- a/share/man/man4/man4.hp300/dv.4
+++ b/share/man/man4/man4.hp300/dv.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dv.4,v 1.5 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: dv.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -69,7 +69,7 @@ A user process communicates to the device initially by means of
calls.
For the
.Tn HP-UX
-.Xr ioctl
+.Xr ioctl 2
calls supported, refer to
.Tn HP-UX
manuals.
diff --git a/share/man/man4/man4.hp300/hil.4 b/share/man/man4/man4.hp300/hil.4
index 9594e1a776d..0669de05163 100644
--- a/share/man/man4/man4.hp300/hil.4
+++ b/share/man/man4/man4.hp300/hil.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hil.4,v 1.6 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: hil.4,v 1.7 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -131,7 +131,7 @@ cannot be shared between processes.
.Pp
Choosing the type of interface is done on a per device basis using
an
-.Xr ioctl ,
+.Xr ioctl 2 ,
but each device can only have one interface at any given time.
.Pp
.Em Select
@@ -371,7 +371,7 @@ device open, and is using it in
mode.
.It Bq Er EINVAL
Invalid
-.Xr ioctl
+.Xr ioctl 2
specification.
.It Bq Er EMFILE
No more shared queues available.
diff --git a/share/man/man4/man4.hp300/le.4 b/share/man/man4/man4.hp300/le.4
index 0467df6334d..9b8eb925294 100644
--- a/share/man/man4/man4.hp300/le.4
+++ b/share/man/man4/man4.hp300/le.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: le.4,v 1.4 2001/05/11 01:24:20 millert Exp $
+.\" $OpenBSD: le.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -61,9 +61,9 @@ Ethernet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
-.Xr le
+.Nm
interface employs the address resolution protocol described in
.Xr arp 4
to dynamically map between Internet and Ethernet addresses on the local
@@ -81,7 +81,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Sh DIAGNOSTICS
.Bl -diag
.It le%d: hardware address %s.
diff --git a/share/man/man4/man4.hp300/rb.4 b/share/man/man4/man4.hp300/rb.4
index 47c23da3529..98ac4c926f4 100644
--- a/share/man/man4/man4.hp300/rb.4
+++ b/share/man/man4/man4.hp300/rb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rb.4,v 1.4 2001/05/11 01:24:20 millert Exp $
+.\" $OpenBSD: rb.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -49,7 +49,8 @@
This driver is for the
.Tn HP98720
and 98721 graphics device, also known as
-the Renaissance. This driver has not been tested with all possible
+the Renaissance.
+This driver has not been tested with all possible
combinations of frame buffer boards and scan boards installed in the device.
The driver merely checks for the existence of the device and does minimal set
up.
@@ -65,7 +66,8 @@ setting these values.
.Pp
A user process communicates to the device initially by means of
.Xr ioctl 2
-calls. For the
+calls.
+For the
.Tn HP-UX
.Xr ioctl 2
calls supported, refer to
@@ -82,17 +84,19 @@ Get info about device, setting the entries in the
.Ar grfinfo
structure, as defined in
.Aq Pa hpdev/grfioctl.h .
-For the standard 98720, the number of planes should be 4. The number of
-colors would therefore be 15, excluding black. If one 98722A frame buffer
-board is installed, there will still be 4 planes, with the 4 planes on the
-colormap board becoming overlay planes. With each additional 98722 frame
-buffer board 4 planes will be added up to a maximum of 32 planes total.
+For the standard 98720, the number of planes should be 4.
+The number of colors would therefore be 15, excluding black.
+If one 98722A frame buffer board is installed, there will still
+be 4 planes, with the 4 planes on the colormap board becoming overlay planes.
+With each additional 98722 frame buffer board 4 planes will be added up to
+a maximum of 32 planes total.
.It Dv GRFIOCON
Graphics On
.Pp
Turn graphics on by enabling
.Tn CRT
-output. The screen will come on, displaying
+output.
+The screen will come on, displaying
whatever is in the frame buffer, using whatever colormap is in place.
.It Dv GRFIOCOFF
Graphics Off
@@ -104,9 +108,9 @@ are not affected.
.It Dv GRFIOCMAP
Map Device to user space
.Pp
-Map in control registers and framebuffer space. Once the device file is
-mapped, the frame buffer structure is accessible. The structure describing
-the 98720 is defined in
+Map in control registers and framebuffer space.
+Once the device file is mapped, the frame buffer structure is accessible.
+The structure describing the 98720 is defined in
.Pa hpdev/grf_rbreg.h .
.El
.Sh EXAMPLES
diff --git a/share/man/man4/man4.hp300/st.4 b/share/man/man4/man4.hp300/st.4
index aaf15e35818..cf8c4b5266e 100644
--- a/share/man/man4/man4.hp300/st.4
+++ b/share/man/man4/man4.hp300/st.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: st.4,v 1.7 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: st.4,v 1.8 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -127,8 +127,8 @@ Bit 5 in the minor device number selects fixed block mode with a block
size of 1K.
Variable length records are the default if bit 5 is not set.
.Pp
-For unit 0 here are the effects of minor device bits 2,3,4,5. For other
-units add the
+For unit 0 here are the effects of minor device bits 2,3,4,5.
+For other units add the
.Em unit#
to each of the device names.
.Bl -column norewind density filemarks -offset indent
@@ -165,7 +165,8 @@ The
.Tn SCSI
controller hardware can not do odd length
.Tn DMA
-transfers. If odd length
+transfers.
+If odd length
.Tn DMA I/O
is requested the driver will use the
"Program Transfer Mode" of the Fujitsu
@@ -173,9 +174,9 @@ is requested the driver will use the
chip.
Read requests are normally even length for which a
.Tn DMA
-transfer is used. If, however, the
-driver detects that a odd length read has happened (when a even length
-was requested) it will issue the
+transfer is used.
+If, however, the driver detects that a odd length read has happened
+(when a even length was requested) it will issue the
.Dv EIO
error and the last byte of the read
data will be 0x00.
diff --git a/share/man/man4/man4.hp300/tc.4 b/share/man/man4/man4.hp300/tc.4
index 9c8070d5c39..566111a7caa 100644
--- a/share/man/man4/man4.hp300/tc.4
+++ b/share/man/man4/man4.hp300/tc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tc.4,v 1.6 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: tc.4,v 1.7 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -58,7 +58,8 @@ the device to their requirements.
The Topcat and Catseye are nearly identical in common usage and only the
Topcat will be referred to from now on.
.Pp
-The Topcat display cards are not user configurable. If one is present on a
+The Topcat display cards are not user configurable.
+If one is present on a
system, it will always have a frame buffer address of 0x200000 and a control
register address of 0x560000.
These are the
@@ -115,7 +116,7 @@ The frame buffer structure describing Topcat/Catseye devices is defined in
.El
.Pp
For further information about the use of
-.Xr ioctl
+.Xr ioctl 2
see the man page.
.Sh EXAMPLES
A small example of opening, mapping and using the device is given below.
@@ -172,7 +173,7 @@ no such device.
Another process has the device open.
.It Bq Er EINVAL
Invalid
-.Xr ioctl
+.Xr ioctl 2
specification.
.El
.Sh SEE ALSO
diff --git a/share/man/man4/man4.i386/iy.4 b/share/man/man4/man4.i386/iy.4
index 58b0b21d0f6..4dda2d3ebba 100644
--- a/share/man/man4/man4.i386/iy.4
+++ b/share/man/man4/man4.i386/iy.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: iy.4,v 1.9 2001/08/03 15:21:16 mpech Exp $
+.\" $OpenBSD: iy.4,v 1.10 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: iy.4,v 1.2 1996/05/23 16:52:39 thorpej Exp $
.\"
.\" Copyright (c) 1994 Herb Peyerl
@@ -56,7 +56,7 @@ UTP, also known as twisted pair
.El
.Pp
The default port to use is the port the card autodetects at
-.Xr ifconfig up
+.Em ifconfig up
time.
To choose an alternative port, use the following flag combinations with
.Xr ifconfig 8
diff --git a/share/man/man4/man4.mac68k/adb.4 b/share/man/man4/man4.mac68k/adb.4
index 590ea44cc3f..e97d35b0e89 100644
--- a/share/man/man4/man4.mac68k/adb.4
+++ b/share/man/man4/man4.mac68k/adb.4
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: adb.4,v 1.5 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: adb.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: adb.4,v 1.1 1997/07/18 02:13:42 ender Exp $
.\"
.Dd July 17, 1997
@@ -95,7 +95,7 @@ call is used to control the
.Tn ADB
event device.
The following is a list of available
-.Xr ioctl
+.Xr ioctl 2
commands:
.Bl -tag -width ADBIOC_GETREPEAT
.It Dv ADBIOC_DEVSINFO
@@ -228,7 +228,7 @@ event device.
Another process has the device open.
.It Bq Er EINVAL
Invalid
-.Xr ioctl
+.Xr ioctl 2
specification.
.It Bq Er EMSGSIZE
The size of the
diff --git a/share/man/man4/man4.mac68k/ae.4 b/share/man/man4/man4.mac68k/ae.4
index 044e1b4ece2..226c945367e 100644
--- a/share/man/man4/man4.mac68k/ae.4
+++ b/share/man/man4/man4.mac68k/ae.4
@@ -27,7 +27,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: ae.4,v 1.4 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: ae.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\"
.Dd June 7, 1997
.Dt AE 4 mac68k
@@ -46,7 +46,8 @@ This set includes the DP83902.
.Pp
Each of the host's network addresses is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl 2 . The
+.Xr ioctl 2 .
+The
.Nm
interface employs the address resolution protocol described in
.Xr arp 4
diff --git a/share/man/man4/man4.mac68k/mc.4 b/share/man/man4/man4.mac68k/mc.4
index b5aa33a4f08..b5099eed81c 100644
--- a/share/man/man4/man4.mac68k/mc.4
+++ b/share/man/man4/man4.mac68k/mc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mc.4,v 1.4 2001/01/29 02:11:11 niklas Exp $
+.\" $OpenBSD: mc.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: mc.4,v 1.1 1997/12/18 06:22:45 ender Exp $
.\"
.\" Copyright (c) 1997 David Huang <khym@bga.com>
@@ -39,7 +39,8 @@ interface provides access to a 10 Mb/s Ethernet network via the AMD Am79C940
.Pp
Each of the host's network addresses is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl 2 . The
+.Xr ioctl 2 .
+The
.Nm
interface employs the address resolution protocol described in
.Xr arp 4
diff --git a/share/man/man4/man4.macppc/abtn.4 b/share/man/man4/man4.macppc/abtn.4
index 610fb97b899..2de1493d8c1 100644
--- a/share/man/man4/man4.macppc/abtn.4
+++ b/share/man/man4/man4.macppc/abtn.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: abtn.4,v 1.4 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: abtn.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 2001 Peter Philipp
.\" All rights reserved.
@@ -44,7 +44,7 @@ are silently ignored.
.Sh SEE ALSO
.Xr adb 4 ,
.Xr aed 4
-.Sh AUTHOR
+.Sh AUTHORS
The
.Nm
driver was written by Tsubai Masanari for
diff --git a/share/man/man4/man4.macppc/bm.4 b/share/man/man4/man4.macppc/bm.4
index fb32a66b70c..ac74bb439b9 100644
--- a/share/man/man4/man4.macppc/bm.4
+++ b/share/man/man4/man4.macppc/bm.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bm.4,v 1.2 2001/09/02 19:36:55 miod Exp $
+.\" $OpenBSD: bm.4,v 1.3 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 2001 Peter Philipp
.\" All rights reserved.
@@ -37,7 +37,7 @@
The
.Nm
device driver supports Apple BMAC and compatible Ethernet devices.
-.Sh AUTHOR
+.Sh AUTHORS
The
.Nm
Ethernet driver was written by Tsubai Masanari.
diff --git a/share/man/man4/man4.macppc/gm.4 b/share/man/man4/man4.macppc/gm.4
index 2136bf97f62..677b7f0a323 100644
--- a/share/man/man4/man4.macppc/gm.4
+++ b/share/man/man4/man4.macppc/gm.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gm.4,v 1.3 2001/10/03 04:32:37 drahn Exp $
+.\" $OpenBSD: gm.4,v 1.4 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 2001 Peter Philipp
.\" All rights reserved.
@@ -44,7 +44,7 @@ driver was not able to be reset the device after 10 tries.
.It "gm0: device timeout"
watchdog timeout.
.El
-.Sh AUTHOR
+.Sh AUTHORS
The
.Nm
Ethernet driver was written by Tsubai Masanari.
diff --git a/share/man/man4/man4.mvme68k/le.4 b/share/man/man4/man4.mvme68k/le.4
index c503515c879..a9b6e240bf6 100644
--- a/share/man/man4/man4.mvme68k/le.4
+++ b/share/man/man4/man4.mvme68k/le.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: le.4,v 1.6 2000/03/02 14:46:48 todd Exp $
+.\" $OpenBSD: le.4,v 1.7 2001/11/13 13:54:26 mpech Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -58,7 +58,7 @@ Ethernet chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
diff --git a/share/man/man4/man4.sparc/cgeight.4 b/share/man/man4/man4.sparc/cgeight.4
index 9134412e026..8e243c71090 100644
--- a/share/man/man4/man4.sparc/cgeight.4
+++ b/share/man/man4/man4.sparc/cgeight.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cgeight.4,v 1.8 2001/06/23 07:04:17 pjanzen Exp $
+.\" $OpenBSD: cgeight.4,v 1.9 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: cgeight.4,v 1.2 1997/10/08 22:00:03 jtc Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -56,8 +56,7 @@ The
.Nm
driver supports the minimal
.Xr ioctl 2 Ns s
-needed to run
-.Xr X 1 .
+needed to run the X Window System.
.Sh SEE ALSO
.Xr bwtwo 4 ,
.Xr cgfour 4 ,
diff --git a/share/man/man4/man4.sparc/le.4 b/share/man/man4/man4.sparc/le.4
index 072fc7f3a4b..e6f45c0f89e 100644
--- a/share/man/man4/man4.sparc/le.4
+++ b/share/man/man4/man4.sparc/le.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: le.4,v 1.12 2000/03/02 14:46:49 todd Exp $
+.\" $OpenBSD: le.4,v 1.13 2001/11/13 13:54:26 mpech Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -65,7 +65,7 @@ chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
diff --git a/share/man/man4/man4.sparc64/gem.4 b/share/man/man4/man4.sparc64/gem.4
index 8768c14db97..d6f11ba26e6 100644
--- a/share/man/man4/man4.sparc64/gem.4
+++ b/share/man/man4/man4.sparc64/gem.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gem.4,v 1.2 2001/10/24 21:15:32 miod Exp $
+.\" $OpenBSD: gem.4,v 1.3 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 2001 Miodrag Vallat.
.\" All rights reserved.
@@ -63,7 +63,8 @@ network.
When a
.Nm
interface is brought up, by default, it will attempt to auto-negotiate the
-link speed and duplex. The speeds are tried in descending order, in Full
+link speed and duplex.
+The speeds are tried in descending order, in Full
Duplex, then Half Duplex mode.
.Pp
The
diff --git a/share/man/man4/man4.sparc64/hme.4 b/share/man/man4/man4.sparc64/hme.4
index 5144ec6dd24..951bc309d26 100644
--- a/share/man/man4/man4.sparc64/hme.4
+++ b/share/man/man4/man4.sparc64/hme.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hme.4,v 1.1 2001/10/06 16:51:13 miod Exp $
+.\" $OpenBSD: hme.4,v 1.2 2001/11/13 13:54:26 mpech Exp $
.\"
.\" Copyright (c) 1998 Jason L. Wright (jason@thought.net)
.\" All rights reserved.
@@ -70,7 +70,8 @@ network.
When a
.Nm
interface is brought up, by default, it will attempt to auto-negotiate the
-link speed and duplex. The speeds, in order of attempt, are:
+link speed and duplex.
+The speeds, in order of attempt, are:
100Mb/s Full Duplex, 100Mb/s Half Duplex, 10 Mb/s Full Duplex, and
10 Mb/s Half Duplex.
.Pp
diff --git a/share/man/man4/man4.sun3/le.4 b/share/man/man4/man4.sun3/le.4
index 2334f4649e5..4a2367d01c3 100644
--- a/share/man/man4/man4.sun3/le.4
+++ b/share/man/man4/man4.sun3/le.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: le.4,v 1.5 2001/01/29 02:11:12 niklas Exp $
+.\" $OpenBSD: le.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -61,7 +61,7 @@ chip set.
Each of the host's network addresses
is specified at boot time with an
.Dv SIOCSIFADDR
-.Xr ioctl .
+.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
diff --git a/share/man/man4/man4.vax/acc.4 b/share/man/man4/man4.vax/acc.4
index b4d56aaa5b4..351ac765a06 100644
--- a/share/man/man4/man4.vax/acc.4
+++ b/share/man/man4/man4.vax/acc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acc.4,v 1.4 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: acc.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: acc.4,v 1.3 1996/03/03 17:13:10 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 The Regents of the University of California.
@@ -60,7 +60,7 @@ the hardware support to the
interface described in
.Xr imp 4 .
The configuration entry for the
-.Xr imp
+.Em imp
must also include the
.Em pseudo-device
as shown above.
diff --git a/share/man/man4/man4.vax/ad.4 b/share/man/man4/man4.vax/ad.4
index a29181a3e12..5e9e0b0a08d 100644
--- a/share/man/man4/man4.vax/ad.4
+++ b/share/man/man4/man4.vax/ad.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ad.4,v 1.3 1999/06/05 13:18:37 aaron Exp $
+.\" $OpenBSD: ad.4,v 1.4 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: ad.4,v 1.3 1996/03/03 17:13:12 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 Regents of the University of California.
@@ -59,7 +59,7 @@ The driver communicates to a user process by means of
.Xr ioctl 2 Ns s.
The
.Dv AD_CHAN
-.Xr ioctl
+.Xr ioctl 2
selects which channel of the board to read.
For example,
.Bd -literal -offset indent
diff --git a/share/man/man4/man4.vax/css.4 b/share/man/man4/man4.vax/css.4
index b75dc7b8147..285234c5444 100644
--- a/share/man/man4/man4.vax/css.4
+++ b/share/man/man4/man4.vax/css.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: css.4,v 1.4 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: css.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: css.4,v 1.3 1996/03/03 17:13:16 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 Regents of the University of California.
@@ -60,7 +60,7 @@ the hardware support to the
interface described in
.Xr imp 4 .
The configuration entry for the
-.Xr imp
+.Em imp
must also include the
.Em pseudo-device
as shown above.
diff --git a/share/man/man4/man4.vax/de.4 b/share/man/man4/man4.vax/de.4
index 2e4ed6bf6c6..231922c8c9c 100644
--- a/share/man/man4/man4.vax/de.4
+++ b/share/man/man4/man4.vax/de.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: de.4,v 1.4 1999/06/05 13:18:37 aaron Exp $
+.\" $OpenBSD: de.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: de.4,v 1.3 1996/03/03 17:13:19 thorpej Exp $
.\"
.\" Copyright (c) 1986, 1991 The Regents of the University of California.
@@ -75,7 +75,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Sh DIAGNOSTICS
.Bl -diag
.It de%d: hardware address %s.
diff --git a/share/man/man4/man4.vax/dhu.4 b/share/man/man4/man4.vax/dhu.4
index 341d7befbf8..69130b31744 100644
--- a/share/man/man4/man4.vax/dhu.4
+++ b/share/man/man4/man4.vax/dhu.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dhu.4,v 1.4 2001/03/06 19:56:51 brad Exp $
+.\" $OpenBSD: dhu.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: dhu.4,v 1.4 1996/03/05 15:28:48 ragge Exp $
.\"
.\" Copyright (c) 1985, 1991 Regents of the University of California.
@@ -63,7 +63,7 @@ or
.Xr stty 1
or may be communicated by other programs which
utilize
-.Xr ioctl
+.Xr ioctl 2
such as
.Xr ifconfig 8 ,
see
diff --git a/share/man/man4/man4.vax/dmc.4 b/share/man/man4/man4.vax/dmc.4
index d1277d861d7..aaa318bfd00 100644
--- a/share/man/man4/man4.vax/dmc.4
+++ b/share/man/man4/man4.vax/dmc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dmc.4,v 1.6 2001/08/20 05:57:55 mpech Exp $
+.\" $OpenBSD: dmc.4,v 1.7 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: dmc.4,v 1.3 1996/03/03 17:13:22 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 Regents of the University of California.
@@ -89,7 +89,7 @@ Several device error counters are available via
.Xr adb 1 ,
for
more information see the
-.Xr adb
+.Em adb
script
.Pa /usr/lib/adb/dmcstats ,
or the
@@ -101,7 +101,7 @@ The host's address must be specified with an
.Xr ioctl 2 ,
and the destination address specified with a
.Dv SIOCSIFDSTADDR
-.Xr ioctl ,
+.Xr ioctl 2 ,
before the interface will transmit or receive any packets.
.Sh ROUTING
The driver places a
@@ -109,7 +109,7 @@ The driver places a
entry in the kernel routing tables for the
address given in the
.Dv SIOCSIFDSTADDR
-.Xr ioctl .
+.Xr ioctl 2 .
To use the
.Tn DMC
as a
diff --git a/share/man/man4/man4.vax/dmv.4 b/share/man/man4/man4.vax/dmv.4
index e1f1fe3beea..ab1b7e1982a 100644
--- a/share/man/man4/man4.vax/dmv.4
+++ b/share/man/man4/man4.vax/dmv.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dmv.4,v 1.5 1999/09/23 04:12:06 alex Exp $
+.\" $OpenBSD: dmv.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: dmv.4,v 1.3 1996/03/03 17:13:25 thorpej Exp $
.\"
.\" Copyright (c) 1988, 1991 Regents of the University of California.
@@ -62,7 +62,7 @@ The host's address must be specified with an
.Xr ioctl 2 ,
and the destination address specified with a
.Dv SIOCSIFDSTADDR
-.Xr ioctl ,
+.Xr ioctl 2 ,
before the interface will transmit or receive any packets.
.Sh ROUTING
The driver places a
@@ -70,7 +70,7 @@ The driver places a
entry in the kernel routing tables for the
address given in the
.Dv SIOCSIFDSTADDR
-.Xr ioctl .
+.Xr ioctl 2 .
To use the
.Tn DMV
as a
diff --git a/share/man/man4/man4.vax/ec.4 b/share/man/man4/man4.vax/ec.4
index d92c3050b3c..accdb02d78d 100644
--- a/share/man/man4/man4.vax/ec.4
+++ b/share/man/man4/man4.vax/ec.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ec.4,v 1.5 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: ec.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: ec.4,v 1.3 1996/03/03 17:13:30 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 The Regents of the University of California.
@@ -82,7 +82,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Pp
The interface software implements an exponential backoff algorithm
when notified of a collision on the cable.
@@ -140,5 +140,5 @@ The software implements local sending and broadcast by sending such packets
to the loop interface.
This is a kludge.
.Pp
-Backoff delays are done in a software busy loop. This can degrade the
-system if the network experiences frequent collisions.
+Backoff delays are done in a software busy loop.
+This can degrade the system if the network experiences frequent collisions.
diff --git a/share/man/man4/man4.vax/en.4 b/share/man/man4/man4.vax/en.4
index 2ff356c0c67..608cfe9abb5 100644
--- a/share/man/man4/man4.vax/en.4
+++ b/share/man/man4/man4.vax/en.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: en.4,v 1.5 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: en.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: en.4,v 1.3 1996/03/03 17:13:32 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 The Regents of the University of California.
@@ -102,7 +102,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Sh DIAGNOSTICS
.Bl -diag
.It en%d: output error.
@@ -148,4 +148,4 @@ packets is provided if the
flag is defined in
the driver and set at boot time with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
diff --git a/share/man/man4/man4.vax/ex.4 b/share/man/man4/man4.vax/ex.4
index 872b6c22bf9..fa3a5d3ab94 100644
--- a/share/man/man4/man4.vax/ex.4
+++ b/share/man/man4/man4.vax/ex.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ex.4,v 1.5 1999/09/23 04:12:06 alex Exp $
+.\" $OpenBSD: ex.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: ex.4,v 1.3 1996/03/03 17:13:33 thorpej Exp $
.\"
.\" Copyright (c) 1986, 1991 The Regents of the University of California.
@@ -70,7 +70,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Sh DIAGNOSTICS
.Bl -diag
.It "ex%d: HW %c.%c, NX %c.%c, hardware address %s."
diff --git a/share/man/man4/man4.vax/hk.4 b/share/man/man4/man4.vax/hk.4
index ff6d8e6a025..165d2185f2b 100644
--- a/share/man/man4/man4.vax/hk.4
+++ b/share/man/man4/man4.vax/hk.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hk.4,v 1.7 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: hk.4,v 1.8 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: hk.4,v 1.3 1996/03/03 17:13:37 thorpej Exp $
.\"
.\" Copyright (c) 1980, 1991 Regents of the University of California.
@@ -185,7 +185,7 @@ driver appeared in
.Bx 4.1 .
.Sh BUGS
The
-.Xr write
+.Xr write 2
function
scribbles on the tail of incomplete blocks.
.Pp
diff --git a/share/man/man4/man4.vax/ik.4 b/share/man/man4/man4.vax/ik.4
index fdb58a986b5..fe10913ec25 100644
--- a/share/man/man4/man4.vax/ik.4
+++ b/share/man/man4/man4.vax/ik.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ik.4,v 1.3 1999/06/05 13:18:38 aaron Exp $
+.\" $OpenBSD: ik.4,v 1.4 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: ik.4,v 1.3 1996/03/03 17:13:42 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 Regents of the University of California.
@@ -69,7 +69,7 @@ returns the virtual address where the user process can
find the interface registers.
The
.Dv IK_WAITINT
-.Xr ioctl
+.Xr ioctl 2
suspends the user process until the ikonas device
has interrupted (for whatever reason \(em the user process has to set
the interrupt enables).
diff --git a/share/man/man4/man4.vax/il.4 b/share/man/man4/man4.vax/il.4
index dd8888a216f..d500a611334 100644
--- a/share/man/man4/man4.vax/il.4
+++ b/share/man/man4/man4.vax/il.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: il.4,v 1.4 1999/06/05 13:18:39 aaron Exp $
+.\" $OpenBSD: il.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: il.4,v 1.3 1996/03/03 17:13:43 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 The Regents of the University of California.
@@ -68,7 +68,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Sh DIAGNOSTICS
.Bl -diag
.It il%d: input error.
diff --git a/share/man/man4/man4.vax/ix.4 b/share/man/man4/man4.vax/ix.4
index 5f6a06caff8..57a7b4787a9 100644
--- a/share/man/man4/man4.vax/ix.4
+++ b/share/man/man4/man4.vax/ix.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ix.4,v 1.5 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: ix.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: ix.4,v 1.3 1996/03/03 17:13:45 thorpej Exp $
.\"
.\" Copyright (c) 1986, 1991 The Regents of the University of California.
@@ -83,7 +83,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Sh DIAGNOSTICS
.Bl -diag
.It "ix%d: Req failed, cmd %x, stat %x, ust error %x,%x."
diff --git a/share/man/man4/man4.vax/np.4 b/share/man/man4/man4.vax/np.4
index e29d4ff790e..039f45c3229 100644
--- a/share/man/man4/man4.vax/np.4
+++ b/share/man/man4/man4.vax/np.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: np.4,v 1.4 1999/06/05 13:18:39 aaron Exp $
+.\" $OpenBSD: np.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: np.4,v 1.3 1996/03/03 17:13:55 thorpej Exp $
.\"
.\" Copyright (c) 1986, 1991 The Regents of the University of California.
@@ -87,7 +87,7 @@ for details.]
.Bl -diag
.It np%d: Bad Maintenance command: %x!
An invalid
-.Xr ioctl
+.Xr ioctl 2
was passed to the np driver.
.Pp
.It np%d: Panic NP100 bad buffer chain.
diff --git a/share/man/man4/man4.vax/qe.4 b/share/man/man4/man4.vax/qe.4
index 9e9aea06738..4db82691992 100644
--- a/share/man/man4/man4.vax/qe.4
+++ b/share/man/man4/man4.vax/qe.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: qe.4,v 1.4 1999/06/05 13:18:39 aaron Exp $
+.\" $OpenBSD: qe.4,v 1.5 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: qe.4,v 1.3 1996/03/03 17:14:01 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 The Regents of the University of California.
@@ -76,7 +76,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Sh SEE ALSO
.Xr arp 4 ,
.Xr inet 4 ,
diff --git a/share/man/man4/man4.vax/uda.4 b/share/man/man4/man4.vax/uda.4
index 8595b511c88..4b6ebe28be9 100644
--- a/share/man/man4/man4.vax/uda.4
+++ b/share/man/man4/man4.vax/uda.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uda.4,v 1.8 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: uda.4,v 1.9 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: uda.4,v 1.3 1996/03/03 17:14:10 thorpej Exp $
.\"
.\" Copyright (c) 1980, 1987, 1991 Regents of the University of California.
@@ -243,7 +243,7 @@ table containing only an `a' partition has been created covering
the entire disk, which has the indicated numbers of sectors per
track (s), tracks per cylinder (t), and total cylinders (c).
Give the pack a label with the
-.Xr disklabel
+.Xr disklabel 8
utility.
.Pp
.It "uda%d: uballoc map failed"
diff --git a/share/man/man4/man4.vax/va.4 b/share/man/man4/man4.vax/va.4
index a95e13edcb2..4ac4dc6fc6e 100644
--- a/share/man/man4/man4.vax/va.4
+++ b/share/man/man4/man4.vax/va.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: va.4,v 1.6 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: va.4,v 1.7 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: va.4,v 1.3 1996/03/03 17:14:15 thorpej Exp $
.\"
.\" Copyright (c) 1980, 1991 Regents of the University of California.
@@ -111,7 +111,7 @@ int plotmd[] = { VPLOT, 0, 0 };
and
.Ar va
is the result of a call to
-.Xr fopen
+.Xr fopen 3
on stdio.
When you finish using the Benson-Varian in plot mode you should advance to
a new page
@@ -172,6 +172,6 @@ play havoc with the
We have intermittent minor problems on the
.Tn UNIBUS
where our
-.Xr va
+.Nm
lives, but haven't ever been able to pin them down
completely.
diff --git a/share/man/man4/man4.vax/vp.4 b/share/man/man4/man4.vax/vp.4
index b7a084a6f65..44c52becc46 100644
--- a/share/man/man4/man4.vax/vp.4
+++ b/share/man/man4/man4.vax/vp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vp.4,v 1.5 2001/10/04 10:28:20 wilfried Exp $
+.\" $OpenBSD: vp.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: vp.4,v 1.3 1996/03/03 17:14:16 thorpej Exp $
.\"
.\" Copyright (c) 1980, 1991 Regents of the University of California.
@@ -76,7 +76,7 @@ int plotmd[] = { VPLOT, 0, 0 };
and
.Em vp
is the result of a call to
-.Xr fopen
+.Xr fopen 3
on stdio.
When you finish using the Versatec in plot mode you should eject paper
by sending it a
diff --git a/share/man/man4/man4.vax/vv.4 b/share/man/man4/man4.vax/vv.4
index af58e4f6623..f0bfaf15621 100644
--- a/share/man/man4/man4.vax/vv.4
+++ b/share/man/man4/man4.vax/vv.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vv.4,v 1.6 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: vv.4,v 1.7 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: vv.4,v 1.3 1996/03/03 17:14:18 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991 The Regents of the University of California.
@@ -84,7 +84,7 @@ by setting the
.Dv IFF_NOTRAILERS
flag with an
.Dv SIOCSIFFLAGS
-.Xr ioctl .
+.Xr ioctl 2 .
.Sh DIAGNOSTICS
.Bl -diag
.It vv%d: host %d.
diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4
index 94aea70a7f8..330774d1fc0 100644
--- a/share/man/man4/netintro.4
+++ b/share/man/man4/netintro.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: netintro.4,v 1.18 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: netintro.4,v 1.19 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: netintro.4,v 1.4 1995/10/19 08:03:40 jtc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -183,10 +183,10 @@ though certain interfaces such as the loopback interface,
do not.
.Pp
The following
-.Xr ioctl
+.Xr ioctl 2
calls may be used to manipulate network interfaces.
The
-.Xr ioctl
+.Xr ioctl 2
is made on a socket (typically of type
.Dv SOCK_DGRAM )
in the desired domain.
@@ -229,7 +229,7 @@ Set point to point address for protocol family and interface.
Set broadcast address for protocol family and interface.
.El
.Pp
-.Xr Ioctl
+.Xr ioctl 2
requests to obtain addresses and requests both to set and
retrieve other data are still fully supported
and use the
@@ -283,9 +283,9 @@ to each family (replacing each sockaddr by one
of the family-specific type).
Where the sockaddr itself is larger than the
default size, one needs to modify the
-.Xr ioctl
+.Xr ioctl 2
identifier itself to include the total size, as described in
-.Xr ioctl .
+.Xr ioctl 2 .
.It Dv SIOCDIFADDR
This request deletes the specified address from the list
associated with an interface.
diff --git a/share/man/man4/options.4 b/share/man/man4/options.4
index e9b22ec195a..3f7d3ef0b40 100644
--- a/share/man/man4/options.4
+++ b/share/man/man4/options.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: options.4,v 1.87 2001/11/06 03:20:34 pvalchev Exp $
+.\" $OpenBSD: options.4,v 1.88 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: options.4,v 1.21 1997/06/25 03:13:00 thorpej Exp $
.\"
.\" Copyright (c) 1998 Theo de Raadt
@@ -61,7 +61,7 @@ This makes it possible to run binaries that use old versions of the
.Xr msgctl 2 ,
.Xr shmctl 2
and
-.Xr __semctl
+.Xr semctl 2
system calls which changed semantics in
.Ox 2.4 .
.It Cd option COMPAT_25
@@ -236,12 +236,11 @@ is useful for debugging kernels and their crashdumps with gdb.
Note that
.Xr gdb Ns 's
.Fl k
-flag
-is obsolete and should not be used.
+flag is obsolete and should not be used.
Instead, a crashdump can be debugged by starting
.Xr gdb
with the kernel name as an argument (no core file) and then use the
-.Xr gdb
+.Xr gdb 1
command
.Dq target kcore COREFILE .
.It Cd option DEBUG
diff --git a/share/man/man4/pty.4 b/share/man/man4/pty.4
index 6a2e5f635aa..8640a068d4b 100644
--- a/share/man/man4/pty.4
+++ b/share/man/man4/pty.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pty.4,v 1.5 2000/07/10 13:27:35 aaron Exp $
+.\" $OpenBSD: pty.4,v 1.6 2001/11/13 13:54:25 mpech Exp $
.\" $NetBSD: pty.4,v 1.4 1998/03/21 03:14:30 fair Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -45,7 +45,7 @@
.Op Ar count
.Sh DESCRIPTION
The
-.Xr pty
+.Nm
driver provides support for a device-pair termed a
.Em pseudo terminal .
A pseudo terminal is a pair of character devices, a
@@ -161,7 +161,7 @@ protocol equivalents with the remote peer.
.El
.It Dv TIOCUCNTL
Enable/disable a mode that allows a small number of simple user
-.Xr ioctl
+.Xr ioctl 2
commands to be passed through the pseudo-terminal,
using a protocol similar to that of
.Dv TIOCPKT .
@@ -175,12 +175,12 @@ by specifying (by reference)
a nonzero parameter and disabled by specifying (by reference)
a zero parameter.
Each subsequent
-.Xr read
+.Xr read 2
from the master side will return data written on the slave part of
the pseudo terminal preceded by a zero byte,
or a single byte reflecting a user control operation on the slave side.
A user control command consists of a special
-.Xr ioctl
+.Xr ioctl 2
operation with no data; the command is given as
.Dv UIOCCMD Ns (n) ,
where
@@ -189,17 +189,17 @@ is a number in the range 1-255.
The operation value
.Ar n
will be received as a single byte on the next
-.Xr read
+.Xr read 2
from the master side.
The
-.Xr ioctl
+.Xr ioctl 2
.Dv UIOCCMD Ns (0)
is a no-op that may be used to probe for
the existence of this facility.
As with
.Dv TIOCPKT
mode, command operations may be detected with a
-.Xr select
+.Xr select 2
for exceptional conditions.
.It Dv TIOCREMOTE
A mode for the master half of a pseudo terminal, independent
diff --git a/share/man/man4/strip.4 b/share/man/man4/strip.4
index 72a9a692402..8c7851b52ac 100644
--- a/share/man/man4/strip.4
+++ b/share/man/man4/strip.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strip.4,v 1.13 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: strip.4,v 1.14 2001/11/13 13:54:25 mpech Exp $
.\"
.\" Copyright 1996 The Board of Trustees of The Leland Stanford
.\" Junior University. All Rights Reserved.
@@ -79,8 +79,8 @@ a dedicated point-to-point connection.
In contrast,
.Nm
sends
-packets to a frequency-hopping radio, which can address packets to
-any peer Metricom radio. rather than just to a single host at the
+packets to a frequency-hopping radio, which can address packets to
+any peer Metricom radio rather than just to a single host at the
other end of a point-to-point line.
Thus, one
.Nm
@@ -179,7 +179,7 @@ has not been widely tested on a variety of lower-level tty drivers.
The detection and resetting of radios that crash out of Starmode does
not always work in this version of the driver.
One workaround is to kill the
-.Xr slattach
+.Xr slattach 8
process, ifconfig the
.Nm
interface down, and then start a new slattach and rerun ifconfig.
diff --git a/share/man/man4/termios.4 b/share/man/man4/termios.4
index 7032ba5c25b..bb3ab083a91 100644
--- a/share/man/man4/termios.4
+++ b/share/man/man4/termios.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: termios.4,v 1.16 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: termios.4,v 1.17 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: termios.4,v 1.5 1994/11/30 16:22:36 jtc Exp $
.\"
.\" Copyright (c) 1991, 1992, 1993
@@ -214,7 +214,7 @@ the writing process is orphaned, and the writing process is not ignoring
or blocking
.Dv SIGTTOU ,
the
-.Xr write
+.Xr write 2
returns -1 with
.Va errno
set to
@@ -382,7 +382,7 @@ process the bytes received.
.Dv VMIN
represents the minimum number of bytes that should be received when
the
-.Xr read
+.Xr read 2
function successfully returns.
.Dv VTIME
is a timer of 0.1 second
diff --git a/share/man/man4/tp.4 b/share/man/man4/tp.4
index 65417ad0097..2d5bf96a719 100644
--- a/share/man/man4/tp.4
+++ b/share/man/man4/tp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tp.4,v 1.13 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: tp.4,v 1.14 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: tp.4,v 1.4 1994/11/30 16:22:38 jtc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -160,9 +160,9 @@ and
system calls may be used.
.Pp
Through the
-.Xr getsockopt
+.Xr getsockopt 2
and
-.Xr setsockopt
+.Xr setsockopt 2
system calls,
.Tn TP
supports several options
@@ -177,17 +177,17 @@ the options marked with a pound sign
.Ql \&#
may be used
with
-.Xr setsockopt
+.Xr setsockopt 2
after a connection is established.
Others must be used before the connection
is established, in other words,
before calling
-.Xr connect
+.Xr connect 2
or
-.Xr accept .
+.Xr accept 2 .
All options may be used
with
-.Xr getsockopt
+.Xr getsockopt 2
before or
after a connection is established.
.Bl -tag -width TPOPT_PSTATISTICS
@@ -195,16 +195,16 @@ after a connection is established.
(char *) [none]
.br
Data to send on
-.Xr connect .
+.Xr connect 2 .
The passive user may issue a
-.Xr getsockopt
+.Xr getsockopt 2
call to retrieve a connection request's user data,
after having done the
-.Xr accept
+.Xr accept 2
system call without implying confirmation of the connection.
.Pp
The data may also be retrieved by issuing a
-.Xr recvmsg
+.Xr recvmsg 2
request for ancillary data only,
without implying confirmation of the connection.
The returned
@@ -221,16 +221,16 @@ for
(char *) [none]
.br
Data to send on
-.Xr close .
+.Xr close 2 .
Disconnect data may be sent by the side initiating the close
but not by the passive side ("passive" with respect to the closing
of the connection), so there is no need to read disconnect data
after calling
-.Xr close .
+.Xr close 2 .
This may be sent by a
-.Xr setsockopt
+.Xr setsockopt 2
system call, or by issuing a
-.Xr sendmsg
+.Xr sendmsg 2
request specifying ancillary data only.
The user-provided
.Va cmsghdr
@@ -249,19 +249,16 @@ the connection.
.br
Data to send when confirming a connection.
This may also be sent by a
-.Xr setsockopt
+.Xr setsockopt 2
system call, or by issuing a
-.Xr sendmsg
+.Xr sendmsg 2
request, as above.
Sending of connect confirm data will cause the connection
to be confirmed rather than rejected.
.It Dv TPOPT_PERF_MEAS \&#
Boolean.
.br
-When
-.Xr true ,
-performance measurements will be kept
-for this connection.
+When true, performance measurements will be kept for this connection.
When set before a connection is established, the
active side will use a locally defined parameter on the
connect request packet; if the peer is another
@@ -279,7 +276,7 @@ On output,
This command is used to read the performance statistics accumulated
during a connection's lifetime.
It can only be used with
-.Xr getsockopt .
+.Xr getsockopt 2 .
The structure it returns is described in
.Aq Pa netiso/tp_stat.h .
See
@@ -289,7 +286,7 @@ unsigned integer.
[0x0]
.br
This command can only be used with
-.Xr getsockopt .
+.Xr getsockopt 2 .
See the description of the flags below.
.It Dv TPOPT_PARAMS
.Ar struct tp_conn_param
@@ -298,9 +295,9 @@ Used to get or set a group parameters for a connection.
The
.Ar struct tp_conn_param
is the argument used with the
-.Xr getsockopt
+.Xr getsockopt 2
or
-.Xr setsockopt
+.Xr setsockopt 2
system call.
It is described in
.Aq Pa netiso/tp_user.h .
@@ -603,7 +600,7 @@ and
.Aq Pa netiso/iso_errno.h .
User programs may print messages associated with these value by
using an expanded version of
-.Xr perror
+.Xr perror 3
found in the
.Tn ISO
library,
@@ -637,7 +634,7 @@ that
timed out, the read may result in
.Er ENOTSOCK ,
because the
-.Xr accept
+.Xr accept 2
call had not yet returned a
legitimate socket descriptor when the signal was handled.
.Dv ETIMEDOUT
@@ -674,7 +671,7 @@ system
call to see if the signal
was due to the arrival of expedited data or due to a disconnection.
In the latter case,
-.Xr getsockopt
+.Xr getsockopt 2
will return
.Er ENOTCONN .
.El
diff --git a/share/man/man4/udp.4 b/share/man/man4/udp.4
index 17f6171db7c..7086977958e 100644
--- a/share/man/man4/udp.4
+++ b/share/man/man4/udp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: udp.4,v 1.9 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: udp.4,v 1.10 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: udp.4,v 1.3 1994/11/30 16:22:41 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -57,9 +57,9 @@ protocol family.
.Tn UDP
sockets are connectionless, and are
normally used with the
-.Xr sendto
+.Xr sendto 2
and
-.Xr recvfrom
+.Xr recvfrom 2
calls, though the
.Xr connect 2
call may also be used to fix the destination for future
diff --git a/share/man/man4/ukphy.4 b/share/man/man4/ukphy.4
index 504997a546c..ab9a3067f17 100644
--- a/share/man/man4/ukphy.4
+++ b/share/man/man4/ukphy.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ukphy.4,v 1.5 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: ukphy.4,v 1.6 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: ukphy.4,v 1.1 1999/09/08 13:59:07 soren Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
The
.Nm
driver supports the basic functionality of most Ethernet PHYs.
-.Sh CAVEAT
+.Sh CAVEATS
In areas where the programming interface for PHYs differ, such
as detecting the currently active medium, this driver often
does not work optimally.
diff --git a/share/man/man4/urio.4 b/share/man/man4/urio.4
index 2febbd9e1c5..abe936b4387 100644
--- a/share/man/man4/urio.4
+++ b/share/man/man4/urio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: urio.4,v 1.10 2001/08/03 15:21:16 mpech Exp $
+.\" $OpenBSD: urio.4,v 1.11 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: urio.4,v 1.1 2000/04/14 14:48:29 augustss Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@ will download a song over the
connection into your Rio500.
.Sh SEE ALSO
.Xr usb 4 ,
-.Xr /usr/ports/audio/rio500
+.Pa /usr/ports/audio/rio500
.Sh HISTORY
The
.Nm
diff --git a/share/man/man4/uscanner.4 b/share/man/man4/uscanner.4
index 142710fa470..d2742551bf6 100644
--- a/share/man/man4/uscanner.4
+++ b/share/man/man4/uscanner.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uscanner.4,v 1.1 2000/11/16 19:40:17 aaron Exp $
+.\" $OpenBSD: uscanner.4,v 1.2 2001/11/13 13:54:26 mpech Exp $
.\" $NetBSD: uscanner.4,v 1.4 2000/10/13 21:05:18 augustss Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@ for them yet.
.Sh SEE ALSO
.Xr usb 4
.Pp
-.Xr http://www.buzzard.org.uk/jonathan/scanners-usb.html
+.Pa http://www.buzzard.org.uk/jonathan/scanners-usb.html
.Sh HISTORY
The
.Nm
diff --git a/share/man/man4/vlan.4 b/share/man/man4/vlan.4
index 149b4dd118d..c1eb91b6654 100644
--- a/share/man/man4/vlan.4
+++ b/share/man/man4/vlan.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vlan.4,v 1.14 2001/10/05 14:45:53 mpech Exp $
+.\" $OpenBSD: vlan.4,v 1.15 2001/11/13 13:54:26 mpech Exp $
.\"
.Dd January 9, 2000
.Dt VLAN 4
@@ -102,7 +102,6 @@ and
.Xr ip 4 ,
.Xr netintro 4 ,
.Xr ifconfig 8
-.Pp
.Rs
.%T IEEE 802.1Q standard
.%O http://standards.ieee.org/getieee802/802.1.html