zsh-workers
 help / color / mirror / code / Atom feed
* Follow up: ZSH looping on commands that produce long output
@ 2007-08-03  4:45 Jeffrey Merrick
  0 siblings, 0 replies; only message in thread
From: Jeffrey Merrick @ 2007-08-03  4:45 UTC (permalink / raw)
  To: zsh-workers


I'm not subscribed to the list and so have to start a new mail thread rather than following up with the one that I started.  Apologies for the inconvenience.

Thank you for the help you've provided.  I've narrowed down the scope of the problem, and it's likely nothing to do with ZSH.

Two things I tried in response to your suggestions were:
- Removing the use of "Phil!'s ZSH Prompt" because of its precmd function
- Rebuilding ZSH to use statically linked libraries.
But the problem persisted.

One curious thing was that the process that was producing the output had always died even while the looping was going on.  Using strace, the ZSH was blocked on a read, waiting for the next command, and for that reason one can't blame ZSH for the scrolling output.

What I found was this:  If I initiated the rlogin/ssh command (it doesn't matter which) to the remote machine from an Expect script as I was doing, then I could experience the problem when using the ZSH login shell on the remote machine.

On the other hand, running rlogin/ssh from the command line or from a shell script resulted in the problem going away.

So, it appears that the problem is really with Expect and not with ZSH.

Thanks again.

Jeff
_________________________________________________________________
Recharge--play some free games. Win cool prizes too!
http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-03  4:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-03  4:45 Follow up: ZSH looping on commands that produce long output Jeffrey Merrick

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