ru
fa75077aa7
mdoc.samples(7) is superseded by mdoc(7).
2001-04-17 12:49:42 +00:00
ru
ef2dbc1fb0
beforeinstall -> SCRIPTS.
2001-04-07 11:21:35 +00:00
wosch
c7ed722e30
space typo in last commit
2001-03-30 10:44:29 +00:00
wosch
bebefbb98e
* A comment in apropos.sh contains the misspelled word
...
"locailzed"; it should read "localized".
* The "test" operator can be a bit dangerous (e.g., if
a newbie writes a script named "test" and has it call
"apropos", which calls "test, ...).
* In its use as "whatis", apropos formats the first
line of the output differently than the following
lines. Specifically, it leaves out all but one of
the spaces that precede the dash in the first line.
Submitted by: Rich Morin <rdm@cfcl.com>
PR: 25126
2001-03-30 10:31:46 +00:00
ru
87ed4c32b3
MAN[1-9] -> MAN.
2001-03-27 14:59:06 +00:00
ru
06e5712a05
Don't use MANDEPEND and MANSRC.
2001-03-26 07:28:26 +00:00
ru
3e8d7346e8
setlocale(3) has been fixed to match POSIX standard:
...
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
ru
c6eb25402d
Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
...
The new Groff release will support this feature.
Requested by: peter
2001-02-23 09:35:33 +00:00
ru
b62adaf1b8
Implement one nice feature of original BSD man(1):
...
: As some manual pages are intended only for specific architectures,
: man searches any subdirectories, with the same name as the current
: architecture, in every directory which it searches. Machine specific
: areas are checked before general areas. The current machine type may
: be overridden by setting the environment variable MACHINE to the name
: of a specific architecture.
2001-02-19 14:19:57 +00:00
ru
58ea754546
Fixed the order of environment variables list.
2001-02-19 14:02:48 +00:00
ru
65018bec8d
Fix broken -L for short locale names.
2001-02-16 12:28:30 +00:00
ru
48633da620
Do not ever try to look into nonexisting locale subdirectories.
...
(is_directory() returns -1 if the file does not exist, 1 if it
is a directory or a symlink to a directory, and 0 otherwise.)
2001-02-15 19:01:41 +00:00
ru
75828ea30b
If both full-locale-name and short-locale-name searches
...
fail, look the manpage in the en.<charset> subdirectory.
See the manpage for details.
Suggested by: ache
2001-02-14 16:31:08 +00:00
ru
5fd02ba285
Backout 1.38->1.41 (functional) changes pending the proper solution.
...
/usr/share/man/cat? is only allowed to store -Tascii formatted data.
Requested by: ache
2001-02-14 13:16:16 +00:00
ru
6bbc17b8dc
Do not allow non-absolute pathnames in the manpath.
2001-02-13 16:55:42 +00:00
ru
2934fc2365
Make it possible for any given locale to use different
...
groff(1) devices for localized and non-localized pages.
Currently, for *.ISO_8859-1 locales the device in both
cases is "latin1", and for KOI8-R locale it is "koi8-r"
for localized and "ascii" for non-localized pages.
Discussed with: des
2001-02-13 16:15:04 +00:00
dillon
f5aab66f37
Finish draining any input prior to closing the pipe, to prevent unsightly
...
'Broken pipe' messages from gzcat.
2001-02-05 01:24:40 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
des
96febcd0b8
Revert part of previous commit and initialize locale_nroff to " -Tascii"
...
so man(1) works properly when no locale is set.
Spotted by: bde
2001-01-28 20:17:14 +00:00
des
c775307226
Make an effort to actually pass the correct device to groff.
2001-01-27 19:17:40 +00:00
ru
03fb4ce195
Prepare for mdoc(7)NG.
2000-12-27 13:59:17 +00:00
ru
b3f3c60dae
Teach man(1) how to look inside compressed manuals
...
for preprocessor directives. Avoid use of cat(1).
PR: bin/23585
2000-12-22 19:05:13 +00:00
ru
1a1c44f0b2
mdoc(7) police: removed history info from the .Os call.
2000-12-14 11:40:41 +00:00
ru
278161ed6c
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:15:20 +00:00
ru
c0cf985516
Install the stock (as supplied by groff(1) distribution) tmac.an
...
and tmac.andoc files. The man(1), catman(1) and bsd.man.mk have
been modified to call groff(1) with -mandoc argument.
2000-12-06 17:02:33 +00:00
ru
66b7de1327
Fixed manpage building.
2000-12-05 08:10:27 +00:00
ru
ca1ff254a5
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 12:18:54 +00:00
ache
c4bf7b152c
Spelling fixes
...
Submitted by: "Peter Avalos" <pavalos@theshell.com>
2000-09-17 11:06:38 +00:00
markm
1a005c4d46
Perl's version number needs upating.
2000-07-02 16:10:45 +00:00
ache
6e9089a719
Fix manpath for new perl
2000-07-02 03:17:31 +00:00
alex
6671c5f992
/etc/weekly -> /etc/periodic/weekly/320.whatis
...
PR: 19272
Submitted by: Uwe Pierau <uwe.pierau@tu-clausthal.de>
2000-06-20 10:41:01 +00:00
phantom
2de0a93149
mdoc cleanup: use .Nm macro correctly, don't non mdoc macro
2000-05-10 13:43:36 +00:00
sheldonh
64a7f96791
The MANSECT environment variable was misrepresented as MANSEC. Fixed.
...
PR: 17745
Submitted by: nordwick@askjeeves.com (Jason "Just Change It" Nordwick)
2000-04-05 13:57:46 +00:00
mpp
4349d96d4a
Fix a minor grammar problem.
2000-03-24 01:02:33 +00:00
phantom
fdfdda53b9
Better handling groff failures. If popen(ROFF_COMMAND) returns zero bytes
...
then handle it as problem. This commit fixes problem with archiving empty files.
PR: gnu/5767
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1999-12-28 12:55:58 +00:00
asmodai
1b1cb51117
Update man(1) to explain how to use the section numbers.
...
PR: docs/15557
Submitted by: John Meshkoff <johnpipe@nwserv.com>
Reviewed by: sheldonh
1999-12-20 14:34:29 +00:00
ache
782625f5a2
Allow man to parse MANLOCALES but not to store it
1999-11-23 03:38:41 +00:00
ache
14a4cc52b1
#ifdef MAIN locale additions to build man
1999-11-23 03:34:17 +00:00
ache
4915a2f6a9
Use manpath -L for locales
1999-11-23 03:11:54 +00:00
ache
0ed5649adb
Add -L: print MANLOCALES variable for man locales list
1999-11-23 03:06:18 +00:00
jhb
cf1ce520a4
Fix man so that it does not allow command line arguments to expand when
...
executing apropos or whatis. This prevents `man -k ';echo foo'` from
executing `echo foo` and causes apropos to print an error message instead.
Add $FreeBSD$ while I am here.
Noticed by: chris
1999-11-13 00:11:50 +00:00
ache
9d735305e6
Describe localized directories naming convention
...
Submitted by: mostly by phantom
1999-10-30 22:15:19 +00:00
ache
a2d0bee110
Localize it
...
Submitted by: phantom
1999-10-30 21:18:52 +00:00
ache
114bca6fd9
localize it
...
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:30:23 +00:00
ache
e9f7dec9e5
localize it
...
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:21:16 +00:00
phantom
fc46bb8275
Fix problem with manpages which contain ``-'' (dash) symbol in
...
Name Description (.Nm) field.
PR: bin/13456
Reviewed by: mpp, jkh
1999-09-06 05:38:47 +00:00
peter
289c0d262f
$Id$ -> $FreeBSD$
1999-08-27 23:37:10 +00:00
ru
5fed2c0cfa
Don't install /etc/manpath.config.sample.
1999-08-27 08:43:58 +00:00
ru
9deab5cc47
Remove unused MANBIN directive.
1999-08-20 10:44:51 +00:00
ru
9d22c29093
- Add an OPTIONAL_MANPATH directive (same as MANDATORY_MANPATH,
...
except an absence of the directory is not considered an error
and doesn't produce a warning).
Put /usr/local/lib/perl5/*/man under OPTIONAL_MANPATH.
- An order of directives in manpath.config is now irrelevant.
- Get rid of infinite loop when PATH is unset or NULL, and
MANDATORY_MANPATH directory doesn't exist.
- mdoc(9)ify manpage.
Reviewed by: des, markm, sheldonh
1999-08-16 11:34:57 +00:00