ModeSelect V1.0 by Steve Conley
Serpentine Network Industries
root@serpentine.dyn.ml.org
-------------------------------
This program is [c]1998
Serpentine Network Industries
Availible under the Gnu Public
License -- no warrenty!



WHAT IS THIS?
-------------

All the workstations here at Serpentine Network Industries have
XDM display setups.  When you log in, I've got it defaulting to
loading the server in 24 bit color mode.  However, I've found
that many applications like 8 bit color, and the 24 bit color
isn't that good on the cheap monitors (not so much because of
poor color, but the monitors overload I think and make buzz
noises, which is a Bad Thing, I'd wadger).

Anyway, what would end out happening is on any given server we'd
run two X servers at once, which obviously eats CPU and memory,
and there's other problems too which I won't get in to.

So, I thought, wouldn't it be great if you could choose which
X server you want to run at login?  So that's why I wrote this.
You run this in your XDM Setup_0 file; you'll find it in
/var/X11R6/lib/xdm/

and it comes up with a little window with 3 buttons that change
the file
/var/X11R6/lib/xdm/Xservers
to set it to 8bpp, 16bpp, or 24bpp.

Now, you can edit the main.c file -- at the top you can change the
path and the format of the Xservers file written, but my defaults
will work with Slackware at least.


WHAT'S LIBSX?
-------------

Libsx is the library I used to write this program.  It's the Simple
X11 library, and I've included a full version of it with this program.
It's really cool for making quick little X programs like mine which
would otherwise take hours to write.  I'd like to thank the author
of that program greatly; too bad I can't get in contact with him and
thank him personally.



QUESTIONS?
----------

If you have questions, comments, or even if you find this program
useful, email me at root@serpentine.dyn.ml.org.


Steve Conley
Head Programmer and Sys Admin, Serpentine Network Industries
