Subject: xsrc/11501: xman uses incompatible filenames for preformated manpages.
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 11/15/2000 08:34:14
>Synopsis: xman uses incompatible filenames for preformated manpages.
>Arrival-Date: Wed Nov 15 08:34:00 PST 2000
>Originator: Petri Koistinen
NetBSD kissakala 1.5_BETA NetBSD 1.5_BETA (MYKERNEL) #0: Sat Nov 11 02:23:45 GMT 2000 thoron@kissakala:/usr/src/sys/arch/amiga/compile/MYKERNEL amiga
I guess everybody has used man and xman programs. Have you ever saved
preformated manpage from xman? It will save preformated page with filename with extension .X where X is number (or letter?) of manpage section. This is nice because next time xman tries to get same manpage it will use preformated manpage and it will load faster.
But there is a problem, man excepts that preformated manpages end with .0 filename extension. If there is manpages in catX directories with non .0 extentions man tries to reformat them again and will result in mess. And on the other hand xman doesn't see preformated man pages in catX directories with .0 extentions and will reformat those pages always from orginal source.
- Remove some preformated manpages from /usr/share/man/cat1 for exsample.
- Start xman with user who has priviledge to write in /usr/share/man/cat1.
- Open manpage in section 1 which doesn't anymore more have preformated version in cat1 dirctory.
- xman ask if you want save preformat manpages, answer yes.
- use man to look same manpage and you might notice it will reformat already formated page again and there may appear newlines in wrong places.
I guess xman have to modified so that it saves preformated man pages
with .0 extension and will read those files as preformated text too.