Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Echoing of 8-bit-characters broken after 4.3.2?
- X-seq: zsh-workers 26644
- From: Wolfgang Hukriede <whukriede@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Echoing of 8-bit-characters broken after 4.3.2?
- Date: Sat, 28 Feb 2009 23:00:44 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=jMTcczFJpGb6aVcuF1iY9JXZgpjMWPjf5OJ9oV9aGWM=; b=lyS/noIb3dFcVO0oyK2OFcd6/8cJ4bSdcRhna7JDBQR1kwJETUNSk4SjbNz6QK5ZZB 8xffyXXqC88zBLserrJmisdwevypzox4tV2C06eAFtmfwj/8iiyZ5zUT26r5pUoPDHWk wnYZjYCmgJrGVx8dV0DL55Yp4Kt5E5LSVsTv0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=P4RPv2qh5prZjQJ4qcnIcgTbkGMpjgmTmARRfWSEyIccVPPYdbv08edpzADYagJVDw QjZ48Q1IY10jBOQ6EZO6rDRrhAHIbwWhhFs2mdNnzDeC91dK7q1rO4Xox8pgWH4gAo18 jkO4b+55IozlWllhlrlesoYzh4L2lLVWCdeEc=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Andrey wrote:
> 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.
Should the character set properties not be set by LC_CTYPE? As far as
I can tell LANG sets more than that? Do I understand correctly that
LANG is zsh-specific? (On my box, man 3 setlocale does not have it.)
> So I would be surprised if
> zsh were the only program that had issues with non-ASCII characters.
At least emacs passes them through without ado. There's only one other
program that I had problems with in that respect. (That's unicode
only.) Looks like more will come...
> FreeBSD could provide some other means to define local though.
Not that I know of.
> 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 ...)
Urban legends aside, this may be. Otoh... I've been using zsh since at
least 10 years almost exclusively and quite intensely and have used
8-bit-characters all the time (all on xterms), but any display
distortion never happened to me. This is probably due to the fact that
filenames are mostly under ones own control. I suffered display
distortion from reading emails though, but the shell could not have
done anything about that. Correctness of vt100-control-sequences
cannot be monitored either.
Therefore I think passing-through of eight bit characters should be
configurable. But I still do not understand how am I supposed to do
that (without triggering side effects). Why is PRINT_EIGHT_BIT
constricted to affect tab-completion only?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author