From: Andrey Borzenkov <arvidjaar@gmail.com>
To: zsh-workers@sunsite.dk
Cc: Wolfgang Hukriede <whukriede@googlemail.com>
Subject: Re: Echoing of 8-bit-characters broken after 4.3.2?
Date: Sat, 28 Feb 2009 23:40:11 +0300 [thread overview]
Message-ID: <200902282340.17291.arvidjaar@gmail.com> (raw)
In-Reply-To: <2493fbfb0902281152i652d1cd9q27ca8289cef2b3b5@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]
On 28 февраля 2009 22:52:33 Wolfgang Hukriede wrote:
> > At the same time, OSX doesn't appear to export a LANG value (or at
> > least it doesn't on my iMac at work).
>
> Freebsd does not export the variable either, but why should it?
>
Because this is established standard to define your character set
properties. Without it applications should assume C (or POSIX) locale
that basically corresponds to standard ASCII. So I would be surprised if
zsh were the only program that had issues with non-ASCII characters.
FreeBSD could provide some other means to define local though.
>
> > Wolfgang, if you're reading this, something that I forgot to
> > mention in my reply to you is that sometime during 4.3.x zsh began
> > to pay closer attention to characters that are absent from the
> > declared LANG character set and to either refuse to process them at
> > all, or to render them as digits surrounded by angle brackets. It
> > no longer blindly passes those characters around unprocessed, so
> > things that "worked" before because xterm dealt with the processing
> > will now appear to "fail" because the shell is trying harder to do
> > the right thing internally.
>
> Yes, I suspected so. But what is the benefit of it?
Because blindly emitting arbitrary character sequence to terminal may
have completely undefined effects and screw up display to the point that
you need hard reset (town legend also is that you can cause you terminal
to echo back any sequence like "rm -rf" as input back to shell ...)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-02-28 20:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-28 19:52 Wolfgang Hukriede
2009-02-28 20:40 ` Andrey Borzenkov [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-28 22:00 Wolfgang Hukriede
2009-03-01 0:12 ` Phil Pennock
2009-02-28 20:31 Wolfgang Hukriede
2009-02-28 20:49 ` Andrey Borzenkov
2009-02-28 23:01 ` Bart Schaefer
2009-02-28 8:35 Wolfgang Hukriede
2009-02-28 17:53 ` Bart Schaefer
2009-02-28 19:07 ` Andrey Borzenkov
2009-02-28 19:19 ` Bart Schaefer
2009-02-28 19:29 ` Andrey Borzenkov
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=200902282340.17291.arvidjaar@gmail.com \
--to=arvidjaar@gmail.com \
--cc=whukriede@googlemail.com \
--cc=zsh-workers@sunsite.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).