Fwd: man Renders ugly mans

Charles Darwin macports.users at gmail.com
Sun Jan 25 05:21:59 PST 2009



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
>>
>> --
>> _________________________________________
>> -- "'Problem' is a bleak word for challenge" - Richard Fish
>> (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failed.configure-ask
Type: application/octet-stream
Size: 3996 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090125/f9a28628/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: worked.configure-ask
Type: application/octet-stream
Size: 3728 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090125/f9a28628/attachment-0001.obj>
-------------- next part --------------



More information about the macports-users mailing list