From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27879 invoked from network); 8 Nov 2004 10:23:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 Nov 2004 10:23:54 -0000 Received: (qmail 31007 invoked from network); 8 Nov 2004 10:23:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Nov 2004 10:23:45 -0000 Received: (qmail 5482 invoked by alias); 8 Nov 2004 10:23:30 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8187 Received: (qmail 4877 invoked from network); 8 Nov 2004 10:21:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 8 Nov 2004 10:21:26 -0000 Received: (qmail 29093 invoked from network); 8 Nov 2004 10:21:26 -0000 Received: from nef.ens.fr (129.199.96.32) by a.mx.sunsite.dk with SMTP; 8 Nov 2004 10:21:25 -0000 Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.12.11/1.01.28121999) with ESMTP id iA8ALNIr012919 ; Mon, 8 Nov 2004 11:21:23 +0100 (CET) Received: from (coudert@localhost) by clipper.ens.fr (8.13.1/jb-1.1) Date: Mon, 8 Nov 2004 11:21:23 +0100 From: =?iso-8859-1?Q?Fran=E7ois-Xavier?= Coudert To: zsh-users@sunsite.dk Cc: =?iso-8859-1?Q?Fran=E7ois-Xavier?= Coudert Subject: UTF-8 basic handling Message-ID: <20041108102123.GA25521@clipper.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.10 (nef.ens.fr [129.199.96.32]); Mon, 08 Nov 2004 11:21:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 Hi all, As I understand from previous messages on zsh lists, there currently is a lack of UTF-8 support in zsh since nobody has enough time to code thinks. As a user, I think there is one part of such support that becomes very sharply needed: line editing. As all major linux distributions are getting UTF-8 based, one of the most annoying things in zsh is the following: I want to type a command, and I unfortunately press on one of the accented letter keys of my keyboard (that's a common mistake on any non-US keyboard). I get: ~ $ pdféps (instead of pdf2ps for an example on french keyboard). I realize my mistake, and use backspace 3 times, so I get on my screen: ~ $ pfd Then I do enter "2ps", and the shell says: ~ $ pdf2ps zsh: command not found: pdf\M-C2ps Of course, I understand that I should have pressed backspace 4 times, since é is two bytes large. But please consider that what I am describing is now the common situation in most linux distros. Complete Unicode support may be difficult and a long term goal, but line-editing now really sucks. Thanks for your attention, François-Xavier PS: please Cc all answers to me as I'm no suscriber of the list. -- François-Xavier Coudert École normale supérieure 45, rue d'Ulm - 75005 Paris