Re: Extension for non-polling and non-blocking input?

From: Erick Gallesio <>
Date: Mon, 10 Oct 1994 14:56:32 +0000

> My problem: The program I need to write (quickly) must react to and
> send messages from/to other process(es), to which it is connected
> through pipes.
> I have tried the process extension in STk-2.1.3/Contrib/Process/ and
> it seems to work (documentation = uncommented source code, but that's
> OK :-).

I'm working on an implementation of a command run-process which willl permit
to redirect input and output of a command more easily than the contribution
you cite (code is largely inspired from this contribution, but user interface
is more "frienly"). This will be documented in the next release.

For non blocking IO, there is an extension of Tcl which is called add-input.
Integrating it in STk is not too difficult (there are 4 unresolved references
which could be (it seems) easily be simulated. However, since the add-input
extension will be integrated in Tk4.0 with a slightly different syntax, I
think I will wait for it.
But if there is a demand about this, I can probably make a quick and dirty
patch to support it (but it would be probably not supported in the future

                -- Erick
Received on Mon Oct 10 1994 - 14:56:33 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST