Date: Tue, 7 Jan 2003 08:14:02 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Richard Dawe cc: djgpp-workers AT delorie DOT com Subject: Re: m4 port: return program name as 'm4' not '/some/path/m4.exe' [PATCH] In-Reply-To: <3E19ED74.9B74847A@phekda.freeserve.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 6 Jan 2003, Richard Dawe wrote: > > > A couple of the man pages have too many dots in the filenames: > > > config.guess.1 and config.sub.1. (I'm not even sure how Eli's man > > > program handles "man config.guess" yet.) > > > > I wasn't sure, either, so I tried it: it seems to do what you'd > > expect. > > How about if you rename config.guess.1 to config_guess.1 and do "man > config.guess"? (E.g.: for short filename systems.) Answer: it doesn't find it. Well, sure it doesn't: there's no config.guess.* file anywhere in sight, right? The `man' clone does not automatically map file names that are invalid on 8+3 filesystems to something valid, I never coded anything like that. All it does to support 8+3 filesystems is find truncated files whose names were truncated, like config_g.1 in the above example. I thought I was doing well just by having such a support ;-) > So what should I do with the autoconf 2.57 packages for systems with short > filenames? IMHO, rename the files to something that will be valid on 8+3 volumes and mention that in the DOS-specific README. > Perhaps man could try transforming all the dots to underscores, if it can't > find it with dots? That would be a nice feature, I think, but someone will need to code it. We could discuss possible designs, if you wish (there are a few subtle issues, like whether we should support remap file a-la djtar etc.). In any case, packages released at this time should not depend on a feature that doesn't yet exist in `man', so for now I think renaming the files is the only practical alternative. I did that for Groff at the time, so it's not like Autoconf will be the first.