ftp.nice.ch/pub/next/tools/workspace/DiskPig.README

This is the README for DiskPig.1.0.N.bs.tar.gz [Download] [Browse] [Up]

This is an example of a LoginHook to remind users to watch their
disk consumption.  It does not make use of the username passed by
loginwindow; it assumes that everyone's home directory is on a
"/Users" filesystem.  If this isn't appropriate for your site,
feel free to change the code!  This is merely an EXAMPLE.  Adapt
it to your needs, merge in whatever functionality you see fit.

THIS CODE IS PROVIDED ON AN "AS-IS" BASIS.  NO WARRANTY IS
EXPRESSED OR IMPLIED.  USER ASSUMES FULL RESPONSIBILITY FOR ANY
INCIDENTAL OR CONSEQUENTIAL DAMAGES RESULTING FROM USE OR
MODIFICATION OF THIS SOFTWARE.  THIS SOFTWARE USES TECHNIQUES
DESIGNATED "UNDOCUMENTED" BY NeXT COMPUTER, INC., AND MAY NOT
FUNCTION CORRECTLY WITH SOFTWARE RELEASES SUBSEQUENT TO 2.x.

Some graphics come from NeXT's Workspace Manager and Mail;
sound from the BusyBox example.  The disk percentage computation
is taken from BSD's df utility.

To cause this program to be invoked by loginwindow before
launching the Workspace, (as root)

	# dwrite loginwindow LoginHook /full/path/to/executable

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.