[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Run from desktop or shell?



On Sat, 23 Aug 2008, J. F. Lemaire wrote:

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.

Hello,

wouldn't a better take on this be to have the Toswin console open together with xconout2.xdd so it catches stdout from gem programs stdout into the console window? No need for special code then.

--
Anders Eriksson
ae@dhs.nu     http://www.dhs.nu/
ae@atari.org  http://www.atari.org/