[GRASS-dev] [grass-code P][521] Provide interactive environment on startup

grass-dev at grass.itc.it grass-dev at grass.itc.it
Sat Oct 27 04:51:53 EDT 2007

code P item #521, was opened at 2007-10-27 11:51
Status: Open
Priority: 3
Submitted By: Māris Nartišs (marisn)
Assigned to: Nobody (None)
Summary: Provide interactive environment on startup 
Patch status: None
Patch type: fix
GRASS component: startup
GRASS CVS checkout date, if applies (YYMMDD): 

Initial Comment:
If GRASS is started from non-interactive environment, GRASS will fail to run without meaningfull error message (i.e. gis.m freezes when using -tcltk, no message at all with -text).
This patch fixes problem by first checking if GRASS is started from some kind of terminal (i.e. xterm), and if it isn't, tries to launch user's preferred terminal application or fails back to plain xterm.
Users launching GRASS from terminal (xterm, Konsole et.al.) are not affected.

Steps to reproduce problem with any current GRASS version:
Kmenu->Run command->grassXY, choose any mapset/location, enter GRASS.
Konqueror->click on /usr/local/bin/grassXY...

1) Does described problem also affects MacOS X users?
2) Are there any popular terminal apps, that does NOT support "-e programm" flag? List of SUPPORTING terminal emulators: xterm; Konsole; Eterm; rxvt and it's derivatives;  Mpterm;


You can respond by visiting: 

More information about the grass-dev mailing list