man pages section 1: User Commands

Exit Print View

Updated: July 2014

xditview (1)


xditview - display ditroff output


/usr/bin/xditview  [  -toolkitoption ... ] [ -option ... ] [
filename ]


User Commands                                         XDITVIEW(1)

     xditview - display ditroff output

     /usr/bin/xditview  [  -toolkitoption ... ] [ -option ... ] [
     filename ]

     The xditview program displays ditroff output on  an  X  dis-
     play.  It uses no special metrics and automatically converts
     the printer coordinates into screen coordinates;  using  the
     user-specified  screen  resolution,  rather  than the actual
     resolution so that the appropriate fonts can be  found.   If
     ``-'' is given as the filename, xditview reads from standard
     input.   If  ``|''  is  the  first  character  of  filename,
     xditview  forks  sh to run the rest of the ``file name'' and
     uses the standard output of that command.

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

     -page page-number
             This  option  specifies the page number of the docu-
             ment to be displayed at start up time.

     -resolution screen-resolution
             This specifies the desired screen resolution to use;
             fonts  will  be opened by requesting this resolution
             field in the XLFD names.

             Some X servers incorrectly implement  PolyText  with
             multiple  strings  per  request.   This  option sup-
             presses the use of this feature in xditview.

     -backingStore backing-store-type
             Redisplay can take up to 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,
             WhenMapped or NotUseful.

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

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

     -bd color

X Version 11       Last change: xditview 1.0.3                  1

User Commands                                         XDITVIEW(1)

             This  option specifies the color to use for the bor-
             der 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 display-
             ing 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  background

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

     This  program  uses a Dvi widget.  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)
             To associate the ditroff fonts  with  appropriate  X
             fonts,  this  string resource contains a set of new-
             line separated specifications, each  of  which  con-
             sists  of  a  ditroff  name, some white space and an
             XLFD pattern with * characters in appropriate places
             to  allow  all  sizes  to  be  listed.   The default

X Version 11       Last change: xditview 1.0.3                  2

User Commands                                         XDITVIEW(1)

             fontMap is:

             R    -*-times-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
             I    -*-times-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\
             B    -*-times-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
             F    -*-times-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\
             BI   -*-times-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\
             C    -*-courier-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
             CO   -*-courier-medium-o-normal--*-*-*-*-*-*-iso8859-1\n\
             CB   -*-courier-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
             CF   -*-courier-bold-o-normal--*-*-*-*-*-*-iso8859-1\n\
             H    -*-helvetica-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
             HO   -*-helvetica-medium-o-normal--*-*-*-*-*-*-iso8859-1\n\
             HB   -*-helvetica-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
             HF   -*-helvetica-bold-o-normal--*-*-*-*-*-*-iso8859-1\n\
             N    -*-new century schoolbook-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
             NI   -*-new century schoolbook-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\
             NB   -*-new century schoolbook-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
             NF   -*-new century schoolbook-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\
             A    -*-charter-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
             AI   -*-charter-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\
             AB   -*-charter-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
             AF   -*-charter-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\
             S    -*-symbol-medium-r-normal--*-*-*-*-*-*-adobe-fontspecific\n\
             S2   -*-symbol-medium-r-normal--*-*-*-*-*-*-adobe-fontspecific\n

     You can use any ditroff output file with xditview,  although
     files  which  use  the fonts appropriate to the fontMap will
     look more accurate on the screen.  On servers which  support
     scaled  fonts,  all  requested font sizes will be accurately
     reflected on the screen; for servers which  do  not  support
     scaled xditview will use the closest font from the same fam-

     X(5), xrdb(1), ditroff(1), X Logical Font  Description  Con-

     Portions  of  this  program  originated  in xtroff which was
     derived from suntroff.

     Copyright 1994 X Consortium
     See X(5) for a full statement of rights and permissions.

     Keith Packard (MIT X Consortium)
     Richard L. Hyde (Purdue)
     David Slattengren (Berkeley)

X Version 11       Last change: xditview 1.0.3                  3

User Commands                                         XDITVIEW(1)

     Malcom Slaney (Schlumberger Palo Alto Research)
     Mark Moraes (University of Toronto)

     See  attributes(5)  for  descriptions   of   the   following

     |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
     |Availability                 |document/viewer/xditview     |
     |Interface Stability          |Uncommitted                  |

X Version 11       Last change: xditview 1.0.3                  4