delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
To: | cygwin AT cygwin DOT com |
From: | Alejandro Lopez-Valencia <dradul AT etb DOT net DOT co> |
Subject: | Re: tcl /tk on cygwin + mouse wheel event |
Date: | Fri, 06 Feb 2004 20:48:18 -0500 |
Lines: | 45 |
Message-ID: | <feg8209lv6244fe76jkffgcc2h3fjhm4ie@4ax.com> |
References: | <4024228E DOT 4090007 AT nycap DOT rr DOT com> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | ixde16782-227.pool.007mundo.com |
X-Newsreader: | Forte Agent 1.93/32.576 English (American) |
On Fri, 06 Feb 2004 18:26:06 -0500, Mathieu Malaterre wrote in <4024228E DOT 4090007 AT nycap DOT rr DOT com>: >Hello, > I am having some issues with mouse wheel on a cygwin system. Could any >one comment on this ? > >None of these scripts work: They work fine in my system. See below. > >Comments/suggestions really welcome. >Thanks a bunch, >Mathieu >Ps: by the way if you think this is more of a tcl/tk problem just let me >know. Rather a Tcl/Tk issue. You may not be aware of the fact that Cygwin's Tcl/Tk is in reality a set of true *native* win32 binaries. No POSIX emulation layer at all. That is, tclsh and wish need to find their libraries with Win32 style paths. Assuming you are using the latest Tcl/Tk as of today and bash/zsh/pdksh as your default shell, add this file to your /etc/profile.d/ : cat > /etc/profile.d/tcltk.sh export TCL_LIBRARY=$(/usr/bin/cygpath -w /usr/share/tcl8.4) export TK_LIBRARY=$(/usr/bin/cygpath -w /usr/share/tk8.4) ^D Close your shell console and start a new one. Your test programs will work as expected. If you examine your shell environment, you'll find the folowing: TCL_LIBRARY=C:\cygwin\usr\share\tcl8.4 TK_LIBRARY=C:\cygwin\usr\share\tk8.4 This same procedure solves the problem people has had with WinCVS. Cheers Alejo -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |