GXDITVIEW(1)

GXDITVIEW(1)

gvim Home Page User Commands Index gzexe


NAME
       gxditview - display gtroff output files

SYNOPSIS
       gxditview [-toolkitoption ...] [-option ...] [filename]

DESCRIPTION
       The  gxditview program displays gtroff output on an X dis-
       play.  It uses the standard X11  fonts,  so  it  does  not
       require access to the server machine for font loading.

       If  filename is -, gxditview will read the standard input.

       The left mouse button brings up a menu with the  following
       entries:

       Next Page
               Display the next page.

       Previous Page
               Display the previous page.

       Select Page
               Select  a  particular numbered page specified by a
               dialog box.

       Print   Print the gtroff output using a command  specified
               by  a  dialog  box.  The default command initially
               displayed is controlled by the printCommand appli-
               cation  resource, and by the -printCommand option.

       Open    Open for display a new file specified by a  dialog
               box.   The  file should contain gtroff output.  If
               the filename starts with | it will be taken to  be
               a command to read from.

       Quit    Exit from gxditview.

       The  n,  Space  and Return keys are bound to the Next Page
       action.  The p, BackSpace and Delete keys are bound to the
       Previous Page  action.   The  q  key  is bound to the Quit
       action.  The r key is  bound  to  the  Rerasterize  action
       which rereads the current file, and redisplays the current
       page; if the current file is a command, the  command  will
       be reexecuted.

       The  paperlength  and paperwidth commands in the DESC file
       specify the length and width in machine units of the  vir-
       tual page displayed by gxditview.

OPTIONS
       Gxditview  accepts  all  of the standard X Toolkit command
       line options along  with  the  additional  options  listed
       below:

       -help   This  option indicates that a brief summary of the
               allowed options should be printed.

       -page   This option specifies the page number of the docu-
               ment to be displayed.

       -backingStore backing-store-type
               Redisplay  of  the  gtroff  output window can take
               upto a second or so, this option causes the server
               to  save  the  window  contents so that when it is
               scrolled  around  the  viewport,  the  window   is
               painted  from  contents  saved  in  backing store.
               backing-store-type can be  one  of  Always,  When-
               Mapped or NotUseful.

       -printCommand command
               The  default  command  displayed in the dialog box
               for the Print menu entry will be command.

       -resolution res
               The gtroff output file will be displayed at a res-
               olution  of res dpi, unless the DESC file contains
               the X11 command, in which case the device  resolu-
               tion  will be used.  This corresponds the Dvi wid-
               get's resolution resource.  The default is 75.

       -filename string
               The default filename displayed in the  dialog  box
               for  the Open menu entry will be string.  This can
               be either a filename, or a command  starting  with
               |.

       The  following  standard  X Toolkit command line arguments
       are commonly used with gxditview:

       -bg color
               This option specifies the color  to  use  for  the
               background of the window.  The default is white.

       -bd color
               This  option  specifies  the  color to use for the
               border of the window.  The default is black.

       -bw number
               This option specifies the width in pixels  of  the
               border surrounding the window.

       -fg color
               This  option  specifies  the color to use for dis-
               playing text.  The default is black.

       -fn font
               This option specifies the font to be used for dis-
               playing widget text.  The default is fixed.

       -rv     This option indicates that reverse video should be
               simulated by swapping  the  foreground  and  back-
               ground colors.

       -geometry geometry
               This option specifies the preferred size and posi-
               tion of the window.

       -display host:display
               This option specifies the X server to contact.

       -xrm resourcestring
               This option specifies  a  resource  string  to  be
               used.

X DEFAULTS
       This  program  uses  the  Dvi widget in the X Toolkit.  It
       understands all of the core resource names and classes  as
       well as:

       width (class Width)
               Specifies the width of the window.

       height (class Height)
               Specifies the height of the window.

       foreground (class Foreground)
               Specifies the default foreground color.

       font (class Font)
               Specifies  the font to be used for error messages.

       fontMap (class FontMap)
               Specifies the mapping from groff font names  to  X
               font  names.   This  must be a string containing a
               sequence of lines.  Each line contains two whites-
               pace  separated fields: first the groff font name,
               and secondly the X font name.  The default is
               "\
               TR   -adobe-times-medium-r-normal--*-100-*-*-*-*-iso8859-1\n\
               TI   -adobe-times-medium-i-normal--*-100-*-*-*-*-iso8859-1\n\
               TB   -adobe-times-bold-r-normal--*-100-*-*-*-*-iso8859-1\n\
               TBI  -adobe-times-bold-i-normal--*-100-*-*-*-*-iso8859-1\n\
               CR   -adobe-courier-medium-r-normal--*-100-*-*-*-*-iso8859-1\n\
               CI   -adobe-courier-medium-o-normal--*-100-*-*-*-*-iso8859-1\n\
               CB   -adobe-courier-bold-r-normal--*-100-*-*-*-*-iso8859-1\n\
               CBI  -adobe-courier-bold-o-normal--*-100-*-*-*-*-iso8859-1\n\
               HR   -adobe-helvetica-medium-r-normal--*-100-*-*-*-*-iso8859-1\n\
               HI   -adobe-helvetica-medium-o-normal--*-100-*-*-*-*-iso8859-1\n\
               HB   -adobe-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1\n\
               HBI  -adobe-helvetica-bold-o-normal--*-100-*-*-*-*-iso8859-1\n\
               NR   -adobe-new century schoolbook-medium-r-normal--*-100-*-*-*-*-iso8859-1\n\
               NI   -adobe-new century schoolbook-medium-i-normal--*-100-*-*-*-*-iso8859-1\n\
               NB   -adobe-new century schoolbook-bold-r-normal--*-100-*-*-*-*-iso8859-1\n\
               NBI  -adobe-new century schoolbook-bold-i-normal--*-100-*-*-*-*-iso8859-1\n\
               S    -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\n\
               SS   -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\n\
               "

SEE ALSO
       X(1) xrdb(1) gtroff(1) groff(1) 

ORIGIN
       This  program  is  derived  from  xditview;  portions   of
       xditview  originated in xtroff which was derived from sun-
       troff.

COPYRIGHT
       Copyright 1989, Massachusetts Institute of Technology.
       See X(1) for a full statement of rights and permissions.

AUTHORS
       Keith Packard (MIT X Consortium)
       Richard L. Hyde (Purdue)
       David Slattengren (Berkeley)
       Malcolm Slaney (Schlumberger Palo Alto Research)
       Mark Moraes (University of Toronto)
       James Clark

gvim Home Page User Commands Index gzexe