Commit Graph

298 Commits

Author SHA1 Message Date
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
Andrey A. Chernov
ba3f6b8c4d fix typo uid_t -> gid_t
add unsigned char cast to ctype macros
1999-05-13 15:48:18 +00:00
Andrey A. Chernov
3290dc2227 upgrade to perl 5.00503 1999-05-13 15:47:04 +00:00
Wolfram Schneider
c426ed4003 $Id$ misspelled as $Id
Submitted by: bde
1999-02-11 17:09:27 +00:00
Wolfram Schneider
1c9a0db841 Added myself as maintainer. 1999-02-09 17:23:03 +00:00
Mark Murray
dc62ad2891 Add perl5 userland (actually localland) to MANPATH list. 1999-02-04 11:43:10 +00:00
Joseph Koshy
1ec712bb64 Add a reference to man(7). 1998-12-03 02:32:20 +00:00
Matthew Dillon
4ca3da528e Added reference to mdoc(7) and mdoc.samples(7) to the bottom of
man(1).  The man manual page is the obvious first place that people
    who are trying to write manual pages look.
1998-12-01 06:35:06 +00:00
Bruce Evans
38f12a6e7b Fixed searching for section "1aout" man pages. Section numbers must be
single digits or in the section list.
1998-10-10 13:11:39 +00:00
Andrey A. Chernov
a4c5722033 space/tab problem 1998-10-02 13:01:59 +00:00
Andrey A. Chernov
9fecc29d3b add /usr/share/perl/man 1998-10-02 01:06:30 +00:00
Brian Somers
965066d630 Add Id keyword 1998-09-13 23:11:13 +00:00
Peter Hawkins
3f9fdaca2f PR: 7488
Submitted by:	lhecking@nmrc.ucc.ie
merge from stable
1998-08-05 03:44:46 +00:00
Dag-Erling Smørgrav
d65fe5d36d For every directory in ${PATH} that ends with "/bin", look for a
corresponding directory ending in "/man".

PR:		7215
Submitted by:	Wayne Scott <wscott@ichips.intel.com>
1998-07-09 12:39:08 +00:00
Dag-Erling Smørgrav
832984b50e Don't delete man pages with colons in their name (e.g. Perl 5 manpages)
PR:		bin/5439
Submitted by:	Martin Kammerhofer dada@sbox.tu-graz.ac.at
1998-05-01 13:27:27 +00:00
Philippe Charnier
cc3e67c760 Use .An/.Aq. 1998-04-01 06:22:28 +00:00
Philippe Charnier
69c4ee1e17 Use .An/.Aq.PR: 1998-03-31 06:52:28 +00:00
Bruce Evans
267af6a411 Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.
1998-03-20 12:13:10 +00:00
Bruce Evans
15d0bb0b98 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
1998-03-07 09:46:17 +00:00
Alexander Langer
0ce28c3a85 catman(1) is now invoked by /etc/periodic/weekly/330.catman. 1998-02-07 05:17:47 +00:00
Steve Price
edec52ad1a Remove manpath.[ch] here and use the ones in ../manpath instead. 1997-11-30 20:08:27 +00:00
Steve Price
580e97a9d8 Resurrect manpath.c here. 1997-11-30 19:55:16 +00:00
Steve Price
609e31cc38 Remove this copy of manpath.c and add the .PATH directive to get to
the same file in ${.CURDIR}/../man.

