wmgl518sm - A gl518sm-r00 monitor for Window Maker
04/29/1999 Release 0.5
Copyright (C) 1999 by Frederik Schler <fr.schueler@netsurf.de>
		http://home.netsurf.de/fr.schueler/index.html

based on:

"wmlm7x - Yet another lm7x monitor for Window Maker
Copyright (C) 1998  Sam Hawker <shawkie@geocities.com>"


This software comes with ABSOLUTELY NO WARRANTY
This software is free software, and you are welcome to redistribute it
under certain conditions
See the COPYING file for details.

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


THE AUTHORS:
===========

wmlm7x:
 
 Sam Hawker (17/m/uk)
 shawkie@geocities.com
 http://www.geocities.com/SiliconValley/Vista/2471/

changed to wmgl518sm by:
 
 Frederik Schler
 fr.schueler@netsurf.de

WHY THE CHANGES:
================

My VIA MVP3 based Motherboard has a gl518sm chip which displays much 
less information than the lm7x chip.
I need only three values: CPU temperature, FAN speed and CORE VOLTAGE 
- that's it. So I hacked this program and here it is ;-)

NB: This program works only if you have the gl518sm chip revision 00.

NOTE:
=====

This program requires the lm_sensors kernel modules 2.3.

USAGE:
======

The program shows the cpu temperature, the fan speed and the core voltage,
respectively.

WINDOWMAKER USERS:
==================

Use the "-w -s" command line option.


AFTERSTEP USERS:
================
(thanks to tygris@erols.com)

This release includes in a new command line option.
The effect this has is to enable shape support (it implies "-s"), and
to reduce the size of the window to 56x56 pixels.
The "-position position" option has also been added, so you can push
wmcdplay off the edge of the screen while it gets swallowed.
To put wmlm7x in your Wharf, add the following line in the appropriate
part of your .steprc

*Wharf wmgl518sm nil MaxSwallow "wmgl518sm" wmgl518sm -a -position -0-0 &

It is also possible (by editing and recompiling the afterstep sources),
to make Wharf handle the new 56x56 pixel window properly - yes, I add
an option to use a 56x56 pixel window, even though the AfterStep Wharf
really wants 55x57 pixel ones.

As I switched to WM much time ago (WM 0.11.x), I would apreciate any comments.

<ORIGINAL README>

I am told (by tygris@erols.com):

"Locate Wharf.c (or is it Wharf.cc?)  Should be in
AfterStep-1.0/modules/Wharf.  Locate this:

            if (Buttons[button].maxsize) {
              Buttons[button].icons[0].w = 55;
              Buttons[button].icons[0].h = 57;
            }

and change the 55 and 57 to 56's.  Save and compile."

</ORIGINAL README>
