Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <049401c0f520$9f354180$48a80241@glstnbry1.ct.home.com> From: "MarK Stucky" To: "Delorenzi, Richard" , References: <3B45237DC3A5D411A80A00508BF3BBBF0AE439 AT alexuk3 DOT alarismed DOT com> Subject: Re: cygwish80 Date: Thu, 14 Jun 2001 18:23:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 ----- Original Message ----- From: Delorenzi, Richard To: Sent: Thursday, June 14, 2001 5:45 AM Subject: cygwish80 > Hi I am writing a small tcl/tk program, and am having problems writing to > stdout. > I need to write to stdout to tell the calling program which button the user > pressed. But cygwish seems to direct stdout to its console window, can any > one help. The simplest way to do this is to add the following to you script : if {$tcl_platform(platform) == "windows"} { console show } --Mark -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple