Re: Locale Issue

From: Jamie Beverly (jbeverly1_at_tampabay.rr.com)
Date: 08/02/05


Date: Tue, 02 Aug 2005 02:41:46 GMT

I believe
export LANG=ja
should do it, LC_* usually feeds from LANG if LANG is set.

Eric Enright wrote:

> Eric Enright wrote:
>> How can I override certain locale environment variables when
>> logging into JDS with dtlogin? I've tried setting LC_CTYPE in
>> my .dtprofile/.login scripts, but still I get this:
>>
>>> locale
>> LANG=C
>> LC_CTYPE=C
>> LC_NUMERIC="C"
>> LC_TIME="C"
>> LC_COLLATE="C"
>> LC_MONETARY="C"
>> LC_MESSAGES="C"
>> LC_ALL=C
>>
>> It looks like LC_ALL is being set in /usr/dt/config/Xinitrc.jds,
>> but I can't seem to find a way to set only LC_CTYPE on a per-user
>> basis. The tail end of my .dtprofile is:
>>
>> LC_CTYPE=ja
>> export LC_CTYPE
>>
>> (I've tried similar things with .profile and .login)
>> and /etc/default/init:
>>
>> TZ=Canada/Eastern
>> CMASK=022
>>
>> My ultimate goal is to have Japanese input enabled at login
>> without having to open a shell, setenv, and run things, with
>> everything else remaining in English.
>
> Oh, and I'm running snv_18 if it matters.
>
> Eric



Relevant Pages

  • Re: Locale Issue
    ... > Eric Enright wrote: ... >> That results in a fully localized session, ... Inspecting the scripts further showed that if LC_ALL and LANG ...
    (comp.unix.solaris)
  • Re: Locale Issue
    ... Eric Enright wrote: ... ...like LC_CTYPE and LANG. ... Pay attention that LC_ALL gets unset. ...
    (comp.unix.solaris)