On Mon, Jun 03, 2002 at 11:04:16AM -0400, Chris Beggy wrote:
> mmc@maruska.dyndns.org (Michal Maru¹ka) writes:
>
> > i run this script:
> >
> > #!/usr/bin/scsh -s
> > !#
> > ;; test
> > (display "start test\n")
> > (run (sleep 5s))
> > (display "ok\n")
> >
> >
> >
> >
> > now i press C-z (i'm in zsh), and with "fg" i resume the process. But (if
> > SLEEP was
> > running), the process does not finish.
> >
> > Can anybody else see it ?
>
> I see it with bash gnu/linux 2.2.13, scsh-0.6.2.
>
I see it with both zsh-4.0.4 and /bin/sh (which happens to be
KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2') under OpenBSD-3.1.
I'm using scsh built from the latest CVS sources.
The weirdest part is that if you stop it, then type fg in a VERY
short time, it seems to do the right thing. If you leave it stopped
for a few whole seconds, then fg it, it just sits there.
-Chad
|