Classical question: How do I clear the screen from my TCL script?
I am a Unix/Linux user. To clear the screen I usually use the "clear" command in the prompt. Now I want to do it inside a tcl script, but have no lucks. Any helps will be appreciated.
The results of my google search have suggested the following TCL commands puts [exec clear] puts [exec /usr/bin/clear] puts \x1B\[2J puts \x1b\[H\x1b\[2J None of them is working for me, in other words the above commands have no effect to clear the screen as expected. -Johnny |
I really dont know tcl that well but I think it would be
flush stdout Like I said though I could be totally wrong :) But give it a try |
All times are GMT -5. The time now is 02:32 AM. |