zsh-workers
 help / color / mirror / code / Atom feed
From: Fare Rideau <francoisrene.rideau@cnet.francetelecom.fr>
To: zsh-workers@math.gatech.edu
Subject: bad interaction of zsh 3.0.5 with locale
Date: Sun, 14 Jun 1998 02:34:11 +0200 (CEST)	[thread overview]
Message-ID: <199806140034.CAA15087@ZengHe.ens.fr> (raw)

Dear ZSH Workers,
   I've recently experienced troubles with ZSH 3.0.5,
that I've diagnosed as very bad interaction with localization
in RedHat-5.0_FR (Linux 2.0 on i386).
   I originally ran into trouble by using my usual
more [A-Z]* to read all metafiles (README*, QuickStart, Makefile, FAQ, etc),
in a source packages [Note: more () { =less $@ }].
Surprisingly, ZSH would indistinctly show all files,
in case-independent sorted order. Ouch.
   After losing some time chasing down the problem (that I didn't have
on other computers running RH 5.0 with mostly equivalent configuration files,
library and zsh versions!), I identified it as ZSH making stupid things
with locale.
   My .zshenv includes (roughly):
	{ export LC_CTYPE=iso_8859_1 ; export LANG=fr_FR }
When I { unset LANG }, [A-Z] globbing works anew.

Worse! While making various tests with locale, I defined the
following functions:

nolocale () {
        unset LANG LC_CTYPE LC_ALL
}
localefr () {
        export LC_CTYPE=iso_8859_1 LANG=fr_FR
        unset LC_ALL
}

Well, executing { nolocale ; localefr } will kill ZSH!!!!
Pasting the individual export/unset commands seems to work ok.

Looking forward to ZSH 3.0.6 (or ZSH 3.2.x)...

## Faré | VN: Уng-Vû Bân   | Join the TUNES project!  http://www.tunes.org/ ##
## FR: François-René Rideau |    TUNES is a Useful, Not Expedient System     ##
## Reflection&Cybernethics  | Project for a Free Reflective Computing System ##
Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots.

So far, the Universe is winning.
                -- Rich Cook


                 reply	other threads:[~1998-06-14 14:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199806140034.CAA15087@ZengHe.ens.fr \
    --to=francoisrene.rideau@cnet.francetelecom.fr \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).