This is dvi2tty-5.3 modified for Harvest.

Following changes were made to integrate dvi2tty to Harvest:
- removed all files not necessary for operating under Harvest.
- added Makefile.in.
- dvi2tty.c configured not to use pager.
- corrected version number in dvi2tty.c.
- some tweaks to remove warnings generated by compiler.

You can get full distribution of dvi2tty-5.3 from:

    http://www.mesa.nl/pub/dvi2tty/

26 jan 2000 Kang-Jin Lee <lee@arco.met.fu-berlin.de>


------------Original README follows----------------

                DVI2TTY


dvi2tty is intended for previewing dvi-files on text-only
devices (terminals and lineprinters).
The program is basicly an improved C version of the pascal
program written by Svante Lindahl (see README.ORG).
I translated it because I could not find a pascal compiler
on our machine that could compile it.
The program runs under UNIX and MSDOS without problems
It should also run under VMS.
(you may need some site dependend redefinitions, see below).


                DISDVI

Disdvi is a simple hack that dumps a dvi file in a more readable form.
It is not a spectacular program but use it and improve as you wish.
I'd appreciate any enhancements made, bug reports etc. mailed to me.


    COMPILING THE PROGRAMS

Disdvi is rather simple and does not need any modifications.
To compile under VMS, you might need to define an extra macro:
Add a -DVMS on the command line, or add a line
    #define VMS
in the dvi2tty.h file.
For dvi2tty you may find the following problems:

 function strchr() can not be found:
      Your are probably a BSD UNIX or alike.
      Solution: #define strchr index
 '/usr/bin/pg' program not found.
      Solution: change the DEFPAGER macro in dvi2tty.c

When set, just type:

	make

to build disdvi and dvi2tty

Thats all, good luck.


- Marcel
#########################################
# Marcel J.E. Mol                       #
# Delft University of Technology        #
# The Netherlands                       #
#                                       #
# MESA Consulting +31-(0)70-3935147     #
# email: marcel@mesa.nl                 #
#                                       #
#########################################
