Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1)

xrdb(1)

ditroff(1)



XDITVIEW(1)         RISC/os Reference Manual          XDITVIEW(1)



NAME
     xditview - display ditroff DVI files

SYNOPSIS
     xditview [-toolkitoption ...] [-option ...]

DESCRIPTION
     The xditview program displays ditroff output on an X
     display.  It uses special font metrics which match the font
     set distributed with X11vR3, so it does not require access
     to the server machine for font loading.

OPTIONS
     Xditview 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 DVI 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, 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
             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 display-
             ing text.  The default is black.

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



                         Printed 1/24/91         Release 4 Page 1





XDITVIEW(1)         RISC/os Reference Manual          XDITVIEW(1)



     -rv     This option indicates that reverse video should be
             simulated by swapping the foreground and background
             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.

USING XDITVIEW WITH DITROFF
     To build a DVI file suitable for use with xditview, use the
     device description in devX75:
          $ cd devX75
          $ makedev DESC
          $ mkdir /usr/lib/font/devX75
          $ cp *.out /usr/lib/font/devX75
          $ ditroff -TX75 ditroff-input | xditview

SEE ALSO
     X(1), xrdb(1), ditroff(1)

BUGS
     Xditview can be easily confused by attempting to display a
     DVI file constructed for the wrong device.  Support for pic
     is not yet implemented.

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




Release 4 Page 2         Printed 1/24/91





XDITVIEW(1)         RISC/os Reference Manual          XDITVIEW(1)



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)
     Malcom Slaney (Schlumberger Palo Alto Research)
     Mark Moraes (University of Toronto)













































                         Printed 1/24/91         Release 4 Page 3



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026