man Renders ugly mans

Ryan Schmidt ryandesign at macports.org
Sun Jan 25 20:28:28 PST 2009


Are you just saying you would like someone to look at ticket 14337,  
about the problem displaying manpages? If so, I'm not sure how we  
would solve the problem; I have no trouble viewing manpages on my  
system.


On Jan 25, 2009, at 07:21, Charles Darwin wrote:

> Begin forwarded message:
>
>> From: Charles Darwin <darwinskernel at gmail.com>
>> Date: January 25, 2009 8:20:54 AM EST (CA)
>> To: macports.users at gmail.com
>> Subject: Fwd: man Renders ugly mans
>>
>> ---------- Forwarded message ----------
>> From: Charles Darwin <darwinskernel at gmail.com>
>> Date: Sun, Jan 25, 2009 at 8:19 AM
>> Subject: Re: man Renders ugly mans
>> To: Federico Lucifredi <flucifredi at acm.org>
>>
>>
>>
>> On 19-Jan-09, at 11:39 PM, Federico Lucifredi wrote:
>>
>>> Hello...Charles?
>>>
>>> Charles Darwin wrote:
>>>>
>>>> -bash-3.2$ uname -v && which man && man -v && less -V
>>>> Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008;
>>>> root:xnu-1228.9.59~1/RELEASE_I386
>>>> /usr/bin/man
>>>> man, version 1.6f
>>>>
>>>> less 418
>>>>
>>>> Any idea?
>>>>
>>>
>>> Absolutely. Bad codepage.
>>>
>>> can you run the following:
>>>
>>> echo $LANG
>>> set | grep "LC_"
>>
>> -bash-3.2$ echo $LANG
>> en_CA.UTF-8
>> -bash-3.2$ set | grep "LC_"
>>
>>>
>>>
>>> I presume you are running "man man" there.
>>
>> Correct
>>
>>> Are you integrating your own distro?
>>
>> Yes and No because I am not sure what you mean by distro. I am
>> compiling on 10.4 and 10.5. On 10.4 I get a nice man page with
>> printing staring from the top of the screen (very neat). I tried
>> installing from MacPorts and this ticket was the result (I think
>> people at MacPort could use your help!)
>>
>> https://trac.macports.org/ticket/14337
>>
>> Problem is solved in the sense that I configured this time  
>> differently
>> which if you compare the attached files, I think, shows that the
>> problem is with one of the Macport installed packages on my systems.
>> This works both on 10.4 and 10.5.
>>
>> Thanks and my apologies for the slow reply,
>>
>>
>>
>>
>>> You have to settle on one codepage for locale, set man to
>>> default to it, and make sure the man pages on the system respect the
>>> encoding. On OS-X 10.5, the choice for US English is
>>>
>>> LANG=en_US.UTF-8
>>>
>>> I have work in progress to improve automagic detection for  
>>> exceptions,
>>> but that is meant for third parties who ship man pages  
>>> independently of
>>> a distro.
>>>
>>> If you just brought in a newer version  of man on an existing  
>>> downstream
>>> distribution, you need to replicate the work the packagers did to  
>>> set up
>>> configuration, and probably apply patches as relevant to the  
>>> distro ..
>>> can you tell me which case are we dealing with here, a bug in the  
>>> distro
>>> or you importing a new version of man?
>>>
>>> Best -F
>
>
> <failed.configure-ask><worked.configure-ask>




More information about the macports-users mailing list