Suggested by:	Bruce Evans
1997-11-30 17:17:29 +00:00
Steve Price
bab06090f9 Always call gripe_reading_mp_config with the required arguments.
PR:		3894
Submitted by:	Stephen Clawson <sclawson@marker.cs.utah.edu>
1997-11-30 01:01:47 +00:00
John Polstra
14b94d0464 Add missing argument detected by "-Wformat". 1997-11-18 03:37:45 +00:00
Poul-Henning Kamp
d030d2d2ae Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
Wolfram Schneider
f6b31571f6 spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
Wolfram Schneider
09eac7d4b2 Better section guessing for manual pages without suffix. The
plan9 manual pages dont have a suffix.
1997-07-04 22:32:59 +00:00
Steve Price
d0dff61cfb Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.
1997-06-23 04:52:13 +00:00
Bruce Evans
a9d61f30f1 Fixed `make depend'. The previous change reduced it to making only
config.h (which isn't used directly).  Added a comment about the
indirect use of config.h.
1997-04-25 20:20:21 +00:00
Jordan K. Hubbard
2f1dba3bff Make depend rely on config.h 1997-04-11 05:17:25 +00:00
Bruce Evans
3fdee18f30 Fixed bogus existence test related to searching for a nearby obj
directory.  manpath.1 is always in the current (= object) directory,
so don't search for it.
1997-04-10 16:14:09 +00:00
Bruce Evans
a9d9f5acb1 Fixed bogus existence test related to searching for a nearby obj
directory.  man.1 is always in the current (= object) directory,
so don't search for it.
1997-04-10 16:13:17 +00:00
Bruce Evans
7a57462e37 Fixed bogus existence test related to searching for a nearby obj
directory.  config.h is always in the current (= object) directory,
so don't search for it.

config.h is not a source for the library, so don't put it in SRCS and
don't make the library depend on it.

Don't put unused flags in CFLAGS.

Simplify using INTERNALLIB*.
1997-04-10 16:04:43 +00:00
Mike Pritchard
5eefb7a4ee Remove a doubled word. Closes PR# 3163.
Submitted by:	 Kazuo Horikawa <horikawa@jp.freebsd.org>
1997-04-01 18:28:25 +00:00
Wolfram Schneider
2e6c23155e Support german mdoc man pages (currently no german mdoc man page exists).
Support japanese FreeBSD man pages, Jpman Project.
1997-03-14 21:58:43 +00:00
Wolfram Schneider
a8f61f25f5 Support german Linux/GNU man pages. 1997-03-13 17:56:01 +00:00
Wolfram Schneider
3f5556675d Bugfix for man pages created by perlpod(1).
Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>
1997-03-01 15:20:50 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Joerg Wunsch
424b33477f Reorder the default man sections.
2.2 candidate?
1997-02-09 14:10:31 +00:00
Wolfram Schneider
a98e5d2939 Check return value from system() function.
Pointed out some months ago by: Bruce
1997-02-08 22:36:11 +00:00
Mike Pritchard
ae3d652021 Don't force postscript output when "man -t" is specified.
Closes PR# 2661.

Submitted by:	 John-Mark Gurney <gurney_j@efn.org>
1997-02-05 14:22:13 +00:00
Jordan K. Hubbard
1130b656e5 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
Wolfram Schneider
af20215665 Sort cross references. 1997-01-13 00:25:51 +00:00
Mike Pritchard
00f7ecb490 Fix some file descriptor leaks. Closes PR# 2392.
2.2 candidate.
1997-01-09 14:50:42 +00:00
Andrey A. Chernov
9730ef2973 Even more buffer overflow fixes
Change CATMODE to 0644, because group man not used
Add immutable sbit to man binary, so if user even got man uid,
he can't replace man binary with fake one

Should go to 2.2

Submitted by: Marc Slemko <marcs@znep.com> with small editing by me
1996-12-19 10:45:16 +00:00
Andrey A. Chernov
7a81e58e55 Fix many buffer overflows, sprintf -> snprintf
Fix manpath dirs count overflow

Should be in 2.2
1996-12-18 20:55:26 +00:00
Andrey A. Chernov
a49b39f8d4 Fix my popen fix: conditionalize saving/restoring of euid
Should be in 2.2
1996-12-18 20:07:49 +00:00
Andrey A. Chernov
64919fdd33 Drop man priveledges before popen and restore them after it, because
it is possible to execute system command from f.e groff

Should be in 2.2
1996-12-18 19:46:21 +00:00
Mike Pritchard
487990280d Correct some xrefs/mlinks. 1996-12-14 23:27:20 +00:00
Mike Pritchard
2eea2d2aba Convert to mdoc format.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR# 2134
1996-12-09 07:57:54 +00:00
Mike Pritchard
5a2964f7c9 Minor formatting fixes.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR # 2134.
1996-12-09 07:26:04 +00:00
Mike Pritchard
1364c9e2fc Fix a spelling error. 1996-12-09 07:00:17 +00:00
Mike Pritchard
a66c11682b Convert man page to mdoc format.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR# 2154
1996-12-09 06:59:17 +00:00
Satoshi Asami
25c1416b06 Remove /usr/ucb and /usr/local/mh/bin from MANPATH_MAP, we don't ship
the system with these (and the mh port doesn't install there either).

Comment out /usr/X386/bin in MANPATH_MAP, it is already commented out
in MANDATORY_MANPATH.

2.2 candidate, I guess.  I can't even imagine why these stuff were
still there!
1996-12-07 23:32:37 +00:00
Wolfram Schneider
5402df3cfa Not hang in the downcase routine.
Submitted by: Trevor Blackwell tlb@viaweb.com

2.1.6/2.2 Candidate
1996-11-05 23:35:16 +00:00
Andrey A. Chernov
6e710be0de Remove unused file 1996-10-31 08:03:26 +00:00
Andrey A. Chernov
705c4b24f0 Localize it 1996-10-31 08:01:16 +00:00
Wolfram Schneider
412467fa26 grep(1) should not parse manpages as arguments.
Now `apropos -xfer' works.
1996-09-27 17:36:50 +00:00
Wolfram Schneider
633b3caa8f Reverts exit status for man -k' and man -f'.
Man(1) now return 0 if apropos/whatis return 0, otherwise 1.
1996-09-27 17:34:57 +00:00
Wolfram Schneider
fe0614bf6e Set enviroment variable PAGER=pager if using option `man -P pager'
This inherit variable PAGER for childs like whatis(1), e.g.
`man -P less -k man' should now work like expected.  Close PR#1068
1996-09-16 22:52:02 +00:00
Wolfram Schneider
728999c8b2 Cleanup exit status; 2: syntax error, 0: keyword matched,
$exit_nomatch: no keyword matched. Default value for variable
exit_nomatch is 0 because `man -k' don't like exit status != 0

Detected by: "Stephen J. Roznowski" <sjr@zombie.ncsc.mil>
1996-09-14 23:20:33 +00:00
Bruce Evans
5b963fa12e Fixed DPADD. 1996-09-05 17:16:10 +00:00
Wolfram Schneider
5a80fb277e sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
Andrey A. Chernov
21045c6802 Restore my backed out changes (writting cats) because they was
not reviewed by pst in claimed period (1 week) and over 3 weeks passed.
CONSTRUCTIVE complaints welcome!
1996-07-09 15:37:26 +00:00
Wolfram Schneider
e3908fd51f add manpage getNAME(1) 1996-07-08 20:18:28 +00:00
Wolfram Schneider
bfab15f069 Exits 0 on success, and 1 if no keyword matched.
Start $PAGER only if we find a manual page.
1996-07-08 20:03:18 +00:00
Jordan K. Hubbard
cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Andrey A. Chernov
14970a0492 Back out security changes until pst review them 1996-06-22 21:10:19 +00:00
Andrey A. Chernov
55c148f316 Do not produce empty cat file in debug mode 1996-06-22 08:05:11 +00:00
Andrey A. Chernov
b08645daa4 Close security holes and restore suid bit
Restore writting cat's functionality
1996-06-21 18:49:36 +00:00
Lars Fredriksen
24161867cf Reviewed by: joerg
Change man so that it will still display the man page even if it
cannot create a "cat" file.
1996-06-01 03:19:59 +00:00
Paul Traina
3ad4f8a0b7 Remove setuid bit, it's not necessary. 1996-05-22 15:53:38 +00:00
Paul Traina
ee8d2caadc Call groff directly instead of using nroff shell script.
Submitted by:	peter
1996-05-22 15:53:19 +00:00
Wolfram Schneider
d1c1415248 New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8
1996-05-22 00:57:42 +00:00
Jordan K. Hubbard
8f4196ac5e Invoke proper gzip 1996-05-20 12:52:08 +00:00
Wolfram Schneider
60fa1b8390 Makewhatis appended the filename to list of keywords if no keyword
matched the filename. Now put the list after the filename. E.g.

filename: vt220keys.1
Keyword: vt220

was: vt220(1), vt220keys(1)   - define SHIFTED [...]
now: vt220keys(1), vt220(1)   - define SHIFTED [...]
1996-05-14 23:07:05 +00:00
Wolfram Schneider
7d732d1e4f Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286
Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
1996-05-12 21:02:04 +00:00
Mike Pritchard
edf0e5b3f8 Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
Wolfram Schneider
3974bcb043 Don't count character ``+'' as garbage (c++.1, flex++.1)
Submitted by: joerg
1996-03-21 18:17:41 +00:00
Wolfram Schneider
242e35141e remove ``whatis'' 1996-03-10 18:59:11 +00:00
Wolfram Schneider
d31934acb9 share the code between apropos and whatis 1996-03-10 18:52:33 +00:00
Wolfram Schneider
d37cc74768 print error messages to stderr
don't fail if search arguments contain spaces
allow programs from $PATH as PAGER
faster
1996-02-25 23:41:46 +00:00
Bruce Evans
463c7e7ac6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1996-02-25 20:25:05 +00:00
Wolfram Schneider
cc54f38c51 making <page>.1 from <page>.man 1996-02-06 23:48:03 +00:00
Wolfram Schneider
98b1043eab man.1 depend on man.man 1996-01-24 00:22:27 +00:00
Wolfram Schneider
7848c5e3b3 manpath.1 depend on manpath.man 1996-01-24 00:18:29 +00:00
Joerg Wunsch
09a9d67790 `-w' was actually a flag, not an option... 1996-01-23 21:27:39 +00:00
Joerg Wunsch
216f442d13 Add a hint that the -w flag to catman(1) is actually the command
wakewhatis(1) for us.

