Ruslan Ermilov
88c033be20
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
Matthew Dillon
eabf71899f
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
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Dag-Erling Smørgrav
7105f09c38
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
Dag-Erling Smørgrav
0448bdfcb8
Make an effort to actually pass the correct device to groff.
2001-01-27 19:17:40 +00:00
Ruslan Ermilov
1c232e52cd
Prepare for mdoc(7)NG.
2000-12-27 13:59:17 +00:00
Ruslan Ermilov
36fd98fad4
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
Ruslan Ermilov
886539482d
mdoc(7) police: removed history info from the .Os call.
2000-12-14 11:40:41 +00:00
Ruslan Ermilov
a2fd3702a3
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:15:20 +00:00
Ruslan Ermilov
4c5804ea54
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
Ruslan Ermilov
b132656a0f
Fixed manpage building.
2000-12-05 08:10:27 +00:00
Ruslan Ermilov
3450dff7f1
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 12:18:54 +00:00
Andrey A. Chernov
68560dc2ad
Spelling fixes
...
Submitted by: "Peter Avalos" <pavalos@theshell.com>
2000-09-17 11:06:38 +00:00
Mark Murray
a522c2bad9
Perl's version number needs upating.
2000-07-02 16:10:45 +00:00
Andrey A. Chernov
f8ca1b7655
Fix manpath for new perl
2000-07-02 03:17:31 +00:00
Alexander Langer
12646d6c2c
/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
Alexey Zelkin
4a06bf7d45
mdoc cleanup: use .Nm macro correctly, don't non mdoc macro
2000-05-10 13:43:36 +00:00
Sheldon Hearn
44b20bdb13
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
Mike Pritchard
776dba5ae2
Fix a minor grammar problem.
2000-03-24 01:02:33 +00:00
Alexey Zelkin
c7986155e0
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
Jeroen Ruigrok van der Werven
cf783253bd
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
Andrey A. Chernov
41a1d0d2b5
Allow man to parse MANLOCALES but not to store it
1999-11-23 03:38:41 +00:00
Andrey A. Chernov
1ed4b3e952
#ifdef MAIN locale additions to build man
1999-11-23 03:34:17 +00:00
Andrey A. Chernov
597ccab43e
Use manpath -L for locales
1999-11-23 03:11:54 +00:00
Andrey A. Chernov
f052fd3563
Add -L: print MANLOCALES variable for man locales list
1999-11-23 03:06:18 +00:00
John Baldwin
8081b10e66
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
Andrey A. Chernov
b78133c1d9
Describe localized directories naming convention
...
Submitted by: mostly by phantom
1999-10-30 22:15:19 +00:00
Andrey A. Chernov
fb17926b0c
Localize it
...
Submitted by: phantom
1999-10-30 21:18:52 +00:00
Andrey A. Chernov
ef5920ee6c
localize it
...
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:30:23 +00:00
Andrey A. Chernov
198f193685
localize it
...
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:21:16 +00:00
Alexey Zelkin
cb0ec4da2e
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 Wemm
9b7a44a60e
$Id$ -> $FreeBSD$
1999-08-27 23:37:10 +00:00
Ruslan Ermilov
43faa6dff6
Don't install /etc/manpath.config.sample.
1999-08-27 08:43:58 +00:00
Ruslan Ermilov
7a4acb8075
Remove unused MANBIN directive.
1999-08-20 10:44:51 +00:00
Ruslan Ermilov
80e770cf63
- 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
Mike Pritchard
2ce66fb320
Various man page cleanup:
...
- Sort xrefs
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>
1999-08-15 09:06:06 +00:00
Tim Vanderhoek
de50b4a3b8
Remove explicit testing of the NOFSCHG variable. Its functionality (in this
...
file) is now superceeded by INSTALLFLAGS_EDIT in bsd.{prog,kmod,lib}.mk.
1999-07-31 20:32:31 +00:00
Nik Clayton
13bc97efa9
Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.
...
PR: docs/12734
Submitted by: Alexey M. Zelkin <phantom@scorpion.crimea.ua>
1999-07-30 21:12:35 +00:00
Warner Losh
d8bbd3e143
Add -S to nroff and troff invocations of man.
1999-07-30 19:35:56 +00:00
Mark Murray
210f9eb552
Remove paths that are listed as compulsory (sorta). /usr/local is not
...
guaranteed to be there on a new system. This fixes whereis' "Could not
stat file..." errors.
1999-07-25 19:33:06 +00:00
Tim Vanderhoek
e20ff07727
Respect the NOFSCHG variable. Add an $Id$ while I'm here, for whatever
...
reason Makefiles need $Id$.
1999-07-05 02:46:20 +00:00
Andrey A. Chernov
24c56392de
little optimization of locale sensing code
1999-06-09 00:07:10 +00:00
Andrey A. Chernov
8e8cc94742
Just ignore malformed locale variable unless -d specified
1999-06-08 14:59:12 +00:00
Andrey A. Chernov
e5eeb99e2b
Localize NEQN part too
1999-06-07 19:23:04 +00:00
Andrey A. Chernov
ccb357e4ea
Add ability to read/write localized manpages
1999-06-07 18:36:00 +00:00
Andrey A. Chernov
46c0a1dd07
remove getopt & friend declarations, now unistd.h included
1999-06-05 16:05:40 +00:00
Andrey A. Chernov
1bae15ffb0
fix typo preventing to include unistd.h
1999-06-05 15:59:51 +00:00
John Birrell
21e58b66a1
Add a missing backslash from the last commit. (Broke installworld)
1999-05-23 02:11:41 +00:00
Tim Vanderhoek
53ee42d318
Use BINOWN and BINGRP (some people do change these...)
1999-05-22 19:38:04 +00:00
Andrey A. Chernov
6d9c684ab7
fix downcase() for chars with 8bit
1999-05-13 15:59:27 +00:00