From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5449 invoked from network); 25 May 2001 15:19:44 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 May 2001 15:19:44 -0000 Received: (qmail 29579 invoked by alias); 25 May 2001 15:19:31 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3902 Received: (qmail 29562 invoked from network); 25 May 2001 15:19:29 -0000 To: zsh-users@sunsite.dk Subject: Re: compctl -y problem. Message-Id: From: Cesar Crusius Date: Fri, 25 May 2001 08:17:11 -0700 In reply to "Bart Schaefer" > >On May 24, 11:44am, Cesar Crusius wrote: >} Subject: compctl -y problem. >} >} When I press after aecd, the table shows as >} expected, but the cursor does not return to where it should. It goes >} to one line below where I originally typed . >} >} Any clues? > >Which version number of zsh are you using? zsh --version gives 3.1.9-dev-6 It also happends independently of the terminal (console, rxvt, xterm), so the problem's not there too. >Do any of the lines in the output, particlarly the last line, contain >exactly the same number of characters as the width of the terminal? No... Here's a quick test that also fails: function tests { test_desc="asdasd asdasdas asdasd" reply=(`ls`); } compctl -K tests -y '$test_desc' testa When I try to complete 'testa' I get the same behavior. -- Cesar Augusto Rorato Crusius o _ _ _ Stanford University __o /\_ _ \\o (_)\__/o (_) e-mail:crusius@barcelonadesign.com _`\<, _>(_) (_)/<_ \_| \ _|/' \/ www.stanford.edu/~crusius (_)/(_) (_) (_) (_) (_)' _\o_ He who sacrifices functionality for ease of use Loses both and deserves neither