From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19640 invoked from network); 17 Jan 2009 06:35:20 -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.6 required=5.0 tests=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 06:35:20 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 47620 invoked from network); 17 Jan 2009 06:35:15 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jan 2009 06:35:15 -0000 Received: (qmail 18931 invoked by alias); 17 Jan 2009 06:35:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26337 Received: (qmail 27828 invoked from network); 12 Jan 2009 19:48:30 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 Jan 2009 19:48:30 -0000 Received: from web36605.mail.mud.yahoo.com (web36605.mail.mud.yahoo.com [209.191.85.22]) by bifrost.dotsrc.org (Postfix) with SMTP id C8A8A80271F0 for ; Mon, 12 Jan 2009 20:48:26 +0100 (CET) Received: (qmail 34468 invoked by uid 60001); 12 Jan 2009 19:48:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=6RY/I/KtkC4CMomwghPkcsn235SFBxLq2sKZLzIDe/nILsHoBH0LCb6Bxiyx/hMxjSK/MrX3DzPNkKFuYH6M5oD98T/BC3ky+tauYfkf1gKZtbyBKLOiR4eVZNwgFw0uyfxId4uef9CEws4qZiUidb4s9xRVQfHOxBhs7g8Cf/I=; X-YMail-OSG: zjnlyEoVM1kMaBfU7ftWacCD20oFFQdIa4AyVrEAZLtSsJh9uYkNyBgnzEiiq2Q1qZ6IiyVmGzyVy2OEJs4qhQ.C4gf9TL0iEetiJML4ngW4uCQO4GWRxDr0RNb16uYxYQXtCxTYLmbk8qKiNzbXP6HIQlmBoxFq0Hf5GnPbBkzLANp9N2QoYzmy21Rn Received: from [66.39.173.218] by web36605.mail.mud.yahoo.com via HTTP; Mon, 12 Jan 2009 11:48:25 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Mon, 12 Jan 2009 11:48:25 -0800 (PST) From: david sowerby Reply-To: d_sowerby@yahoo.com Subject: select problem To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <234804.32891.qm@web36605.mail.mud.yahoo.com> X-Virus-Scanned: ClamAV 0.92.1/8856/Mon Jan 12 17:36:19 2009 on bifrost X-Virus-Status: Clean 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. "ls" acts as usual on the command line, everything else seems fine. I ran the script with zsh -f and it's still the same. I checked /etc/zshenv and it just has the PATH feature or bug? thanks if you can help ----------------dave ------------------------------------------------------------- power corrupts, absolute power corrupts absolutely, god is all powerful -------------------------------------------------------------