Begin forwarded message:
From: Charles Darwin <[email protected]> Date: January 25, 2009 8:20:54 AM EST (CA) To: [email protected] Subject: Fwd: man Renders ugly mans ---------- Forwarded message ---------- From: Charles Darwin <[email protected]> Date: Sun, Jan 25, 2009 at 8:19 AM Subject: Re: man Renders ugly mans To: Federico Lucifredi <[email protected]> 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.CorrectAre 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-8I have work in progress to improve automagic detection for exceptions, but that is meant for third parties who ship man pages independently ofa 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 distroor you importing a new version of man? Best -F -- _________________________________________ -- "'Problem' is a bleak word for challenge" - Richard Fish (Federico L. Lucifredi) - [email protected] - GnuPG 0x4A73884C
failed.configure-ask
Description: Binary data
worked.configure-ask
Description: Binary data
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
