[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: write to same line on standard out?
- From: Ricardo Ramos Massaro <ricardo.massaro@...>
- Date: Wed, 14 Jul 2010 16:14:00 -0300
On Wed, Jul 14, 2010 at 4:08 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> (I just wonder why this loop cannot be broken with ^C.)
I think the ^C just stops the sleep sub-process. To stop Lua you'd
need to type ^C twice *very* fast -- one to stop sleep and the other
to stop Lua before it runs another sleep subprocess. So, if there's
real Lua work instead of a sleep, it should work fine.
-Ricardo