From owner-freebsd-current Sun Feb 9 03:20:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA12077 for current-outgoing; Sun, 9 Feb 1997 03:20:41 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id DAA12072 for ; Sun, 9 Feb 1997 03:20:38 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id MAA18207 for freebsd-current@freefall.freebsd.org; Sun, 9 Feb 1997 12:20:36 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.6.9) id MAA12652; Sun, 9 Feb 1997 12:11:57 +0100 (MET) Message-ID: Date: Sun, 9 Feb 1997 12:11:57 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-current@freefall.freebsd.org Subject: Re: 3.0-970124-SNAP: man page search order References: <9632.855479839@critter.dk.tfs.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9632.855479839@critter.dk.tfs.com>; from Poul-Henning Kamp on Feb 9, 1997 10:17:19 +0100 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Poul-Henning Kamp wrote: > Well, somebody find out what it takes to fix the search order and > that end of that story. That's not difficult. It's in src/gnu/usr.bin/man/lib/config.h_dist: static char *std_sections[] = { "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "9", "p", "o", NULL }; (It can be overridden by a MANSEC variable, btw.) Now comes the difficult part: what's the best order? static char *std_sections[] = { "1", "8", "2", "3", "n", "4", "5", "6", "7", "9", "l", NULL }; ??? > > I never got it right why Tcl > >installs its man pages into the inofficial section `n' in the manual > >at all > > Well maybe it should be called .t instead then ? I don't mind this idea. > >(I wonder what people would say if we now also came up with another > >set of man pages for already used names, for everything inside of > >Perl. :-) > > I think that would be a good idea. Hmm, if there's something i don't like about Perl, it's its man page/ standard documentation. Ideally, i'd love a short man page, and some longer HTML ref. The same would probably hold for Tcl as well. Look, the C compiler man page doesn't describe the entire C language either... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)