[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] shutdown of STDIN



dgeller@channel1.com (Dennis P. Geller) writes:
>I ran a small program with an infinite loop (because I needed to capture
>the output to show that it *was* an infinite loop.) The program did little
>more than read two numbers from STDIN and then print them. Aftyer I stopped
>it with CMD-. I found that any programs run afterward didn't bother to stop
>to read from STDIN.
>
>I can appreciate that shutting down a script in mid-read might have the
>effect of closing down STDIN, but I wondering if there's a way to reset it

It should reset automatically, so the behavior your describe is a bug. However,
I was not able to reproduce that bug from your description. Can you send me the
program and tell me:

 - At which point you pressed Command-.
 - Whether the bug occurred 100% of the time or only some of the time.
 - Whether you are running MacPerl 5.1.5r4 (just checking :-)

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "One fine day in my odd past..." -- Pixies, _Planet of Sound_




***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch