Commit Graph

211 Commits

Author SHA1 Message Date
briggs 7f626e8ccb Add sandpoint. 2001-06-07 16:59:42 +00:00
thorpej 5da8af60dd Add algor. 2001-06-05 17:52:35 +00:00
kleink a727a49494 Rename isoC to isoC90. 2001-04-14 16:58:48 +00:00
jhawk e446a91889 Restore stripped comments accidently removed in rev 1.14 (1997!) when
the comment-stripped version was checked in over the source
version by mycroft. Where are those bricks?
2001-04-07 19:11:19 +00:00
itojun 9b0c7c0026 add dreamcast and hpcsh 2001-01-18 14:14:05 +00:00
garbled e6b7556dfb Add libcdk to these two files 2001-01-05 15:59:30 +00:00
blymn 3231707aae added libform 2001-01-05 13:11:00 +00:00
blymn 2ba6155111 Added libform. 2001-01-05 12:59:25 +00:00
wiz f48466d127 Fix some obvious typos.
XXX: Casing isn't very consistent here.
2000-11-08 11:28:01 +00:00
itojun 953ed8c2ba declare .Lb symbol for libintl. 2000-10-31 15:08:29 +00:00
wdk 699089b936 Add mipsco port 2000-08-22 05:17:43 +00:00
ad 176fa63b5b Add Ox macro (OpenBSD). 2000-07-05 10:54:12 +00:00
kleink 4216064847 Roll forward towards 1.5; addresses PR misc/10493 from Love. 2000-07-04 07:12:47 +00:00
kleink 37c5b0bebb Changes references from ``ISO C'' to ``ISO C90''. 2000-07-04 07:03:15 +00:00
soren c35d77d881 Add sgimips. 2000-06-24 11:04:55 +00:00
veego 6759f2632c Remove the last traces of libahdi. 2000-05-14 14:13:52 +00:00
tsutsui 8810dd5228 Add cobalt. 2000-05-14 13:16:47 +00:00
mycroft f296458aa2 Avoid using \\n(C? in .lV, as it may not be initialized yet. Instead call
.aT to determine the argument type, as in .bV.
2000-05-13 04:27:16 +00:00
bjh21 8748ae4382 Add arm26 port 2000-05-11 19:35:03 +00:00
kleink 015db55a92 Add an -isoC99 macro; while I'm here, correct white space usage in other
ISO/IEC document numbers.
2000-03-05 18:40:06 +00:00
mycroft a24e9dea0c Treat these like other include files. This way:
* they are installed in the `make includes' pass.
* they are only updated if changed (which makes `make UPDATE=1' much faster).
2000-02-26 17:39:53 +00:00
soren d30e003dab Add new ports. 2000-02-18 10:09:25 +00:00
kleink 1bfbcff7b3 Whitespace nit in -p1003.1-96. 2000-02-10 22:02:09 +00:00
jdc 2133a0f528 Add libahdi entries. 2000-02-05 20:54:12 +00:00
mycroft a73ccc591a More .mk file fallout. *sigh* 2000-01-23 21:55:44 +00:00
tron a928b0f18c Fix manual page formatting problem. Fix supplied by Patrick Welche
in PR misc/9131.
2000-01-08 17:15:18 +00:00
itohy a5f38cc443 Add news68k 1999-12-10 06:04:01 +00:00
simonb c47af90e21 Display the header of system specific manpages as
NetBSD/foo Manual Name
instead of
	NetBSD Manual Name (foo Architecture)
Manual page headers now fix within 80 columns.

Work by Chris Demetrioui six or more months ago, with minor updates to
current reality by me.
1999-12-08 01:57:37 +00:00
kleink 088bc0f82a Add .Lb libmenu. 1999-11-24 12:46:40 +00:00
christos 943f0edff6 Revert 1.19 -> 1.20 change by thorpej. This should work as it is. 1999-08-30 00:41:57 +00:00
ross ae4bef3958 Mark Ap as callable. 1999-08-23 21:20:27 +00:00
christos ac6f0fa99e Arrange so that we can compile from a different location 1999-07-10 20:04:03 +00:00
itojun 834a62973d add LIBRARY section into libipsec manpages.
add ".Lb libipsec" for this.
1999-07-04 01:27:19 +00:00
kleink e1b70af662 * Change the -p1003.1-96 macro to output a reference to its corresponding
ISO/IEC document.
* Add macros for ISO C, including AMD1 and TCor1/2.
* Add a macro for XNS5.2 D2.0, to be used for IPv6-related references for the
  time being.
1999-07-03 14:14:32 +00:00
ross c81cf70565 * Sync .St with the main mdoc
* Fix (some of) the bugs with .Fn
1999-06-01 18:25:15 +00:00
kleink b3bfd34c17 Remove the susv2 macro: it is not a standard document `as such' that can be
referred to.
1999-05-22 23:08:24 +00:00
jwise a7688eacb5 Add flags to .St for more volumes of the X/Open SUSV2 1999-05-22 22:08:49 +00:00
ross edf0d488ba New: -xcu5 (X/Open Commands and Utilities Issue 5)
New: -susv2 (Version 2 of the Single UNIX Specification)
Fixed: a dozen others: lots of cargo-cult "small caps" applied to lower
case, unneeded \& prefixes, and IEEE Std#### rewritten as IEEE Std ####.
1999-05-22 19:57:13 +00:00
ross c23750b230 Render .Sx markup in bold. 1999-05-03 17:03:19 +00:00
ross 40e932dbb4 Fix bugs reported by mycroft, except one. 1999-04-30 23:47:25 +00:00
ross eebe0f5595 * Make Qq callable.
* Dump hyphenation type in the register dump macro.
1999-04-28 00:23:39 +00:00
mycroft 050bfa0d91 Ross points out that removing the .ne inside .It can cause widows in troff
mode.  So, put it back -- in troff mode only -- but preceded by an explicit
break to prevent the widows previously mentioned.
1999-03-24 08:06:26 +00:00
mycroft b88d12625c Fix the `missing footer' problem. See the comment for details. 1999-03-23 11:50:09 +00:00
mycroft 8b0c29593a Make Qo and Qc callable again. 1999-03-23 09:29:11 +00:00
mycroft 0d83fb3bab Fix the `mysterious blank lines' problem (in 98% of cases, anyway). This was
due to unconditional use of .ne.  groff apparently inserts some virtual trap
at the end of each page, and this was causing the .ne commands to output extra
lines.  Solution is to only use them in troff.

Also fix a related bug in .It, where it would insert a page break in the middle
of a sentence.

Remove the end of page trap in nroff mode, as this causes .sp to sometimes eat
the space due to the nearby trap.

Lastly, undue a previous change that broke the formatting of the SYNOPSIS
section, until we determine the right way to fix that.
1999-03-23 06:44:38 +00:00
mycroft 286b628b2a Remove blank line. 1999-03-23 03:53:26 +00:00
ross cb405ed6fc Kill Nm-save warning. 1999-03-18 18:57:42 +00:00
mycroft 8b2054fafc Use \n(dn to test whether the quoting diversion is empty, rather than
comparing the input line number.  The latter fails with things like:
.Oc Oc
because there is nothing in the diversion when the second Oc is executed,
which caused the command that adds \*(b2 to the output to be eaten.
1999-03-16 01:19:56 +00:00
ross 1c24ee5ca4 We didn't get the .Bl / .El match fix done tonight.. go back to a warning so the
tree will build.
1999-03-09 12:05:35 +00:00
ross 69d3eeb52c Kill groffisms that crept in with delta 1.8. 1999-03-09 10:38:19 +00:00
ross bdc8307365 Call Popwarn only if groff 1999-03-09 08:32:52 +00:00
ross e749d6fa7e Viciously cleanup the .St (Standards) macro. 1999-03-09 06:36:30 +00:00
ross 438ee91423 .warn-harden 1999-03-09 06:33:46 +00:00
ross e1135b6c55 Predefine the dD string. (.warn-harden)
Detect a net deficit of .El requests (and abort)
1999-03-09 06:33:21 +00:00
ross 9bb81e3d52 Partial .warn cleanup .. if mdoc didn't generate warnings all by
itself, we could do a .warn-enabled sweep of the man pages.
 * Mainly, kill strings by redefining them as null instead of using .rm
 * Push and pop the warning level around unavoidable trouble spots
 * Do all of this only if in groff
 * Fix a really obscure bug in .Nm
 * Make the .em warning an abort.
1999-03-09 06:31:00 +00:00
ross a5cb41e7a0 Improve appearance, tone down the .Sh size, define a <style> for color
headings, etc. Please feel free to fiddle with this stuff, people...
1999-03-09 06:25:58 +00:00
mycroft 471c3c1228 Make Pq, Po, Pc, Oo, Oc callable. 1999-03-07 08:48:48 +00:00
mycroft a982881d5d Escape some punctuation, and make Oo and Oc aliases for Bo and Bc. 1999-03-07 08:37:03 +00:00
mycroft 7559ea6c00 Oops; previous was wrong. 1999-03-07 03:34:37 +00:00
mycroft 44bbef9a61 Fix an old type that doesn't appear to matter. 1999-03-07 03:26:37 +00:00
mycroft e3ad734bcc Sort of add .Oo and .Oc. Needs more work. 1999-03-07 02:17:36 +00:00
mycroft 7bb943b0ae Oops; fix pasto. 1999-03-06 16:51:36 +00:00
mycroft 2310a13c6b Fix the space-after-period problem. 1999-03-06 16:39:02 +00:00
mycroft 91ca52e5cb Minor cleanup. 1999-03-06 16:21:53 +00:00
mycroft 87dcf585f2 Minor cleanup. 1999-03-06 15:59:22 +00:00
mycroft bb46ac40fa Minor cleanup. 1999-03-06 15:43:59 +00:00
mycroft 736c11026a Minor cleanup. 1999-03-06 15:37:07 +00:00
mycroft 0a17d56476 Fix problem with extra spaces after a .Xr, because .aZ was being called twice. 1999-03-06 10:12:08 +00:00
ross 2f4fede2c2 Back out last rev. "Nice try". 1999-02-10 23:16:07 +00:00
ross 87e810db61 Fix the bug that was inserting blank lines between `pages' in tty
mdoc(7) man(1) output. (There aren't supposed to be any `pages'.)
1999-02-09 18:11:36 +00:00
kleink ca03c2d3ef Add a macro for our friend, the System V Interface Definition. 1999-02-06 15:01:13 +00:00
ross 1ece689dfe Define mode-null-{on,off} for turning off special modes.
Turn off any special modes when Ns is called.
1999-01-28 00:11:07 +00:00
ross f46336fd65 Make .Ux be callable. 1999-01-25 23:27:46 +00:00
ross fa592fc423 Fix bug with html < and > chars found by Alan Barrett. 1999-01-17 12:17:11 +00:00
ross 1e1ba724e3 * Add number registers for Lk, Mt, Nx, and Me; mainly so these can be
callable by parsed macros.

* Improve the .Ss orphan-protection.
1999-01-13 07:19:16 +00:00
ross b06a2e73d0 New symbolic characters for HTML integration: <, >, &, _
\*<, \*>, \*& : safely output <>& in both -mdoc or -mdoc2html
	\*_ : hard space for both -mdoc and -mdoc2html
1999-01-13 07:08:39 +00:00
ross ce15988287 Call .e@ instead of .em, second half of .em protection. 1999-01-13 07:06:35 +00:00
ross 466c9bd705 * Add a debug-mode message when beginning an eB diversion. This is to help
find the actual source of the common "automatically ending `eb' diversion
on exit" error. This generally means you tried something like `.Em Do not'
which accidently calls the `Do' request, which _must_ be followed by Dc.
* Add a .Me request for marking up menu entries.
* Print the source line number on the "Extraneous .Ed" error. (Duhh.)
* New requests for HTML integration: .Mt (mailto) and .Lk (link).
* Rename the .em built-in to e@ and print an error if .em is ever
accidently invoked.
1999-01-13 07:05:09 +00:00
ross a8a689fff2 New module: doc2html. 1999-01-13 05:21:46 +00:00
ross a2793c002b New macro package for automatically converting -mdoc input to HTML.
Use: nroff -mdoc2html input_file...
Or, for the completely general case,
   Use: groff -P-b -P-u -P-o -Tascii -ww -mdoc2html input_file ...
This was originally intended for just the new distrib/notes and other
non-man-page project documentation, but in fact it can get almost all of
the man pages right at this point.

In many cases, I would suggest that original documentation not be written
in HTML or ASCII any more. A good example would be "supported devices".
It's presently duplicated, in the install notes, the web pages, and the
man pages. If written in -mdoc, it can automatically be a man page, a www
page feature, and a printable, downloadable file.  We can generate PostScript
and the "unix enhanced text" format used by more(1), as well as plain old
ascii, and all using in-tree tools.

TNF Copyright.
1999-01-13 05:00:28 +00:00
garbled 3813b46baf Add additional AT&T UNIX macros for versions 1-5. Change default for
.Os to NetBSD 1.4 instead of "4.4 BSD"

Note.. many of the undocumented macros in here are broken, like the .Px,
and .As macros.  Someone with more clue should fix them.
1999-01-11 19:09:30 +00:00
ross fbff13e33e Fix bug in .D1 macro.
D1 (dee-one) has two bogus-looking lines that are not in Dl (dee-ell); and
what they do is delete the first parameter unless it is a callable macro.
This may have something to do with the reason why dee-ell is used 418 times
in /usr/share/man vs only 6 times for the crippled dee-one.
1998-12-26 09:40:45 +00:00
ross c614b69974 Don't hardwire point size 10 (and 9 for .Tn); use the .s value (and for
the .Tn macro, .s - 1) in effect when mdoc is initially read.
1998-11-10 04:27:43 +00:00
ross 9a5c6e6324 Changes to .Nx macro.
* Don't print the `et' in an itty bitty point size just because we want
  small caps for the rest of `NetBSD'.
* Define an Nx number register so the macro becomes sort-of callable. It
  does punctuation wrong, looking at argument count rather than argument
  type, so this will need fixing before it is truly `parsed and callable'.
1998-11-08 04:10:38 +00:00
kleink d9699db484 Add a macro for 1003.1-1996. 1998-09-29 18:47:46 +00:00
mycroft 3fd5504ed3 Change .Bsx output slightly. 1998-09-11 07:19:07 +00:00
thorpej 7b3e0ec137 Add a "Bsx" macro, BSDI BSD/OS. 1998-08-09 00:26:36 +00:00
kleink 53801bc7aa Posix -> POSIX 1998-05-08 19:43:41 +00:00
fair c9eddcd89c add .SH to the list of non-mdoc macros that mdoc will complain about 1998-04-28 07:53:29 +00:00
fair 8cdd8944c1 correct HISTORY section of ls(1) to note that Ls(1) exited in 5th Edition UNIX from Bell Labs; add that version to At macro in mdoc, all per PR#4790 1998-03-20 02:36:09 +00:00
thorpej 0149d8b5a8 Make this work as if we were using suffix rules. 1998-02-15 02:54:17 +00:00
thorpej c7c858669b Make a note that if additional troff macro definitions are added, the
dependency list in bsd.man.mk should be updated.
1998-02-15 01:08:50 +00:00
thorpej 9452ea8c0b Put RCS IDs in the right place. 1998-02-15 00:40:07 +00:00
perry 328255f336 add -Lite and -Lite2 handling to .Bx 1998-02-06 05:17:24 +00:00
perry e6b98c1152 add OSS library 1998-02-05 19:43:08 +00:00
perry 09d3729694 add .Lb directive for use in LIBRARY sections. Ought to document this. 1998-02-05 18:35:18 +00:00
perry 55d2da9a0b remove da30 and Tahoe gunk; make I386 into i386 even if it isn't conventional 1998-02-05 05:48:46 +00:00
perry 4f31be853e Replace the old .Nx macro (which was not parsed and callable, in spite
of what the documentation claimed) with a new one that is parsed and
callable, and far simplyer -- it turns ".Nx FOO ." into "NetBSD FOO."
without needing to have version numbers hard coded in.
Add a .Fx macro that is a copy of the .Nx macro except that it prints
"FreeBSD" instead of "NetBSD" -- this should make any future "HISTORY"
sections which credit FreeBSD easier, and will not require that we
constantly track their macro versions.
1998-02-05 04:31:21 +00:00
kleink 1e97337b98 Add entries for 1.3A and 1.4. 1997-12-20 20:37:35 +00:00
kleink 2701d4ce7b Change the -xpg4.2 abbreviation to ``XPG4.2''. 1997-12-20 20:33:52 +00:00