To put it straight - I do not care if it is FHS compliant or not. But
there is old bug and making man layout FHS compliant does fix it so I
hope it is additional argument. 

The problem: it is near to impossible to explicitly select English pages
in non-English locale. The reason is, man is looking for
/usr/share/man/${lang} and if not found it tries all possible language
variables, i.e. LANGUAGE, LANG, LC_MESSAGES so to get Englisg man pages
you have to do 

LANGUAGE=en LANG=en LC_MESSAGES=en LC_ALL=en(probably) man 

that is entirely stupid. 

The problem is there is no English man pages form the man point of view.
English man pages are locate directly in /usr/share/man not in
/usr/share/man/en. And it is exactly violation of FHS :-) 

The quite simple solution (that does not involve changing man pages
location in every RPM) is to put compatibility links; i.e. 

/usr/share/man/ 
             en/ 
                man1 -> ../man1 
                man2 -> ../man2 
                   ... 
                mann -> ../mann 
for all man directories 

and we still need C and POSIX (to be POSIX compliant) i.e. additionally 

/usr/share/man/ 
             C -> en 
              POSIX -> en 

This allows you to _really_ select man language by using

LANG=en man foo

as per manual page for man :-)

(offhand - of course every other part of system seems to use LANGUAGE
for that but that's different matter)

Assuming some consent I'm ready to send spec patch :-))

-andrej


Reply via email to