AZ logo

CTAN directory: /dviware/dvi2tty

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
dvi2tty Produce ASCII from DVI.

Subdirectories

Name Notes
UNIXtoMacLib/

Files

Name Size* Date UTC Notes
COPYING 18 KiB 2003-Jan-23
DVI.format 3 KiB 1993-Sep-09
Makefile 1 KiB 2003-Jan-23
README 2 KiB 2003-Jan-23 Shown below
README.MAC 249 bytes 1996-Mar-24
README.ORG 1 KiB 1993-Mar-12
README.VMS 2 KiB 1990-May-02
TODO 2 KiB 1996-Mar-24
commands.h 4 KiB 2003-Jan-23
disdvi.1 416 bytes 1996-Mar-23
disdvi.c 17 KiB 2003-Jan-23
dvi2tty.1 5 KiB 1996-Mar-23
dvi2tty.DCL 1 KiB 1990-May-02
dvi2tty.c 32 KiB 2003-Jan-23
dvi2tty.h 5 KiB 2003-Jan-23
dvi2tty.lsm 483 bytes 2002-Apr-10
dvi2tty.tex 9 KiB 1996-Mar-23
dvistuff.c 44 KiB 2003-Jan-23
dvistuff.c.bak 43 KiB 1996-May-27
ligtest.tex 388 bytes 1990-Feb-04
test.aux 8 bytes 1993-Sep-21
test.dvi 2 KiB 1993-Sep-21
test.dvi.org 1 KiB 1991-Jul-24
test.log 2 KiB 1993-Sep-21
test.tex 1 KiB 1993-Sep-21

  *File sizes in kibibytes.

Contents of README

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