DISCLAIMER
----------
This software comes with ABSOLUTELY NO WARRANTY.
If you trash your screen, or turn mad trying to make it work, you are on your
own.

HISTORY / PURPOSE
-----------------
chgres (CHanGe RESolution) is a small XFree86-specific tool which allows you
to change/query the resolution of your screen via a command-line interface.
Its primary use is for writing scripts.
I wrote this program to be able to watch my DVDs full screen (my PII 333MHz can
only render @ 800x600 without dropping too many frames) so it may not fit your
specific needs.

USE
---
The user interface is very basic; its general form is
	chgres <command> [<parameter>]

where command can be

* list	: lists the available modes

 example:
 % chgres list
 1400x1050@184000
 1280x1024@157500
 1152x864@108000
 1024x768@94500
 800x600@56300
 640x480@36000
 %

* get	: returns the current mode

 example:
 % chgres get
 1400x1050@184000
 %

* set	: mode switch (needs a mode specification, use 'list' for a list of the
 possible values)

 example:
 % chgres set 800x600@56300
 %
 or
 % chgres set 800x600
 %

the program returns 0 in case of success, another value if an error occured.

REMARKS
-------
* and yes, I know about [CTRL][ALT][+/-]
