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

Re: Zsh looping on commands that produce long output

On Mon, 30 Jul 2007 19:40:33 -0700
Jeffrey Merrick <jeff.merrick@xxxxxxxxxxx> wrote:
> I've repeatedly run into the problem of zsh looping when running commands
> that produce many (like, 200 or more) lines of output.
> Thus, it's as if there is some shared state across all running zsh
> instances that triggers the looping behavior, and the state is cleared only
> by killing all the zsh instances.

This doesn't sound like any previously reported problem.  The nearest thing
to shared state between shells is the history mechanism; if you have the
SHARE_HISTORY option set it will try to read history just written by other
shells, but it won't try to execute it.

Do you have any precmd, preexec or chpwd functions, or anything similar, or
some session management layer such as screen?

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


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