zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: math and locale
Date: Tue, 23 Nov 1999 18:18:21 +0000	[thread overview]
Message-ID: <991123181821.ZM29713@candle.brasslantern.com> (raw)
In-Reply-To: <E11pzgZ-00082P-00@crucigera.fysh.org>

On Nov 22,  8:03pm, Zefram wrote:
} Subject: Re: PATCH: math and locale
}
} If we do wish zsh itself to use locales, I see several possibilities:
} 
} * We can do what POSIX defines for most utilities (not sure what it
}   says about sh): guarantee sensible behaviour in the "POSIX" locale,
}   and leave it undefined everywhere else.  Strictly speaking, if you
}   want the standard form of output from most POSIX utilities, you have
}   to set LC_ALL=POSIX for it.
} 
} * We can use the selected locale for LC_MESSAGES, which only affects
}   things that are definitely for human consumption, and leave everything
}   else using the "C" locale.  This would have almost exactly the desired
}   effect for zsh, and is trivially easy to implement.
} 
} * We can try to do it properly: decide which things should be
}   locale-dependent and which shouldn't.

It sounds like we already have the first one, that the second one might be
preferable, and that the third one is going to be hard to implement and
even harder to document clearly.

I suggest that we first find out what POSIX says about shells in this
regard (Zoltan?  Are you out there?), and then choose whichever of the
first two gets us closest to that.

Then we worry about how to get all the way to POSIX (if we aren't) *after*
the next major release (3.2 or whatever it will be, not the next 3.1.x).

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1999-11-23 18:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-20 20:18 Clint Adams
1999-11-20 20:53 ` Bart Schaefer
1999-11-21 18:14   ` Clint Adams
1999-11-22  8:17     ` Bart Schaefer
1999-11-22 14:42       ` Clint Adams
1999-11-22 18:23         ` Bart Schaefer
1999-11-22 19:36           ` Clint Adams
1999-11-22 20:03           ` Zefram
1999-11-23 18:18             ` Bart Schaefer [this message]
1999-11-26 22:08             ` Peter Stephenson

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=991123181821.ZM29713@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).