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

Re: [MiNT] Run from desktop or shell?



On Sunday 24 August 2008, Anders Eriksson wrote:
> 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.

> 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.

You're absolutely right. However, I don't seem able to find any 
documentation on this. All I've found so far is a readme for xconout2, 
which doesn't help much.

Cheers,
JFL
-- 
Jean-François Lemaire