Closes PR # docs/966

Submitted by:	obrien@cs.ucdavis.edu (David E. O'Brien)
1996-01-23 21:09:39 +00:00
Bruce Evans
5d391de1d4 Search section 9. 1996-01-23 14:03:26 +00:00
Mike Pritchard
3f1cd88fb3 Change the reference to less(1) (which may not be installed) to more(1).
Closed PR# 847.
1996-01-22 09:25:45 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Jordan K. Hubbard
9f07bf9833 Comment out /usr/X386/man entry from MANDATORY_MANPATH - it's obsolete.
Submitted by:	mi@ALDAN.star89.galstar.com
1995-11-28 19:03:20 +00:00
Bruce Evans
03e5b81db4 Rewrite and merge some bogus makefiles to create Makefile.shprog. Just
include this in the old makefiles.

I intended to fix only the private maninstall rule but found a lot of
other bogons and bugs:
- strong resistance to installing the program anywhere other than
  ${DESTDIR}/usr/bin (first, ../../Makefile.inc was not included.
  ../Makefile/inc was redundantly included instead.  Second, /usr/bin
  was hard coded).
- the owner, group and permissions were hard coded.
- the man page was installed twice.
- MANDEPEND wasn't necessary.
- calculations to determine the obj directory weren't necessary.
- there were unnecessary private rules for depend, rcsfreeze and tags.
  We don't support the rcsfreeze target.
- there was an extra, bogus, rule for `all'.

The final version uses suffix rules to eliminate the remaining verboseness
involving directories (${.CURDIR}) and to potentially allow multiple
shell programs in one directory.
1995-10-21 14:27:19 +00:00
Joerg Wunsch
6f4da234fb Fix a few minor bugs in makewhatis.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-09-10 13:05:52 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Rodney W. Grimes
4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Andrey A. Chernov
7b9728ce0b Don't chdir to subdirs before formatting, non-native manpages
assume it for .so directive
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-05-20 19:02:53 +00:00
Rodney W. Grimes
ba0879629f Submitted by: Charles Henrich <henrich@fubar.cl.msu.edu>
Quite up man when directories in MANPATH do not exist.  If you want
it to tell you about problems use man -d.
1995-05-12 04:56:28 +00:00
Joerg Wunsch
d2b27ba8b6 From Wolfram: Fix: typos, old links
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-05-06 19:04:07 +00:00
Jordan K. Hubbard
4b1e0d1665 Close this PR:
>Number:         364
>Category:       bin
>Synopsis:       Interrupting man results in half-baked man page
>Description:

Interrupting man while it is waiting for the page to be formatted
results in a zero length file or a half-baked file.

>How-To-Repeat:

Inetrrupt man while it is formatting a page.

>Fix:

Pay more attention to the return value from the system command.
Submitted by:	John Capo <jc@irbs.com>
1995-04-26 16:19:23 +00:00
Joerg Wunsch
c8a2ad770c Fix broken file name globbing. Man is now also able to find pages
like "3DBorder" and "[".  (NB, the "3DBorder" problem has actually
been intention, it allowed for weird section names like "3xyzzy".  We
don't have them, either.)

(Partially) Submitted by:	taob@gate.sinica.edu.tw (Brian Tao)
1995-04-11 22:01:53 +00:00
Joerg Wunsch
f000edcf92 Fix the
Ignore wrong indent value: ``''

bug, as reported by Chris Kukulies.
1995-04-01 11:43:09 +00:00
Joerg Wunsch
c0106644ad Wolfram's latest update.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-03-31 04:00:53 +00:00
Jean-Marc Zucconi
509b93f067 'directories...' is an argument, not an option 1995-03-27 01:52:59 +00:00
Andrey A. Chernov
e831146aee Don't use user PATH into environment for sec reasons 1995-03-18 02:19:25 +00:00
Andrey A. Chernov
24e24f916f 1) Call nroff instead of groff, nroff have some internal groff options
2) Use absolute pathname for nroff
3) Use -Tascii instead -Tlatin1, too many strange chars (like
soft hyphens f.e.) appearse in other case.
1995-03-18 02:11:56 +00:00
Joerg Wunsch
01e694c2e2 Wolfram's replacement for the oldish ugly catman(1) program. The new
one is much more intelligent, not only that it would accept multiple
man page locations, it also behaves like ``make'' in that it will only
deal with cat pages that are out of date (by default).

Wolfram also wrote a man page for it.

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-03-15 22:47:38 +00:00
Paul Richards
0d09ae1111 Change the return status of do_system_command to be -1
if a signal is received.

This fixes a bug where killing the process would cause a
"No manual entry for XXX" to be printed even if the manpage
was found.
1995-03-09 19:56:23 +00:00
Joerg Wunsch
def5a1b108 Patch bei Wolfram to avoid processing duplicate directories.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-02-26 19:35:06 +00:00
Bruce Evans
eac78dccac Install manpath.config.sample with the correct mode. It should be installed
elsewhere.
1995-02-26 03:03:15 +00:00
Joerg Wunsch
27dd3ef3b9 Wolfram now also submitted a man page for this.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-02-15 22:52:52 +00:00
Andrey A. Chernov
8af44ad204 Use nroff instead of groff in %nroff% macro, becasue
nroff shell script pass additional internal parameters to groff
1995-01-17 21:12:05 +00:00
Andrey A. Chernov
603ef010b6 Back out my ascii->latin1 change, too many special chars
appearse after it (f.e. hyphentate and such) which looks
very different in different code pages
1995-01-16 17:18:03 +00:00
Garrett Wollman
c81d9b5121 Turn off incredibly obnoxious forced -c' option to more'. 1995-01-14 20:09:47 +00:00
Andrey A. Chernov
21984e24b4 Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.
1995-01-13 00:42:04 +00:00
Joerg Wunsch
056dfea8f8 argl, better unzip the perl script before installing. :-/ 1995-01-11 09:21:29 +00:00
Joerg Wunsch
43c1db28c7 From our favorite Perl script writer: a new makewhatis, about
15 times faster than the existing sh script.

Submitted by:   Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-10 18:12:50 +00:00