zsh-workers
 help / color / mirror / code / Atom feed
From: Richard Coleman <coleman@math.gatech.edu>
To: zsh-workers@math.gatech.edu
Subject: Unidentified subject!
Date: Fri, 02 Aug 1996 11:50:25 -0400	[thread overview]
Message-ID: <199608021550.LAA09864@redwood.skiles.gatech.edu> (raw)

I'm just passing this along.

rc

------- Forwarded Message

From: Andrej Borsenkow <borsenkow.msk@sni.de>
Reply-To: borsenkow.msk@sni.de
To: zsh-announce@math.gatech.edu
Subject: Treatment of LANG

On Wed, 31 Jul 1996, Zoltan Hidvegi wrote:

> Hopefully this will be the last pre-release before zsh-3.0.  If you think
> that that an essential patch is still missing or there is a serious bug
> which should be fixed immediately, do not hesitate to mail it to
> zsh-workers@math.gatech.edu.  Do not mail bugreports and fixes directly to
> me.
>

Well, I would like to use the chance ;)

I consider current handling of LANG to be ehhh ... overkill. It cannot
be assumed, that LANG is the only env variable, which defines current
locale settings. It is so in our case (SINIX); I presume it is actually so
on some other systems as well. It can also pass unnoticed, as long as
people are content with uniform locale; in our case (Russian) it is not
always so - I have to set LC_CTYPE and LC_COLLATE to Russian of course,
but there are many arguments against setting other LC_* as well (at least 
as default).

So, currently zsh just behaves differently as any other program in the
system. I hardly consider it a feature. Acceptable solution would be
either to add other LC_* (including LC_ALL) as well, or just to not treat
LANG in special way.  It would make it to behave just as any other
program;  if you need to change locale, well, start new shell. 

I really fail to see the need to set LANG explicitly. For all I can tell,
setlocale(LC_ALL, "") at the start is enough; if you really need to set
*all* categories, why not use LC_ALL? It is what it was designed for. 

Really hope to hear, where and why I am wrong.

greetings

- -------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@sni.de
- -------------------------------------------------------------------------

------- End of Forwarded Message




             reply	other threads:[~1996-08-02 16:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-02 15:50 Richard Coleman [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-18 15:25 Chris Bendall
1996-08-21  3:59 Joachim Backes
1996-08-20  7:03 Joachim Backes
1996-08-07  8:14 Joachim Backes
1996-07-31  7:42 Joachim Backes
1996-07-08 13:09 Al Smith
1996-03-01  0:50 gatemail
1996-01-30  8:10 Sven Wischnowsky
1996-01-29 15:06 lmannino
1995-07-22 16:27 Zefram

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=199608021550.LAA09864@redwood.skiles.gatech.edu \
    --to=coleman@math.gatech.edu \
    --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).