home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (C) 1990-1992 Michael Davidson.
- * All rights reserved.
- *
- * Permission to use, copy, modify, and distribute this software
- * and its documentation for any purpose and without fee is hereby
- * granted, provided that the above copyright notice appear in all
- * copies and that both that copyright notice and this permission
- * notice appear in supporting documentation.
- *
- * This software is provided "as is" without express or implied warranty.
- */
-
- #include <stdio.h>
- #include <stdlib.h>
-
-
- char *usage[] = {
- "",
- "show files:",
- "",
- " vg [-d <display>] [-132] [-n] [-w <delay>] [-x <depth>] files ...",
- "",
- " -d <display> specify the type of display (ATI/S3/TRIDENT/TSENG/VESA)",
- " default is to auto-detect the display type",
- "",
- " -132 use 132 column mode for menus if one is available",
- "",
- " -n nomenu - do not display file selection menus",
- "",
- " -w <delay> slide-show mode - wait <delay> seconds between images",
- "",
- " -x <depth> specify maximum color depth to use (8/15/16/24)",
- " default is maximum depth supported by the hardware",
- "",
- "test mode:",
- "",
- " vg [-d <display>] [-t] [-v]",
- "",
- " -t test mode - display a grid and color bars in each",
- " supported mode",
- "",
- " -v display a list of supported modes",
- NULL
- };
-
- void
- showUsage()
- {
- char **p;
-
- for (p = usage; *p != NULL; p++)
- puts(*p);
- }
-