🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.software
Article #1352

Re: What is -MachLaunch, and other anomalies ?

#1352
From: Eric P. Scott
Date: Thu, 19 Nov 1992 06:36
25 lines
1679 bytes
In article <1992Nov17.091215.8231@dolphin.com>
	gordie@yamanote.dolphin.com (Gordie Freedman) writes:
>So what's -MachLaunch nn nnn ???
>Or why else didn't these apps work correctly when launched directly?
>The "nn nnn" numbers after -MachLaunch are always different, I suspect  
>they have to meaning to either WS, mach, or the app, and I didn't want to  
>make some up to see what will happen.

When the Workspace Manager launches an application, it creates
the tile; -MachLaunch passes the tile's PostScript window number
[second] and a sequence number [first] used to authenticate a
reply to Workspace indicating that the launch was successful and
initialization completed.  In the absence of -MachLaunch, the
program assumes that it is not operating under the control of the
Workspace Manager, and displays its own tile.  Note: the
distinction is more than cosmetic; e.g., see the description of
powerOff: (Application).

In most cases, [[NXApp appIcon] style] is probably the best way
to determine if an application's been launched from the Workspace
(NX_TOKENSTYLE) or not (NX_MINIWORLDSTYLE).  DiskPig uses a
different technique, since it wants to seize control before
miniworld creation.

					-=EPS=-
Technical Details
Message-ID: <1992Nov19.063609.3303@csus.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!csus.edu!news
References: <1992Nov17.091215.8231@dolphin.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.software
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!csus.edu!news
From: eps@futon.SFSU.EDU (Eric P. Scott)
Subject: Re: What is -MachLaunch, and other anomalies ?
Message-ID: <1992Nov19.063609.3303@csus.edu>
Sender: news@csus.edu
Reply-To: eps@cs.sfsu.edu
Organization: San Francisco State University
References: <1992Nov17.091215.8231@dolphin.com>
Date: Thu, 19 Nov 1992 06:36:09 GMT
Lines: 25