Thomas Dickey wrote: > On Mon, Dec 12, 2005 at 04:10:15PM +0100, Nick Lewycky wrote: > >>uxterm tried to use locale en_CA.UTF-8 >>locale: Cannot set LC_CTYPE to default locale: No such file or directory >>locale: Cannot set LC_MESSAGES to default locale: No such file or directory >>locale: Cannot set LC_ALL to default locale: No such file or directory >> > I did consider this. However (just refreshed my memory), the locale > program doesn't return an error code. It writes some text to stderr. > Given the limitations of locale (and keeping it as a portable script), > the only choice appeared to be to show what the script was attempting > to do, and why it failed. > > Perhaps this should be reassigned to the package owning "locale", > since that's producing the problem that you're reporting.
How about a wishlist bug on libc6 (owning /usr/bin/locale) for returning an error code on error? Is there a standard covering the locale program? Nick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

