HP3000-L Archives

March 1999, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dean Cashen <[log in to unmask]>
Reply To:
Date:
Mon, 29 Mar 1999 15:50:18 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
I'm porting an HP-UX utility to MPE/iX (5.5 and 6.0).
We use message catalogs for language localization,
calling setlocale(LC_MESSAGES, NULL) to determine
and set the catalog directory for the system language.
However, the MPE/iX library doesn't include the
LC_MESSAGES option for setlocale().  It's not
apparent to me then what the proper way is to determine
language locale on MPE/iX (posix shell).

Also, the return for the existing setlocale() options
are different than we expect.  Typically we get "C" as
a return string (e.g., on HP-UX), however on MPE/iX the
string returned by setlocale( LC_NUMERIC, NULL), for
example, is "/:C;/", which seems odd.

Anyone have experience with message catalog use in
the posix shell for MPE/iX?  I can't find much documentation
on this.

Thanks,

Dean Cashen

ATOM RSS1 RSS2