The command line switches for MGv generally set application resources; see Application Resources for descriptions of the various resources. The following switches affect the overall behavior of MGv:
Anti-aliasing graphic images will often make the images look worse and increase the rendering time significantly; hence, these switches are offered to give you finer control over when anti-aliasing is used. These switches set the antialiasEPS application resource.
Attempt to make the main window tall enough to accomodate a whole page. This switch sets the autoHeight resource.
Attempt to make the main window wide enough to accomodate a whole page. This switch sets the autoWidth resource.
Specify the command to decompress bzip2ed files; the command should read from the standard input and write to the standard output. This switch sets the bunzip resource.
Specify the command to compress files with bzip2. This switch sets the bzip resource.
Specify the command to compress files with compress. This switch sets the compress resource.
Require or don't require user confirmation when attempting to exit the application with more than one top level viewing window. These switches set the confirmExit resource.
Copy or don't copy files from the standard input to a temporary file. These switches set the copyStdin resource.
Specify the command to decompress compressed files; the command should read from the standard input and write to the standard output. This switch sets the decompress resource. This switch is an alias for -gunzip.
Specify the command to decompress compressed files; the command should read from the standard input and write to the standard output. This switch sets the gunzip resource.
Specify the command to compress files with gzip. This switch sets the gzip resource.
Display a short summary of the available command line switches.
Kill or don't kill child processes when MGv exits; this switch sets the killChildrenAtExit resource.
Show or don't show the page labels in the page list; this switch sets the showLabels resource.
Show or hide the Ghostscript log on start-up; this switch sets the hideLog resource.
Display a summary, with explanations, of the available command line switches.
Specify the number of attempts to scroll beyond the page boundaries before magical scrolling takes effect; this switch sets the magicResistance resource.
Allow or disallow magical scrolling; this switch sets the magicScrolling resource.
Set the initial magstep to m; this switch sets the magstep resource.
Specify the default page media; this switch sets the defaultPageMedia resource.
Show or hide the menu bar at start up; this switch sets the hideMenuBar resource.
Show or hide the page list at start up; this switch sets the hidePageList resource.
Show or don't show the page numbers in the page list; this resource sets the showPageNumbers resource.
Use cmd as the default printer command; this switch sets the printCommand resource.
Use name as the default printer name; this switch sets the printer resource.
Reset both the horizontal and vertical scrollbars when you move to a new page. This switch sets the resetScrollBars resource to both.
Reset the horizontal scrollbar when you move to a new page. This switch sets the resetScrollBars resource to horizontal.
Don't reset either scrollbar when you move to a new page. This switch sets the resetScrollBars resource to none.
Reset the vertical scrollbar when you move to a new page. This switch sets the resetScrollBars resource to vertical.
Scroll the screen by percentage of the window size when scrolling with the keyboard. This switch sets the scrollPercentage resource.
Enable or disable smart sizing. This switch sets the smartSizing resource.
Enable or disable smooth scrolling. This switch sets the smoothScrolling resource.
Specify how smooth smooth scrolling should be. This switch sets the smoothness resource to n.
Show or hide the status line at start up; this switch sets the hideStatusLine resource.
Specify the temporary directory; this switch sets the tempDir resource.
Display lots of version and build information about MGv. The displayed information is the same as that in the Build Options Dialog.
Set the total width or height of the window manager decorations. These switches set the wmWidth and wmHeight resources.
Specify the zoom reticule color; these switches set the reticuleForeground resource.
Specify the zoom reticule width; these switches set the reticuleLineWidth resource.
Enable or disable anti-aliasing within Ghostscript; by default, anti-aliasing is enabled. If anti-aliasing is enable, then the x11alpha device is used and Ghostscript will be run with the -dNOPLATFONTS switch; if anti-aliasing is disabled, then the x11 device will be used. This switch sets the antialias resource for Ghostview widgets.
Specify additional arguments for Ghostscript; this switch sets the arguments resource.
Force color/grayscale/monochrome display; these switches do not have anything to do with the visual, depth, or colormap that MGv uses, you will want to use the -visual, -visualid, -depth, and -privatecm switches for that. These switches set the palette resource.
Specify the overall resolution; these switches set the Resolution resource.
Force the GHOSTVIEW window property to be written according to locale. This switch sets the gsLocale resource.
Use interp as the PostScript interpreter. This switch is useful if you want to use an interpreter that is not in your PATH or is not the first gs is your PATH. This switch sets the interpreter resource.
Specify the initial page orientation.
Use or don't use -dQUIET with Ghostscript; this switch sets the quiet resource. The -dQUIET switch tells Ghostscript to suppresses the normal startup messages.
Use or don't use -dSAFER with Ghostscript; this switch sets the safer resource. When run with the -dSAFER switch, Ghostscript disables the deletefile and renamefile operators and can only open files with read-only access.
Specify the horizontal and vertical resolutions; these switches set the xdpi and ydpi resources.
Specify a non-default color depth. This switch sets the wlDepth resource.
Install or don't install a private colormap. Non-default visual and/or depth settings may cause this switch to be ignored. This switch sets the wlUsePrivateColormap resource.
Specify a non-default visual. This switch sets the wlVisualClass resource.
Specify a non-default visual by visual id (see xdpyinfo for a list of visual ids). This switch sets the wlVisualID resource.
Install or don't install support for editres. This switch sets the wlUseEditRes resource.
Specify the HTML browser to use for the on-line help; this switch sets the helpBrowser resource.
Specify a non-default port to use for Mosaic/CCI on-line help. This switch sets the helpCCIPort resource.
Specify the help type for on-line help. This switch sets the helpType resource to type.
Specify the location of the files for the on-line help; this switch sets the helpPrefix resource.
Use or don't use a color icon (if available). These switches set the wlUseColorIcon resource.
Install or don't install an icon when the application starts up. These switches set the wlInstallIcon resource.