Opened 16 years ago
Closed 16 years ago
#559 closed defect (fixed)
wingrass stand-alone installer: MSys console doesn't work
Reported by: | hamish | Owned by: | cnielsen |
---|---|---|---|
Priority: | minor | Milestone: | 6.4.0 |
Component: | Installation | Version: | 6.4.0 RCs |
Keywords: | wingrass | Cc: | grass-dev@… |
CPU: | x86-32 | Platform: | MSWindows XP |
Description
Hi,
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.
Change History (6)
comment:1 by , 16 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
follow-up: 3 comment:2 by , 16 years ago
Replying to 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?
comment:3 by , 16 years ago
Replying to cnielsen:
Replying to 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.
Moritz
comment:4 by , 16 years ago
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.
comment:5 by , 16 years ago
The new version provided by Colin is online: http://grass.osgeo.org/grass64/binary/mswindows/native/WinGRASS-6.4.0SVN-r36903-1-Setup.exe
Problem fixed?
Markus
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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: