zsh-workers
 help / color / mirror / code / Atom feed
* select problem
@ 2009-01-12 19:48 david sowerby
  2009-01-17  7:12 ` Andrey Borzenkov
  2009-01-17  9:25 ` Stephane Chazelas
  0 siblings, 2 replies; 8+ messages in thread
From: david sowerby @ 2009-01-12 19:48 UTC (permalink / raw)
  To: zsh-workers

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




      


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-20 21:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-12 19:48 select problem david sowerby
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

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