CTAN masthead graphic CTAN lion sketch

Directory: CTAN home / tex-archive/ dviware/ dvi2tty

You can get this entire directory bundled as dvi2tty.zip.

Packages located here

Package Caption
dvi2tty Produce ASCII from DVI.

Subdirectories of this one

NameDateDescription
UNIXtoMacLib/ 2008-07-15

Files in this directory

NameDateSize Description
COPYING 2003-01-23 17 Kbyte download
DVI.format 1993-09-09 3 Kbyte download
Makefile 2003-01-23 785 bytes download
README 2003-01-23 1 Kbyte download Shown below
README.MAC 1996-03-24 249 bytes download
README.ORG 1993-03-12 1 Kbyte download
README.VMS 1990-05-02 1 Kbyte download
TODO 1996-03-24 1 Kbyte download
commands.h 2003-01-23 4 Kbyte download
disdvi.1 1996-03-23 416 bytes download
disdvi.c 2003-01-23 17 Kbyte download
dvi2tty.1 1996-03-23 5 Kbyte download
dvi2tty.DCL 1990-05-02 1 Kbyte download
dvi2tty.c 2003-01-23 31 Kbyte download
dvi2tty.h 2003-01-23 5 Kbyte download
dvi2tty.lsm 2002-04-10 483 bytes download
dvi2tty.tex 1996-03-23 8 Kbyte download
dvistuff.c 2003-01-23 44 Kbyte download
dvistuff.c.bak 1996-05-27 43 Kbyte download
ligtest.tex 1990-02-04 388 bytes download
test.aux 1993-09-21 8 bytes download
test.dvi 1993-09-21 1 Kbyte download
test.dvi.org 1991-07-24 748 bytes download
test.log 1993-09-21 1 Kbyte download
test.tex 1993-09-21 803 bytes download

Contents of the README file

                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

dvi2tty is licensed under the GPL version 2. It has had a history of many
authors, I am just one of the latest maintainers.

Thats all, good luck.


- Marcel 
#########################################
# Marcel J.E. Mol                       #
#                                       #
# MESA Consulting +31-(0)6-54724868     #
# email: marcel@mesa.nl                 #
# The Netherlands                       #
#                                       #
#########################################

Small print: This listing is regenerated periodically so there is a small chance that the directory has changed from what is shown here; to be sure, check the FTP listing.