Subject: share/doc troff src fixes
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Luke Mewburn <lm@rmit.edu.au>
List: netbsd-bugs
Date: 01/03/1994 13:45:59
Here's some fixes for the documentation in /usr/share/doc (actually,
the source in /usr/src/share/doc) I originally fixed this in 0.8 but
never got around to submitting the diff, and I found that it was still
necessary for current-931230...

Luke.

(PS: Sorry if netbsd-bugs is the wrong list - seems the closest thing
though given the descriptions, and since the patch is relevant for 0.9
and current)

----
diff -cr doc.old/ps1/08.ipc/5.t doc/ps1/08.ipc/5.t
*** doc.old/ps1/08.ipc/5.t	Fri Dec 17 17:38:37 1993
--- doc/ps1/08.ipc/5.t	Sat Jan  1 22:17:57 1994
***************
*** 552,558 ****
  .DS
  int lport = IPPORT_RESERVED \- 1;
  int s;
! ...
  s = rresvport(&lport);
  if (s < 0) {
  	if (errno == EAGAIN)
--- 552,558 ----
  .DS
  int lport = IPPORT_RESERVED \- 1;
  int s;
! \&.\&.\&.
  s = rresvport(&lport);
  if (s < 0) {
  	if (errno == EAGAIN)
diff -cr doc.old/smm/05.fsck/3.t doc/smm/05.fsck/3.t
*** doc.old/smm/05.fsck/3.t	Fri Dec 17 17:39:29 1993
--- doc/smm/05.fsck/3.t	Sat Jan  1 22:17:58 1994
***************
*** 371,377 ****
  If there are multiple hard links to a directory,
  the first one encountered is considered the real parent
  to which ``\fB..\fP'' should point;
! \fIfsck\P recommends deletion for the subsequently discovered names.
  .NH 2
  File system connectivity
  .PP
--- 371,377 ----
  If there are multiple hard links to a directory,
  the first one encountered is considered the real parent
  to which ``\fB..\fP'' should point;
! \fIfsck\fP recommends deletion for the subsequently discovered names.
  .NH 2
  File system connectivity
  .PP
diff -cr doc.old/smm/05.fsck/Makefile doc/smm/05.fsck/Makefile
*** doc.old/smm/05.fsck/Makefile	Fri Dec 17 17:39:30 1993
--- doc/smm/05.fsck/Makefile	Sat Jan  1 22:17:58 1994
***************
*** 5,10 ****
--- 5,11 ----
  DOC=	05.fsck
  
  SRCS=	0.t 1.t 2.t 3.t 4.t
+ MACROS= -msU
  TROFF=	ditroff
  
  .include <bsd.doc.mk>
diff -cr doc.old/smm/15.net/7.t doc/smm/15.net/7.t
*** doc.old/smm/15.net/7.t	Fri Dec 17 17:40:08 1993
--- doc/smm/15.net/7.t	Sat Jan  1 22:17:59 1994
***************
*** 225,233 ****
  The protocol module is supplied two sockets and requested to
  establish a connection between the two without binding any
  addresses, if possible.  This call is used in implementing
! the
! .IR socketpair (2)
! system call.
  .PP
  The following requests are used internally by the protocol modules
  and are never generated by the socket routines.  In certain instances,
--- 225,231 ----
  The protocol module is supplied two sockets and requested to
  establish a connection between the two without binding any
  addresses, if possible.  This call is used in implementing
! the \fIsocketpair\fP(2) system call.
  .PP
  The following requests are used internally by the protocol modules
  and are never generated by the socket routines.  In certain instances,
diff -cr doc.old/smm/15.net/a.t doc/smm/15.net/a.t
*** doc.old/smm/15.net/a.t	Fri Dec 17 17:40:09 1993
--- doc/smm/15.net/a.t	Sat Jan  1 22:17:59 1994
***************
*** 154,160 ****
  Statistics are kept by the routing table routines
  on the use of routing redirect messages and their
  affect on the routing tables.  These statistics may be viewed using
! .IR netstat (1).
  .PP
  Status information other than routing redirect control messages
  may be used in the future, but at present they are ignored.
--- 154,160 ----
  Statistics are kept by the routing table routines
  on the use of routing redirect messages and their
  affect on the routing tables.  These statistics may be viewed using
! \fInetstat\fP(1).
  .PP
  Status information other than routing redirect control messages
  may be used in the future, but at present they are ignored.
diff -cr doc.old/usd/04.csh/csh.a doc/usd/04.csh/csh.a
*** doc.old/usd/04.csh/csh.a	Fri Dec 17 17:40:28 1993
--- doc/usd/04.csh/csh.a	Sat Jan  1 22:18:00 1994
***************
*** 56,62 ****
  Filename metacharacters
  .DS
  /	1.6	separates components of a file's pathname
! \.	1.6	separates root parts of a file name from extensions
  ?	1.6	expansion character matching any single character
  *	1.6	expansion character matching any sequence of characters
  [ ]	1.6	expansion sequence matching any single character from a set
--- 56,62 ----
  Filename metacharacters
  .DS
  /	1.6	separates components of a file's pathname
! \&.	1.6	separates root parts of a file name from extensions
  ?	1.6	expansion character matching any single character
  *	1.6	expansion character matching any sequence of characters
  [ ]	1.6	expansion sequence matching any single character from a set
diff -cr doc.old/usd/14.edit/edittut.ms doc/usd/14.edit/edittut.ms
*** doc.old/usd/14.edit/edittut.ms	Fri Dec 17 17:41:02 1993
--- doc/usd/14.edit/edittut.ms	Sat Jan  1 22:18:02 1994
***************
*** 89,107 ****
  .nf
  Introduction\ \ \ 3
  .sp
! Session 1\ \ \4
  .in +.5i
  Making contact with \s-2UNIX\s+2\ \ \ 4
! Logging in\ \ \4
  Asking for \fIedit\fR\ \ \ 4
  The ``Command not found'' message\ \ \ 5
! A summary\ \ \5
  Entering text\ \ \ 5
  Messages from \fIedit\fR\ \ \ 5
  Text input mode\ \ \ 6
  Making corrections\ \ \ 6
  Writing text to disk\ \ \ 7
! Signing off\ \ \7
  .in -.5i
  .sp
  Session 2\ \ \ 8
--- 89,107 ----
  .nf
  Introduction\ \ \ 3
  .sp
! Session 1\ \ \ 4
  .in +.5i
  Making contact with \s-2UNIX\s+2\ \ \ 4
! Logging in\ \ \ 4
  Asking for \fIedit\fR\ \ \ 4
  The ``Command not found'' message\ \ \ 5
! A summary\ \ \ 5
  Entering text\ \ \ 5
  Messages from \fIedit\fR\ \ \ 5
  Text input mode\ \ \ 6
  Making corrections\ \ \ 6
  Writing text to disk\ \ \ 7
! Signing off\ \ \ 7
  .in -.5i
  .sp
  Session 2\ \ \ 8
diff -cr doc.old/usd/15.vi/vi.chars doc/usd/15.vi/vi.chars
*** doc.old/usd/15.vi/vi.chars	Fri Dec 17 17:41:07 1993
--- doc/usd/15.vi/vi.chars	Sat Jan  1 22:18:03 1994
***************
*** 32,38 ****
  .\"	@(#)vi.chars	6.3 (Berkeley) 4/17/91
  .\"
  .bd S 3
! ..pn 21
  .de iP
  .IP "\fB\\$1\fR" \\$2
  ..
--- 32,38 ----
  .\"	@(#)vi.chars	6.3 (Berkeley) 4/17/91
  .\"
  .bd S 3
! .pn 21
  .de iP
  .IP "\fB\\$1\fR" \\$2
  ..
diff -cr doc.old/usd/15.vi/vi.in doc/usd/15.vi/vi.in
*** doc.old/usd/15.vi/vi.in	Fri Dec 17 17:41:08 1993
--- doc/usd/15.vi/vi.in	Sat Jan  1 22:18:04 1994
***************
*** 1487,1493 ****
  .I EXINIT )
  with a command of the form:
  .DS
! :map \fIlhs\fR \fIrhs\fR\s-2CR\f0
  .DE
  mapping
  .I lhs
--- 1487,1493 ----
  .I EXINIT )
  with a command of the form:
  .DS
