From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16792 invoked from network); 7 Jan 2006 00:18:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Jan 2006 00:18:07 -0000 Received: (qmail 87374 invoked from network); 7 Jan 2006 00:18:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Jan 2006 00:18:01 -0000 Received: (qmail 19888 invoked by alias); 7 Jan 2006 00:17:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22130 Received: (qmail 19873 invoked from network); 7 Jan 2006 00:17:58 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Jan 2006 00:17:58 -0000 Received: (qmail 87095 invoked from network); 7 Jan 2006 00:17:58 -0000 Received: from dsl3-63-249-88-2.cruzio.com (HELO dot.blorf.net) (63.249.88.2) by a.mx.sunsite.dk with SMTP; 7 Jan 2006 00:17:57 -0000 Received: by dot.blorf.net (Postfix, from userid 1000) id 941768DFA; Fri, 6 Jan 2006 16:17:56 -0800 (PST) Date: Fri, 6 Jan 2006 16:17:56 -0800 From: Wayne Davison To: zsh-workers@sunsite.dk Subject: Re: bug in completion/expansion of files with LANG=C Message-ID: <20060107001756.GH10111@dot.blorf.net> References: <20060106215829.GG10111@dot.blorf.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060106215829.GG10111@dot.blorf.net> User-Agent: Mutt/1.5.11 On Fri, Jan 06, 2006 at 01:58:29PM -0800, Wayne Davison wrote: > For instance, using Ctrl-A to get to the start of the line moved to > the right position on the screen, but pressing Ctrl-F to go forward > output the wrong character in each position (one character too far to > the right). This turned out to be a bug in "screen" that occurs when screen got started with LANG=C, and zsh got changed to use LANG=en_US.UTF-8. Zsh was actually outputting an escape sequence to move right one position, but screen was optimizing it into a more efficient output sequence (the outputting of a single literal character), and screen thought it was in a different spot than it really was. Fortunately, starting screen with the same LANG value that you want to use inside works properly, so it's not a really big screen bug, but it might trip up someone else who tries to use zsh with a changed LANG value inside of screen in the future. ..wayne..