CVS log for src/gnu/usr.bin/man/man/Attic/man.c
Up to [FreeBSD] / src / gnu / usr.bin / man / man
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.70
Thu Apr 21 07:14:10 2011 UTC (9 months, 3 weeks ago) by gordon
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.69: +1 -1 lines
SVN rev 220910 on 2011-04-21 07:14:10Z by gordon Remove GNU man implemenation now that the BSD version has cooked for a while.
Revision 1.65.2.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.65.2.2: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.2: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.69.2.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.69.2.1: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.1: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.69.2.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.69.2.1: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.1: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.65.2.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.65.2.2: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.2: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.69.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.69.2.1: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_2, RELENG_8_1, RELENG_8_0
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Thu May 14 01:35:43 2009 UTC (2 years, 8 months ago) by des
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP
Branch point for: RELENG_7_4, RELENG_7_3
Diff to: previous 1.65.2.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.1: +1 -0 lines
SVN rev 192068 on 2009-05-14 01:35:43Z by des MFC r183696, r183698: enable UTF-8 for man pages.
Revision 1.65.2.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.65.2.1: preferred, colored; next MAIN 1.65.2.2: preferred, colored
Changes since revision 1.65.2.1: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.65.2.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.65.2.1: preferred, colored; next MAIN 1.65.2.2: preferred, colored
Changes since revision 1.65.2.1: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Oct 8 13:16:20 2008 UTC (3 years, 4 months ago) by des
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -0 lines
SVN rev 183696 on 2008-10-08 13:16:20Z by des Enable UTF-8. MFC after: 1 week
Revision 1.62.10.1.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.62.10.1: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.10.1: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 07:30:32 2008 UTC (3 years, 8 months ago) by ru
Branches: RELENG_7
CVS tags: RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_2, RELENG_7_1
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +13 -3 lines
MFC: Add an ability to run man(1) on local files plus add limited support for bzip2-compressed manpages. PR: bin/120730
Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed May 14 17:18:12 2008 UTC (3 years, 8 months ago) by ru
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -1 lines
Add support for bzip2-compressed manpages. PR: bin/120730 Submitted by: ighighi AT gmail DOT com MFC after: 1 week
Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed May 14 17:08:31 2008 UTC (3 years, 8 months ago) by ru
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +12 -2 lines
Add an ability to run man(1) on local files (the argument should contain a `/' character); based on the submission in the PR. PR: bin/120730 MFC after: 1 week
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Feb 19 07:09:17 2008 UTC (3 years, 11 months ago) by ru
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -1 lines
getopt(3) returns -1, not EOF.
Revision 1.62.10.1: download - view: text, markup, annotated - select for diffs
Fri Sep 28 02:31:57 2007 UTC (4 years, 4 months ago) by edwin
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3
Branch point for: RELENG_6_4
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +15 -0 lines
MFC: Fix man(1) to allow .so to reference a compressed file Original PR description: man(1) can't handle compressed included files. Some ports will install with compressed manpages. man handles this by looking for the .gz version of a man source file. It is also common to include other files with the .so directive where commands or functions share a man page. Traditionally ports have had to handle this by either not compressing the manpages, or using the _MLINKS macro in the port makefile to create symlinks to the actual source file, rather than using .so versions. Notably, the current version of Xorg port breaks. See ports/113096 and ports/115845. PR: bin/115850 Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 28 02:31:30 2007 UTC (4 years, 4 months ago) by edwin
Branches: RELENG_5
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +15 -0 lines
MFC: Fix man(1) to allow .so to reference a compressed file Original PR description: man(1) can't handle compressed included files. Some ports will install with compressed manpages. man handles this by looking for the .gz version of a man source file. It is also common to include other files with the .so directive where commands or functions share a man page. Traditionally ports have had to handle this by either not compressing the manpages, or using the _MLINKS macro in the port makefile to create symlinks to the actual source file, rather than using .so versions. Notably, the current version of Xorg port breaks. See ports/113096 and ports/115845. PR: bin/115850 Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Sep 25 21:41:22 2007 UTC (4 years, 4 months ago) by edwin
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -1 lines
Fix possible uninitialized variable insert due to previous commit. Pointy hat to: me and my absence of -Wall in my CFLAGS. MFC will happen at the same time of the earlier commit. Thanks to ru@ for spotting. Approved by: re (Ken Smith), grog@ (mentor)
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Sep 20 21:37:29 2007 UTC (4 years, 4 months ago) by edwin
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +15 -0 lines
man(1) can't handle compressed included files. Some ports will install with compressed manpages. man handles this by looking for the .gz version of a man source file. It is also common to include other files with the .so directive where commands or functions share a man page. Traditionally ports have had to handle this by either not compressing the manpages, or using the _MLINKS macro in the port makefile to create symlinks to the actual source file, rather than using .so versions. Notably, the current version of Xorg port breaks. See ports/113096 and ports/115845. PR: bin/115850 Submitted by: Callum Gibson <callumgibson@optusnet.com.au> Approved by: re@ (ken smith), grog@ (mentor) MFC after: 1 week
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Dec 5 14:22:11 2005 UTC (6 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +34 -3 lines
Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98. Reviewed by: nyan
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Oct 26 06:40:37 2003 UTC (8 years, 3 months ago) by bde
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Branch point for: RELENG_6, RELENG_5
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -1 lines
Fix previous commit. glob_filename() returns "(char **) -1" for certain errors, not necessarily a pointer such that (intptr_t)pointer is -1. Also fix the style bug that the cast was not followed by a space. This style of this file is now perfectly non-KNF for this cast too.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Oct 26 04:12:02 2003 UTC (8 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -1 lines
Pointers dont fit in an int on 64 bit platforms. Fix a gcc warning.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Oct 15 00:36:44 2003 UTC (8 years, 3 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +41 -9 lines
Detect errors during 'cat' page creation better. This fixes bin/5591. Reviewed by: ru
Revision 1.37.2.10: download - view: text, markup, annotated - select for diffs
Fri Feb 14 15:38:51 2003 UTC (8 years, 11 months ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.37.2.9: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.9: +13 -2 lines
MFC: Pass man(1)'s idea of a manpage's locale down to mdoc(7).
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Sep 30 11:00:03 2002 UTC (9 years, 4 months ago) by ru
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1, RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +13 -2 lines
Pass our idea of a manpage's locale from man(1) down to mdoc(7).
Revision 1.37.2.9: download - view: text, markup, annotated - select for diffs
Tue Sep 3 17:41:54 2002 UTC (9 years, 5 months ago) by eric
Branches: RELENG_4
CVS tags: RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7
Diff to: previous 1.37.2.8: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.8: +1 -1 lines
MFC: use the default pager if the environment variable is blank Approved by: murray
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Sep 3 17:39:26 2002 UTC (9 years, 5 months ago) by eric
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +1 -1 lines
Adhere to guidelines when testing for null strings. Submitted by: rwatson
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Aug 27 09:31:27 2002 UTC (9 years, 5 months ago) by eric
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -1 lines
Use the default pager if the environment variable is blank. PR: 37662 MFC after: 5 days
Revision 1.37.2.8: download - view: text, markup, annotated - select for diffs
Thu Jun 27 05:23:50 2002 UTC (9 years, 7 months ago) by eric
Branches: RELENG_4
Diff to: previous 1.37.2.7: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.7: +5 -2 lines
MFC: move ID tag
Revision 1.37.2.7: download - view: text, markup, annotated - select for diffs
Wed Jun 26 21:24:46 2002 UTC (9 years, 7 months ago) by eric
Branches: RELENG_4
Diff to: previous 1.37.2.6: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.6: +95 -44 lines
MFC: handle compound section names
Revision 1.37.2.6: download - view: text, markup, annotated - select for diffs
Wed Jun 26 00:10:43 2002 UTC (9 years, 7 months ago) by eric
Branches: RELENG_4
Diff to: previous 1.37.2.5: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.5: +2 -0 lines
MFC: fix compilation in non-FreeBSD case
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Apr 27 19:57:22 2002 UTC (9 years, 9 months ago) by eric
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +5 -2 lines
Move ID tag.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Apr 24 20:07:06 2002 UTC (9 years, 9 months ago) by eric
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +95 -44 lines
When a compound section name is specified, search for pages that actually match the requested section. Previously, the section would be trimmed and every entry matching the page name would be displayed. Sponsored by: Apple
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Apr 13 01:17:21 2002 UTC (9 years, 10 months ago) by eric
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -0 lines
Fix compilation in the non-FreeBSD case. Sponsored by: Apple
Revision 1.37.2.5: download - view: text, markup, annotated - select for diffs
Tue Mar 12 19:12:35 2002 UTC (9 years, 11 months ago) by phantom
Branches: RELENG_4
CVS tags: RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6
Diff to: previous 1.37.2.4: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.4: +77 -44 lines
MFC: rev 1.48, rewrite locale handling using nl_langinfo(CODESET)
Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 1 09:00:02 2002 UTC (10 years ago) by ru
Branches: RELENG_4
Diff to: previous 1.37.2.3: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.3: +15 -98 lines
MFC: -m option now does architecture lookups (same as ${MACHINE}).
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Jan 22 15:15:38 2002 UTC (10 years ago) by ru
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +43 -7 lines
Reincarnate SETUID code in man(1), not compiled in by default. The code will be fixed for all known security vulnerabilities, and a make.conf(5) knob (ENABLE_SUID_MAN) will be provided for those who still want it installed setuid for whatever reasons.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Jan 18 16:08:29 2002 UTC (10 years ago) by ru
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
GC spurious -m in the usage().
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jan 15 14:11:05 2002 UTC (10 years ago) by ru
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -62 lines
Do not install man(1) setuid ``man''. The catpaging and setuidness features of man(1) combined make it vulnerable to a number of security attacks. Specifically, it was possible to overwrite system catpages with arbitrarily contents by either setting up a symlink to a directory holding system catpages, or by writing custom -mdoc or -man groff(1) macro packages and setting up GROFF_TMAC_PATH in environment to point to them. (See PR below for details). This means man(1) can no longer create system catpages on a regular user's behalf. (It is still able to if the user has write permissions to the directory holding catpages, e.g., user's own manpages, or if the running user is ``root''.) To create and install catpages during ``make world'', please set MANBUILDCAT=YES in /etc/make.conf. To rebuild catpages on a weekly basis, please set weekly_catman_enable="YES" in /etc/periodic.conf. PR: bin/32791
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jan 11 15:11:59 2002 UTC (10 years, 1 month ago) by ru
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +20 -103 lines
Now that we have the original BSD man(1)'s ${MACHINE} feature back (as of man.c,v 1.45), change the meaning of the -m option from poorly documented and badly coded "alternate system" to a much more useful "different architecture for the same system". PR: docs/31261
Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Sat Jan 5 16:17:30 2002 UTC (10 years, 1 month ago) by phantom
Branches: RELENG_4
CVS tags: RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Diff to: previous 1.37.2.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.2: +11 -3 lines
MFC: rev 1.46, fix for new locale names rev 1.47, don't print error for C,POSIX,ASCII,US-ASCII locales
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Sep 6 11:54:28 2001 UTC (10 years, 5 months ago) by ru
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +18 -33 lines
SECURITY. Avoid using setre[ug]id() calls. Removed the setgid stuff we don't need.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jun 25 21:11:43 2001 UTC (10 years, 7 months ago) by ache
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +78 -45 lines
Rewrite locale handling using nl_langinfo(CODESET), so aliases not needed here now
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jun 10 23:42:31 2001 UTC (10 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +8 -3 lines
In debug mode don't print error for C,POSIX,ASCII,US-ASCII locales
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Jun 10 15:57:40 2001 UTC (10 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -1 lines
Fix for new locale names
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 5 11:02:22 2001 UTC (10 years, 11 months ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4, RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.1: +55 -13 lines
MFC: o If both full-locale-name and short-locale-name searches fail, look the manpage in the en.<charset> subdirectory. o Look for manpages in architecture specific directories first. MACHINE envorinment variable could be used to specify non-default architecture.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Feb 19 14:19:57 2001 UTC (10 years, 11 months ago) by ru
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +34 -2 lines
Implement one nice feature of original BSD man(1): : As some manual pages are intended only for specific architectures, : man searches any subdirectories, with the same name as the current : architecture, in every directory which it searches. Machine specific : areas are checked before general areas. The current machine type may : be overridden by setting the environment variable MACHINE to the name : of a specific architecture.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Feb 15 19:01:41 2001 UTC (10 years, 11 months ago) by ru
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +7 -7 lines
Do not ever try to look into nonexisting locale subdirectories. (is_directory() returns -1 if the file does not exist, 1 if it is a directory or a symlink to a directory, and 0 otherwise.)
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Feb 14 16:31:08 2001 UTC (10 years, 11 months ago) by ru
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +11 -1 lines
If both full-locale-name and short-locale-name searches fail, look the manpage in the en.<charset> subdirectory. See the manpage for details. Suggested by: ache
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Feb 14 13:16:16 2001 UTC (10 years, 11 months ago) by ru
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +14 -18 lines
Backout 1.38->1.41 (functional) changes pending the proper solution. /usr/share/man/cat? is only allowed to store -Tascii formatted data. Requested by: ache
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Feb 13 16:15:04 2001 UTC (10 years, 11 months ago) by ru
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +18 -9 lines
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
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jan 28 20:17:14 2001 UTC (11 years ago) by des
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +7 -5 lines
Revert part of previous commit and initialize locale_nroff to " -Tascii" so man(1) works properly when no locale is set. Spotted by: bde
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Jan 27 19:17:40 2001 UTC (11 years ago) by des
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +7 -14 lines
Make an effort to actually pass the correct device to groff.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 11 11:27:03 2001 UTC (11 years, 1 month ago) by ru
Branches: RELENG_4
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +47 -67 lines
MFC: Teach man(1) how to look inside compressed manuals for preprocessor directives. Avoid use of cat(1).
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Dec 22 19:05:13 2000 UTC (11 years, 1 month ago) by ru
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +47 -67 lines
Teach man(1) how to look inside compressed manuals for preprocessor directives. Avoid use of cat(1). PR: bin/23585
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 24 12:13:51 2000 UTC (11 years, 9 months ago) by phantom
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.1: +6 -4 lines
MFC: rev 1.37, better handling groff failures
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Dec 28 12:55:58 1999 UTC (12 years, 1 month ago) by phantom
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE, RELENG_4_0_0_RELEASE, PRE_SMPNG
Branch point for: RELENG_4
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -4 lines
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>
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 4 06:22:15 1999 UTC (12 years, 2 months ago) by jhb
Branches: RELENG_3
CVS tags: RELENG_3_4_0_RELEASE
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -4 lines
MFC Revision 1.36 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. Reviewed by: jkh
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Nov 13 00:11:50 1999 UTC (12 years, 3 months ago) by jhb
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -4 lines
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
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jun 9 00:07:10 1999 UTC (12 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +29 -28 lines
little optimization of locale sensing code
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jun 8 14:59:12 1999 UTC (12 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +16 -12 lines
Just ignore malformed locale variable unless -d specified
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jun 7 19:23:04 1999 UTC (12 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -1 lines
Localize NEQN part too
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jun 7 18:35:58 1999 UTC (12 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +152 -0 lines
Add ability to read/write localized manpages
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jun 5 16:05:40 1999 UTC (12 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +0 -3 lines
remove getopt & friend declarations, now unistd.h included
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Jun 5 15:59:51 1999 UTC (12 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -1 lines
fix typo preventing to include unistd.h
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu May 13 15:48:18 1999 UTC (12 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -5 lines
fix typo uid_t -> gid_t add unsigned char cast to ctype macros
Revision 1.21.2.5: download - view: text, markup, annotated - select for diffs
Sun Feb 15 16:05:26 1998 UTC (13 years, 11 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE, RELENG_2_2_7_RELEASE, RELENG_2_2_6_RELEASE
Diff to: previous 1.21.2.4: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.4: +2 -2 lines
MFC: spelling corrections, deobfuscation.
Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Tue Nov 18 03:34:35 1997 UTC (14 years, 2 months ago) by jdp
Branches: RELENG_2_2
Diff to: previous 1.21.2.3: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.3: +1 -1 lines
Merge from main branch 1.27 -> 1.28: Add missing argument.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Nov 18 03:33:32 1997 UTC (14 years, 2 months ago) by jdp
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_3_0_RELEASE, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE, RELENG_3_0_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -1 lines
Add missing argument detected by "-Wformat".
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Sep 18 13:55:50 1997 UTC (14 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
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>
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 6 06:45:01 1997 UTC (15 years ago) by eivind
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_7_RELEASE
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +237 -125 lines
Brought in nescessary changes from -current. Reviewed by: jkh
Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Sun Jan 12 21:54:27 1997 UTC (15 years, 1 month ago) by joerg
Branches: RELENG_2_2
CVS tags: RELENG_2_2_5_RELEASE, RELENG_2_2_2_RELEASE, RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.2: +5 -6 lines
YAMFC (fix some fd leaks)
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jan 9 14:50:40 1997 UTC (15 years, 1 month ago) by mpp
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -6 lines
Fix some file descriptor leaks. Closes PR# 2392. 2.2 candidate.
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 22 14:57:53 1996 UTC (15 years, 1 month ago) by joerg
Branches: RELENG_2_2
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +75 -77 lines
YAMFC (various buffer overflow fixes)
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 19 10:45:16 1996 UTC (15 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +50 -50 lines
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
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 19 00:31:20 1996 UTC (15 years, 1 month ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +24 -6 lines
YAMFC, drop man privs before calling popen().
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Dec 18 20:55:26 1996 UTC (15 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +25 -27 lines
Fix many buffer overflows, sprintf -> snprintf Fix manpath dirs count overflow Should be in 2.2
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Dec 18 20:07:49 1996 UTC (15 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +18 -12 lines
Fix my popen fix: conditionalize saving/restoring of euid Should be in 2.2
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Dec 18 19:46:21 1996 UTC (15 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +12 -0 lines
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
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Oct 31 08:01:16 1996 UTC (15 years, 3 months ago) by ache
Branches: MAIN
CVS tags: RELENG_2_2_BP
Branch point for: RELENG_2_2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -0 lines
Localize it
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Sep 27 17:34:57 1996 UTC (15 years, 4 months ago) by wosch
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -2 lines
Reverts exit status for `man -k' and `man -f'. Man(1) now return 0 if apropos/whatis return 0, otherwise 1.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Sep 16 22:52:02 1996 UTC (15 years, 4 months ago) by wosch
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -0 lines
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
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jul 9 15:37:26 1996 UTC (15 years, 7 months ago) by ache
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +130 -45 lines
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!
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jun 22 21:10:19 1996 UTC (15 years, 7 months ago) by ache
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +45 -130 lines
Back out security changes until pst review them
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jun 22 08:05:11 1996 UTC (15 years, 7 months ago) by ache
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -2 lines
Do not produce empty cat file in debug mode
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jun 21 18:49:36 1996 UTC (15 years, 7 months ago) by ache
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +123 -46 lines
Close security holes and restore suid bit Restore writting cat's functionality
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jun 1 03:19:59 1996 UTC (15 years, 8 months ago) by lars
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -1 lines
Reviewed by: joerg Change man so that it will still display the man page even if it cannot create a "cat" file.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue May 30 05:02:00 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE, RELENG_2_1_5_RELEASE, RELENG_2_1_0_RELEASE, RELENG_2_1_0_BP, RELENG_2_0_5_RELEASE, RELENG_2_0_5_BP, RELENG_2_0_5
Branch point for: RELENG_2_1_0
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -9 lines
Remove trailing whitespace.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri May 12 04:56:28 1995 UTC (16 years, 9 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_0_5_ALPHA
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Apr 26 16:19:23 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1 lines
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>
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Apr 11 22:01:53 1995 UTC (16 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
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)
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 24 07:26:23 1994 UTC (17 years, 5 months ago) by jkh
Branches: MAIN
CVS tags: RELEASE_2_0, BETA_2_0, ALPHA_2_0
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
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
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat May 28 20:19:25 1994 UTC (17 years, 8 months ago) by csgr
Branches: MAIN
CVS tags: MOVED_NEWCVS, FINAL_1_1_5, ALPHA_1_1_5
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1 lines
Turn globbing on when a section number is specified, this makes things work properly when /usr/share/man/man?/ contain gzipped unformatted pages.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Mar 5 13:48:37 1994 UTC (17 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +27 -46 lines
New manpage compression support. Only one macro controls compression now, DO_COMPRESS. This controls whether or not catpages are compressed or not (on by default, since little else uses the catpages and those few things that do can always configure in a `zmore' in place of more or something, and saving space is more important, IMHO). Uncompression support is now on by default since that's the only way to support mixed-mode environments. If you don't like it, just don't compress your man pages and it won't be used! :-). Supports gzip. You can also compress the man pages themselves (or gzip them) now and it will work.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 10 01:46:53 1993 UTC (18 years, 4 months ago) by jkh
Branches: MAIN
CVS tags: GAMMA_1_1, FINAL_1_1, FINAL_1_0, BP_BETA_1_1, BETA_1_1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -1 lines
Try copy if rename of temporary catpage fails.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 8 02:39:36 1993 UTC (18 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +28 -15 lines
Allow ^C to interrupt with some semblance of politeness to cgd.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jul 27 02:54:46 1993 UTC (18 years, 6 months ago) by alm
Branches: MAIN
CVS tags: GAMMA_1_0, EPSILON_1_0, BETA_1_0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +38 -0 lines
Added setreuid() calls so that shell escapes work. The effective ID's need to be set to the real ID's before invoking a shell for security reasons.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jul 18 22:40:56 1993 UTC (18 years, 6 months ago) by jkh
Branches: MAIN
CVS tags: ALPHA_1_0
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -0 lines
Added fix from Rich to accept catpages with .0 syntax for backwards compatability (XFree86 man pages will still be .0'd for awhile).
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jul 18 05:52:29 1993 UTC (18 years, 6 months ago) by jkh
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -6 lines
Fixed braindamage.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Jul 7 23:06:59 1993 UTC (18 years, 7 months ago) by jkh
Branches: man
CVS tags: man_1_1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Newer new man page reader.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jul 7 23:06:58 1993 UTC (18 years, 7 months ago) by jkh
Branches: MAIN
Initial revision
