Re: Is there a way to make 'wish' read standard input?
- From: "tclin1998@xxxxxxxxx" <tclin1998@xxxxxxxxx>
- Date: 28 Nov 2006 04:25:59 -0800
Just to make my question more clear.
The following is a very simple script:
### tt.tcl begin
set a 123
puts $a
### end
On Linux console, I type in
wish tt.tcl
I'll see a window pop up, and the console shows
northstar:/tmp% wish tt.tcl
123
_
However,
I could not get the command prompt % in the console.
Is there a way to get tcl command prompt % in the above scenario ?
Thanks!
-Todd
Aric Bills wrote:
If I understand right, you'd like to run a script and then enter
interactive mode where you can type commands from the console.
If that's the case, and if you're developing for Windows or OS X, your
script can call [console show], which will pop up the interactive
console. On Unix (as well as the other platforms), your script could
load Jeff Hobbs' TkCon and call [tkcon show].
.
- Follow-Ups:
- Re: Is there a way to make 'wish' read standard input?
- From: R. T. Wurth
- Re: Is there a way to make 'wish' read standard input?
- From: John Seal
- Re: Is there a way to make 'wish' read standard input?
- From: suchenwi
- Re: Is there a way to make 'wish' read standard input?
- References:
- Is there a way to make 'wish' read standard input?
- From: tclin1998@xxxxxxxxx
- Re: Is there a way to make 'wish' read standard input?
- From: Aric Bills
- Is there a way to make 'wish' read standard input?
- Prev by Date: zar oyunu
- Next by Date: Re: Is there a way to make 'wish' read standard input?
- Previous by thread: Re: Is there a way to make 'wish' read standard input?
- Next by thread: Re: Is there a way to make 'wish' read standard input?
- Index(es):
Relevant Pages
|