zsh-workers
 help / color / mirror / code / Atom feed
From: david sowerby <d_sowerby@yahoo.com>
To: zsh-workers@sunsite.dk
Subject: select problem
Date: Mon, 12 Jan 2009 11:48:25 -0800 (PST)	[thread overview]
Message-ID: <234804.32891.qm@web36605.mail.mud.yahoo.com> (raw)

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
-------------------------------------------------------------




      


             reply	other threads:[~2009-01-17  6:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 19:48 david sowerby [this message]
2009-01-17  7:12 ` Andrey Borzenkov
2009-01-17  9:25 ` Stephane Chazelas
2009-01-17 11:21   ` Richard Hartmann
2009-01-18 14:39     ` Stephane Chazelas
2009-01-18 15:45       ` Richard Hartmann
2009-01-20 19:42         ` Peter Stephenson
2009-01-20 21:30           ` Richard Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=234804.32891.qm@web36605.mail.mud.yahoo.com \
    --to=d_sowerby@yahoo.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).