From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21922 invoked from network); 17 Jan 2009 07:13:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Jan 2009 07:13:33 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 59120 invoked from network); 17 Jan 2009 07:13:28 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jan 2009 07:13:28 -0000 Received: (qmail 7001 invoked by alias); 17 Jan 2009 07:13:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26340 Received: (qmail 6991 invoked from network); 17 Jan 2009 07:13:25 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 Jan 2009 07:13:25 -0000 Received: from flock1.newmail.ru (flock1.newmail.ru [82.204.219.207]) by bifrost.dotsrc.org (Postfix) with SMTP id E4D8780271F0 for ; Sat, 17 Jan 2009 08:13:19 +0100 (CET) Received: (qmail 32752 invoked from network); 17 Jan 2009 07:12:47 -0000 Received: from unknown (HELO cooker.localnet) (arvidjaar@newmail.ru@91.77.110.18) by smtpd.newmail.ru with SMTP; 17 Jan 2009 07:12:47 -0000 From: Andrey Borzenkov To: zsh-workers@sunsite.dk, d_sowerby@yahoo.com Subject: Re: select problem Date: Sat, 17 Jan 2009 10:12:42 +0300 User-Agent: KMail/1.11.0 (Linux/2.6.28-1avb; KDE/4.1.96; i686; ; ) References: <234804.32891.qm@web36605.mail.mud.yahoo.com> In-Reply-To: <234804.32891.qm@web36605.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4629940.MGRBRZplQz"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200901171012.43559.arvidjaar@newmail.ru> X-Virus-Scanned: ClamAV 0.92.1/8873/Sat Jan 17 04:33:31 2009 on bifrost X-Virus-Status: Clean --nextPart4629940.MGRBRZplQz Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On =D0=9F=D0=BE=D0=BD=D0=B5=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD=D0=B8=D0=BA 12 = =D1=8F=D0=BD=D0=B2=D0=B0=D1=80=D1=8F 2009 22:48:25 david sowerby wrote: > I don't want to subscribe to the mailing lists so please cc > I wrote a shell script in bash (sorry) before I switched to zsh. > The script has no "bashisms" but when I changed #!/bin/bash to > #!/bin/zsh it didn't work correctly -- zsh ver 4.3.6 on debian It's > just a simple script using select to print a list of music, choose a > file and play it. select input in $(/bin/ls -A /home/david/music) > In bash this prints a screen and a half output - all the music files. > Then the PS3 prompt In zsh this is truncated - only the first > screenfull is shown, then the PS3 prompt, cutting off the last part > of the ls output. If you just hit RETURN (empty line) it will display next part of list. I=20 agree that it is somewhat confusing and in any case undocumented. =2Dandrey --nextPart4629940.MGRBRZplQz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAklxhOsACgkQR6LMutpd94yKlQCgo+t3KzqCGirxKNqV0pl5GDts UO0AoNG9jTr8u0dROvjMjJss7pDKBHTk =OJF2 -----END PGP SIGNATURE----- --nextPart4629940.MGRBRZplQz--