! :map \fIlhs\fR \fIrhs\fR\s-2CR\s0
  .DE
  mapping
  .I lhs
***************
*** 1836,1842 ****
  The following table gives the extended forms when \fBmagic\fR is set.
  .DS
  .TS
! bl l.
  \(ua	at beginning of pattern, matches beginning of line
  $	at end of pattern, matches end of line
  \fB\&.\fR	matches any character
--- 1836,1842 ----
  The following table gives the extended forms when \fBmagic\fR is set.
  .DS
  .TS
! lb l.
  \(ua	at beginning of pattern, matches beginning of line
  $	at end of pattern, matches end of line
  \fB\&.\fR	matches any character
diff -cr doc.old/usd/15.vi/vi.summary doc/usd/15.vi/vi.summary
*** doc.old/usd/15.vi/vi.summary	Fri Dec 17 17:41:08 1993
--- doc/usd/15.vi/vi.summary	Sat Jan  1 22:18:04 1994
***************
*** 434,440 ****
  <	left shift
  >	right shift
  !	filter through command
! \&\=	indent for \s-2LISP\s0
  y	yank lines to buffer
  .TE
  .h "Miscellaneous operations"
--- 434,440 ----
  <	left shift
  >	right shift
  !	filter through command
! \&=	indent for \s-2LISP\s0
  y	yank lines to buffer
  .TE
  .h "Miscellaneous operations"

-- 
Luke Mewburn			Programmer, Technical Services Group,
Email: <lm@rmit.edu.au>		Department of Computer Science, RMIT

------------------------------------------------------------------------------