#1891: wingrass: background dosbox from regular wxgui startup
----------------------+-----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: Default | Version: svn-releasebranch64
Keywords: wingrass | Platform: MSWindows 7
Cpu: x86-64 |
----------------------+-----------------------------------------------------
Comment(by hamish):
Replying to [comment:28 mmetz]:
> FWIW, MSYS uses (since 2009.03.17) by default sh, not rxvt. Only the
ancient
> msys.bat in GRASS 6 uses rxvt by default. The MSYS console in GRASS 7
uses sh.
... rxvt is the xterm-alike window-frame, sh is the Bourne shell
(#!/bin/sh, in the case of MSys "symlinked" to bash.exe), right? are we
comparing apples and oranges? or is there another sh.exe from Microsoft or
MSys acting as a graphical xterm-alike window and not a Bourne shell
interpreter?
either way, let's not start anything new and delay 6.4.3 for a
transition/debugging, it can go in for the next one. Besides the known
pdcurses issue (I've used the msys+rxvt a bunch and it's hasn't bothered
me) the rxvt-MSys on 6.4.3svn is the least problematic of the startup
methods on wingrass right now. It ain't (very) broke, let's not fix it
while cmd.exe and friends are actively being transitioned from mostly-
broken to hopefully-working.
for the 6.4.3 release right now we offer these options:
- Command Line (grass in C:\>, just fixed in devbr6; will backport
v.soon)
- GUI (wxGUI without a separate command window; sibling to the desktop
icon)
- GUI with MSYS (wxGUI with bash running in a rxvt window)
- Old TclTk GUI (no rxvt window, just the GUI windows(?))
- MSYS UNIX Console (bash in rxvt, not in a GRASS environment)
the desktop icon is not exactly the same as the "GUI" from the menu, but
AFAIK the only difference is the minimizing of the empty dosbox window.
Whatever the desktop icon is effectively defines the "default"
presentation.
grass643.bat in the 'C:\Program Files\GRASS GIS' dir calls etc/env.bat
then etc/Init.bat for the startup, with the exception of "GUI+MSys" which
calls "./msys/msys.exe grass643.sh -wx".
I'm sort of confused as to the goal we are working towards-
- which of the options do we want the "default" presentation to be?
- otherwise are we happy with: cmd.exe only, GUI only, and GUI+bash?
- if the answer to the first question is GUI+bash, will bash be in rxvt
for 6.4.3 and a dosbox for 6.4.4? or some other plan?
- if for 6.4.3 the "default" desktop icon target is GUI-only, do we write
a simple .pyw wrapper to call 'grass643svn.bat -wxpython' launcher to
avoid the empty dosbox? (the subject of this ticket)
- do we ease the non-default startup options into a sub-menu to reduce
the clutter? or just let the user adjust the desktop icon to whichever
version they like?
thanks,
Hamish
ps- is the occasional unwanted "C:" -> "/c/" conversions in random strings
by msys still a problem in trunk?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1891#comment:29>
GRASS GIS <http://grass.osgeo.org>