shithub: riscv

Download patch

ref: d74fdfc022acde11b522fcc77beed10880784cbc
parent: d81f4d4866ac6084d8268880fa36bec3ece460c1
author: qwx <devnull@localhost>
date: Sat Oct 27 20:05:05 EDT 2018

misc small manpage fixes

--- a/sys/man/1/dmid
+++ b/sys/man/1/dmid
@@ -64,7 +64,7 @@
 .EE
 .PP
 Play a MIDI stream from a USB device (see
-.BR usb (3)):
+.IR usb (3)):
 .IP
 .EX
 % games/wadfs /sys/games/lib/doom/doom2.wad >[2]/dev/null
--- a/sys/man/1/dpic
+++ b/sys/man/1/dpic
@@ -59,10 +59,10 @@
 Create a patch
 .I WAD
 (see
-.BR wadfs (4))
+.IR wadfs (4))
 replacing a sky texture.
 First, create a 256x128 image, mirror it, and convert it for use with
-.BR tweak (1).
+.IR tweak (1).
 .IP
 .EX
 % png -9t tuttleglenda.png \\
@@ -73,7 +73,7 @@
 .EE
 .PP
 Next, use
-.BR tweak (1)
+.IR tweak (1)
 to tile the 128x128 picture.
 Then, mount an
 .I IWAD
--- a/sys/man/2/idn
+++ b/sys/man/2/idn
@@ -37,12 +37,6 @@
 .I buf
 is gived by
 .IR nbuf .
-.SH DIAGNOSTICS
-The return value is the number of bytes (excluding the terminating NULL) in
-.I buf
-or
-.B -1
-on failure.
 .SH SOURCE
 .B /sys/src/libc/9sys/idn.c
 .SH "SEE ALSO"
@@ -49,3 +43,9 @@
 .B /lib/rfc/rfc5890
 .br
 .IR utf (6)
+.SH DIAGNOSTICS
+The return value is the number of bytes (excluding the terminating NULL) in
+.I buf
+or
+.B -1
+on failure.
--- a/sys/man/2/ttf
+++ b/sys/man/2/ttf
@@ -121,7 +121,7 @@
 it returns the corresponding contour (counting from zero), storing a pointer to a list of (\fIx\fR, \fIy\fR) pairs in
 .BR *fp .
 The array is allocated with
-.BR malloc (2).
+.IR malloc (2).
 The (always odd) number of points is stored in
 .BR *np .
 The contours correspond to closed quadratic Bézier curves and the points with odd indices are the control points.
--- a/sys/man/3/vmx
+++ b/sys/man/3/vmx
@@ -74,6 +74,7 @@
 The \fIaccess\fR field specifies the permitted types of access using the characters \fLr\fR (read), \fLw\fR (write), \fLx\fR (execute) and \fL-\fR (padding character).
 The \fIcache\fR field specifies the cacheability of the region, it must be one of \fLuc\fR, \fLwc\fR, \fLwt\fR, \fLwp\fR and \fLwb\fR (as defined in the Intel SDM).
 
+.PD
 .PP
 Writes to the
 .B map
@@ -133,6 +134,7 @@
 \fL*ack\fR
 Not an actual exit, but acknowledgement that an interrupt request (IRQ) was posted.
 
+.PD
 .PP
 The
 .B fpregs
--- a/sys/man/4/truetypefs
+++ b/sys/man/4/truetypefs
@@ -43,8 +43,8 @@
 .B /sys/src/cmd/truetypefs.c
 .SH SEE ALSO
 .IR ttf (2),
-.IR font(6),
-.IR subfont(2)
+.IR font (6),
+.IR subfont (2)
 .SH HISTORY
 .I Truetypefs
 first appeared in 9front (October, 2018).
--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -499,7 +499,7 @@
 .SS \fLramdisk\fIX\fL=\fIsize sectorsize\fP
 .SS \fLramdisk\fIX\fL=\fIaddress size sectorsize\fP
 This reserves physical memory as a ramdisk that will appear as
-.IR sd(3)
+.IR sd (3)
 device \fLsdZ\fIX\fR.
 When the
 .I address