[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Changing buffering of stdout in Lua
- From: Steve Heller <steveheller@...>
- Date: Fri, 27 Apr 2007 15:06:32 -0700 (PDT)
Never mind. I added a "flush" to the code right after
the write in the Lua debugger, and that fixed it.
--- Steve Heller <steve@steveheller.com> wrote:
> Apparently there is a problem with running C
> programs
> that use stdout under Emacs: stdout is attached to a
> pipe, which is a block device, rather than the
> console, which is a character device. Thus, you
> don't
> get your output until the program terminates or
> there
> is enough data to fill the block buffer. Is there an
> easy way to fix this for the Lua debugger (or other
> program, of course)?
>
> Thanks.
>
>
>