on Mon, 28 Oct 2002 01:43:36PM -0500, Nori Heikkinen insinuated:
> so i finally listened to what you were saying, sean, and all it took
> was unsetting everything except LANG, which i kept to en_US, and
> then setting LC_COLLATE to C.  dude.  that was simple enough.
> thanks, sean!

::sigh::

i thought i had everything fixed ... but i guess not.  again, all i
want is C sorting, and en_US so i can see accented characters in mutt
and in the shell and stuff.  so, in my .zshenv (sourced by .zshrc),
the only relevant variables i've set are:

export LANG=en_US
export LC_COLLATE=C 

and then, locale still does this:

orange:~> locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=en_US

exporting variables (like LC_COLLATE) from the command line does not
appear to modify the output of locale.  if i can't fix this, i'm going
back to aliasing ls to `LC_ALL=C ls`, which would be obnoxious,
because then accented characters wouldn't be ?s in listings.  

TIA,

</nori>

-- 
    .~.      nori @ sccs.swarthmore.edu 
    /V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\          @ maenad.net
  /(   )\       www.maenad.net
   ^`~'^

Attachment: msg10098/pgp00000.pgp
Description: PGP signature

Reply via email to