[plt-scheme] basic question about display + read + threads

From: Psy-Kosh (psykosh at earthlink.net)
Date: Tue Feb 15 00:03:25 EST 2005

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

let's say in mzscheme I've got one thread displaying some stuff every so
often. well, here, a more concrete example:

lessay I do this:
(define (blah) (sleep 5) (display "HI!\n") (blah))
(thread blah)
(read)

is there any way to do something like that, but in such a way that
instead of, say, when typing text on the read line, ending up with
"ThHI!is is the teHI!xt I aHI!m enteHI!ring", all the text entry line
and all the text already on it gets "pushed down" a line each time text
is displayed, so that instead the text in the display thread will always
display above the input line, as opposed to in the middle of it?

Thanks.

Psy-Kosh

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQhGCnZzw44XQRmJ0AQJ5IgP/YL0hqCEYW9JjZwIT7xXd+YB8fK6ULamx
5zhwHtY2MFTb9fHV/2yx3TtbNi7Ky2o/3+nCUg/0lODesTzxSP4TT7moWvVsom82
CIZhMeVYqQMVouoghxeKkDhdU5m9vvqLya+lOIbCm++IbaoQha0xU48m6yTYcDag
3esbMPgeQ1Q=
=XyJr
-----END PGP SIGNATURE-----



Posted on the users mailing list.