home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / misc / 21813 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.9 KB

  1. Xref: sparky comp.sys.next.misc:21813 comp.sys.next.programmer:7112
  2. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!uwm.edu!cs.utexas.edu!zaphod.mps.ohio-state.edu!rphroy!caen!destroyer!gumby!yale!yale.edu!jvnc.net!darwin.sura.net!jhunix.hcf.jhu.edu!audley
  3. From: audley@jhunix.hcf.jhu.edu (Christopher D Audley)
  4. Newsgroups: comp.sys.next.misc,comp.sys.next.programmer
  5. Subject: WindowServer connections
  6. Message-ID: <1992Nov10.010325.4556@jhunix.hcf.jhu.edu>
  7. Date: 10 Nov 92 01:03:25 GMT
  8. Distribution: na
  9. Organization: HAC - Johns Hopkins University, Baltimore
  10. Lines: 33
  11.  
  12. Its been asked many times how one opens a connection to the WindowServer
  13. when no one is logged in ( by myself at least three times ).  Everytime
  14. I get no useful answer, just a lot of questions of the form "Why would you
  15. want to do that?"
  16.  
  17. In the hopes that someone will find my cause worthy and answer my question,
  18. here goes:
  19.  
  20.     I would like to connect a UPS to my NeXTstation that has a
  21.     serial cable through which it notifies the computer when
  22.     the power supply has been interupted.  On the computer I
  23.     would like to have a daemon running which monitors the serial
  24.     port; when the power goes out it will sound an alarm and
  25.     present a count-down timer approximating when power will be
  26.     lost.  This program will need to be able to inform me of a
  27.     problem even when I'm not logged in ( so I can do a clean
  28.     shutdown at the very least ).  In order to do that, I need
  29.     to open a window when no one is logged in.  I do not care
  30.     if I can't use the AppKit, I think I can manage a simple
  31.     timer in PostScript myself.  Having the daemon just assume
  32.     it can shut the computer down if no one is logged in at the
  33.     console is not acceptable, people may have telneted to the
  34.     machine ( and besides, I don't know how to do that either ).
  35.  
  36. Please, if you know how to do this, tell me.
  37.  
  38. Chris
  39.  
  40. -- 
  41. Christopher D. Audley
  42. Elec & Comp Engineering
  43. The Johns Hopkins University
  44. Internet: audley@jhunix.hcf.jhu.edu
  45.