with the new 6.4.0rc4 wingrass stand-alone installer (not osgeo4w) the
blue "M" iconed "GRASS MSys console" menu item doesn't work. it flashes up
a DOS box and then an xterm for a fleeting instant but then they
disappear.
Hamish
ps- is there a way to automatically minimize the DOS box when launching
GRASS? it just sort of sits there idle.
I'll include the fix in the next version of the installer. For now you can
substitute line 88 of msys.bat for these two:
{{{
if "x%*" == "x" start %WD%rxvt -backspacekey -sl 2500 -fg %FGCOLOR% -bg
%BGCOLOR% -sr -fn Courier-12 -tn msys -geometry 80x25 -e /bin/sh --login
-i
if NOT "x%*" == "x" start %WD%rxvt -backspacekey -sl 2500 -fg %FGCOLOR%
-bg %BGCOLOR% -sr -fn Courier-12 -tn msys -geometry 80x25 -e /bin/sh
--login -c "%*"
}}}
Replying to [ticket:559 hamish]:
> ps- is there a way to automatically minimize the DOS box when launching
GRASS? it just sort of sits there idle.
Yes this can be done in the creation of the shortcut (*.lnk) files.
{{{SW_SHOWMINIMIZED}}} will start it minimized
{{{SH_HIDE}}} should (I haven't tested it yet) start it but run it in the
background (ie. hide it completely). Although there would be no extra
window, it may hide error messages like the one that says wxdigit isn't
working.
Replying to [comment:2 cnielsen]:
> Replying to [ticket:559 hamish]:
> > ps- is there a way to automatically minimize the DOS box when
launching GRASS? it just sort of sits there idle.
>
> Yes this can be done in the creation of the shortcut (*.lnk) files.
>
> {{{SW_SHOWMINIMIZED}}} will start it minimized
>
> {{{SH_HIDE}}} should (I haven't tested it yet) start it but run it in
the background (ie. hide it completely). Although there would be no extra
window, it may hide error messages like the one that says wxdigit isn't
working.
>
> Which option should I implement?
Can this be altered by the user via the properties of the link ? If yes,
then I would plead for SH_HIDE and then in case of problems we can tell
the user to change that. If not, then we probably have not much of a
choice and have to leave it with SW_SHOWMINIMIZED, unless there is a
different way of starting GRASS which would allow debugging.
Other option: if there is a GRASS menu in the program menu, add a "Debug
mode" entry which starts with the window apparent.
The installer won't accept SW_HIDE (SH_HIDE above was a typo), only
SW_SHOWMINIMIZED, SW_SHOWMAXIMIZED, and SW_SHOWNORMAL. This has been
implemented in the new installer which I'll post shortly.