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

There are no subdirectories here.

Files in this directory

NameDateSize Description
DVI.format 1993-03-12 2 Kbyte download
MANIFEST 1993-03-12 437 bytes download
Makefile 1993-03-12 454 bytes download
README 1993-03-12 1 Kbyte download Shown below
README.ORG 1993-03-12 1 Kbyte download
commands.h 1993-03-12 3 Kbyte download
disdvi.c 1993-03-12 14 Kbyte download
dvi2tty-german_umlauts.patch 2000-11-29 5 Kbyte download
dvi2tty-latin1.patch 1998-08-04 2 Kbyte download
dvi2tty.1 1993-03-12 4 Kbyte download
dvi2tty.c 1993-03-12 24 Kbyte download
dvi2tty.h 1993-03-12 3 Kbyte download
dvi2tty.patch 1996-06-02 2 Kbyte download
dvistuff.c 1993-03-12 37 Kbyte 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).
Undocumented option: the -e option can be used to influence
the width of spaces. With a negative value the number of spaces 
between words becomes less, with a positive value it becomes more.
Just play around if you like, -e-11 worked nice with me.


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

Thats all, good luck.


- Marcel 
-----------------------------------------
| Marcel J.E. Mol                       | They hate you if your're clever
| Delft University of Technology        | And they despise the fool
| The Netherlands                       | Till you're so fucking crazy
| UUCP: marcel@duteca.tudelft.nl        | You can't follow the rules.
-----------------------------------------			 - Lennon

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.