[Top][All Lists]

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

Re: [Help-smalltalk] Problems with -lreadline

From: Bonzini Paolo
Subject: Re: [Help-smalltalk] Problems with -lreadline
Date: Tue, 7 May 2002 10:14:27 +0200 (METDST)

> On my pentium III/900 (Linux), gst, if compiled with readline-support,
> shows unexpected behaviour: an errormessage is not written in time.
> gst waits till the next execution of code:

This is because Smalltalk FileStreams are buffered separately from C stdio
streams.  I don't consider it a serious problem, but it can be fixed by
adding ObjectMemory hooks (#beforeEvaluation and #afterEvaluation)
triggered by _gst_execute_statements (I'm referring to the naming
convention in 1.96), and trapping #afterEvaluation so that it flushes
stdout and stderr...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]