Michael Barton | 1 Mar 2009 04:36
Picon
Favicon

Re: Fwd: question about gui switching menu item

I've tested it in wxPython and it works on the Mac.

The script is more than I had in mind, but is indeed nice.

I was only able to follow the discussion in parts. I remember some  
talk about windows not having a command line. But in fact it does have  
a command line in both TclTk and wxPython, even if it does not have a  
full terminal. The lack of a terminal, however, means that text and  
old d.m are not available for Windows. It only can run the TclTk gis.m  
and wxPython GUI's. I'm not sure what will happen in Windows if  
someone selects text or d.m. Linux and the Mac, with terminal can run  
these other modes, but this makes a nice menu item less important too.

Michael

On Feb 28, 2009, at 7:48 PM, Hamish wrote:

>
> Michael wrote:
>>>> Why does the menu item to change the gui have to run a script  
>>>> instead
>>>> of just run g.gui tcltk -un?
>
> because for 6.4 there is a choice of text,d.m,gis.m, and wxPython.
>
> I added a wrapper script instead of just opening a GUI for g.gui to
> enforce that the -u and -n flags are used and make it a bit more  
> obvious.
>
> see  http://trac.osgeo.org/grass/ticket/500
(Continue reading)

Hamish | 1 Mar 2009 06:27
Picon
Favicon
Gravatar

Re: Fwd: question about gui switching menu item


Michael wrote:
> I've tested it in wxPython and it works on the Mac.

thanks.

> I remember some talk about windows not having a command line.

one is available. just not at the same time as the gui.

from the OSGeo4W DOS box shell run "grass64 -text" and you get one
in the same dos box. (but no xmons) Handy for batch jobs or experts.

> But in fact it does have a command line in both TclTk and
> wxPython, even if it does not have a full terminal.

[internal one, see "d.mon not implemented" error window from wxPy seen
in i.class thread when a user tries to follow old-way examples]

> The lack of a terminal, however, means that text and old d.m are not
> available for Windows.

ok, d.m is not available in windows because of no monitors and it uses
xmons. hmm. "d.m" from the command prompt actually does launch it.
(more below)

> It only can run the TclTk gis.m and wxPython GUI's.

(and stand-alone text)

(Continue reading)


Gmane