From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10052 invoked from network); 15 Jul 2000 20:53:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jul 2000 20:53:52 -0000 Received: (qmail 3778 invoked by alias); 15 Jul 2000 20:53:29 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3287 Received: (qmail 3771 invoked from network); 15 Jul 2000 20:53:29 -0000 Date: 15 Jul 2000 20:57:47 -0000 Message-Id: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-Disposition: inline From: nirva@ishiboo.com (Danny Dulai) To: duke@cyberspaces.de (Christoph Lange), dias-d_l@epita.fr Cc: zsh-users@sunsite.auc.dk (zsh) Subject: Re: completion position X-Mailer: Liam [version 0.7] In-Reply-To: On 07/15/00, Christoph Lange said: >> I can't find how to move the completion cursor position : >> i've always that : >>=20 >> 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. from the zshall manpage, under PROMPT EXPANSION: %{...%} Include a string as a literal escape sequence. The string within the braces should not change the cur- sor position. Brace pairs can nest. --=20 ___________________________________________________________________________ Danny Dulai Feet. Pumice. Lotion. http://www.ishiboo.com/~nirva/ nirva@ishiboo.com