Commit Graph

49 Commits

Author SHA1 Message Date
itohy 0953ea242f Remove temp file on SIGPIPE (such as "man sh | head"). 1999-06-19 05:25:31 +00:00
kleink ad4023c857 Fall back to more(1) if PAGER is set but null. 1999-06-13 19:38:04 +00:00
dante d3b97ee431 Handle '_crunch' section.
Add removelist() function
Add renamelist() function
1999-04-04 16:57:36 +00:00
dante ff3f665d94 Document '_crunch' section. 1999-04-04 16:27:28 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos 1a67b18deb char -> unsigned char 1998-11-06 22:29:44 +00:00
wsanchez 76c99f3c0a We can't define MACHINE from a makefile in Rhapsody, because you might be cross
compiling, or building a fat (multi-architecture) binary.  Our compiler
  defines __ARCHITECTURE__ for this use.
Fixed an off-by-one error that may occasionally cause man to seg fault. Found
  by using a special strict malloc() implementation.
1998-10-08 01:36:04 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
kleink d39ba37ccb Since GLOB_NOCHECK is not set, explicitly check for a return value of
GLOB_NOMATCH from glob().  Noticed by Juergen Hannken-Illjes.
1998-07-06 14:23:31 +00:00
kleink fc5d36f8e4 GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being
enabled is the default behaviour.
1998-06-19 22:58:04 +00:00
fair 6394d4858b Added .Xr mdoc 7 and .Xr mdoc.samples 7 per PR#5284 1998-04-12 07:39:17 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
tv 13b09649c2 When man was "fixed" to chdir() to the man root as historical man does,
it broke the -M option on relative paths (the chdir works as it should,
but the relative man page path is still used whole in nroff).  This
repairs the situation by chopping the full pathname in half--one part
for the chdir, one part for the filename.
1997-11-23 23:24:14 +00:00
mikel 5238c16301 kill redundant copy of src/etc/man.conf 1997-10-29 05:06:41 +00:00
lukem 6d1c625f54 fix up .Nm usage 1997-10-19 05:05:24 +00:00
mikel 78b44c8f92 cleanup for WARNS=1 1997-10-17 06:42:09 +00:00
mikel 37c88d8964 resize a pathname buffer to MAXPATHLEN; from Matthias Scheler in PR 4101 1997-09-10 07:13:51 +00:00
jtc 0076a482bb fix typo 1995-12-05 03:33:39 +00:00
tls 7f429c3306 Sync with 4.4BSD-Lite2 1995-09-28 06:05:11 +00:00
tls 5b36a1959d imported from 44lite2 1995-09-28 05:41:29 +00:00
mycroft c79429853d Pay attention to the section number, even if MANPATH or -M is specified. 1995-04-20 04:09:32 +00:00
mycroft db6e530eb0 Sync with 4.4-Lite, plus local changes. 1995-01-16 09:29:08 +00:00
cgd 7bcf9338df specify man pages the new way. 1994-12-22 12:29:38 +00:00
jtc dfab265f6e Fix from Christos Zoulas which makes relative paths in .so lines work when
man pages are formatted.
1994-06-03 22:38:11 +00:00
cgd 75556c7593 fix from bostic for multiple match problem 1994-04-17 02:15:13 +00:00
cgd 7b3c4a81f6 fix from Keith White <kwhite@csi.UOttawa.CA>, to DTRT when man -w's output
is redirected.
1994-03-18 00:46:49 +00:00
mycroft d30fa11d9d Clean up deleted files. 1994-01-12 18:12:43 +00:00
cgd f45b975fa5 rename fgetline() 1994-01-04 05:36:22 +00:00
cgd 34284b5274 kill a bit of redudancy 1993-12-22 07:11:45 +00:00
cgd cdfde1778e kill that hack 1993-12-22 07:11:20 +00:00
mycroft 9303f3696c Clean up deleted files. 1993-12-21 03:29:48 +00:00
cgd c41f6971c4 #ifdef out a changed interface, for now 1993-12-21 03:05:59 +00:00
cgd b7b446dbbb fix slight docbug 1993-12-21 03:05:17 +00:00
cgd 091f0a7a58 add man(1) ; part of new man(1) package from Bostic 1993-12-21 02:59:25 +00:00
mycroft 8f7d2929f8 Clean up deleted files. 1993-12-21 02:58:07 +00:00
mycroft 52efca41cd Nuke remaining patchkit headers. 1993-08-02 18:17:24 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
jtc 78df5feb47 First cut at "catman" 1993-07-27 21:29:27 +00:00
jtc 87a0a56795 Add makewhatis script 1993-07-27 20:55:32 +00:00
jtc f49d130aa8 Add makewhatis script for catman 1993-07-27 20:53:59 +00:00
jtc 41897f8be3 Eliminate line length limit of config file. 1993-07-27 01:32:38 +00:00
jtc 9786c4ebb2 man_conf -> man.conf 1993-07-27 01:04:48 +00:00
jtc 0de6d56567 Restore colons to manpath if we exit the for loop prematurely to
avoid dumping core when we request manpages from more than one
section.
Look in machine dependant manpage directory (cat?/arch/*) before the
machine independant directory (cat?/*) as per manpage.
Don't complain about not being able to find a manual page if it was
found in the augmented manpath specified by -m.
1993-07-26 23:05:36 +00:00
alm 769642c9ad Increased line limit to 4K (would break on X man pages) 1993-07-20 11:25:10 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00