steve
e3e30a5048
Remove manpath.[ch] here and use the ones in ../manpath instead.
1997-11-30 20:08:27 +00:00
steve
dc1750d03e
Resurrect manpath.c here.
1997-11-30 19:55:16 +00:00
steve
874d6c6801
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
6ee55c14c9
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
jdp
8a7bf8aff1
Add missing argument detected by "-Wformat".
1997-11-18 03:37:45 +00:00
phk
d8ac409160
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
wosch
fde8a8ec46
spelling corrections.
...
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
wosch
eaa9fd68f5
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
f8049f60d8
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
bde
7b872f2073
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
jkh
6a4df2f578
Make depend rely on config.h
1997-04-11 05:17:25 +00:00
bde
06e128ab00
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
bde
3f56145d23
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
bde
3d7da76d79
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
mpp
94774977e0
Remove a doubled word. Closes PR# 3163.
...
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
1997-04-01 18:28:25 +00:00
wosch
c0e6c9a0af
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
wosch
463d2ef961
Support german Linux/GNU man pages.
1997-03-13 17:56:01 +00:00
wosch
39b10ebf20
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
245ba20d12
Revert $FreeBSD$ to $Id$
1997-02-22 15:48:31 +00:00
joerg
6b544b7e1a
Reorder the default man sections.
...
2.2 candidate?
1997-02-09 14:10:31 +00:00
wosch
865b89e27e
Check return value from system() function.
...
Pointed out some months ago by: Bruce
1997-02-08 22:36:11 +00:00
mpp
ab620d2c10
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
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
wosch
71f5160702
Sort cross references.
1997-01-13 00:25:51 +00:00
mpp
cbe97b6291
Fix some file descriptor leaks. Closes PR# 2392.
...
2.2 candidate.
1997-01-09 14:50:42 +00:00
ache
650249d0ad
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
ache
d960df2235
Fix many buffer overflows, sprintf -> snprintf
...
Fix manpath dirs count overflow
Should be in 2.2
1996-12-18 20:55:26 +00:00
ache
7cb5d57391
Fix my popen fix: conditionalize saving/restoring of euid
...
Should be in 2.2
1996-12-18 20:07:49 +00:00
ache
3ea40235ca
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
mpp
9bc3e724e5
Correct some xrefs/mlinks.
1996-12-14 23:27:20 +00:00
mpp
f18329fad9
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
mpp
5b30b8bc87
Minor formatting fixes.
...
Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR # 2134.
1996-12-09 07:26:04 +00:00
mpp
1238b8c5ec
Fix a spelling error.
1996-12-09 07:00:17 +00:00
mpp
35056c883f
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
asami
989f34c44f
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
wosch
d459440903
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
ache
fe5b7d008f
Remove unused file
1996-10-31 08:03:26 +00:00
ache
e39dc02ecd
Localize it
1996-10-31 08:01:16 +00:00
wosch
6d1aa03c4c
grep(1) should not parse manpages as arguments.
...
Now `apropos -xfer' works.
1996-09-27 17:36:50 +00:00
wosch
e5c1c9b037
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
wosch
7393f67a3a
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
wosch
e394564f76
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
bde
11546f4616
Fixed DPADD.
1996-09-05 17:16:10 +00:00
wosch
0210175107
sync copyright with /usr/share/examples/etc/bsd-style-copyright
1996-08-27 20:04:45 +00:00
ache
3dce5dd9c8
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
wosch
7dbcea9d7a
add manpage getNAME(1)
1996-07-08 20:18:28 +00:00
wosch
5bcd6f63c6
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
jkh
8eb37231d4
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
ache
c8f0ea9e6d
Back out security changes until pst review them
1996-06-22 21:10:19 +00:00
ache
1649c2ccee
Do not produce empty cat file in debug mode
1996-06-22 08:05:11 +00:00