ru
2a74c26618
Make An macro understand two special arguments, -nosplit
...
and -split. See the mdoc.samples(7) manpage for details.
Reviewed by: sheldonh
2000-11-22 08:39:17 +00:00
sheldonh
3483a9794b
Add libcompat record for .Lb macro.
2000-11-20 15:07:14 +00:00
ru
2a8ac69f53
While in the SYNOPSIS section, Nm macro always required an
...
argument to setup indentation for the rest of the synopsis
line and to automatically emit a line break for a non-first
synopsis line. It does not require it anymore.
The following now works as expected:
.Sh NAME
.Nm utility
.Sh SYNOPSIS
.Nm
.Cm start
.Nm
.Cm stop
2000-11-18 17:34:55 +00:00
ru
da58922cd5
Fixed Nm macro so that it accepts punctuation characters as argument.
...
For example, neither of the following worked before:
.Nm , name,
.Nm . name.
.Nm : name:
.Dq Nm ``name''
.Op Nm . [name].
2000-11-17 15:30:41 +00:00
ru
b5506d5eef
Make the question mark (`?') a valid punctuation character.
...
One can now, for example, write:
.Sh EXAMPLES
Have you read the
.Xr mdoc 7 ?
.Pp
Do you like
.Fx ?
The mdoc.samples(7) page has been automatically updated to
record this change.
2000-11-16 17:04:14 +00:00
ru
404bc1af74
Fix problem with extra space after an Xr, because aZ was being called twice.
...
Fix the no-space-after-a-period-in-macro problem.
Obtained from: NetBSD
2000-11-16 16:05:13 +00:00
ru
190004c5eb
Fixed the last-minute bug I have made in previous revision (.ie -> .if).
2000-11-13 16:23:00 +00:00
ru
1b51e0fa03
Really make the Fx macro parsed and callable.
2000-11-13 15:22:57 +00:00
ru
7296620078
Cleaned up the .St macro.
...
Obtained from: NetBSD
2000-10-11 09:51:27 +00:00
obrien
4e884e6d1c
Add a macro for ISO C99 ("isoC-99").
2000-10-10 23:14:55 +00:00
ru
b9105dcb0a
Fix the `missing footer' problem. See the comment for details.
...
Obtained from: NetBSD
2000-10-06 13:22:24 +00:00
ru
927fdf4283
Removed files not present in v1_15 import.
2000-09-22 10:05:18 +00:00
ru
9632ecc853
Fixed the `mysterious blank lines' problem. This was due to unconditional
...
use of the .ne requests. groff(1) apparently inserts some virtual trap at
the end of each page, and this was causing the .ne request to output extra
lines. Solution is to only use them in troff mode.
Also fixed a related bug in .It macros, where it would insert a page break
in the middle of a sentence.
Removed the end of page trap in nroff mode, as this causes .sp requests to
sometimes eat the space due to the nearby trap.
Removed blank line that appeared as the first line on each nroff-formatted
manual page.
Obtained from: NetBSD
2000-09-21 17:02:15 +00:00
ru
fabc2a69f0
Teach .Fx and .Os about FreeBSD 4.2.
2000-09-01 10:30:40 +00:00
phantom
6624e24cd3
Add libusb record for .Lb macro
2000-08-29 15:15:48 +00:00
green
6c8b8b93ff
s/Diggest/Digest/
2000-07-28 01:54:17 +00:00
ache
ef8c625797
Remove stale file - moved to new location
2000-05-07 13:34:40 +00:00
phantom
c624567b87
Update my copyright. Add license.
2000-05-04 18:21:11 +00:00
phantom
78d8c5f45b
Set `Er' default value to 17n (length("EPROTONOSUPPORT") + 1)
...
Discussed long time ago at -committers
2000-05-04 12:56:53 +00:00
phantom
748235692e
Add libipsec to the list of known libraries for .Lb macro
2000-05-01 14:32:43 +00:00
phantom
7d9c02b334
Fix typo
...
Noticed by: jasone
2000-04-28 09:30:57 +00:00
phantom
131ff305b1
Suggest to use -pthreads instead of -lc_r
...
Noticed by: John-Mark Gurney <gurney_j@efn.org>
2000-04-27 08:54:09 +00:00
phantom
d78753fd1e
Add note about synchronization of .Lb macro code and its section
...
in mdoc.samples(7)
2000-04-23 14:53:57 +00:00
phantom
2655c98305
Teach .Lb macro about other libraries.
2000-04-22 15:48:32 +00:00
phantom
b36bce1735
Introduce new mdoc macro -- Lb. It will be used to define library ownership
...
for function. For example: for stat(2) syscall (owned by libc) we will add
following code:
.Sh LIBRARY
.Lb libc
and it will be rendered to:
LIBRARY
Standard C Library (libc, -lc)
Suggested by: mpp
Idea obtained from: NetBSD
2000-04-21 09:35:43 +00:00
ru
663ca6d81a
Teach Fx and Os about FreeBSD 4.1 and FreeBSD 5.0.
2000-03-13 19:44:24 +00:00
joerg
6ed1daf7e1
Fix a problem that caused the generation of an (almost) empty first
...
page of -mdoc manual pages in troff mode. The problem has been
introduced in rev 1.12; apparently ending a line inside a macro
definition with \c doesn't behave as Bill expected, and troff was
fooled to believe previous output was already pending thus a new page
needed to be emitted. Using a troff comment .\" instead of \c seems
to solve this, alas the brain^Wnice sed(1) magic needs to be taught to
_not_ strip those comments now.
I think -stable is not affected by this.
2000-01-27 17:56:41 +00:00
asmodai
6ff8279593
The groff package is not maintained by jjc@jclark.com anymore.
...
Reflect this change in the upgrade file.
2000-01-12 10:35:57 +00:00
asmodai
eabb065743
Fix conflicts which arose during import, also add $FreeBSD$.
2000-01-12 10:26:36 +00:00
asmodai
2e2c9047c3
Virgin import of FSF groff v1.15
2000-01-12 09:51:43 +00:00
asmodai
a7003a9d6e
This commit was generated by cvs2svn to compensate for changes in r55839,
...
which included commits to RCS files with non-trunk default branches.
2000-01-12 09:51:43 +00:00
phantom
3f4abe0d33
Teach .Os macro about 3.4-RELEASE and 3.5-RELEASE.
...
Allow to specify major version number only (like ``.Os FreeBSD 3''.
2000-01-07 12:54:00 +00:00
phantom
c07a4a5a76
Teach .Fx macro about 3.4-RELEASE and 3.5-RELEASE
2000-01-07 12:51:34 +00:00
ache
06a3f76fce
Oops, fix typo in prev commit
2000-01-06 12:48:48 +00:00
ache
097686da47
Don't set \(hy to char173 for koi8-r
2000-01-06 12:47:21 +00:00
phantom
ab4110c3bc
Mention -p and -t options.
1999-09-24 11:37:06 +00:00
phantom
472736db15
Learn nroff about -p and -t options. It allows to preprocess
...
file with pic(1) and tbl(1).
Not objected to: mpp
1999-09-23 13:40:28 +00:00
ache
9e89242d36
moved to tmac/locale
1999-09-23 02:56:00 +00:00
phantom
8559cd0134
Allow .Rv macro to be used in 7th section also. This patch
...
will fix "Usage: .Rv ..." error at mdoc.samples.7
Ok'ed by: mpp
1999-09-22 22:36:16 +00:00
phantom
5b41a05a1a
Allow "Alpha" as 2nd argument for .Dt macro. So, we can go
...
with "Alpha architecture" manpages.
1999-09-22 21:38:40 +00:00
ache
68d776c14a
pick up locales from locale subdir
...
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 20:01:41 +00:00
ache
1097230631
koi8-r mandoc tweaks
...
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 19:49:21 +00:00
ache
8936d8635f
source hyphen.us-ru from locale subdir
1999-09-11 19:32:14 +00:00
ru
bdb110f5a2
Add FreeBSD 3.3 to the Fx and Os macros.
1999-09-07 10:33:34 +00:00
ache
2e30179cc4
Tune table since 0200-0206 is not available, add more chars
1999-07-31 15:51:57 +00:00
ache
8dc7ae60a2
bad news: chars 0200-0206 used internally in troff, make them back illegal
1999-07-31 15:15:15 +00:00
ache
eea917b87e
make all chars above 127 legal
1999-07-31 14:57:13 +00:00
ache
0515b9ac0b
change prev. commit: emulate latin1 on ascii if latin1 chars are
...
in the text as groff authors suppose
1999-07-31 14:16:04 +00:00
ache
deba43bd2e
Add more koi8-r chars
1999-07-31 13:17:47 +00:00
ache
c215087713
Pick hardcoded latin1 chars definitions only if -Tlatin1
1999-07-31 12:00:58 +00:00
ache
e72fd6b32f
Sense $LANG only if $LC_CTYPE is not set
1999-07-30 16:34:06 +00:00
mpp
0b514b0abf
Teach the .At macro about releases v2, v3, v4, and v5 of AT&T UNIX.
1999-07-30 12:33:26 +00:00
imp
937ff682c0
Force safer mode of operation for man's use of *roff.
...
Obtained from: OpenBSD's nroff.sh 1.2 by aaron@openbsd.org
1999-07-30 05:20:17 +00:00
ache
8723c1b046
Fix -T doubling
1999-06-07 19:28:47 +00:00
fenner
81b5e45922
Add 3.2 to the list of legal FreeBSD versions for the .Os FreeBSD macro.
1999-05-14 17:35:17 +00:00
fenner
c78425b3f4
Add 3.2 to the list of legal FreeBSD versions for the .Fx macro.
1999-05-14 17:32:21 +00:00
jkoshy
842cae7fdc
Complete the list of FreeBSD version numbers accepted by the .Fx macro.
...
PR: docs/11705
Submitted by: Stephen J. Roznowski <sjr@home.net>
1999-05-14 07:03:18 +00:00
obrien
ff0a2d0776
Fix conflicts.
1999-03-15 09:18:28 +00:00
obrien
35cdaa022a
Virgin import of FSF groff v1.11
1999-03-15 08:36:16 +00:00
obrien
33e6c8215e
This commit was generated by cvs2svn to compensate for changes in r44777,
...
which included commits to RCS files with non-trunk default branches.
1999-03-15 08:36:16 +00:00
fenner
bb619ee8f3
Make .Os behave as defined (unrecognized arguments displayed as given).
...
Add a warning for unknown BSD versions.
Make ".Os FreeBSD" work without a warning (fix bug in previous commit).
1999-02-18 16:54:24 +00:00
fenner
467c470f5a
Change .Fx macro to always display "FreeBSD" and its argument, whether
...
the argument is a known FreeBSD version or not.
Output an nroff error if .Fx is used with an unknown FreeBSD version.
Change .Nx and .Ox macros to always display the argument, whether
the argument is a known version or not. This eliminates much of the
need to syncrhonize .Nx and .Ox with their source OS's -- only the
exceptions (like ".Nx 1.2a" -> "NetBSD 1.2A") where the argument is
not directly copied to the output need to be added.
1999-02-15 07:27:18 +00:00
fenner
55f6780324
Always define oS to be "FreeBSD $2", no matter whether or not we
...
know the version number given as the argument to ".Os FreeBSD xxx".
Output nroff warning when we see a version number that we don't
know about.
1999-02-15 07:24:09 +00:00
yokota
c8dd6d9317
- Add FreeBSD 2.2.7, 2.2.8, 3.1, and 4.0 to the Fx and Os macros.
...
- Add 2.2.1 and 2.2.2 missing in a couple of places too.
(This is an interim measure and a better way of redefining these macros
is in discussion.)
1999-02-07 05:36:30 +00:00
jdp
8289bef3b5
Correct the previous Y2K "fix". It caused man page dates to come
...
out like "January 19, 99+1900".
1999-01-19 17:55:23 +00:00
wollman
b18417852f
Add a macro for ISO/IEC 9945-1: 1996, the official designation of the most
...
recent POSIX.1 standard.
1999-01-03 00:58:50 +00:00
obrien
194c8b4f1f
The \*(td string macro, which is supposed to display today's date in the form
...
"October 14, 1998". A Y2k fix makes it now display "October 14, 98+1900".
Appears you can perform arithmetic in a string definition.
PR: gnu/8321
Reviewed by: Andrew J. Korty <ajk@purdue.edu>
1998-12-06 05:54:26 +00:00
wollman
06c50449fd
Add a .St -p1003.1g.
1998-09-12 21:31:21 +00:00
alex
d449215303
Added .St -susv2 --> Version 2 of the Single UNIX Specification
1998-09-07 18:52:57 +00:00
dt
0df3c82bbd
Add XPG4.2.
1998-07-08 15:05:05 +00:00
steve
24792483ec
Fix spelling error.
...
PR: 6572
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-05-11 03:44:55 +00:00
bde
9a3bc82878
Removed yacc output files so that it is impossible to mix them with
...
new ones that we generate.
1998-03-27 11:14:12 +00:00
bde
bba68a1ec1
Removed yacc output files so that it is impossible to mix them with
...
new ones that we generate. We used to always mix the old header with
the new .cc file. This worked because Cygnus's yacc is surprisingly
compatible with our yacc.
1998-03-27 11:13:47 +00:00
wosch
9689b05da5
Add OS macros for FreeBSD 2.2.6, OpenBSD 2.2, OpenBSD 2.3.
1997-12-28 18:20:05 +00:00
jkh
7c6fbc207a
diff to /usr/share/tmac/mdoc/mdoc-syms to accept
...
.Fx 2.2.1
.Fx 2.2.2
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-12-27 05:55:15 +00:00
jraynard
0c9ee5593c
Year 2000 fixes for groff
...
PR: 4930
Submitted by: Stephen J. Roznowski
1997-12-20 22:29:55 +00:00
wosch
87ee16f497
.Ox macro needs to support "OpenBSD 2.1"
...
PR: docs/4561
Submitted by: Norihiro Kumagai <kuma@slab.tnr.sharp.co.jp>
1997-09-19 21:37:05 +00:00
wosch
2e5c4c37e1
Add a simple manpage.
1997-09-15 16:08:56 +00:00
ache
9f3f97929e
Sense *.ISO_8859-1 and *.KOI8-R locales from environment
...
PR: 4290
Submitted by: "Anatoly A. Orehovsky" <tolik@www.tomsk.su>
1997-09-15 02:03:13 +00:00
wosch
2d9535139e
Add a simple manpage.
1997-09-14 23:43:22 +00:00
peter
4e0403c01e
add .St -p1003.1b and -p1003.1b-93
1997-05-12 12:28:57 +00:00
ache
9dce1336fb
Emulate ':o' and '/o' letters using 'o'
1997-05-02 05:18:37 +00:00
wosch
b94212811b
back out rev 1.8 (last minute CDROM releases)
1997-03-29 20:34:40 +00:00
wosch
66a23e711e
Add last minute CDROM releases 2.1.6.1, 2.1.7.1, 2.2.1 to macro .Fx
1997-03-23 22:31:19 +00:00
mpp
1494efc395
Add all of the pre-FreeBSD 2.0 release to the .Fx macro.
1997-03-21 19:09:21 +00:00
mpp
f469ca1dbc
Update the usage message for the ".Bf" macro to match the actual
...
arguments that it takes.
1997-03-19 20:05:19 +00:00
mpp
de159c07b2
Bring the .Nx (NetBSD) macro into line with NetBSD's version.
...
Add the .Ox (OpenBSD) macro from OpenBSD.
1997-03-06 07:06:32 +00:00
mpp
04fab1123f
The .Os macro was missing 2.1.6, 2.1.7 and 3.0.
...
The .Fx macro was missing 2.1.7.
Add 2.2.5 to both .Os and .Fx. If I'm wrong about the version
number, no big deal - it can be removed later, but I wanted
to be able to get this into 2.2 so that when I'm using a
2.2 system ome months down the line, man pages intended for (what I
think will be the next 2.2 release) will be formatted properly.
Also fix a typo in a comment.
1997-03-06 06:58:12 +00:00
peter
d7cae96619
Revert a $FreeBSD$ to $Id$ (file otherwise modified)
1997-02-22 14:45:36 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
mpp
546556ad4f
Change the description for section 4 to read:
...
Kernel Interfaces Manual
This was needed because of a few man pages like keyboard(4)
which caused the header to become unreadable with the longer
description.
1997-01-02 20:02:32 +00:00
wosch
1a42acef36
a uniq name for every manpage section in header macro .Dt
1996-12-31 17:47:28 +00:00
wollman
f7bf6b94e5
Teach mdoc macros to recognize section 9 and the i386 architecture.
1996-12-18 17:43:24 +00:00
ache
91f60f21c3
Use LANG=C, LC_CTYPE=C, LC_TIME=C
1996-11-26 08:58:57 +00:00
ache
21ba09024d
Understand ru_RU too
1996-11-23 02:31:40 +00:00
wosch
46a17febc7
add FreeBSD 2.1.6 and 3.0 for .Fx macro
1996-11-04 21:02:51 +00:00
bde
77321c10b0
Don't mention tcpdump; this is for groff.
1996-10-08 20:11:55 +00:00
wosch
8f68e38e5e
Import Nx macro - NetBSD
...
Obtained from: NetBSD
1996-09-28 18:36:51 +00:00
ache
be986a9f95
Fix latin1 guessing
...
Add koi8-r guessing
1996-09-11 17:55:20 +00:00
pst
8bd2657c7f
Look for old "man" macros in tmac.groff_an
1996-09-08 00:37:30 +00:00
pst
2bb0d68ddf
Add setlocale LC_CTYPE and 8 bit clean ctype support.
...
Original author: ache
1996-09-08 00:34:51 +00:00
pst
685be52a70
Workarround for gcc 2.60 expression evaluation bug.
1996-09-08 00:34:04 +00:00
pst
38b892a53a
Improve .Os macro support (parts obtained from 4.4Lite2 and NetBSD)
...
Add the .Fx macro for specifying FreeBSD releases.
Add a bunch of missing standards to the .St macro.
Add Version 1 AT&T UNIX to .At macro
Updated the ".St -ansiC" macro to report "ISO 9899: 1990 (``ISO C'')"
You can also specify -iso9899, or -isoC. Use -ansiC-89 if you still need
the X3.159-1989 string reported.
Original author: mpp
1996-09-08 00:33:24 +00:00
pst
00056c9471
Manual page cleanups.
...
Original author: mpp
1996-09-08 00:32:33 +00:00
pst
a9cee8f96e
Install additional S and L text fonts, needed for BSD doc formatting.
...
Original author: ache
1996-09-08 00:30:25 +00:00
pst
0d8a61c2c4
Add Russian language / koi8-r font support.
...
Original author: ache
1996-09-08 00:28:32 +00:00
pst
129fbb1250
Add psroff command
1996-09-08 00:26:24 +00:00
pst
e639a0f255
Commit import instructions for future maintainers
1996-09-07 16:23:49 +00:00
pst
7fdf49473c
Virgin import of FSF groff v1.10
1996-09-07 16:18:32 +00:00