home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.next.misc:21813 comp.sys.next.programmer:7112
- 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
- From: audley@jhunix.hcf.jhu.edu (Christopher D Audley)
- Newsgroups: comp.sys.next.misc,comp.sys.next.programmer
- Subject: WindowServer connections
- Message-ID: <1992Nov10.010325.4556@jhunix.hcf.jhu.edu>
- Date: 10 Nov 92 01:03:25 GMT
- Distribution: na
- Organization: HAC - Johns Hopkins University, Baltimore
- Lines: 33
-
- Its been asked many times how one opens a connection to the WindowServer
- when no one is logged in ( by myself at least three times ). Everytime
- I get no useful answer, just a lot of questions of the form "Why would you
- want to do that?"
-
- In the hopes that someone will find my cause worthy and answer my question,
- here goes:
-
- I would like to connect a UPS to my NeXTstation that has a
- serial cable through which it notifies the computer when
- the power supply has been interupted. On the computer I
- would like to have a daemon running which monitors the serial
- port; when the power goes out it will sound an alarm and
- present a count-down timer approximating when power will be
- lost. This program will need to be able to inform me of a
- problem even when I'm not logged in ( so I can do a clean
- shutdown at the very least ). In order to do that, I need
- to open a window when no one is logged in. I do not care
- if I can't use the AppKit, I think I can manage a simple
- timer in PostScript myself. Having the daemon just assume
- it can shut the computer down if no one is logged in at the
- console is not acceptable, people may have telneted to the
- machine ( and besides, I don't know how to do that either ).
-
- Please, if you know how to do this, tell me.
-
- Chris
-
- --
- Christopher D. Audley
- Elec & Comp Engineering
- The Johns Hopkins University
- Internet: audley@jhunix.hcf.jhu.edu
-