Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh-beta12 read -q



from within a shell script, this script hangs in my xterm.

    % cat sample_script
    read -q 'answ?Continue? [n] :'
    echo "test done; returned $? "

it is ok when typed in on the command line.
I tried using zsh-2.6-beta12 and zsh-2.6-beta10.

here is how I invoked it.

    % zsh-2.6b12 -f
    % read -q 'answ?Continue? [n] :'

(as expected.)

    % zsh-2.6b10 -f sample_script

(as expected.)

    % zsh-2.6b12 -f sample_script

(hangs)

    % uname -a
    HP-UX phobos A.09.05 A 9000/715

thanks again for all the great work on the best shell going...
------------------------------------------------------------------------------
Paul Becker              o       Atria Software       main:    617-676-2400
(617)676-2605           /~>     20 Maguire Road       fax:     617-676-2410
becker@xxxxxxxxx     o...(\     Lexington, MA  02173  http://www.atria.com/
-----------------  ~~~~~~~~~~  -----------------------------------------------



Messages sorted by: Reverse Date, Date, Thread, Author