[Date Prev][Date Next][Thread Prev][Thread Next]
- 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 <firstname.lastname@example.org> wrote:
> Apparently there is a problem with running C
> 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
> get your output until the program terminates or
> 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)?