From: Larry W. Virden <lvirden@ca...> - 2003-09-11 15:36:49
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@...>
> This actually behaves the same with the Wish console on Windows. I
> assume the problem is with TkConsole, which is used in Mac OS X and
> Windows. When I run Wish in Terminal.app, [gets stdin] works fine.
When I run the tkcon from http://tkcon.sf.net/ I have no problem with
input from stdin - the simplest examples:
set foo [gets stdin]
work just fine.
I don't have a MacOS X or Windows machine handy on which I can test.
Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:lvirden@...> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
From: Benjamin Riefenstahl <Benjamin.R<iefenstahl@ep...> - 2003-09-11 16:53:47
"Larry W. Virden" <lvirden@...> writes:
> When I run the tkcon from http://tkcon.sf.net/ I have no problem
> with input from stdin - the simplest examples:
> set foo [gets stdin]
> work just fine.
I tried with the full TkCon 2.1 under Windows and there it doesn't
work. I don't have the latest here, but than I don't think that Wish
on Mac OS or Windows uses the latest either.