home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume17 / xdvi / part01 < prev    next >
Encoding:
Text File  |  1992-03-22  |  57.6 KB  |  1,528 lines

  1. Newsgroups: comp.sources.x
  2. Path: uunet!zaphod.mps.ohio-state.edu!mips!msi!dcmartin
  3. From: vojta@powdermilk.berkeley.edu (Paul Vojta)
  4. Subject: v17i023: xdvi, dvi previewer, Part01/05
  5. Message-ID: <csx-17i023-xdvi@uunet.UU.NET>
  6. Originator: dcmartin@fascet
  7. Sender: dcmartin@msi.com (David C. Martin - Moderator)
  8. Organization: Molecular Simulations, Inc.
  9. Date: Mon, 23 Mar 1992 17:29:28 GMT
  10. Approved: dcmartin@msi.com
  11.  
  12. Submitted-by: vojta@powdermilk.berkeley.edu (Paul Vojta)
  13. Posting-number: Volume 17, Issue 23
  14. Archive-name: xdvi/part01
  15.  
  16. #! /bin/sh
  17. # This is a shell archive.  Remove anything before this line, then unpack
  18. # it by saving it into a file and typing "sh file".  To overwrite existing
  19. # files, type "sh file -c".  You can also feed this as standard input via
  20. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  21. # will see the following message at the end:
  22. #        "End of shell archive."
  23. # Contents:  README README.VMS Imakefile Makefile Makefile_10
  24. #   MAKE_VMS.COM VMS_C.OPT XDVI.RNH
  25. # Wrapped by vojta@powdermilk.berkeley.edu on Tue Mar 17 17:45:45 1992
  26. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  27. if test -f 'README' -a "${1}" != "-c" ; then 
  28.   echo shar: Will not clobber existing file \"'README'\"
  29. else
  30. echo shar: Extracting \"'README'\" \(11038 characters\)
  31. sed "s/^X//" >'README' <<'END_OF_FILE'
  32. XINSTALLATION INSTRUCTIONS
  33. X
  34. XTo install, do the following:
  35. X    1.    Read the ENVIRONMENT section of xdvi_man.sed to determine the correct
  36. X    default values for the XDVIFONTS and XDVISIZES environment variables.
  37. X    Edit the Imakefile or Makefile and change the values of the make
  38. X    variables DEFAULT_FONT_PATH and DEFAULT_FONT_SIZES to these values.
  39. X    If your site uses virtual fonts, do the same thing with the
  40. X    DEFAULT_VF_PATH variable.  Note that support of virtual fonts in xdvi
  41. X    does not include support of built-in Postscript<tm> fonts.
  42. X
  43. X    (Note:  for X10 compilation, use Makefile_10 instead of Makefile.)
  44. X
  45. X    You may also wish to change other compilation options; they are
  46. X    described later in this file.
  47. X
  48. X    2.  make xdvi and try it out.  If the settings in step one are incorrect,
  49. X    you can use the corresponding environment variables to quickly try out
  50. X    different values.  If the values set in step 1 were incorrect,
  51. X    rm font_open.o and go back to step 1.
  52. X
  53. X    If you get the error that the #include file <stdlib.h> does not exist,
  54. X    then you should include -DX_NOT_STDC_ENV in the DEFS variable in the
  55. X    Makefile or Imakefile.  In X11R5 or later this problem should not
  56. X    come up.
  57. X
  58. X    3.  make xdvi.man.
  59. X
  60. X    4.  Install xdvi and xdvi.man.
  61. X
  62. X
  63. X    The X10 flag only affects xdvi.c (and the flags MSBITFIRST, BMSHORT,
  64. X    and BMLONG, see below).
  65. X
  66. X    Note in particular the compilation flags USE_PK, USE_GF, and USE_PXL,
  67. X    which can be set to reflect which font formats are actually used at
  68. X    your site.
  69. X
  70. XOther compilation flags are:
  71. X    SYSV        (dvi_init.c font_open.c xdvi.c)  Set for System V
  72. X            compilation.
  73. X    VMS        Set for VMS compilation.
  74. X    MSBITFIRST    (X11 only; xdvi.c dvi_draw.c gf.c pk.c pxl.c)  Store
  75. X            bitmaps internally with the most significant bit at
  76. X            the left.  For performance reasons, it would be best
  77. X            to set this to coincide with what your server uses.
  78. X            Use the keystroke '^P' to find information in this
  79. X            regard.  Generally, you should use MSBITFIRST if and
  80. X            only if '^P' reports bitord = 1, and BMSHORT/BMLONG
  81. X            (below) should be set to match whatever '^P' reports
  82. X            under "Unit =".  But, if bitord = byteord, then the
  83. X            latter setting should not matter much.
  84. X    BMSHORT        (X11 only; xdvi.c dvi_draw.c gf.c pk.c pxl.c)  Store
  85. X            bitmaps in short integers instead of bytes.  See
  86. X            MSBITFIRST for other relevant comments.  To check
  87. X            performance, you can use:
  88. X                time xdvi -d 8 file.dvi
  89. X    BMLONG        (X11 only; xdvi.c dvi_draw.c gf.c pk.c pxl.c)  Store
  90. X            bitmaps in long integers instead of bytes.
  91. X    ALTFONT        (xdvi.c)  Default font to use if the font named in the
  92. X            dvi file cannot be found.  Can be set to NULL.  By
  93. X            default, it is "cmr10".
  94. X    SEARCH_SUBDIRECTORIES (font_open.c)  Enable recursive searching of
  95. X            subdirectories for font files (* and ** specifiers).
  96. X            This also enables the TEXFONTS_SUBDIR environment
  97. X            variable and the DEFAULT_SUBDIR_PATH makefile variable.
  98. X    XDVIFONTS_ONLY    (font_open.c) Never check the TEXFONTS environment
  99. X            variable.  Normally xdvi checks TEXFONTS if the
  100. X            XDVIFONTS variable is not set.  This option is
  101. X            recommended if the version of TeX in use requires
  102. X            that the TEXFONTS variable be set.  See the relevant
  103. X            paragraph in xdvi_man.sed for more details.  This
  104. X            option turns off that paragraph.
  105. X    NOTOOL        (X11 only; xdvi.c)  Compile using raw X calls.
  106. X    BUTTONS        (xdvi.c)  Put radio buttons on the right side of the
  107. X            window for commonly used commands.
  108. X    A4        (xdvi.c)  Use European size paper by default.
  109. X    NOQUERY        (xdvi.c)  Set this if you have trouble compiling the
  110. X            definition of drawingWidgetClass.
  111. X
  112. XAll flags should be set in the appropriate Makefile via the variable ``DEFS''.
  113. X
  114. X================================================================
  115. X
  116. X    This program is the combined work of many people, including but not
  117. Xrestricted to:
  118. X    Eric Cooper, CMU
  119. X    Bob Scheifler, MIT LCS
  120. X    Paal Kvamme, Norwegian Institute of Technology
  121. X    H\aa vard Eidnes, Norwegian Institute of Technology
  122. X    Mark Eichin, MIT SIPB
  123. X    Paul Vojta, UC Berkeley
  124. X    Jeffrey Lee, U of Toronto
  125. X    Donald Richardson, Clarkson Univ.
  126. XAt the present time, the person to send bug reports to is Paul Vojta,
  127. X    vojta@math.berkeley.edu.
  128. X
  129. XIn addition to the various comp.sources.x archives, current versions of this
  130. Xprogram can also be obtained via anonymous ftp from the following location:
  131. X    export.lcs.mit.edu    [18.24.0.12]    file contrib/xdvi.tar.Z
  132. XTo ease the load on export, you may also check other X archives, for example:
  133. X    gatekeeper.dec.com    [16.1.0.2]    file pub/X11/contrib/xdvi.tar.Z
  134. X
  135. XPaul Vojta, 17 March 1992
  136. X
  137. X================================================================
  138. X
  139. XNote for IBM RS6000 users:  some of the libraries are in non-obvious places:
  140. X
  141. X    libXmu    /usr/lpp/X11/Xamples/lib/Xmu/libXmu.a
  142. X    libXaw    /usr/lpp/X11/Xamples/lib/Xaw/libXaw.a
  143. X
  144. XThese should be moved to /usr/lib or some more reasonable place (or use
  145. Xsymlinks), and ditto for the include files, which are initially placed
  146. Xin /usr/lpp/X11/Xamples/include.
  147. X
  148. X================================================================
  149. X
  150. XNotes of historical nature follow.  Most recent changes are listed at the end
  151. Xof the file.
  152. X
  153. X================================================================
  154. X
  155. XThis directory contains a version of xdvi capable of reading GF, PXL
  156. Xand PK font files. This version of xdvi is based on the source that
  157. X"came with" X v10r3. Xdvi was modified by Paal Kvamme at the Norwegian
  158. XInstitute of Technology, based on the modifications I had made to
  159. Xdviimp (a dvi to ImPress converter). This code was again more or less
  160. Xdirectly translated from the web source of PKtoPX.
  161. X
  162. XIf you discover (and fix) any bugs in this code, please notify me, so
  163. XI can make the corresponding changes myself.
  164. X
  165. X---------
  166. XH}vard Eidnes    (TeXish: H\aa vard Eidnes)
  167. XDivision of Computer Science
  168. XNorwegian Institute of Technology
  169. X
  170. XE-Mail: h_eidnes%vax.runit.unit.uninett@nta-vax.arpa
  171. X================================================================
  172. XAlso has path search added by Mark Eichin, looks in TEXFONTS
  173. X================================================================
  174. X
  175. X================================================================
  176. XAdditional notes:
  177. X    X11 version now works on the IBM PC/RT as well as VAX.
  178. X            [eichin:19880313.1330EST]
  179. X================================================================
  180. X*MORE* fixes (for athena release locker) [eichin:19880722.2058EST]
  181. XFixes:
  182. X    narrow vertical and horizontal lines no longer disappear.
  183. X    bogus underlining (which usually occured on even sample sizes
  184. Xof odd sized characters) no longer occurs.
  185. X    -S number (or typing number followed by S) will adjust the
  186. Xsampling fraction; 0 is special cased to mean if anything in the
  187. Xsampled zone is set, set the sample, else clear it. Interesting to
  188. Xexperiment with, though not useful for reading (the default value of 3
  189. Xis just right.)
  190. X    -display and -geometry arguments work (so do old style forms,
  191. Xthough they were broken before)
  192. X    fixed one of the PK debugging messages to print the correct
  193. Xfont name instead of printing the pointer as text.
  194. X    included Ken Raeburn <raeburn>'s changes to support multiple
  195. Xscreens.
  196. X================================================================
  197. XMore changes:
  198. X
  199. X    1.  Incorporated the bitmap under a viewport widget using the toolkit
  200. X    (X11 only);
  201. X    2.  Added an icon and icon geometry arguments (X11 only);
  202. X    3.  Supported window resizing;
  203. X    4.  Added a 'c' option to move whatever is currently under the cursor to
  204. X    the center of the window;
  205. X    5.  Added an 'R' option to reread the .dvi file, and added logic to make
  206. X    'R' happen automatically whenever any part of the window is exposed
  207. X    and the dvi file changes (so that you can iconify xdvi, run tex,
  208. X    deiconify xdvi, and voila!);
  209. X    6.  Added a 'magnifying glass':  when you push a button, a window pops
  210. X    up, showing the region of the page, unshrunk;
  211. X    7.  Added support for gf fonts;
  212. X    8.  Upgraded font searching (at our site we use /usr/custom/tex82/gf
  213. X    for gf fonts, /usr/custom/tex82/pk for pk fonts, etc.);
  214. X    9.  Made numerous internal changes (removed all the lint I could,
  215. X    made unshrunk bitmaps permanently resident, which speeds up size
  216. X    changing, made table.h necessary only for pxl.h, split up the source
  217. X    file into xdvi.c, dvi.c, gf.c, pxl.c, and pk.c, made shrinking occur
  218. X    relative to the character's hot point, etc.)
  219. X   10.  The program reads SIGIO signals and processes incoming events
  220. X    immediately, so that it can stop displaying things that would be
  221. X    erased anyway.  If these interrupts are not coming through, then
  222. X    it also checks for incoming events every several dozen characters
  223. X    displayed.
  224. X   11.  Further split up dvi.c into dvi_init.c and dvi_draw.c; added
  225. X    compilation options for various internal bitmap representations.
  226. X    Fixed it so gcc won't give warnings, and so it works with R3 toolkit.
  227. X--  Patchlevel 2:  --
  228. X   12.  Added MAXCHARS compilation option.  Eliminated the nonsense with
  229. X    generating table.h.
  230. X--  Patchlevel 3:  --
  231. X   13.  Added -altfont command line option and SYSV compilation option.
  232. X================================================================================
  233. X
  234. X4/1989  Modified for System V boxes. -DSYSV compiler option.
  235. X
  236. XDonald Richardson, donr@crystal.mie.clarkson.edu
  237. X
  238. X================================================================================
  239. X--  Patchlevel 4:  --
  240. X   14.  Removed MAXCHARS compilation option.  It's automatic now.  Made X10
  241. X    scrolling smoother.  Implemented the moving magnifying glass.
  242. X--  Patchlevel 5:  --
  243. X   15.  Implemented compilation without the toolkit, as well as scrollbars
  244. X    and tpic support in X10.  Also this version should work with color
  245. X    VAXstations, although overstrike characters will come out incorrectly.
  246. X   16.  Fixed a bug in gf reading routines:  specials at the beginning of
  247. X    a character def. were not being processed.  Thanks to
  248. X    kevin@amath.washington.edu for a bug report and fix.
  249. X   17.  Added 'k' keystroke.
  250. X--  Patchlevel 6:  --
  251. X   18.  Added buttons on the right side of the window.
  252. X   19.  Added -pagewidth and -pageheight command line options and A4
  253. X    compilation option.
  254. X   20.  Added a yet more robust font finding algorithm.
  255. X--  Patchlevel 7:  --
  256. X   21.  Replaced -pagewidth and -pageheight options with -paper.
  257. X--  Patchlevel 8:  --
  258. X   22.  Added compatibility for X11R4 and VMS.  Fixed up alignment of rules.
  259. X--  Patchlevel 9:  --
  260. X   23.    Removed obsolete '#' and '=' options from the X11 version:  they
  261. X    interfere with emacs.
  262. X--  Patchlevel 10: --
  263. X   24.    Implemented arrow keys, expert mode, searching for the font's actual
  264. X    size first, the -[xy]offset and -sw options, and numerous bug fixes.
  265. X--  Patchlevel 11: --
  266. X   25.    Implemented recursive searching for font files in subdirectories.
  267. X   26.    Changed +sw to -hushspecials and implemented -hush.
  268. X   27.    Modified mksedscript so that the man page comes out neater.
  269. X   28.  Added a -keep option and resource to match the `k' keystroke.
  270. X--  Patchlevel 12: --
  271. X   29.  Implemented virtual fonts (this does not include built-in
  272. X    Postscript<tm> fonts!!!).
  273. X   30.    Numerous bug fixes, and X11R5 support.
  274. X
  275. XPaul Vojta, vojta@math.berkeley.edu
  276. END_OF_FILE
  277. if test 11038 -ne `wc -c <'README'`; then
  278.     echo shar: \"'README'\" unpacked with wrong size!
  279. fi
  280. # end of 'README'
  281. fi
  282. if test -f 'README.VMS' -a "${1}" != "-c" ; then 
  283.   echo shar: Will not clobber existing file \"'README.VMS'\"
  284. else
  285. echo shar: Extracting \"'README.VMS'\" \(19993 characters\)
  286. sed "s/^X//" >'README.VMS' <<'END_OF_FILE'
  287. XNAME
  288. X----
  289. X
  290. XXDVI - DVI Previewer for VAX VMS systems running the DECWindows software.
  291. X
  292. XSYNOPSIS
  293. X--------
  294. X
  295. X   XDVI [+[page]] [-s shrink] [-density density] [-p pixels] [-l] [-rv]
  296. X        [-bw width] [-fg color] [-bg color] [-hl color] [-bd color] [-cr color]
  297. X        [-margins dimen] [-sidemargin dimen] [-topmargin dimen]
  298. X        [-offsets dimen] [-xoffset dimen] [-yoffset dimen] [-keep]
  299. X        [-hushspecials] [-hushchars] [-hush] [-paper papertype] [-mgs[n] size]
  300. X        [-altfont font] [-thorough] [-copy] [-geometry geometry]
  301. X        [-icongeometry geometry] [-iconic] [-display display] dvi_file
  302. X
  303. XDESCRIPTION
  304. X-----------
  305. X
  306. X   XDVI is a program which runs under the DECWindows system. It is used to
  307. X   preview DVI files, such as those produced by TeX and LaTeX.
  308. X
  309. X   XDVI has the capability of displaying the file reduced by various (integer)
  310. X   factors, and also has a "magnifying glass" which allows one to see a small
  311. X   part of the unshrunk image momentarily.
  312. X
  313. X   Before displaying any page or part thereof, XDVI checks to see if the DVI
  314. X   file has changed since the last time it was displayed.  If this is the case,
  315. X   XDVI will reinitialize itself for the new DVI file.  For this reason,
  316. X   exposing parts of the XDVI window while TeX is running should be avoided.
  317. X   This feature allows you to preview many versions of the same file while
  318. X   running XDVI only once.
  319. X
  320. XOPTIONS
  321. X-------
  322. X
  323. X   In addition to specifying the .DVI file (with or without the .DVI), XDVI
  324. X   supports the following command line options.  If the option begins with a "+"
  325. X   instead of a "-", the option is restored to its default value.  By default,
  326. X   these options can be set via the resource names given in parentheses in the
  327. X   description of each option.
  328. X
  329. X   +<page>               Specifies the first page to show.  If + is given
  330. X                         without a number, the last page is assumed; the first
  331. X                         page is the default.
  332. X
  333. X   -s <shrink>           (.shrinkFactor)  Defines the initial shrink factor.
  334. X                         The default value is 3.
  335. X
  336. X   -density <density>    (.densityPercent)  Determines the density used when
  337. X                         shrinking bitmaps for fonts.  A higher value produces a
  338. X                         lighter font.  The default value is 40.
  339. X
  340. X   -p <pixels>           (.pixelsPerInch)  Defines the size of the fonts to use,
  341. X                         in pixels per inch.  The default value is 300.
  342. X
  343. X   -l                    (.listFonts)  Causes the names of the fonts used to be
  344. X                         listed.
  345. X
  346. X   -rv                   (.reverseVideo)  Causes the page to be displayed with
  347. X                         white characters on a black background, instead of vice
  348. X                         versa.
  349. X
  350. X   -bw <width>           (.borderWidth)  Specifies the width of the border of
  351. X                         the window.
  352. X
  353. X   -borderwidth <width>  Same as -bw.
  354. X
  355. X   -fg <color>           (.foreground)  Determines the color of the text
  356. X                         (foreground).
  357. X
  358. X   -foreground <color>   Same as -fg.
  359. X
  360. X   -bg <color>           (.background)  Determines the color of the background.
  361. X
  362. X   -background <color>   Same as -bg.
  363. X
  364. X   -hl <color>           (.highlight)  Determines the color of the page border.
  365. X                         The default is the foreground color.
  366. X
  367. X   -bd <color>           (.borderColor)  Determines the color of the window
  368. X                         border.
  369. X
  370. X   -bordercolor <color>  Same as -bd.
  371. X
  372. X   -cr <color>           (.cursorColor)  Determines the color of the cursor.
  373. X                         The default is the color of the page border.
  374. X
  375. X   -margins <dimen>      (.Margin)  Specifies the size of both the top and side
  376. X                         margins.  This should be a decimal number optionally
  377. X                         followed by "cm", e.g., 1.5 or 3cm, giving a
  378. X                         measurement in inches or centimeters.  XDVI determines
  379. X                         the "home" position of the page within the window as
  380. X                         follows.  If the entire page fits in the window, then
  381. X                         the margin settings are ignored.  If, even after
  382. X                         removing the margins from the left, right, top, and
  383. X                         bottom, the page still cannot fit in the window, then
  384. X                         the page is put in the window such that the top and
  385. X                         left margins are hidden, and presumably the upper
  386. X                         left-hand corner of the text on the page will be in the
  387. X                         upper left-hand corner of the window.  Otherwise, the
  388. X                         text is centered in the window.  See also `M' under the
  389. X                         KEYSTROKES section.
  390. X
  391. X   -sidemargin <dimen>   (.sideMargin)  Specifies the side margin (see above).
  392. X
  393. X   -topmargin <dimen>    (.topMargin)  Specifies the top and bottom margins (see
  394. X                         above).
  395. X
  396. X   -offsets <dimen>      (.Offset)  Specifies the size of both the horizontal
  397. X                         and vertical offsets of the output on the page.  This
  398. X                         should be a decimal number optionally followed by "cm",
  399. X                         e.g., 1.5 or 3cm, giving a measurement in inches or
  400. X                         centimeters.  By decree of the Stanford TeX Project,
  401. X                         the default TeX page origin is always 1 inch over and
  402. X                         down from the top-left page corner, even when
  403. X                         non-American paper sizes are used.  Therefore, the
  404. X                         default offsets are 1.0 inch.
  405. X
  406. X   -xoffset <dimen>      (.xOffset)  Specifies the size of the horizontal
  407. X                         offset of the output on the page (see above).
  408. X
  409. X   -yoffset <dimen>      (.yOffset)  Specifies the size of the vertical offset
  410. X                         of the output on the page (see above).
  411. X
  412. X   -keep                 (.keepPosition)  Sets a flag to indicate that XDVI
  413. X                         should not move to the home position when moving to a
  414. X                         new page.  See also the `k' keystroke.
  415. X
  416. X   -hushspecials         (.hushSpecials)  Causes XDVI to suppress warnings about
  417. X                         \special strings which it cannot process.
  418. X
  419. X   -hushchars            (.hushLostChars)  Causes XDVI to suppress warnings
  420. X                         about references to characters which are not defined in
  421. X                         the font.
  422. X
  423. X   -hush                 (.Hush)  Causes XDVI to suppress all suppressable
  424. X                         warnings.
  425. X
  426. X   -paper <papertype>    (.paper)  Specifies the size of the printed page.  This
  427. X                         may be of the form WxH (or WxHcm), where W is the width
  428. X                         in inches (or cm) and H is the height in inches (or
  429. X                         cm), respectively.  There are also synonyms which may
  430. X                         be used:  us (8.5x11), usr (11x8.5), legal (8.5x14),
  431. X                         foolscap (13.5x17), as well as the ISO sizes a1-a7,
  432. X                         b1-b7, c1-c7, a1r-a7r (a1-a7 rotated), etc.  The
  433. X                         default size is 8.5 x 11 inches.
  434. X
  435. X   -mgs[n] <size>        (.magnifierSize[n])  Specifies the size of the window
  436. X                         to be used for the "magnifying glass" for Button n.
  437. X                         See the MOUSE ACTIONS section.  Defaults are 200, 350,
  438. X                         600, 900, and 1200.
  439. X
  440. X   -mgs <size>           Same as -mgs1.
  441. X
  442. X   -altfont <font>       (.altFont)  Declares a default font to use when the
  443. X                         font in the DVI file cannot be found.  This is useful,
  444. X                         for example, with PostScript fonts.
  445. X
  446. X   -thorough             (.thorough)  XDVI will usually try to ensure that
  447. X                         overstrike characters (e.g., \notin) are printed
  448. X                         correctly.  On monochrome displays, this is always
  449. X                         possible with one logical operation, either AND or OR.
  450. X                         On color displays, however, this may take two
  451. X                         operations, one to set the appropriate bits and one to
  452. X                         clear other bits.  If this is the case, then by default
  453. X                         XDVI will instead use the copy operation, which does
  454. X                         not handle overstriking correctly.  The "thorough"
  455. X                         option chooses the slower but more correct choice.  See
  456. X                         also -copy, below.
  457. X
  458. X   -copy                 (.copy)  Always use the copy operation when writing
  459. X                         characters to the display.  This option may be
  460. X                         necessary for correct operation on a color display, but
  461. X                         overstrike characters will be incorrect.
  462. X
  463. X   -geometry <geometry>  (*geometry)  Specifies the initial geometry of the
  464. X                         window.
  465. X
  466. X   -icongeometry <geometry> (.iconGeometry) Specifies the initial position for
  467. X                         the icon.
  468. X
  469. X   -iconic               (.iconic)  Causes the XDVI window to start in the
  470. X                         iconic state.  The default is to start with the window
  471. X                         open.
  472. X
  473. X   -display <display>    Specifies the host, display, and screen to be used for
  474. X                         displaying the DVI file.  The display must be specified
  475. X                         in the form node::display.screen.  The default is
  476. X                         obtained from the logical name "DECW$DISPLAY", which
  477. X                         may be defined using the SET DISPLAY command.
  478. X
  479. XKEYSTROKES
  480. X----------
  481. X
  482. X   XDVI recognizes the following keystrokes when typed in its window.  Each may
  483. X   optionally be preceded by a (positive or negative) number, whose
  484. X   interpretation will depend on the particular keystroke.  Note that the
  485. X   keystrokes are case sensitive.
  486. X
  487. X   q    Quits the program.  Control-C, control-D, and control-Z will do this,
  488. X        too.
  489. X
  490. X   n    Moves to the next page (or to the nth next page if a number is given).
  491. X        Synonyms are `f', Space, Return, Line Feed, and <Next Screen>.
  492. X
  493. X   p    Moves to the previous page (or back n pages).  Synonyms are `b',
  494. X        control-H, Delete, and <Prev Screen>.
  495. X
  496. X   g    Moves to the page with the given number.  Initially, the first page is
  497. X        assumed to be page number 1, but this can be changed with the `P'
  498. X        keystroke, below.  If no page number is given, then it goes to the last
  499. X        page.
  500. X
  501. X   P    "This is page number n."  This can be used to make the `g' keystroke
  502. X        refer to actual page numbers instead of absolute page numbers.
  503. X
  504. X   Control-L    Redisplays the current page.
  505. X
  506. X   ^    Move to the "home" position of the page.  This is normally the upper
  507. X        left-hand corner of the page, depending on the margins as described in
  508. X        the -margins option, above.
  509. X
  510. X   u    Moves up two thirds of a window-full.  The <Up Arrow> key is a synonym
  511. X        for this keystroke.
  512. X
  513. X   d    Moves down two thirds of a window-full.  The <Down Arrow> key is a
  514. X        synonym for this keystroke.
  515. X
  516. X   l    Moves left two thirds of a window-full.  The <Left Arrow> key is a
  517. X        synonym for this keystroke.
  518. X
  519. X   r    Moves right two thirds of a window-full.  The <Right Arrow> key is a
  520. X        sysnonym for this keystroke.
  521. X
  522. X   c    Moves the page so that the point currently beneath the cursor is moved
  523. X        to the middle of the window.  It also (gasp!) warps the cursor to the
  524. X        same place.
  525. X
  526. X   M    Sets the margins so that the point currently under the cursor is the
  527. X        upper left-hand corner of the text in the page.  Note that this command
  528. X        itself does not move the image at all.  For details on how the margins
  529. X        are used, see the -margins option.
  530. X
  531. X   s    Changes the shrink factor to the given number.  If no number is given,
  532. X        the smallest factor that makes the entire page fit in the window will be
  533. X        used.  (Margins are ignored in this computation.)
  534. X
  535. X   S    Sets the density factor to be used when shrinking bitmaps.  This should
  536. X        be a number between 0 and 100; higher numbers produce lighter
  537. X        characters.
  538. X
  539. X   R    Forces the DVI file to be reread.  This allows you to preview many
  540. X        versions of the same file while running XDVI only once.
  541. X
  542. X   k    Normally when XDVI switches pages, it moves to the home position as
  543. X        well.  The `k' keystroke toggles a `keep-position' flag which, when set,
  544. X        will keep the same position when moving between pages.  Also `0k' and
  545. X        `1k' clear and set this flag, respectively.  See also the -keep option.
  546. X
  547. XMOUSE ACTIONS
  548. X-------------
  549. X
  550. X   If the shrink factor is set to any number other than one, then clicking any
  551. X   mouse button will pop up a "magnifying glass" which shows the unshrunk image
  552. X   in the vicinity of the mouse click.  This subwindow disappears when the mouse
  553. X   button is released.  Different mouse buttons produce different sized windows,
  554. X   as indicated by the -mgs option.  Moving the cursor while holding the button
  555. X   down will move the magnifying glass.
  556. X
  557. X   Also, the scrollbars (if present) behave in the standard X Window way:
  558. X   pushing Button 2 in a scrollbar moves the top or left edge of the scrollbar
  559. X   to that point and optionally drags it;  pushing Button 1 moves the image up
  560. X   or right by an amount equal to the distance from the button press to the
  561. X   upper left-hand corner of the window; pushing Button 3 moves the image down
  562. X   or left by the same amount.  Note that this is different than the way
  563. X   DECWindows normally defines the actions of the mouse buttons in scrollbars.
  564. X
  565. XLOGICAL NAMES
  566. X-------------
  567. X
  568. X   Unless the -display option is used on the command line, XDVI uses the logical
  569. X   name "DECW$DISPLAY" to specify which bit map display terminal to use.  This
  570. X   logical name may be defined with the SET DISPLAY command.
  571. X
  572. X   The logical name "XDVIFONTS" determines the directory path(s) searched for
  573. X   fonts in the following manner.  The string consists of one or more strings
  574. X   separated by slashes.  In each such string, the substring "%f" is changed to
  575. X   the font name; "%d" is changed to the magnification; and "%p" is changed to
  576. X   the font family ("gf", "pk", or "pxl").  If no "%f" appears in the string,
  577. X   then the string ":%f.%d%p" is added on the end.  For example, if the string
  578. X   is "TEX_DISK:[TEX.FONTS.%d]%f.%p" and the font is cmr10 at 300 dpi, then XDVI
  579. X   looks for TEX_DISK:[TEX.FONTS.300]CMR10.GF, TEX_DISK:[TEX.FONTS.300]CMR10.PK,
  580. X   and TEX_DISK:[TEX.FONTS.1500]CMR10.PXL, in that order.  An extra slash
  581. X   anywhere in the "XDVIFONTS" logical name causes the system default
  582. X   directories to be tried at that point.  If the font is not found in the
  583. X   desired size, then XDVI will try to find the nearest size.  If the font
  584. X   cannot be found at all, then XDVI will try to vary the point size of the font
  585. X   (within a certain range), and if this fails, then it will use the font
  586. X   specified as the alternate font (cf. -altfont).
  587. X
  588. X   For compatibilty with some versions of TeX, you may also use the logical name
  589. X   "TEXFONTS" in place of "XDVIFONTS", although in that case the string should
  590. X   not include any "%" specifiers.
  591. X
  592. X   The logical name "XDVISIZES" must be set to indicate which sizes of fonts are
  593. X   available.  It should consists of a list of numbers separated by slashes.  If
  594. X   the list begins with a slash, the system default sizes are used, as well.
  595. X   Sizes are expressed in dots per inch; decimals may be used for "pxl" files:
  596. X   for example, a 300 dots per inch file magnified by half a step comes out to
  597. X   1643 dots per five inches, which should be encoded as 328.6.  The current
  598. X   default set of sizes is 300/328.6/360/432/518.4/622/746.4.  XDVI will also
  599. X   try the actual size of the font before trying any of the given sizes.
  600. X
  601. XFILES
  602. X-----
  603. X
  604. X   TEX_FONTS   System default directory for font pixel files.
  605. X
  606. XRESOURCE NAMES
  607. X--------------
  608. X
  609. X   All of the command line options may be set via the resource names given in
  610. X   parentheses in the descriptions of the options.  This may be used to define a
  611. X   specific set of options as the default each time you run XDVI.  To make use
  612. X   of this feature, create a file named DECW$XDEFAULTS.DAT in the same directory
  613. X   as the rest of your DECW*.DAT files.  Include in this file the resource names
  614. X   and arguments of each of the options you wish to specify.  For example:
  615. X
  616. X      XDvi.copy: off
  617. X      XDvi.thorough: on
  618. X      XDvi.shrinkFactor: 2
  619. X      XDvi.Margin: 0.95
  620. X      XDvi*geometry: 1015x750+3+25
  621. X
  622. X   When XDVI is invoked, it would behave as if it had been invoked with the
  623. X   following command:
  624. X
  625. X      XDVI +copy -thorough -s 2 -margins 0.95 -geometry 1015x750+3+25 dvifile
  626. X
  627. X   Specifying options on the command line will override any options specified
  628. X   via resource names in the DECW$XDEFAULTS.DAT file.
  629. X
  630. XINSTALLATION
  631. X------------
  632. X
  633. X   The installation of XDVI on a VMS system is relatively easy.  If you have a
  634. X   source-only distribution, you will need to have access to the VAX C compiler
  635. X   to build an executable image.  The following steps should get you started:
  636. X
  637. X   1) Gather all of the distribution files into one directory, and then create
  638. X      the executable image by executing the MAKE_VMS.COM file:
  639. X
  640. X         $ @MAKE_VMS
  641. X
  642. X   2) Create a help file for XDVI using the supplied XDVI.RNH file:
  643. X
  644. X         $ RUNOFF XDVI.RNH
  645. X
  646. X   3) Insert the resulting XDVI.HLP file into one of your local help libraries:
  647. X
  648. X         $ LIBRARY /INSERT HELPLIB.HLB XDVI.HLP
  649. X
  650. X   4) Modify the command file you use to set up the TEX commands so that it
  651. X      defines the foreign symbol XDVI, and the logical names XDVIFONTS and
  652. X      XDVISIZES.  For more information on the expected contents of the logical
  653. X      names, see the LOGICAL NAMES section of this document.  The following
  654. X      lines are what I use locally:
  655. X
  656. X      $ PROC      = F$ENVIRONMENT ("PROCEDURE")
  657. X      $ TEXDIR    = F$PARSE (PROC, , , "DEVICE", "NO_CONCEAL") + -
  658. X                    F$PARSE (PROC, , , "DIRECTORY", "NO_CONCEAL")
  659. X      $ TEXDIR    = TEXDIR - "][" - "][" - "][" - "]"
  660. X      $ TEXDISK   = TEXDIR + ".]"
  661. X      $ PIXELS    = TEXDIR + ".GF.CANON300.]"
  662. X      $ LPIXELS   = TEXDIR + ".LOCAL.PIXELS.CANON300.]"
  663. X      $!
  664. X      $! Define the virtual disk devices.
  665. X      $!
  666. X      $ DEFINE /PROCESS /TRANSLATE = (CONCEAL, TERMINAL) TEX_DISK   'TEXDISK'
  667. X      $ DEFINE /PROCESS /TRANSLATE = (CONCEAL, TERMINAL) PIXELS$    'PIXELS'
  668. X      $ DEFINE /PROCESS /TRANSLATE = (CONCEAL, TERMINAL) LPIXELS$   'LPIXELS'
  669. X      $!
  670. X      $! Define the directories for TeX and its related TeXware.
  671. X      $!
  672. X      $ DEFINE TEX_EXE       TEX_DISK:[LOCAL.PROGRAMS]
  673. X      $ DEFINE TEX_PIXELS    PIXELS$, LPIXELS$
  674. X      $!
  675. X      $! Define the information necessary to run XDVI.
  676. X      $!
  677. X      $ XDVI :== "$TEX_EXE:XDVI"
  678. X      $ DEFINE XDVIFONTS "TEX_PIXELS:[DPI%d]%f.%p"
  679. X      $ DEFINE XDVISIZES -
  680. X              "300/328.6/360/432/518.4/600/622/746.4/895.8/1075/1200/1290/1548"
  681. X      $ EXIT
  682. X
  683. X   5) If you wish, you may create a DECW$XDEFAULTS.DAT file that specifies a
  684. X      default set of command line options.  See the RESOURCE NAMES section for
  685. X      more information and an example of what I use locally.
  686. X
  687. X   If you have any comments about XDVI, or find any bugs in the program, please
  688. X   contact me at the address below.  Enjoy!
  689. X
  690. X                    Scott Allendorf
  691. X                    Department of Physics and Astronomy
  692. X                    The University of Iowa
  693. X                    Iowa City, IA 52242
  694. X
  695. X                    Phone: (319) 335-1960
  696. X                    Email: allendorf@iowasp.physics.uiowa.edu
  697. X
  698. XAUTHORS
  699. X-------
  700. X
  701. X   Eric Cooper, CMU, did a version for direct output to a QVSS.
  702. X   Modified for X by Bob Scheifler, MIT Laboratory for Computer Science.
  703. X   Modified for X11 by Mark Eichin, MIT SIPB.
  704. X   Modified for VMS and DECWindows by Scott Allendorf, University of Iowa.
  705. X   Additional enhancements by many others.
  706. END_OF_FILE
  707. if test 19993 -ne `wc -c <'README.VMS'`; then
  708.     echo shar: \"'README.VMS'\" unpacked with wrong size!
  709. fi
  710. # end of 'README.VMS'
  711. fi
  712. if test -f 'Imakefile' -a "${1}" != "-c" ; then 
  713.   echo shar: Will not clobber existing file \"'Imakefile'\"
  714. else
  715. echo shar: Extracting \"'Imakefile'\" \(979 characters\)
  716. sed "s/^X//" >'Imakefile' <<'END_OF_FILE'
  717. XDEFAULT_FONT_PATH=/usr/local/tex/fonts
  718. XDEFAULT_VF_PATH=
  719. XDEFAULT_FONT_SIZES=300:328.6:360:432:518.4:622:746.4
  720. XDEFS=-DUSE_PK -DUSE_GF -DUSE_PXL -DMSBITFIRST -DBMSHORT -DBUTTONS
  721. X
  722. XDEPLIBS=XawClientDepLibs
  723. XLOCAL_LIBRARIES=XawClientLibs
  724. XMATHLIB=-lm
  725. XSYS_LIBRARIES=$(MATHLIB)
  726. XLINTLIBS=$(LINTXAW) $(LINTXMU) $(LINTXTOOL) $(LINTEXTENSIONLIB) $(LINTXLIB) -lm
  727. XSRCS=xdvi.c dvi_init.c dvi_draw.c fontfmts.c vf.c util.c font_open.c tpic.c
  728. XOBJS=xdvi.o dvi_init.o dvi_draw.o fontfmts.o vf.o util.o font_open.o tpic.o
  729. XDEFINES=$(DEFS) -DDEFAULT_FONT_PATH=\"$(DEFAULT_FONT_PATH)\" \
  730. X  -DDEFAULT_VF_PATH=\"$(DEFAULT_VF_PATH)\" \
  731. X  -DDEFAULT_FONT_SIZES=\"$(DEFAULT_FONT_SIZES)\" \
  732. X  -DDEFAULT_SUBDIR_PATH=\"$(DEFAULT_SUBDIR_PATH)\"
  733. X
  734. XComplexProgramTarget(xdvi)
  735. X
  736. Xxdvi.man: xdvi_man.sed mksedscript
  737. X    chmod u+x mksedscript
  738. X    ./mksedscript $(DEFAULT_FONT_PATH) $(DEFAULT_FONT_SIZES) \
  739. X        ""$(DEFAULT_VF_PATH) $(DEFS) > sedscript
  740. X    sed -f sedscript < xdvi_man.sed > xdvi.man
  741. X
  742. Xclean::
  743. X    $(RM) sedscript xdvi.man
  744. END_OF_FILE
  745. if test 979 -ne `wc -c <'Imakefile'`; then
  746.     echo shar: \"'Imakefile'\" unpacked with wrong size!
  747. fi
  748. # end of 'Imakefile'
  749. fi
  750. if test -f 'Makefile' -a "${1}" != "-c" ; then 
  751.   echo shar: Will not clobber existing file \"'Makefile'\"
  752. else
  753. echo shar: Extracting \"'Makefile'\" \(1872 characters\)
  754. sed "s/^X//" >'Makefile' <<'END_OF_FILE'
  755. X#
  756. X# Makefile for dvi previewer.
  757. X#
  758. X# $Header: Makefile,v 1.2 87/05/14 14:05:34 eichin Locked $
  759. X# $Source: /u1/uus/vs2/xdvi/RCS/Makefile,v $
  760. X#
  761. XDEFAULT_FONT_PATH=/usr/local/tex/fonts
  762. XDEFAULT_VF_PATH=/usr/local/tex/fonts/vf
  763. XDEFAULT_FONT_SIZES=300:328.6:360:432:518.4:622:746.4
  764. XDEFS=-DUSE_PK -DMSBITFIRST -DBMSHORT -DBUTTONS
  765. XFONTDEFINES=-DDEFAULT_FONT_PATH=\"$(DEFAULT_FONT_PATH)\" \
  766. X  -DDEFAULT_VF_PATH=\"$(DEFAULT_VF_PATH)\" \
  767. X  -DDEFAULT_FONT_SIZES=\"$(DEFAULT_FONT_SIZES)\" \
  768. X  -DDEFAULT_SUBDIR_PATH=\"$(DEFAULT_SUBDIR_PATH)\"
  769. XTOP=/usr/X11
  770. XINCDIR=$(TOP)/include
  771. XLIBDIR=$(TOP)/lib
  772. XXMULIB=-lXmu
  773. XEXTENSIONLIB=-lXext
  774. XDESTDIR=$(TOP)
  775. XBINDIR=$(DESTDIR)/bin
  776. XMANDIR=$(DESTDIR)/man
  777. XINCLUDES=-I$(INCDIR)
  778. XCFLAGS=-O $(INCLUDES) $(DEFS)
  779. XLIBS=-L$(LIBDIR) -lXaw $(XMULIB) -lXt $(EXTENSIONLIB) -lX11 -lm
  780. X#LIBS=-L$(LIBDIR) -lX11 -lm
  781. XSRCS=xdvi.c dvi_init.c dvi_draw.c fontfmts.c vf.c util.c font_open.c tpic.c
  782. XOBJS=xdvi.o dvi_init.o dvi_draw.o fontfmts.o vf.o util.o font_open.o tpic.o
  783. XCC=gcc
  784. XLINT=lint
  785. X# LINT=$(CC) -c -Wall -Wshadow -Wpointer-arith
  786. X# also maybe -Wcast-qual -Wwrite-strings
  787. XRM=rm -f
  788. X
  789. X.c.o:
  790. X    $(CC) -c $(CFLAGS) $*.c
  791. X
  792. Xxdvi:    $(OBJS)
  793. X    $(CC) $(CFLAGS) -o xdvi $(OBJS) $(LIBS)
  794. X    chmod go+rx xdvi
  795. X
  796. Xxdvi.o: xdvi.h patchlevel.h xdvi.icon
  797. Xdvi_init.o:xdvi.h dvi.h
  798. Xdvi_draw.o:xdvi.h dvi.h
  799. Xtpic.o:    xdvi.h
  800. Xfontfmts.o: xdvi.h pk.c gf.c pxl.c
  801. Xutil.o:    xdvi.h
  802. X
  803. Xfont_open.o:    font_open.c xdvi.h
  804. X    $(CC) -c $(CFLAGS) $(FONTDEFINES) font_open.c
  805. X
  806. Xxdvi.man: xdvi_man.sed mksedscript
  807. X    chmod u+x mksedscript
  808. X    ./mksedscript $(DEFAULT_FONT_PATH) $(DEFAULT_FONT_SIZES) \
  809. X        ""$(DEFAULT_VF_PATH) $(DEFS) > sedscript
  810. X    sed -f sedscript < xdvi_man.sed > xdvi.man
  811. X
  812. Xinstall: xdvi xdvi.man
  813. X    install -c -s -m 755 xdvi $(BINDIR)
  814. X    install -c -m 644 xdvi.man $(MANDIR)/man1/xdvi.1
  815. X
  816. Xclean:
  817. X    $(RM) *.o *.BAK *.CKP sedscript xdvi.man xdvi a.out core errs *~
  818. X
  819. Xlint:
  820. X    $(LINT) $(INCLUDES) $(DEFS) $(FONTDEFINES) $(SRCS) -lm
  821. END_OF_FILE
  822. if test 1872 -ne `wc -c <'Makefile'`; then
  823.     echo shar: \"'Makefile'\" unpacked with wrong size!
  824. fi
  825. # end of 'Makefile'
  826. fi
  827. if test -f 'Makefile_10' -a "${1}" != "-c" ; then 
  828.   echo shar: Will not clobber existing file \"'Makefile_10'\"
  829. else
  830. echo shar: Extracting \"'Makefile_10'\" \(1755 characters\)
  831. sed "s/^X//" >'Makefile_10' <<'END_OF_FILE'
  832. X#
  833. X# Makefile for dvi previewer.
  834. X#
  835. X# $Header: Makefile,v 1.2 87/05/14 14:05:34 eichin Locked $
  836. X# $Source: /u1/uus/vs2/xdvi/RCS/Makefile,v $
  837. X#
  838. XDEFAULT_FONT_PATH=/usr/local/tex/fonts
  839. XDEFAULT_VF_PATH=/usr/local/tex/fonts/vf
  840. XDEFAULT_FONT_SIZES=300:328.6:360:432:518.4:622:746.4
  841. XDEFS=-DUSE_PK -DX10
  842. XFONTDEFINES=-DDEFAULT_FONT_PATH=\"$(DEFAULT_FONT_PATH)\" \
  843. X  -DDEFAULT_VF_PATH=\"$(DEFAULT_VF_PATH)\" \
  844. X  -DDEFAULT_FONT_SIZES=\"$(DEFAULT_FONT_SIZES)\" \
  845. X  -DDEFAULT_SUBDIR_PATH=\"$(DEFAULT_SUBDIR_PATH)\"
  846. XTOP=/usr
  847. XINCDIR=$(TOP)/include
  848. XLIBDIR=$(TOP)/lib
  849. XDESTDIR=$(TOP)
  850. XBINDIR=$(DESTDIR)/bin
  851. XMANDIR=$(DESTDIR)/man
  852. XINCLUDES=-I$(INCDIR)
  853. XCFLAGS=-O $(INCLUDES) $(DEFS)
  854. XLIBS=-L$(LIBDIR) -lX -lm
  855. XSRCS=xdvi.c dvi_init.c dvi_draw.c fontfmts.c vf.c util.c font_open.c tpic.c
  856. XOBJS=xdvi.o dvi_init.o dvi_draw.o fontfmts.o vf.o util.o font_open.o tpic.o
  857. XCC=gcc
  858. XLINT=lint
  859. X# LINT=$(CC) -c -Wall -Wshadow -Wpointer-arith
  860. X# also maybe -Wcast-qual -Wwrite-strings
  861. XRM=rm -f
  862. X
  863. X.c.o:
  864. X    $(CC) -c $(CFLAGS) $*.c
  865. X
  866. Xxdvi:    $(OBJS)
  867. X    $(CC) $(CFLAGS) -o xdvi $(OBJS) $(LIBS)
  868. X    chmod go+rx xdvi
  869. X
  870. Xxdvi.o: xdvi.h patchlevel.h xdvi_curs.h xdvi_mask.h
  871. Xdvi_init.o:xdvi.h dvi.h
  872. Xdvi_draw.o:xdvi.h dvi.h
  873. Xtpic.o:    xdvi.h
  874. Xfontfmts.o: xdvi.h pk.c gf.c pxl.c
  875. Xutil.o:    xdvi.h
  876. X
  877. Xfont_open.o:    font_open.c xdvi.h
  878. X    $(CC) -c $(CFLAGS) $(FONTDEFINES) font_open.c
  879. X
  880. Xxdvi.man: xdvi_man.sed mksedscript
  881. X    chmod u+x mksedscript
  882. X    ./mksedscript $(DEFAULT_FONT_PATH) $(DEFAULT_FONT_SIZES) \
  883. X        ""$(DEFAULT_VF_PATH) $(DEFS) > sedscript
  884. X    sed -f sedscript < xdvi_man.sed > xdvi.man
  885. X
  886. Xinstall: xdvi xdvi.man
  887. X    install -c -s -m 755 xdvi $(BINDIR)
  888. X    install -c -m 644 xdvi.man $(MANDIR)/man1/xdvi.1
  889. X
  890. Xclean:
  891. X    $(RM) *.o *.BAK *.CKP sedscript xdvi.man xdvi a.out core errs *~
  892. X
  893. Xlint:
  894. X    $(LINT) $(INCLUDES) $(DEFS) $(FONTDEFINES) $(SRCS) -lm
  895. END_OF_FILE
  896. if test 1755 -ne `wc -c <'Makefile_10'`; then
  897.     echo shar: \"'Makefile_10'\" unpacked with wrong size!
  898. fi
  899. # end of 'Makefile_10'
  900. fi
  901. if test -f 'MAKE_VMS.COM' -a "${1}" != "-c" ; then 
  902.   echo shar: Will not clobber existing file \"'MAKE_VMS.COM'\"
  903. else
  904. echo shar: Extracting \"'MAKE_VMS.COM'\" \(814 characters\)
  905. sed "s/^X//" >'MAKE_VMS.COM' <<'END_OF_FILE'
  906. X$ DEFINE X11 DECW$INCLUDE 
  907. X$ DEFINE SYS SYS$LIBRARY
  908. X$ CC /DEFINE = (BMLONG, NOTOOL, USE_PK, USE_GF, USE_PXL) DVI_INIT
  909. X$ CC /DEFINE = (BMLONG, NOTOOL, USE_PK, USE_GF, USE_PXL) DVI_DRAW
  910. X$ CC /DEFINE = (BMLONG, NOTOOL, USE_PK, USE_GF, USE_PXL) FONTFMTS
  911. X$ CC /DEFINE = (BMLONG, NOTOOL, USE_PK, USE_GF, USE_PXL) VF
  912. X$ CC /DEFINE = (BMLONG, NOTOOL, USE_PK, USE_GF, USE_PXL) UTIL
  913. X$ CC /DEFINE = (BMLONG, NOTOOL, USE_PK, USE_GF, USE_PXL, -
  914. X     "DEFAULT_FONT_PATH=""TEX_FONTS""", -
  915. X     "DEFAULT_VF_PATH=""TEX_FONTS""", -
  916. X     "DEFAULT_FONT_SIZES=""300/328.6/360/432/518.4/622/746.4""") FONT_OPEN
  917. X$ CC /DEFINE = (BMLONG, NOTOOL, USE_PK, USE_GF, USE_PXL) TPIC
  918. X$ CC /DEFINE = (BMLONG, NOTOOL, USE_PK, USE_GF, USE_PXL) XDVI
  919. X$ LINK XDVI, DVI_INIT, DVI_DRAW, FONTFMTS, VF, UTIL, FONT_OPEN, TPIC, -
  920. X     VMS_C.OPT /OPTION
  921. X$ EXIT
  922. END_OF_FILE
  923. if test 814 -ne `wc -c <'MAKE_VMS.COM'`; then
  924.     echo shar: \"'MAKE_VMS.COM'\" unpacked with wrong size!
  925. fi
  926. # end of 'MAKE_VMS.COM'
  927. fi
  928. if test -f 'VMS_C.OPT' -a "${1}" != "-c" ; then 
  929.   echo shar: Will not clobber existing file \"'VMS_C.OPT'\"
  930. else
  931. echo shar: Extracting \"'VMS_C.OPT'\" \(53 characters\)
  932. sed "s/^X//" >'VMS_C.OPT' <<'END_OF_FILE'
  933. Xsys$share:decw$xlibshr/share
  934. Xsys$share:vaxcrtl/share
  935. END_OF_FILE
  936. if test 53 -ne `wc -c <'VMS_C.OPT'`; then
  937.     echo shar: \"'VMS_C.OPT'\" unpacked with wrong size!
  938. fi
  939. # end of 'VMS_C.OPT'
  940. fi
  941. if test -f 'XDVI.RNH' -a "${1}" != "-c" ; then 
  942.   echo shar: Will not clobber existing file \"'XDVI.RNH'\"
  943. else
  944. echo shar: Extracting \"'XDVI.RNH'\" \(16948 characters\)
  945. sed "s/^X//" >'XDVI.RNH' <<'END_OF_FILE'
  946. X.!
  947. X.! This is a RUNOFF source file that produces a VMS-style HELP library
  948. X.! for the XDVI program.
  949. X.!
  950. X.! This file was created by hand-converting XDVI.MAN.  The internal date
  951. X.! in the XDVI.MAN file was "27 March 1990".  If you improve this file,
  952. X.! please let me know.  Pete Siemsen,  siemsen@usc.edu
  953. X.!
  954. X.! Merged with patchlevel 8.001 help file for VMS by Scott Allendorf.
  955. X.! Added new switches for patchlevel 10.  Scott Allendorf.
  956. X.! Added new switches for patchlevel 11.  Scott Allendorf.
  957. X.!
  958. X.NO PAGING
  959. X.NO FLAGS ALL
  960. X.RIGHT MARGIN 70
  961. X.LITERAL
  962. X!
  963. X! DO NOT EDIT THIS FILE.  It was produced by passing a .RNH file through
  964. X! RUNOFF.  Edit the .RNH file instead.
  965. X!
  966. X.END LITERAL
  967. X.LEFT MARGIN 1
  968. X
  969. X.INDENT -1
  970. X1 XDVI
  971. X.BREAK
  972. XXDVI is a program which runs under the DECWindows system. It is used to
  973. Xpreview DVI files, such as those produced by TeX and LaTeX.
  974. X.SKIP
  975. XXDVI has the capability of displaying the file reduced by various
  976. X(integer) factors, and also has a "magnifying glass" which allows one
  977. Xto see a small part of the unshrunk image momentarily.
  978. X.SKIP
  979. XBefore displaying any page or part thereof, XDVI checks to see if
  980. Xthe DVI file has changed since the last time it was displayed.  If this
  981. Xis the case, XDVI will reinitialize itself for the new DVI file.  For
  982. Xthis reason, exposing parts of the XDVI window while TeX is running
  983. Xshould be avoided.  This feature allows you to preview many versions
  984. Xof the same file while running XDVI only once.
  985. X
  986. X.SKIP
  987. XFormat:
  988. X.SKIP
  989. X.INDENT +3
  990. XXDVI [Options] dvi_file
  991. X
  992. X.INDENT -1
  993. X2 Options
  994. X.BREAK
  995. XIn addition to specifying the .DVI file (with or without the .DVI),
  996. XXDVI supports the following command line options.  If the option
  997. Xbegins with a "+" instead of a "-", the option is restored to its
  998. Xdefault value.  By default, these options can be set via the resource
  999. Xnames given in the description of each option.
  1000. X.INDENT -1
  1001. X3 +
  1002. X.BREAK
  1003. X+<page>
  1004. X.SKIP
  1005. XSpecifies the first page to show.  If + is given without a number, the
  1006. Xlast page is assumed; the first page is the default.
  1007. X.INDENT -1
  1008. X3 -altfont
  1009. X.BREAK
  1010. X-altfont <font>
  1011. X.SKIP
  1012. XDeclares a default font to use when the font in the DVI file cannot be
  1013. Xfound.  This is useful, for example, with PostScript fonts.
  1014. X.SKIP
  1015. XThe resource name is ".altFont".
  1016. X.INDENT -1
  1017. X3 -background
  1018. X.BREAK
  1019. X-background <color>
  1020. X.SKIP
  1021. XSame as -bg.
  1022. X.INDENT -1
  1023. X3 -bd
  1024. X.BREAK
  1025. X-bd <color>
  1026. X.SKIP
  1027. XDetermines the color of the window border.
  1028. X.SKIP
  1029. XThe resource name is ".borderColor".
  1030. X.INDENT -1
  1031. X3 -bg
  1032. X.BREAK
  1033. X-bg <color>
  1034. X.SKIP
  1035. XDetermines the color of the background.
  1036. X.SKIP
  1037. XThe resource name is ".background".
  1038. X.INDENT -1
  1039. X3 -bordercolor
  1040. X.BREAK
  1041. X-bordercolor <color>
  1042. X.SKIP
  1043. XSame as -bd.
  1044. X.INDENT -1
  1045. X3 -borderwidth
  1046. X.BREAK
  1047. X-borderwidth <width>
  1048. X.SKIP
  1049. XSame as -bw.
  1050. X.INDENT -1
  1051. X3 -bw
  1052. X.BREAK
  1053. X-bw <width>
  1054. X.SKIP
  1055. XSpecifies the width of the border of the window.
  1056. X.SKIP
  1057. XThe resource name is ".borderWidth".
  1058. X.INDENT -1
  1059. X3 -copy
  1060. X.BREAK
  1061. XAlways use the copy operation when writing characters to the display.
  1062. XThis option may be necessary for correct operation on a color display,
  1063. Xbut overstrike characters will be incorrect.
  1064. X.SKIP
  1065. XThe resource name is ".copy".
  1066. X.INDENT -1
  1067. X3 -cr
  1068. X.BREAK
  1069. X-cr <color>
  1070. X.SKIP
  1071. XDetermines the color of the cursor.  The default is the
  1072. Xcolor of the page border.
  1073. X.SKIP
  1074. XThe resource name is ".cursorColor".
  1075. X.INDENT -1
  1076. X3 -density
  1077. X.BREAK
  1078. X-density <density>
  1079. X.SKIP
  1080. XDetermines the density used when shrinking bitmaps for fonts.  A
  1081. Xhigher value produces a lighter font.  The default value is 40.
  1082. X.SKIP
  1083. XThe resource name is ".densityPercent".
  1084. X.INDENT -1
  1085. X3 -display
  1086. X.BREAK
  1087. X-display <display>
  1088. X.SKIP
  1089. XSpecifies the host, display, and screen to be used for displaying the DVI file.
  1090. XThe display must be specified in the form node::display.screen.  The default
  1091. Xis obtained from the logical name "DECW$DISPLAY", which may be defined using the
  1092. XSET DISPLAY command.
  1093. X.INDENT -1
  1094. X3 -fg
  1095. X.BREAK
  1096. X-fg <color>
  1097. X.SKIP
  1098. XDetermines the color of the text (foreground).
  1099. X.SKIP
  1100. XThe resource name is ".foreground".
  1101. X.INDENT -1
  1102. X3 -foreground
  1103. X.BREAK
  1104. X-foreground <color>
  1105. X.SKIP
  1106. XSame as -fg.
  1107. X.INDENT -1
  1108. X3 -geometry
  1109. X.BREAK
  1110. X-geometry <geometry>
  1111. X.SKIP
  1112. XSpecifies the initial geometry of the window.
  1113. X.SKIP
  1114. XThe resource name is "*geometry".
  1115. X.INDENT -1
  1116. X3 -hl
  1117. X.BREAK
  1118. X-hl <color>
  1119. X.SKIP
  1120. XDetermines the color of the page border.  The default is the foreground color.
  1121. X.SKIP
  1122. XThe resource name is ".highlight".
  1123. X.INDENT -1
  1124. X3 -hush
  1125. X.BREAK
  1126. XCauses XDVI to suppress all suppressable warnings.
  1127. X.SKIP
  1128. XThe resource name is ".Hush".
  1129. X.INDENT -1
  1130. X3 -hushchars
  1131. X.BREAK
  1132. XCauses XDVI to suppress warnings about references to characters which
  1133. Xare not defined in the font.
  1134. X.SKIP
  1135. XThe resource name is ".hushLostChars".
  1136. X.INDENT -1
  1137. X3 -hushspecials
  1138. X.BREAK
  1139. XCauses XDVI to suppress warnings about \special strings which it cannot process.
  1140. X.SKIP
  1141. XThe resource name is ".hushSpecials".
  1142. X.INDENT -1
  1143. X3 -icongeometry
  1144. X.BREAK
  1145. X-icongeometry <geometry>
  1146. X.SKIP
  1147. XSpecifies the initial position for the icon.
  1148. X.SKIP
  1149. XThe resource name is ".iconGeometry".
  1150. X.INDENT -1
  1151. X3 -iconic
  1152. X.BREAK
  1153. X-iconic
  1154. X.SKIP
  1155. XCauses the XDVI window to start in the iconic state.  The default is to start
  1156. Xwith the window open.
  1157. X.SKIP
  1158. XThe resource name is ".iconic".
  1159. X.INDENT -1
  1160. X3 -keep
  1161. X.BREAK
  1162. X-keep
  1163. X.SKIP
  1164. XSets a flag to indicate that XDVI should not move to the home position when
  1165. Xmoving to a new page.  See also `k' under the Keystrokes help entry.
  1166. X.SKIP
  1167. XThe resource name is ".keepPosition".
  1168. X.INDENT -1
  1169. X3 -l
  1170. X.BREAK
  1171. XCauses the names of the fonts used to be listed.
  1172. X.SKIP
  1173. XThe resource name is ".listFonts".
  1174. X.INDENT -1
  1175. X3 -offsets
  1176. X.BREAK
  1177. X-offsets <dimen>
  1178. X.SKIP
  1179. XSpecifies the size of both the horizontal and vertical offsets of the
  1180. Xoutput on the page.  This should be a decimal number optionally followed by
  1181. X"cm", e.g., 1.5 or 3cm, giving a measurement in inches or centimeters.
  1182. XBy decree
  1183. Xof the Stanford TeX Project, the default TeX page origin is always 1 inch
  1184. Xover and down from the top-left page corner, even when non-American paper
  1185. Xsizes are used.  Therefore, the default offsets are 1.0 inch.
  1186. X.SKIP
  1187. XThe resource name is ".Offset".
  1188. X.INDENT -1
  1189. X3 -p
  1190. X.BREAK
  1191. X-p <pixels>
  1192. X.SKIP
  1193. XDefines the size of the fonts to use, in pixels per inch.  The
  1194. Xdefault value is 300.
  1195. X.SKIP
  1196. XThe resource name is ".pixelsPerInch".
  1197. X.INDENT -1
  1198. X3 -paper
  1199. X.BREAK
  1200. X-paper <papertype>
  1201. X.SKIP
  1202. XSpecifies the size of the printed page.  This may be of the form WxH
  1203. X(or WxHcm), where W is the width in inches (or cm) and H is the height
  1204. Xin inches (or cm), respectively.  There are also synonyms which may be
  1205. Xused: us (8.5x11), usr (11x8.5), legal (8.5x14), foolscap (13.5x17),
  1206. Xas well as the ISO sizes a1-a7, b1-b7, c1-c7, a1r-a7r (a1-a7 rotated),
  1207. Xetc.  The default size is 8.5 x 11 inches.
  1208. X.SKIP
  1209. XThe resource name is ".paper".
  1210. X.INDENT -1
  1211. X3 -margins
  1212. X.BREAK
  1213. X-margins <dimen>
  1214. X.SKIP
  1215. XSpecifies the size of both the top and side margins.  This should be a
  1216. Xdecimal number optionally followed by "cm", e.g., 1.5 or 3cm, giving a
  1217. Xmeasurement in inches or centimeters.
  1218. XXDVI determines the "home" position of
  1219. Xthe page within the window as follows.  If the entire page fits in the
  1220. Xwindow, then the margin settings are ignored.  If, even after removing
  1221. Xthe margins from the left, right, top, and bottom, the page still
  1222. Xcannot fit in the window, then the page is put in the window such that
  1223. Xthe top and left margins are hidden, and presumably the upper
  1224. Xleft-hand corner of the text on the page will be in the upper
  1225. Xleft-hand corner of the window.  Otherwise, the text is centered in
  1226. Xthe window.  See also `M' under the Keystrokes help entry.
  1227. X.SKIP
  1228. XThe resource name is ".Margin".
  1229. X.INDENT -1
  1230. X3 -mgs[n]
  1231. X.BREAK
  1232. X-mgs[n] <size>
  1233. X.SKIP
  1234. XSpecifies the size of the window to be used for the "magnifying glass"
  1235. Xfor Button n.  See the MOUSE ACTIONS section.
  1236. XDefaults are 200, 350, 600, 900, and 1200.
  1237. X.SKIP
  1238. XThe resource name is ".magnifierSize[n]".
  1239. X.INDENT -1
  1240. X3 -mgs
  1241. X.BREAK
  1242. X-mgs <size>
  1243. X.SKIP
  1244. XSame as -mgs1.
  1245. X.INDENT -1
  1246. X3 -rv
  1247. X.BREAK
  1248. XCauses the page to be displayed with white characters on a black
  1249. Xbackground, instead of vice versa.
  1250. X.SKIP
  1251. XThe resource name is ".reverseVideo".
  1252. X.INDENT -1
  1253. X3 -s
  1254. X.BREAK
  1255. X-s <shrink>
  1256. X.SKIP
  1257. XDefines the initial shrink factor.  The default value is 3.
  1258. X.SKIP
  1259. XThe resource name is ".shrinkFactor".
  1260. X.INDENT -1
  1261. X3 -sidemargin
  1262. X.BREAK
  1263. X-sidemargin <dimen>
  1264. X.SKIP
  1265. XSpecifies the side margin (see -margins).
  1266. X.SKIP
  1267. XThe resource name is ".sideMargin".
  1268. X.INDENT -1
  1269. X3 -thorough
  1270. X.BREAK
  1271. XXDVI will usually try to ensure that overstrike characters (e.g.,
  1272. X\notin) are printed correctly.  On monochrome displays, this is always
  1273. Xpossible with one logical operation, either AND or OR.  On color
  1274. Xdisplays, however, this may take two operations, one to set the
  1275. Xappropriate bits and one to clear other bits.  If this is the case,
  1276. Xthen by default XDVI will instead use the copy operation, which does
  1277. Xnot handle overstriking correctly.  The "thorough" option chooses the
  1278. Xslower but more correct choice.  See also -copy.
  1279. X.SKIP
  1280. XThe resource name is ".thorough".
  1281. X.INDENT -1
  1282. X3 -topmargin
  1283. X.BREAK
  1284. X-topmargin <dimen>
  1285. X.SKIP
  1286. XSpecifies the top and bottom margins (see -margins).
  1287. X.SKIP
  1288. XThe resource name is ".topMargin".
  1289. X.INDENT -1
  1290. X3 -xoffset
  1291. X.BREAK
  1292. X-xoffset <dimen>
  1293. X.SKIP
  1294. XSpecifies the size of the horizontal offset of the output on the page (see
  1295. X-offsets).
  1296. X.SKIP
  1297. XThe resource name is ".xOffset".
  1298. X.INDENT -1
  1299. X3 -yoffset
  1300. X.BREAK
  1301. X-yoffset <dimen>
  1302. X.SKIP
  1303. XSpecifies the size of the vertical offset of the output on the page (see
  1304. X-offsets).
  1305. X.SKIP
  1306. XThe resource name is ".yOffset".
  1307. X
  1308. X.INDENT -1
  1309. X2 Keystrokes
  1310. X.BREAK
  1311. XXdvi recognizes the following keystrokes when typed in its window.
  1312. XEach may optionally be preceded by a (positive or negative) number, whose
  1313. Xinterpretation will depend on the particular keystroke.  Note that the
  1314. Xkeystrokes are case sensitive.
  1315. X.INDENT -1
  1316. X3 q
  1317. X.BREAK
  1318. XQuits the program.  Control-C, control-D, and control-Z will do this, too.
  1319. X.INDENT -1
  1320. X3 n
  1321. X.BREAK
  1322. XMoves to the next page (or to the nth next page if a number is given).
  1323. XSynonyms are `f', Space, Return, Line Feed, and <Next Screen>.
  1324. X.INDENT -1
  1325. X3 p
  1326. X.BREAK
  1327. XMoves to the previous page (or back n pages).  Synonyms are
  1328. X`b', control-H, Delete, and <Prev Screen>.
  1329. X.INDENT -1
  1330. X3 g
  1331. X.BREAK
  1332. XMoves to the page with the given number.  Initially, the first page is
  1333. Xassumed to be page number 1, but this can be changed with the `P'
  1334. Xkeystroke.  If no page number is given, then it goes to the last page.
  1335. X.INDENT -1
  1336. X3 P
  1337. X.BREAK
  1338. X"This is page number n."  This can be used to make the `g'
  1339. Xkeystroke refer to actual page numbers instead of absolute page numbers.
  1340. X.INDENT -1
  1341. X3 Control-L
  1342. X.BREAK
  1343. XRedisplays the current page.
  1344. X.INDENT -1
  1345. X3 ^
  1346. X.BREAK
  1347. XMove to the "home" position of the page.  This is normally the upper
  1348. Xleft-hand corner of the page, depending on the margins as described in
  1349. Xthe -margins option.
  1350. X.INDENT -1
  1351. X3 u
  1352. X.BREAK
  1353. XMoves up two thirds of a window-full.  The <Up Arrow> key is a synonym for this
  1354. Xkeystroke.
  1355. X.INDENT -1
  1356. X3 d
  1357. X.BREAK
  1358. XMoves down two thirds of a window-full.  The <Down Arrow> key is a synonym for
  1359. Xthis keystroke.
  1360. X.INDENT -1
  1361. X3 l
  1362. X.BREAK
  1363. XMoves left two thirds of a window-full.  The <Left Arrow> key is a synonym for
  1364. Xthis keystroke.
  1365. X.INDENT -1
  1366. X3 r
  1367. X.BREAK
  1368. XMoves right two thirds of a window-full.  The <Right Arrow> key is a synonym for
  1369. Xthis keystroke.
  1370. X.INDENT -1
  1371. X3 c
  1372. X.BREAK
  1373. XMoves the page so that the point currently beneath the cursor is moved to
  1374. Xthe middle of the window.  It also (gasp!) warps the cursor to the same place.
  1375. X.INDENT -1
  1376. X3 M
  1377. X.BREAK
  1378. XSets the margins so that the point currently under the cursor is the upper
  1379. Xleft-hand corner of the text in the page.  Note that this command itself does
  1380. Xnot move the image at all.  For details on how the margins are used, see
  1381. Xthe -margins option.
  1382. X.INDENT -1
  1383. X3 s
  1384. X.BREAK
  1385. XChanges the shrink factor to the given number.  If no number is given, the
  1386. Xsmallest factor that makes the entire page fit in the window will be used.
  1387. X(Margins are ignored in this computation.)
  1388. X.INDENT -1
  1389. X3 S
  1390. X.BREAK
  1391. XSets the density factor to be used when shrinking bitmaps.  This should
  1392. Xbe a number between 0 and 100; higher numbers produce lighter characters.
  1393. X.INDENT -1
  1394. X3 R
  1395. X.BREAK
  1396. XForces the dvi file to be reread.  This allows you to preview many
  1397. Xversions of the same file while running XDVI only once.
  1398. X.INDENT -1
  1399. X3 k
  1400. X.BREAK
  1401. XNormally when XDVI switches pages, it moves to the home position as
  1402. Xwell.  The `k' keystroke toggles a `keep-position' flag which, when
  1403. Xset, will keep the same position when moving between pages.  Also `0k'
  1404. Xand `1k' clear and set this flag, respectively.  See also the -keep option.
  1405. X
  1406. X.INDENT -1
  1407. X2 Mouse_Actions
  1408. X.BREAK
  1409. XIf the shrink factor is set to any number other than one, then
  1410. Xclicking any mouse button will pop up a "magnifying glass" which shows
  1411. Xthe unshrunk image in the vicinity of the mouse click.  This subwindow
  1412. Xdisappears when the mouse button is released.  Different mouse buttons
  1413. Xproduce different sized windows, as indicated by the -mgs option.
  1414. XMoving the cursor while holding the button down will move the
  1415. Xmagnifying glass.
  1416. X.SKIP
  1417. XAlso, the scrollbars (if present) behave in the standard X Window way: pushing
  1418. XButton 2 in a scrollbar moves the top or left edge of the scrollbar to
  1419. Xthat point and optionally drags it; pushing Button 1 moves the image
  1420. Xup or right by an amount equal to the distance from the button press
  1421. Xto the upper left-hand corner of the window; pushing Button 3 moves
  1422. Xthe image down or left by the same amount.  Note that this is
  1423. Xdifferent than the way
  1424. XDECWindows normally defines the actions of the mouse buttons in scrollbars.
  1425. X
  1426. X.INDENT -1
  1427. X2 Logical_Names
  1428. X.BREAK
  1429. XSome logical names can be defined to override the values defined when
  1430. XXDVI was compiled.
  1431. X.INDENT -1
  1432. X3 DECW$DISPLAY
  1433. X.BREAK
  1434. XUnless the -display option is used on the command line, XDVI uses the logical
  1435. Xname "DECW$DISPLAY" to specify which bit map
  1436. Xdisplay terminal to use.  This logical name may be defined with the SET
  1437. XDISPLAY command.
  1438. X.INDENT -1
  1439. X3 XDVIFONTS
  1440. X.BREAK
  1441. XThe logical name "XDVIFONTS" determines the directory path(s) searched for fonts
  1442. Xin the following manner.  The string consists of one or more strings
  1443. Xseparated by slashes.  In each such string, the substring "%f" is
  1444. Xchanged to the font name; "%d" is changed to the magnification; and
  1445. X"%p" is changed to the font family ("gf", "pk", or "pxl").  If no "%f"
  1446. Xappears in the string, then the string ":%f.%d%p" is added on the end.
  1447. X.SKIP
  1448. XFor example, if the string is "TEX_DISK:[TEX.FONTS.%d]%f.%p" and the font is
  1449. Xcmr10 at 300dpi, then XDVI looks for TEX_DISK:[TEX.FONTS.300]CMR10.GF,
  1450. XTEX_DISK:[TEX.FONTS.300]CMR10.PK, and TEX_DISK:[TEX.FONTS.1500]CMR10.PXL,
  1451. Xin that order.
  1452. X.SKIP
  1453. XAn extra slash anywhere in the the "XDVIFONTS" logical name causes the
  1454. Xsystem default directories to be tried at that point.  If the font is not
  1455. Xfound in the desired size, then XDVI will try to find the nearest size.  If the
  1456. Xfont cannot be found at all, then XDVI will try to vary the point size
  1457. Xof the font (within a certain range), and if this fails, then it will
  1458. Xuse the font specified as the alternate font (cf. -altfont).
  1459. X.SKIP
  1460. XFor compatibilty with some versions of TeX, you may also use the logical name
  1461. X"TEXFONTS" in place of "XDVIFONTS", although in that case the string should
  1462. Xnot include any "%" specifiers.
  1463. X
  1464. X.INDENT -1
  1465. X3 XDVISIZES
  1466. X.BREAK
  1467. XThe logical name "XDVISIZES" must be set to indicate which
  1468. Xsizes of fonts are available.  It should consists of a list of numbers
  1469. Xseparated by slashes.  If the list begins with a slash, the system
  1470. Xdefault sizes are used, as well.  Sizes are expressed in dots per
  1471. Xinch; decimals may be used for "pxl" files: for example, a 300 dots
  1472. Xper inch file magnified by half a step comes out to 1643 dots per five
  1473. Xinches, which should be encoded as 328.6.  The current default set of
  1474. Xsizes is 300/328.6/360/432/518.4/622/746.4.  XDVI will also try the actual
  1475. Xsize of the font before trying any of the given sizes.
  1476. X
  1477. X.INDENT -1
  1478. X2 Resource_Names
  1479. X.BREAK
  1480. X   All of the command line options may be set via the resource names given in
  1481. X   the descriptions of the options.  This may be used to define a
  1482. X   specific set of options as the default each time you run XDVI.  To make use
  1483. X   of this feature, create a file named DECW$XDEFAULTS.DAT in the same directory
  1484. X   as the rest of your DECW*.DAT files.  Include in this file the resource names
  1485. X   and arguments of each of the options you wish to specify.  For example:
  1486. X.SKIP
  1487. X.LITERAL
  1488. X   XDvi.copy: off
  1489. X   XDvi.thorough: on
  1490. X   XDvi.shrinkFactor: 2
  1491. X   XDvi.Margin: 0.95
  1492. X   XDvi*geometry: 1015x750+3+25
  1493. X.END LITERAL
  1494. X.SKIP
  1495. X   When XDVI is invoked, it would behave as if it had been invoked with the
  1496. X   following command:
  1497. X.SKIP
  1498. X.LITERAL
  1499. X   XDVI +copy -thorough -s 2 -margins 0.95 -geometry 1015x750+3+25 dvifile
  1500. X.END LITERAL
  1501. X.SKIP
  1502. X   Specifying options on the command line will override any options specified
  1503. X   via resource names in the DECW$XDEFAULTS.DAT file.
  1504. X
  1505. X.INDENT -1
  1506. X2 Authors
  1507. X.BREAK
  1508. X.LITERAL
  1509. XEric Cooper, CMU, did a version for direct output to a QVSS.
  1510. XModified for X by Bob Scheifler, MIT Laboratory for Computer Science.
  1511. XModified for X11 by Mark Eichin, MIT SIPB.
  1512. XModified for VMS and DECWindows by Scott Allendorf, University of Iowa.
  1513. XAdditional enhancements by many others.
  1514. X.END LITERAL
  1515. END_OF_FILE
  1516. if test 16948 -ne `wc -c <'XDVI.RNH'`; then
  1517.     echo shar: \"'XDVI.RNH'\" unpacked with wrong size!
  1518. fi
  1519. # end of 'XDVI.RNH'
  1520. fi
  1521. echo shar: End of shell archive.
  1522. exit 0
  1523. -- 
  1524. --
  1525. Molecular Simulations, Inc.            mail: dcmartin@msi.com
  1526. 796 N. Pastoria Avenue                uucp: uunet!dcmartin
  1527. Sunnyvale, California 94086            at&t: 408/522-9236
  1528.