From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4813 invoked from network); 14 Jan 2005 13:11:05 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Jan 2005 13:11:05 -0000 Received: (qmail 83074 invoked from network); 14 Jan 2005 13:10:59 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Jan 2005 13:10:59 -0000 Received: (qmail 9783 invoked by alias); 14 Jan 2005 13:10:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20710 Received: (qmail 9767 invoked from network); 14 Jan 2005 13:10:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Jan 2005 13:10:44 -0000 Received: (qmail 82755 invoked from network); 14 Jan 2005 13:10:44 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 14 Jan 2005 13:10:39 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Fri, 14 Jan 2005 13:09:17 +0000 Received: from news01.csr.com ([10.103.143.38]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 14 Jan 2005 13:12:56 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.1/8.12.11) with ESMTP id j0EDAaAE014816 for ; Fri, 14 Jan 2005 13:10:36 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.13.1/8.13.1/Submit) with ESMTP id j0EDAZj7014813 for ; Fri, 14 Jan 2005 13:10:36 GMT Message-Id: <200501141310.j0EDAZj7014813@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Some groundwork for Unicode in Zle In-reply-to: <200501111359.j0BDxbQn001884@news01.csr.com> References: <200501111352.j0BDqCKs001801@news01.csr.com> <200501111359.j0BDxbQn001884@news01.csr.com> Date: Fri, 14 Jan 2005 13:10:35 +0000 From: Peter Stephenson X-OriginalArrivalTime: 14 Jan 2005 13:12:56.0666 (UTC) FILETIME=[C3685BA0:01C4FA3A] X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-1.6 required=6.0 tests=BAYES_00,URIBL_SBL autolearn=no version=3.0.2 X-Spam-Hits: -1.6 I have committed the patch to lay some groundwork for Unicode, and updated the version in the archive to 4.2.3-dev-1. To recap, I'm hoping it will be possible to change the zle line variable, now zleline, to use wchar_t, while keeping a multibyte string in the main shell, and probably completion for now (since completion interacts with the main shell). Any relaxing of assumptions about the environment can happen once this is basically working. It should now be possible to locate all uses of the key zle variables zleline, zlecs, zlell by name. Earlier versions of the patch incorrectly renamed other uses of ll and line. I think I've caught all these, but the completion code used a large number of internal variables with the same names. Trapping and converting all direct or indirect uses of zlecs (cursor position) and zlell (line length) outside the core zle code to use the correct position with a multibyte string is likely to be a nightmare. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************