AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Extended french characters of man pages on AIX 5.3

    Posted Thu August 16, 2007 10:28 AM

    Originally posted by: SystemAdmin


    After setting the environment variables LANG=fr_FR and LC_ALL=fr_FR, when I open the man page using man command, the man page get's opened in the french locale but the extended characters in the man page are not getting displayed properly. It is getting displayed as some junk characters.

    1) I'm sure the man page is fine because the same man page is being displayed properly on another AIX machine which AIX 5.2.

    2) I verified it on 'aixterm' as well.

    What am I missing?

    Thanks
    -KPRajesh
    #AIX-Forum


  • 2.  Re: Extended french characters of man pages on AIX 5.3

    Posted Thu August 16, 2007 12:53 PM

    Originally posted by: SystemAdmin


    > After setting the environment variables LANG=fr_FR
    > and LC_ALL=fr_FR, when I open the man page using man
    > command, the man page get's opened in the french
    > locale but the extended characters in the man page
    > are not getting displayed properly. It is getting
    > displayed as some junk characters.
    > ...
    > What am I missing?

    <HINT>
    Examining a man page involves many components.
    1. man(1) knows how to interpret (roff) them.
    2. man(1) needs to know where the pages are,
    as configured by your admin.
    3. The pages must be installed by your admin.
    4. The terminal (probably an xterm client) must know
    how to display the interpretted page.

    Your clear description indicates that 1, 2, and 3 are
    satisfied. I therefore deduce you are missing 4.

    Your X servier is informed of the fonts (pictures to
    display for each character code) available by your admin.
    Your admin selects the default font used by your X-client.

    IIRC, you can probably override the default font settings
    with the -font command line option to most x clients
    including man.

    IIRC, aix supports an environment variable LOCALE(?)
    a few convenience tools, (e.g. set_locale(?)) that
    set the environment (including LANG), default fonts,
    etc. consistent with local expectations.

    The reason for the separation of control is the usual
    unix philosophy of do one thing easily described (KISS
    principle) do that one thing well, and do that one
    thing cooperatively (easy integration), with
    defaults (e.g. LOCALE(?)).
    </HINT>

    I regret that I cannot give you a tested full answer at
    this time, but hope this points you in the right direction.
    #AIX-Forum


  • 3.  Re: Extended french characters of man pages on AIX 5.3

    Posted Mon August 20, 2007 09:39 AM

    Originally posted by: SystemAdmin


    Thanks DrB.

    Though I use the same type of terminal (I've tried xterm and aixterm) with same settings and checked the same man page on 2 different boxes; On one box the characters appears fine while on the other it appears wrongly.
    For e.g. Below is how the one of the words from the man page get's displayed -

    utilisée <- correct
    utilisC)e <- wrong!
    Could it be that that some filesets needs to be installed on the box where it is being displayed wrongly?
    What are the mandatory filesets to be installed for man page on different locale to work?
    -KPRajesh
    #AIX-Forum