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 version: CVS HEAD
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...
etc.

RFC:
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: 
http://wald.intevation.org/tracker/?func=detail&atid=205&aid=521&group_id=21

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to