From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26228 invoked from network); 3 Oct 2005 17:45:22 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Oct 2005 17:45:22 -0000 Received: (qmail 16669 invoked from network); 3 Oct 2005 17:45:15 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Oct 2005 17:45:15 -0000 Received: (qmail 10973 invoked by alias); 3 Oct 2005 17:45:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21815 Received: (qmail 10963 invoked from network); 3 Oct 2005 17:45:12 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Oct 2005 17:45:12 -0000 Received: (qmail 16385 invoked from network); 3 Oct 2005 17:45:12 -0000 Received: from flock1.newmail.ru (212.48.140.157) by a.mx.sunsite.dk with SMTP; 3 Oct 2005 17:45:11 -0000 Received: (qmail 28737 invoked from network); 3 Oct 2005 17:33:23 -0000 Received: from unknown (HELO cooker.home.net) (arvidjaar@newmail.ru@83.237.61.142) by smtpd.newmail.ru with SMTP; 3 Oct 2005 17:33:23 -0000 From: Andrey Borzenkov To: Zsh Workers Subject: Re: Bug? in complist when filenames are longer than the screen Date: Mon, 3 Oct 2005 21:45:07 +0400 User-Agent: KMail/1.8.2 References: <20051003144536.GA3179@DervishD> In-Reply-To: <20051003144536.GA3179@DervishD> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1432533.pCQzzoBBso"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200510032145.07748.arvidjaar@newmail.ru> X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 --nextPart1432533.pCQzzoBBso Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 03 October 2005 18:45, DervishD wrote: > Hi all :) > > I'm not sure if this is a bug or if I'm doing anything wrong, but > I can reproduce it even without reading RC's (neither /etc/zshenv > nor /etc/zshrc exist, and I run zsh with "-f"). > > $ print $ZSH_VERSION > 4.2.5 > $ touch a b c filename1 filename2 d e > $ zmodload zsh/complist > $ COLUMNS=3D3 > $ ls > > The screen messes up and, depending on the filenames, zsh > sometimes segfaults or hangs.=20 It would be nice to have exact recipe how to reproduce a crash preferably=20 starting with zsh -f. I have screen corruption but not (OK I am not sure wh= at=20 sensibly can be done on 3 column width :) Jokes aside, I do confirm screen corruption during normal completion under= =20 konsole and linux console. This happens with long filenames, usually when I= =20 complete "cd -" and have deeply nested directories. Like {pts/1}% cd -TAB =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D {pts/1}% cd -1/TAB Completing directory stack 1=20 =2D- /home/bor/Download/D-Link/LINUX_GPL_SOURCE/mtd-20020722/drivers/mtd/ma= ps/CVS 2 -- /home/bor/tmp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D {pts/1}% cd -1/ Completing directory stack 1 -- /homcd -2/ 1 -- /homcd -2/ 1=20 =2D- /home/bor/Download/D-Link/LINUX_GPL_SOURCE/mtd-20020722/drivers/mtd/ma= ps/CVS 2 -- /home/bor/tmp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2Dandrey --nextPart1432533.pCQzzoBBso Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDQW4jR6LMutpd94wRAi8BAKCjFQip+C7smb2SdwQAasJTIHIeCwCeI9Eh sDqefeJT67Cx8e69skBA1Kk= =QCD3 -----END PGP SIGNATURE----- --nextPart1432533.pCQzzoBBso--