Path: utzoo!attcan!uunet!mcsun!hp4nl!star.cs.vu.nl!hvaalde From: hvaalde@cs.vu.nl (Aalderen van Harold) Newsgroups: comp.sys.atari.st.tech Subject: Re: TOS or GEM ?? Message-ID: <7208@star.cs.vu.nl> Date: 1 Aug 90 09:31:12 GMT References: <1699@troll.tubopal.UUCP> Sender: news@cs.vu.nl Lines: 18 ripley@tubopal.UUCP (Hans-Ch. Eckert) writes: >[Stefan asked how to know whether a program was started from a TOS-only >shell...] >I didn't try it, but I think this will make applinit return a failure. >On which occasions can it fail anyway (except this one)? Every non AUTO folder program can call appl_init() succesfully, The only way to find out if the program was lauched from a TOS-only shell (I guess you mean command line shell), is to check the parent basepage you can find the through the system variable that points to the OS-header (can't remeber the name, and don't know the location by heart) Tried to send this to stefan but it keeps bouncing Harold van Aalderen (hvaalde@cs.vu.nl) Vrije Universiteit Amsterdam