lua-users home
lua-l archive

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


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.
> 
> 
>