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

Re: How to "STTY" when "setopt nointeractive"?



On Oct 18,  9:17pm, DervishD wrote:
}
}     I was testing Bart's suggestion for my problematic "zpty" command
} and I found that, after succesfully testing in the command line, it
} didn't work in the script.

Remember (again :-) that the arguments to zpty are processed as if with
eval.  So

    zpty cdda2wav STTY=-onlcr cdda2wav -v toc,sectors -J -H

is the same as

    zpty cdda2wav "stty -onlcr; cdda2wav -v toc,sectors -J -H"



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