NOAA

Geophysical Fluid
Dynamics Laboratory

Skip to: [content] [navigation]
If you are using Navigator 4.x or Internet Explorer 4.x or Omni Web 4.x , this site will not render correctly!

Vis > image_printing > GFDL Visualization Guide: MGv

GFDL Visualization Guide: MGv

NAME

     mgv - Motif interface for ghostscript, version 2.4.

SYNOPSIS

     mgv [-[no]aliaseps] [-[no]antialias]  [-[no]autoheight]  [-[no]autowidth]
     [-[no]confirmexit]  [-[no]copystdin]  [-[no]editres]  [-[no]killkids]  [-
     [no]labels] [-[no]log] [-[no]magicscroll] [-[no]menubar]  [-[no]pagelist]
     [-[no]pgnums]  [-[no]quiet] [-[no]safer] [-[no]smartsizing] [-[no]smooth]
     [-[no]status] [-arguments args] [-browser htmlbrowser] [-bunzip  cmd]  [-
     bzip cmd] [-color] [-coloricon] [-compress cmd] [-decompress cmd] [-depth
     n] [-dpi n] [-grayscale] [-greyscale] [-gslocale locale] [-gunzip cmd] [-
     gzip  cmd]  [-help]  [-helpport  port] [-helptype type] [-installicon] [-
     interpreter interp]  [-landscape]  [-longhelp]  [-magicresistance  n]  [-
     magstep  m]  [-media  media]  [-monochrome] [-monoicon] [-nocoloricon] [-
     noicon]  [-noinstall]  [-noinstall]  [-noprivatecm]  [-paper  media]   [-
     portrait]  [-prefix pfx] [-printcommand cmd] [-printer name] [-privatecm]
     [-resetboth] [-resethor]  [-resetnone]  [-resetver]  [-resolution  n]  [-
     reticulefg  color]  [-reticulewidth  n]  [-scrollpercent  percentage]  [-
     seascape] [-smoothness n] [-temp dir] [-upsidedown]  [-version]  [-visual
     visualClass]  [-visualid visualID] [-wmheight height] [-wmwidth width] [-
     xdpi n] [-ypdi n] [-zoomfg color] [-zoomwidth n] [toolkit options] [file]

DESCRIPTION

     This man page is intended as a  quick  reference  for  the  command  line
     switches; the real documentation is available as mgv.sgml (SGML, linuxdoc
     DTD), mgv.txt (ASCII text), mgv.ps (PostScript, U.S. Letter paper),  mgv-
     a4.ps (PostScript, A4 paper), and mgv.html (HTML) in /usr/local/lib/mgv.

