Re: Old scotty commands

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Sun, 8 Oct 1995 18:51:36 +0100

Hi!

On Fri, 6 Oct 1995 11:03:51 -0700,
jorge@swat.cray.com (Jorge A. Osorio) said:

Jorge> I upgraded scotty from 1.0.2 to 2.0.1; I have noticed that the
Jorge> commands "select", "addinput", and "removeinput" are no longer
Jorge> available in 2.0.1. Does anyone knows if there are similar
Jorge> commands that will provide same functionality in scotty-2.0?
Jorge> Any reason why these commands were taken out?

Scotty 2.*.* uses the Tk4.0 event loop (the main reason is to remove
any duplicated code). You can use the Tk fileevent command to emulate
the addinput and removeinput commands. There should be no need to call
select directly if you do all async IO with fileevent handlers.

I heared some rumors that future versions of Tcl will propably have
the event loop mechanism in plain Tcl. This would remove the need for
Tk to build scotty and I could make scotty a dynamic loadable
extension. I hope we can reach this goal,

Juergen