delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/30/18:23:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199909302222.RAA11085@mercury.xraylith.wisc.edu>
To: Jeffrey Juliano <juliano AT cs DOT unc DOT edu>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: can cygwin Tcl/Tk be made to speak X?
In-Reply-To: Your message of "Thu, 30 Sep 1999 16:20:36 EDT."
<37F3C614 DOT 5060B529 AT cs DOT unc DOT edu>
Date: Thu, 30 Sep 1999 17:22:35 -0500
From: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>

Jeffrey Juliano <juliano AT cs DOT unc DOT edu> writes:
> we have an openGL visualization app that now runs on a (inexpensive
> compared to an SGI) winNT pc using the cygwin environment.  (thank you,
> cygwin development team, for making this possible, and making it
> relatively easy to port!!!!)
> 
> Our app uses Tcl/Tk for the GUI.  We really need to have the GUI display
> on a different machine than the openGL window.  This is easy to do when
> running on an SGI, since Tcl/Tk is an X client.  (just set DISPLAY
> elsewhere.)  Can Tcl/Tk be configured, in cygwin, to speak to an X
> server instead of using native win32 calls?
> 
> I've searched the cygwin FAQ, Mumit's Tcl/Tk page, and the Tcl/Tk FAQ,
> as well as the cygwin archives.  If the answer is there, I've missed it.

You'll need to build tcl/tk in the "unix" mode instead of the native win32
mode.

You may run into one or two little problems, but if you have X11 
development libraries/includes and all that, you can just configure and
build the whole thing in the {tcl,tk}/unix directories. See Scriptics
web site for Unix configuration/installation help.

However, before you build Cygwin Tcl/Tk as Unix, you'll need to apply
a few trivial patches. I remember that Sergey Okhapkin had those on
his web page at http://www.lexa.ru/sos/

Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019