🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #841

Re: NeXT Remote Power Up/Down?

#841
From: Eric P. Scott
Date: Tue, 01 Sep 1992 08:04
29 lines
1732 bytes
In article <1992Aug26.194128.16156@newshub.ccs.yorku.ca>
	steve@writer.yorku.ca (Steve Azmier) writes:
>shutdown -p will only show up in the Console or Terminal (if it's
>                                                        Can root open
>the Public Window Server on a station just long enough to broadcast a
>message then close it (or leave it in the state it was in)?

[This answer for 2.x systems; not verified for 3.0]

You know the "Printing" panel that pops up when your NeXT Laser
Printer runs out of paper?  That's done by a handy little program
called /usr/lib/NextPrinter/Inform.  It turns out that Inform can
display any message of your choosing:

	/usr/lib/NextPrinter/Inform "I hate recycled toner cartridges"

You can also change the text displayed on the "OK" button:

	/usr/lib/NextPrinter/Inform -b1 Extinguish "Fuser assembly on fire"

What it doesn't let you do is change the printer icon or the
"Printing" title, which is too bad, since NeXTSTEP could use
a general-purpose notification service.  (Hmm... you can probably
replace the "PrinterAlert" nib section with whatever you want.)

Oh yeah: if run by root, Inform will work even without Public
Window Server enabled.

					-=EPS=-
Technical Details
Message-ID: <1992Sep1.080442.18099@csus.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!news
References: <1992Aug25.144408.18538@udcf.glasgow.ac.uk> <1992Aug26.175739.26913@sunova.ssc.gov> <1992Aug26.194128.16156@newshub.ccs.yorku.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!news
From: eps@futon.SFSU.EDU (Eric P. Scott)
Subject: Re: NeXT Remote Power Up/Down?
Message-ID: <1992Sep1.080442.18099@csus.edu>
Sender: news@csus.edu
Reply-To: eps@cs.sfsu.edu
Organization: San Francisco State University
References: <1992Aug25.144408.18538@udcf.glasgow.ac.uk> <1992Aug26.175739.26913@sunova.ssc.gov> <1992Aug26.194128.16156@newshub.ccs.yorku.ca>
Date: Tue, 1 Sep 1992 08:04:42 GMT
Lines: 29