Re: 'console show' gone on Win98 ?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: 'console show' gone on Win98 ?

From: Helmut Giese <hgiese@ratiosoft.com>
Date: Thu Dec 22 2005 - 09:00:24 CET

On 21 Dec 2005 17:13:58 -0800, krithiga81@yahoo.com wrote:

>Hi
> I used the console script for unix and added in my program for windows
>and it brings up a console screen. I used puts in my procedure and it
>does not print on the console

Hi krithiga,
the following works for me:
1) I got the source code from http://wiki.tcl.tk/786 and put it into a
file console.tcl
2) I put the lines below into a file constst.tcl.
3) I open a "DOS" console and type
        tclsh constst.tcl

The first 'puts' appears in the "DOS" console, then the console window
appears and the second 'puts' appears there.

See if it works for you, too.
HTH
Helmut Giese
        ---
package require Tk

# this line appears in the "DOS" console
puts "Program starts"

source console.tcl

update

# this appears in the console
puts "A console window should show now"
        ---
Received on Fri Dec 23 19:02:54 2005