From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9041 invoked from network); 15 Jul 2000 18:06:41 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jul 2000 18:06:41 -0000 Received: (qmail 15553 invoked by alias); 15 Jul 2000 18:06:09 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3286 Received: (qmail 15545 invoked from network); 15 Jul 2000 18:06:09 -0000 Date: Sat, 15 Jul 2000 18:16:13 +0200 (CEST) From: Christoph Lange Reply-To: Christoph Lange To: dias-d_l@epita.fr cc: zsh Subject: Re: completion position In-Reply-To: <20000715161353.A22044@amnesty.mglcel.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > I can't find how to move the completion cursor position : > i've always that : > > shell> cd /usr/ _ > X11R6/ i486-linuxlibc1/ local/ spool/ > bin/ include/ man/ src/ > doc/ info/ sbin/ > games/ lib/ share/ I had a similar problem when I had some escape codes in my prompt, which set the xterm title bar. I think zsh calculates the cursor position depending on the length of the prompt. Of course, zsh did not understand that a certain part of the text actually appeared in the title bar and not in the command line prompt and therefore assumed a wrong length andq set the cursor to a wrong position. Christoph -- Microsoft Windows(TM): A thirty-two bit extension and graphical shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor which was written by a two-bit company that can't stand one bit of competition. Christoph Lange, langec@gmx.de, http://www.cul.de/home/yaph/, ICQ #51191833