Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 11 Dec 2004 21:50:55 -0500 From: Jean-Sebastien Trottier <jst1 AT email DOT com> To: cygwin AT cygwin DOT com Subject: Re: tcl/tk X version Message-ID: <20041212025055.GA1763@gw.jsoft.lan> Mail-Followup-To: cygwin AT cygwin DOT com References: <21797e7d041211132151e6fdf0 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21797e7d041211132151e6fdf0@mail.gmail.com> User-Agent: Mutt/1.5.6+20040907i X-IsSubscribed: yes Hi Huidae, I'm actually working on a different solution... I'm trying to do a bit like rxvt such that if the DISPLAY environment variable is unset or is ":0" then the Win32 version of Tk is loaded; otherwise the X version is loaded. My goal, as far as Tk is concerned, is to make the build process of any application totally transparent to this masquerade. Such that your own application would build like it would on Linux for example and can still run using native Win32 GDI. Also, I'm patching the Tcl source so that it behaves more like a UNIX version instead of Win32 (handling of paths and permissions...) with extra Cygwin-specific options for the 'file' command to be able to call Cygwin's path conversion functions (like 'cygpath' does). I've looked at your patches and they coincide with some of the changes I've made in my tree... Nevertheless, I do appreciate you sharing the information. Thanks, Sebastien On Sat, Dec 11, 2004 at 03:21:54PM -0600, cygwin u wrote: > Hi Cygwin list, > > Where is a X window version of tcl/tk? I compiled an X application > with tcl/tk libraries but it doesn't work correctly. So I patched the > original tcl/tk 8.4.7 sources and it worked! You can find the patches > at http://geni.ath.cx/grass/tcl8.4.7-cygwin.patch and > http://geni.ath.cx/grass/tk8.4.7-cygwin.patch . But I think it would > be great if xtcltk is also distributed. > > Thank you. > Huidae Cho > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/