home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / software / 2706 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.sys.next.software
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!csus.edu!news
  3. From: eps@futon.SFSU.EDU (Eric P. Scott)
  4. Subject: Re: What is -MachLaunch, and other anomalies ?
  5. Message-ID: <1992Nov19.063609.3303@csus.edu>
  6. Sender: news@csus.edu
  7. Reply-To: eps@cs.sfsu.edu
  8. Organization: San Francisco State University
  9. References: <1992Nov17.091215.8231@dolphin.com>
  10. Date: Thu, 19 Nov 1992 06:36:09 GMT
  11. Lines: 25
  12.  
  13. In article <1992Nov17.091215.8231@dolphin.com>
  14.     gordie@yamanote.dolphin.com (Gordie Freedman) writes:
  15. >So what's -MachLaunch nn nnn ???
  16. >Or why else didn't these apps work correctly when launched directly?
  17. >The "nn nnn" numbers after -MachLaunch are always different, I suspect  
  18. >they have to meaning to either WS, mach, or the app, and I didn't want to  
  19. >make some up to see what will happen.
  20.  
  21. When the Workspace Manager launches an application, it creates
  22. the tile; -MachLaunch passes the tile's PostScript window number
  23. [second] and a sequence number [first] used to authenticate a
  24. reply to Workspace indicating that the launch was successful and
  25. initialization completed.  In the absence of -MachLaunch, the
  26. program assumes that it is not operating under the control of the
  27. Workspace Manager, and displays its own tile.  Note: the
  28. distinction is more than cosmetic; e.g., see the description of
  29. powerOff: (Application).
  30.  
  31. In most cases, [[NXApp appIcon] style] is probably the best way
  32. to determine if an application's been launched from the Workspace
  33. (NX_TOKENSTYLE) or not (NX_MINIWORLDSTYLE).  DiskPig uses a
  34. different technique, since it wants to seize control before
  35. miniworld creation.
  36.  
  37.                     -=EPS=-
  38.