[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Run from desktop or shell?
Hello Jean Francois
How can I know if a GEM program was executed from a shell (namely
Toswin2) or from the desktop? I'm outputting debug stuff to stdout
but I'd rather not do it when the app is run from the desktop
because it messes up the whole screen
You can know if TosWin2 run your application looking in the TERM env
under TosWin2 TERM=tw100
under classical screen output this is probably TERM=st52
Regards
Olivier