www.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 |
Date: | Sun, 18 Jan 2004 14:27:20 +0000 (GMT) |
From: | Lloyd Wood <l DOT wood AT eim DOT surrey DOT ac DOT uk> |
X-X-Sender: | eep1lw AT argos DOT ee DOT surrey DOT ac DOT uk |
To: | cygwin AT cygwin DOT com |
Subject: | 1.5.5-1: Tk support for 'plot' command and widget? |
Message-ID: | <Pine.GSO.4.50.0401181415460.151-100000@argos.ee.surrey.ac.uk> |
Organization: | speaking for none |
X-url: | http://www.ee.surrey.ac.uk/Personal/L.Wood/ |
MIME-Version: | 1.0 |
X-Spam-Status: | No, hits=-105.2 required=5.5 tests=BAYES_00,USER_AGENT_PINE,USER_IN_WHITELIST version=2.55 |
X-Spam-Level: | |
X-Spam-Checker-Version: | SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) |
X-Scanner: | exiscan *1AiDta-0006Q6-00*/WXzR47j2Do* (SECM, UniS) |
I've been maintaining and enhancing Tcl/Tk code that uses a plot command for a creating and manipulating a vector plot widget (rather than a canvas bitmap or image widget). That code has worked fine under Tcl/Tk 7/4 and 8.x on e.g. Solaris and Linux for the past eight years, but I find that just issuing the plot command of the form: plot $name -bg black -height 300 -width 300 causes Tcl/Tk 8.4 (tcltk 20030901-1, says cygcheck) under an just-installed-yesterday Cygwin 1.5.5-1 to die -- while Tcl/Tk 8.4 under Redhat 7.2 draws the widget and window just fine. A refresher look through Tk's man pages shows the canvas command, but not a plot command. Which is puzzling... so how did this plot command ever work? Has this code been relying on an undocumented command in Tcl/Tk under unix all this time? Is Tcl/Tk 8.4 under Cygwin different from under unix in handling this? (The Cygwin Tk does live outside of X, and I don't know what that leads to.) The code to build the window that I'm describing is fisheye(build) at: http://cvs.sourceforge.net/viewcvs.py/savi/savi-dev/tcl/fisheye.tcl which calls simple procedures in: http://cvs.sourceforge.net/viewcvs.py/savi/savi-dev/tcl/utils.tcl This is part of SaVi: http://savi.sourceforge.net/ and a 17 January SaVi snapshot that compiles cleanly under Cygwin and gcc 3.3.1 can be downloaded from: http://www.ee.surrey.ac.uk/Personal/L.Wood/software/SaVi/src/unreleased/ A similar coverage window in the same application that uses a canvas bitmap widget has no problems under Cygwin; canvas is fine, and canvas is in the Tk documentation and man pages just as you would expect. Pointers on what I'm doing wrong and my mistaken assumptions much appreciated. The Tcl/Tk release that cygwin installs doesn't appear debuggable; tips on debugging Tcl/Tk under Cygwin also welcome. thanks, L. <http://www.ee.surrey.ac.uk/Personal/L.Wood/><L DOT Wood AT ee DOT surrey DOT ac DOT uk> -- 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 |