OPTIONS

     -aliaseps, -noaliaseps
          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.

     -antialias, -noantialias
          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.

     -arguments args
          Specify additional arguments for Ghostscript; this switch  sets  the
          arguments resource.

     -autoheight, -noautoheight
          Attempt to make the main window tall enough to  accomodate  a  whole
          page.  This switch sets the autoHeight resource.

     -autowidth, -noautowidth
          Attempt to make the main window wide enough to  accomodate  a  whole
          sets the helpBrowser resource.

     -browser htmlbrowser
          Specify the HTML browser to use for the on-line  help;  this  switch
          sets the helpBrowser resource.

     -bunzip cmd
          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.

     -bzip cmd
          Specify the command to compress files with bzip2.  This switch  sets
          the bzip resource.

     -color, -grayscale, -greyscale, -monochrome
          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.

     -coloricon, -monoicon, -nocoloricon
          Use or don't use a color icon (if available).   These  switches  set
          the wlUseColorIcon resource.

     -compress cmd
          Specify the command to compress files with  compress.   This  switch
          sets the compress resource.

     -confirmexit, -noconfirmexit
          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.

     -copystdin, -nocopystdin
          Copy or don't copy files from the  standard  input  to  a  temporary
          file.  These switches set the copyStdin resource.

     -decompress cmd
          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.

     -depth n
          Specify a non-default color depth.  This  switch  sets  the  wlDepth
          resource.

     -dpi n, -resolution n
          Specify the overall resolution; these switches  set  the  Resolution
          resource.

     -editres, -noeditres
          Install or don't install support for editres.  This switch sets  the
          wlUseEditRes resource.

     -gslocale locale
          Force the GHOSTVIEW window  property  to  be  written  according  to
          locale.  This switch sets the gsLocale resource.

     -gunzip cmd
          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.

     -gzip cmd
          Specify the command to compress files with gzip.  This  switch  sets
          the gzip resource.

     -help
          Display a short summary of the available command line switches.

     -helpport port
          Specify a non-default port to use for Mosaic/CCI on-line help.  This
          switch sets the helpCCIPort resource.

     -helptype type
          Specify the help type  for  on-line  help.   This  switch  sets  the
          helpType resource to type.

     -installicon, -noicon
          Install or don't install an icon when  the  application  starts  up.
          These switches set the wlInstallIcon resource.

     -interpreter interp
          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.

     -killkids, -nokillkids
          Kill or don't kill child processes when MGv exits; this switch  sets
          the killChildrenAtExit resource.

     -labels, -nolabels
          Show or don't show the page labels in the  page  list;  this  switch
          sets the showLabels resource.

     -log, -nolog
          Show or hide the Ghostscript log on start-up; this switch  sets  the
          hideLog resource.

     -longhelp
          Display a summary, with explanations, of the available command  line
          switches.

     -magicresistance n
          Specify the number of attempts to scroll beyond the page  boundaries
          before   magical  scrolling  takes  effect;  this  switch  sets  the
          magicResistance resource.
          magicScrolling resource.

     -magicscroll, -nomagicscroll
          Allow  or  disallow  magical  scrolling;  this   switch   sets   the
          magicScrolling resource.

     -magstep m
          Set the initial magstep to m; this switch sets the magstep resource.

     -media media, -paper media
          Specify   the   default   page   media;   this   switch   sets   the
          defaultPageMedia resource.

     -menubar, -nomenubar
          Show or hide the  menu  bar  at  start  up;  this  switch  sets  the
          hideMenuBar resource.

     -pagelist, -nopagelist
          Show or hide the page  list  at  start  up;  this  switch  sets  the
          hidePageList resource.

     -pgnums, -nopgnums
          Show or don't show the page numbers in the page list; this  resource
          sets the showPageNumbers resource.

     -portrait, -landscape, -seascape, -upsidedown
          Specify the initial page orientation.

     -prefix pfx
          Specify the location of the files for the on-line help; this  switch
          sets the helpPrefix resource.

     -printcommand cmd
          Use cmd as  the  default  printer  command;  this  switch  sets  the
          printCommand resource.

     -printer name
          Use name as the default printer name; this switch sets  the  printer
          resource.

     -privatecm, -noinstall, -noprivatecm, -noinstall
          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.

     -quiet, -noquiet
          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.

     -resetboth
          Reset both the horizontal and vertical scrollbars when you move to a
          new page.  This switch sets the resetScrollBars resource to both.

     -resethor
          Reset the horizontal scrollbar when you move to a  new  page.   This
          switch sets the resetScrollBars resource to none.

     -resetnone
          Don't reset either scrollbar when you move  to  a  new  page.   This
          switch sets the resetScrollBars resource to none.

     -resetver
          Reset the vertical scrollbar when you move  to  a  new  page.   This
          switch sets the resetScrollBars resource to vertical.

     -safer, -nosafer
          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.

     -scrollpercent percentage
          Scroll the screen by percentage of the window  size  when  scrolling
          with the keyboard.  This switch sets the scrollPercentage resource.

     -smartsizing, -nosmartsizing
          Enable or disable smart sizing.  This switch  sets  the  smartSizing
          resource.

     -smooth, -nosmooth
          Enable  or  disable  smooth  scrolling.   This   switch   sets   the
          smoothScrolling resource.

     -smoothness n
          Specify how smooth smooth scrolling should be.  This switch sets the
          smoothness resource to n.

     -status, -nostatus
          Show or hide the status line at  start  up;  this  switch  sets  the
          hideStatusLine resource.

     -temp dir
          Specify the  temporary  directory;  this  switch  sets  the  tempDir
          resource.

     -version
          Display lots of  version  and  build  information  about  MGv.   The
          displayed  information  is  the  same  as  that in the Build Options
          Dialog.

     -visual visualClass
          Specify a non-default visual.  This switch  sets  the  wlVisualClass
          resource.

     -visualid visualID
          Specify a non-default visual by visual id (see xdpyinfo for  a  list
          of visual ids).  This switch sets the wlVisualID resource.

     -wmwidth width, -wmheight height
          Set the total width or height of  the  window  manager  decorations.
          These switches set the wmWidth and wmHeight resources.
          the xdpi and ydpi resources.

     -xdpi n, -ypdi n
          Specify the horizontal and vertical resolutions; these switches  set
          the xdpi and ydpi resources.

     -zoomfg color, -reticulefg color
          Specify  the  zoom  reticule   color;   these   switches   set   the
          reticuleForeground resource.

     -zoomwidth n, -reticulewidth n
          Specify  the  zoom  reticule   width;   these   switches   set   the
          reticuleLineWidth resource.

     file The PostScript file to display.

SEE ALSO

     gs(1), and mgv.sgml (SGML), mgv.txt  (ASCII  text),  mgv.ps  (PostScript,
     U.S. Letter paper), mgv-a4.ps (PostScript, A4 paper), and mgv.html (HTML)
     in /usr/local/lib/mgv.

BUGS

     Bug reports should be sent to Eric A. Howe (mu@trends.net).

AUTHOR(S)

     Eric A. Howe (mu@trends.net)  and  Matthew  D.  Francey.   Eric  A.  Howe
     (mu@trends.net) is the maintainer.  Based on Ghostview 1.5 by Tim Theisen
     (tim@cs.wisc.edu) with some ideas  from  Ghostview-VMS  2.3  by  Johannes
     Plass (plass@dipmza.physik.uni-mainz.de).
smaller bigger reset
last modified: February 20 2004.