Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Don't ask why i was trying to do this...
- X-seq: zsh-workers 22966
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Don't ask why i was trying to do this...
- Date: Sun, 5 Nov 2006 14:48:25 +0100
- Cc: zsh-workers <zsh-workers@xxxxxxxxxx>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jZ8di7EZkhJxHDeZxBrU1Yi6Evz1znRYWVWEnNjR4A8Q6I6RRW5iw2Rpzn2kUhS71YWV1uxJWaz9gWoqG+bw3kOeP/h0ovyqRRZImbaROVUe3BPwT6GL1VcxDnxvIGBqzrugkF/b6kN8w+Lt56Q2S0iw1URHn4tI/U63Rr1gk8I=
- In-reply-to: <061104182427.ZM16666@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0611041623ie8b3070nb2b1ffa4b6a2aef3@xxxxxxxxxxxxxx> <061104182427.ZM16666@xxxxxxxxxxxxxxxxxxxxxx>
On 05/11/06, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
On Nov 4, 4:23pm, Mikael Magnusson wrote:
}
} print -z $(eval "echo -n '\\U'{1..200}")
} only pushes up until 3 characters after 'y' to the editing stack.
Hmm, with the latest cvs update I get
schaefer<502> print -z $(eval "echo -n '\\U'{1..200}")
zsh: character not in range
schaefer<503> ^A ^B ^C ^D ^E ^F ^G ^H ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ! " # $ % &
' ( ) 0 1 2 3 4 5 6 7 8 9 @ A B C D E F G H I P Q R S T U V W X Y ` a b c d e f
g h i p q r s t u v w x y ^À ^Á ^Â ^@^Ä ^Å ^Æ ^Ç ^È ^É ^Ð ^Ñ ^Ò ^Ó ^Ô ^Õ ^Ö ^×
^Ø ^Ù
I suspect that NUL byte (displayed as ^@ above) has something to do with
your problem.
(locale is sv_SE)
% print -z $(eval "echo -n '\\U'{1..200}")
% ^A ^B ^C ^D ^E ^F ^G ^H ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ! " # $ % & '
( ) 0 1 2 3 4 5 6 7 8 9 @ A B C D E F G H I P Q R S T U V W X Y ` a b
c d e f g h i p q r s t u v w x y ^À ^Á ^Â
% export LC_ALL=C
% print -z $(eval "echo -n '\\U'{1..200}")
zsh: character not in range
% ^A ^B ^C ^D ^E ^F ^G ^H ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ! " # $ % & '
( ) 0 1 2 3 4 5 6 7 8 9 @ A B C D E F G H I P Q R S T U V W X Y ` a b
c d e f g h i p q r s t u v w x y
% export LC_ALL=en_US
% print -z $(eval "echo -n '\\U'{1..200}")
zsh: character not in range
% ^A ^B ^C ^D ^E ^F ^G ^H ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ! " # $ % & '
( ) 0 1 2 3 4 5 6 7 8 9 @ A B C D E F G H I P Q R S T U V W X Y ` a b
c d e f g h i p q r s t u v w x y ^À ^Á ^Â ^@^Ä ^Å ^Æ ^Ç ^È ^É ^Ð ^Ñ
^Ò ^Ó ^Ô ^Õ ^Ö ^× ^Ø ^Ù
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author