home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / sysadmin / 7036 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.3 KB

  1. Xref: sparky comp.sys.next.sysadmin:7036 comp.sys.next.programmer:7712
  2. Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer
  3. Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ucla-cs!netcon!xenon!denwa!stb!michael
  4. From: michael@stb.info.com (Michael Gersten)
  5. Subject: Re: How to message network users before system shutdown?
  6. Message-ID: <1992Dec13.174020.15744@stb.info.com>
  7. Organization: STB BBS, La, Ca, 310 397 3137
  8. References: <1992Oct15.011515.3847@arizona.edu> <1992Oct15.125140.18223@pellns.alleg.edu> <1992Oct25.001041.10847@u.washington.edu>
  9. Date: Sun, 13 Dec 1992 17:40:20 GMT
  10. Lines: 33
  11.  
  12. In article <1992Oct25.001041.10847@u.washington.edu> wiml@milton.u.washington.edu (William Lewis) writes:
  13. >In article <1992Oct15.125140.18223@pellns.alleg.edu> aherskow@alleg.edu writes:
  14. >>Mostly the problem with any app is that you have to set Public Window Server 
  15. >>on each machine you want it to run.  That makes things kind of "insecure" 
  16. >>for the normal user (or Sys Adm.)  
  17. >
  18. >  This occurred to me as soon as someone mentioned a popup panel. However,
  19. >it's possible (heh, heh) for root to extract the window server port from
  20. >any running application. This can then be installed into a task that is not
  21. >descended from the Workspace Manager, and in fact need not even have the
  22. >same uid, or be running on the same machine. A "wall" daemon for the NeXT
  23. >could check for a running copy of Workspace, extract all relevant ports,
  24. >and create a subtask that can access the display &c. normally (as if it
  25. >were descended from the WM). This subtask could then exec Zephyr.app or
  26. >whatever.
  27.  
  28. Its easier than this. You don't need to ever be descended from Workspace
  29. to talk to Workspace. Right now I have Terminal as my workspace program, and
  30. one of the programs that I run at startup (from .login) is a script that
  31. starts up Workspace.
  32.  
  33. From Workspace I run a little shell script (via LaunchPaths) that prints
  34. out the $Workspace environment variable. I then set this variable in my
  35. Terminal program, and presto! Instant communication with Workspace, from
  36. an app that has never seen Workspace.
  37.  
  38.         Michael
  39. Of course, this might just be dependent on the Window Server...
  40.  
  41. -- 
  42.     Michael Gersten        michael@stb.info.com
  43. NeXT Register Developer (NeRD) # 3860 -- Hire me! Quick!
  44. Will program computers for food (and net connection, health benefits, cash,...)
  45.