From mint-bounce@lists.fishpool.fi  Sat Aug 23 09:13:28 2008
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:cc:message-id:from:to
         :in-reply-to:content-type:content-transfer-encoding:mime-version
         :subject:date:references:x-mailer;
        bh=bQZMWCpxOTgUeXc+xKGTro/4g6jH5KsjWwzKvMLsliA=;
        b=t3sFXyFrK4s2dM1GbGCFO5kVXr6RPrPKCreCc4Cy8CmBHBNmyQ7JvWv5zNUehK3m0c
         /a/daL0IhogUagrmpUYFb9OImU6kA9D7j/sfYL6tsruYySTqkufHyq8XH8InDjsrH1uz
         Ba7zvXKcf98b5Tw8sXlRPPz3Olbh4EskUSJeA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=cc:message-id:from:to:in-reply-to:content-type
         :content-transfer-encoding:mime-version:subject:date:references
         :x-mailer;
        b=A4CdnNAzsKGOiGk2ssdWkUwbtmivkwGtbSc9BGLOou6pTX6y4NALkyQzZ5GUcISUUs
         Z3lslVvobqfW+Jta2WQlSCmeg4jAwEEufCTlsex+DcwrZ3KHjXzCcf8u03mwe0rsBCFS
         G0UfwThkdnxLMBNBd7przkXGDlqAYpIYy9DyA=
Cc: mint <mint@fishpool.com>
Message-Id: <E25CDD7C-1007-48D9-940F-3A93D4B9D99B@gmail.com>
From: Peter Persson <pep.fishmoose@gmail.com>
To: "J. F. Lemaire" <jflemaire@skynet.be>
In-Reply-To: <200808231328.38603.jflemaire@skynet.be>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v926)
Subject: Re: [MiNT] Run from desktop or shell?
Date: Sat, 23 Aug 2008 13:58:28 +0200
References: <200808231328.38603.jflemaire@skynet.be>
X-Mailer: Apple Mail (2.926)
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: pep.fishmoose@gmail.com
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

Hi,

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

Draco has made an SLB for this. I haven't tried it myself, but there  
are some sources in the archive as well.

Link: http://www.obta.uw.edu.pl/~draco/atari/atari.html (isitcon.slb)

best regards

-- PeP


