Commit Graph

83 Commits

Author SHA1 Message Date
wosch
96d07711e3 making <page>.1 from <page>.man 1996-02-06 23:48:03 +00:00
wosch
14b39d5345 man.1 depend on man.man 1996-01-24 00:22:27 +00:00
wosch
1528d7ee78 manpath.1 depend on manpath.man 1996-01-24 00:18:29 +00:00
joerg
707e90624e `-w' was actually a flag, not an option... 1996-01-23 21:27:39 +00:00
joerg
16fa5683ce 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
bde
6ae9438f75 Search section 9. 1996-01-23 14:03:26 +00:00
mpp
3956ebc3ff 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
6470cdf2a0 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
639da796bd recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
jkh
53c53c68b6 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
bde
c47a407f5d 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
a7b7701221 Fix a few minor bugs in makewhatis.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-09-10 13:05:52 +00:00
bde
8a5789682c 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
rgrimes
8988b74eb8 Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ache
25369084ad 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
rgrimes
e173c4e511 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
dc230e1689 From Wolfram: Fix: typos, old links
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-05-06 19:04:07 +00:00
jkh
f258d0ad19 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
f7dc2cbd8a 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
ccafa83a78 Fix the
Ignore wrong indent value: ``''

bug, as reported by Chris Kukulies.
1995-04-01 11:43:09 +00:00
joerg
171a34b98d Wolfram's latest update.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-03-31 04:00:53 +00:00
jmz
823753ae94 'directories...' is an argument, not an option 1995-03-27 01:52:59 +00:00
ache
b1dc3c9d60 Don't use user PATH into environment for sec reasons 1995-03-18 02:19:25 +00:00
ache
b2025e2778 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
5b5b110c19 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
9be03fba57 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
6098fa7d81 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
bde
01d0b69e54 Install manpath.config.sample with the correct mode. It should be installed
elsewhere.
1995-02-26 03:03:15 +00:00
joerg
8efb940d28 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
ache
9d46c5c874 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
ache
fe96ce6294 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
wollman
fce7468318 Turn off incredibly obnoxious forced -c' option to more'. 1995-01-14 20:09:47 +00:00
ache
02e89bfef1 Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.
1995-01-13 00:42:04 +00:00
joerg
1476f09ff1 argl, better unzip the perl script before installing. :-/ 1995-01-11 09:21:29 +00:00
joerg
af3eea8a29 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
jkh
7843e2ffd5 Remove /usr/gnu from mandatory manpath. 1994-11-22 09:57:42 +00:00
bde
fa6f7683fa Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries.  This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)
1994-11-14 05:57:36 +00:00
bde
13ee96a5b0 Use standard clean, cleandir and obj targets.
Don't use $@.

Uniformize the man Makefiles for shell scripts.  It should't take such
large Makefiles to install one script and one man page each.
1994-08-28 18:33:48 +00:00
bde
a51e89e036 Remove stale clone of obj target. 1994-08-28 18:25:55 +00:00
bde
3574d706dd Fixed Makefile for make depend some more. The .depend target was not
being created and config.h depended on Makefile.inc being in the wrong
directory so real dependencies were not being checked.  The "depend"
target was not created either so "make depend" always found work to do.
1994-08-25 08:36:26 +00:00
jkh
131eb557c4 From: Tom Pavel <PAVEL@SLAC.Stanford.EDU>
Subject: man returns 1

In 1.1.5.1, man returns a status of 1 if the lookup succeeds and 0 if
it fails.  Here is a patch for what I believe is a simple oversight:

Submitted by:	jkh
1994-08-24 07:26:23 +00:00
csgr
355e442ca1 Make these Makefiles work properly when NOMAN is defined.
(I wish they just used bsd.prog.mk)
1994-06-05 21:57:16 +00:00
csgr
aaaa721ec7 Manual pages are now installed via the bsd.man.mk macro, since the
existing arrangement in this makefile doesn't allow for compressed
manual pages.
1994-06-05 20:39:58 +00:00
csgr
d6c35ebf6a Turn globbing on when a section number is specified, this makes things work
properly when /usr/share/man/man?/ contain gzipped unformatted pages.
1994-05-28 20:19:25 +00:00
ache
cc69aed04a Fix catman to produce zipped cats, like man does.
In other (old) case we have both kind of cats at once.
1994-05-23 22:13:36 +00:00
jkh
6c9be493cc Stop toasting folks' /etc/manpath.config files. 1994-05-17 12:50:36 +00:00
rich
4814797387 Add X11R6 to manpath in preprataion for XFree86 3.0. 1994-05-17 11:26:12 +00:00
ats
39f7032a44 Changed the Makefiles for catman and makewhatis that the output from the
sed goes into an obj dir, if it exists, instead of the src dir.
1994-04-13 19:54:43 +00:00
jkh
e6e5f938ed Something bogus happened here; not sure what or how.
Fixed.
1994-03-23 18:50:57 +00:00
jkh
6e1bfcfd99 Make man the default owner, don't bother with sgid. 1994-03-19 22:25:17 +00:00