www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/18/17:14:03

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 18 Jan 2004 17:14:03 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Lloyd Wood <l DOT wood AT eim DOT surrey DOT ac DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: 1.5.5-1: Tk support for 'plot' command and widget?
In-Reply-To: <Pine.GSO.4.50.0401181415460.151-100000@argos.ee.surrey.ac.uk>
Message-ID: <Pine.GSO.4.56.0401181712300.10406@slinky.cs.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 50 DOT 0401181415460 DOT 151-100000 AT argos DOT ee DOT surrey DOT ac DOT uk>
MIME-Version: 1.0

On Sun, 18 Jan 2004, Lloyd Wood wrote:

> 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.

Lloyd,

According to the TclTk package announcement[*], you should report Tcl/Tk
problems to the insight mailing list.  HTH,
	Igor
[*] <http://cygwin.com/ml/cygwin-announce/2003-02/msg00021.html>
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

- Raw text -


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