[GRASS-dev] tcltk interface

Benjamin Ducke benjamin.ducke at oxfordarch.co.uk
Thu Sep 30 03:14:27 EDT 2010


I think he meant X11, not "xterm"?

Several things are getting mixed up here, I am afraid.
The Windows version of Tcl/Tk does not use X11 for display,
the Unix versions do, of course (as far as I understand,
that includes OS X, but I may be wrong here).
XTerm is not capable of rendering graphics. It can only
do text. It's only used to type and run commands.
Many Linux users nowadays don't run XTerm as
their command console anymore, but use one of the more
convenient replacements, such as those that ship with
Gnome or KDE. Mac OS X has its own console application.
You can run the d.* modules from an XTerm, but they
will then open an X11 window to render the graphics on.
Thus, they are not really portable to Windows, unless
you install and run an X11 for Windows (such as via Cygwin).
The Tcl/Tk digitizer uses it's own TclTk canvas for graphics, 
so will work fine on Windows.

Sorry if this all sounds like a lecture in "Unix A", but
Rashad, if you want help from this list, you need to get
your concepts and terms straight. GRASS comes from the
Unix world, so it carries all these Unix ideas and technologies
with it. I hope my explanations have helped clarifying things
a bit.

Ben

----- Original Message -----
> GRASS 6.4 does not use an xterm for display of anything by default.
> The digitizing module has a TclTk interface, but this uses a TclTk
> canvas, not an xterm. GRASS has not used an xterm for a default
> display since version 6.2. But you can optionally use an xterm for
> display, with the d.* modules throughout the Version 6.x series.
> 
> Michael
> 
> 
> On Sep 29, 2010, at 10:37 PM, <grass-dev-request at lists.osgeo.org>
> wrote:
> 
> > Date: Thu, 30 Sep 2010 09:52:12 +0530
> > From: Mohammed Rashad <mohammedrashadkm at gmail.com>
> > Subject: [GRASS-dev] tcltk interface
> > To: grass-dev at lists.osgeo.org
> > Message-ID:
> >        <AANLkTinqtCC8sTgcv0t9Qy4mU6wjVE+tFC2=RBfZjcbA at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Does tcltk uses xterm for display? I mean to use tcltk v.digit the
> > background map is rendered on xterm.
> >
> > -- Rashad
> 
> _______________________________________________ grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev


------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.



More information about the grass-dev mailing list