zsh-workers
 help / color / mirror / code / Atom feed
* Loop suspend
@ 2001-02-19  9:00 Andrej Borsenkow
  0 siblings, 0 replies; 4+ messages in thread
From: Andrej Borsenkow @ 2001-02-19  9:00 UTC (permalink / raw)
  To: ZSH Workers Mailing List

What is the current status? Is zsh able to suspend loops containing only
builtins?

-andrej

Have a nice DOS!
B >>


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

* RE: Loop suspend
@ 2001-02-19  9:22 Sven Wischnowsky
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Wischnowsky @ 2001-02-19  9:22 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> > Andrej Borsenkow wrote:
> >
> > > What is the current status? Is zsh able to suspend loops containing only
> > > builtins?
> >
> > No. Only if they have at least on external command or are in a pipeline.
> >
> 
> I had at least one case where
> 
> while true; do
> /bin/true
> done
> 
> was not suspended. I suspect, /bin/true simpy exits "too fast" for zsh to
> catch it. As usual, I cannot reproduce it now.

Yes, that's almost certainly too fast to hit it with ^Z.

> -andrej
> 
> P.S. you are still using "old" sunsite.auc.dk. I noticed this, because Outlook
> is filtering on new sunsite.dk.

Oops. Sorry. And thanks for pointing it out.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

* RE: Loop suspend
  2001-02-19  9:03 Sven Wischnowsky
@ 2001-02-19  9:13 ` Andrej Borsenkow
  0 siblings, 0 replies; 4+ messages in thread
From: Andrej Borsenkow @ 2001-02-19  9:13 UTC (permalink / raw)
  To: zsh-workers

>
> Andrej Borsenkow wrote:
>
> > What is the current status? Is zsh able to suspend loops containing only
> > builtins?
>
> No. Only if they have at least on external command or are in a pipeline.
>

I had at least one case where

while true; do
/bin/true
done

was not suspended. I suspect, /bin/true simpy exits "too fast" for zsh to
catch it. As usual, I cannot reproduce it now.

-andrej

P.S. you are still using "old" sunsite.auc.dk. I noticed this, because Outlook
is filtering on new sunsite.dk.


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

* Re: Loop suspend
@ 2001-02-19  9:03 Sven Wischnowsky
  2001-02-19  9:13 ` Andrej Borsenkow
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Wischnowsky @ 2001-02-19  9:03 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> What is the current status? Is zsh able to suspend loops containing only
> builtins?

No. Only if they have at least on external command or are in a pipeline.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

end of thread, other threads:[~2001-02-19  9:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-19  9:00 Loop suspend Andrej Borsenkow
2001-02-19  9:03 Sven Wischnowsky
2001-02-19  9:13 ` Andrej Borsenkow
2001-02-19  9:22 Sven Wischnowsky

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