DVI2TTY: Part 1 of 2; supports VMS and symbol fonts
Marcel Mol
marcel at duteca
Wed Apr 11 09:25:58 AEST 1990
#! /bin/sh
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of shell archive."
# Contents: difs
# Wrapped by marcel at duteca on Tue Mar 27 23:38:20 1990
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'difs' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'difs'\"
else
echo shar: Extracting \"'difs'\" \(2348 characters\)
sed "s/^X//" >'difs' <<'END_OF_FILE'
X*** ORG/dvi2tty.c Fri Mar 2 00:41:11 1990
X--- dvi2tty.c Tue Mar 27 23:34:33 1990
X***************
X*** 1,4 ****
X--- 1,8 ----
X /******************************************************************************
X+ * Marcel Mol: 1990-03-27 (UUCP: marcel at duteca.tudelft.nl)
X+ * Fixed bug that causes the program to hang when it finds a
X+ * fontname with an 's' in it not followed by an 'y'.
X+ * Thanks to Paul Orgren (orgren at Stars.Reston.Unisys.COM).
X * Marcel Mol: 1990-02-04 (UUCP: marcel at duteca.tudelft.nl)
X * First attempt to recognize symbol fonts, so bullets (in
X * itemized lists) are translated to a proper character instead
X***************
X*** 137,143 ****
X #define onepp 8 /* only one page list allowed */
X #define noarg 9 /* argument expected */
X
X! char *dvi2tty = "@(#) dvi2tty.c 4.0 04/02/90 M.J.E. Mol (c) 1989, 1990";
X
X /*---------------------------------------------------------------------------*/
X
X--- 141,147 ----
X #define onepp 8 /* only one page list allowed */
X #define noarg 9 /* argument expected */
X
X! char *dvi2tty = "@(#) dvi2tty.c 4.1 27/03/90 M.J.E. Mol (c) 1989, 1990";
X
X /*---------------------------------------------------------------------------*/
X
X*** ORG/dvistuff.c Fri Mar 2 00:41:14 1990
X--- dvistuff.c Tue Mar 27 23:29:28 1990
X***************
X*** 49,55 ****
X #define sget3() snum(3)
X #define sget4() snum(4)
X
X! char *dvistuff = "@(#) dvistuff.c 4.0 04/02/90 M.J.E. Mol (c) 1989, 1990";
X
X /*---------------------------------------------------------------------------*/
X
X--- 49,55 ----
X #define sget3() snum(3)
X #define sget4() snum(4)
X
X! char *dvistuff = "@(#) dvistuff.c 4.1 27/03/90 M.J.E. Mol (c) 1989, 1990";
X
X /*---------------------------------------------------------------------------*/
X
X***************
X*** 1036,1047 ****
X--- 1036,1049 ----
X symbolfont = TRUE;
X return;
X }
X+ s++; /* New line to fix bug; font names with 's' would hang */
X }
X
X symbolfont = FALSE;
X return;
X
X } /* setfont */
X+
X
X
X /*----------------------------------------------------------------------------*/
END_OF_FILE
if test 2348 -ne `wc -c <'difs'`; then
echo shar: \"'difs'\" unpacked with wrong size!
fi
# end of 'difs'
fi
echo shar: End of shell archive.
exit 0
--
#########################################
# Marcel J.E. Mol ######################################
# Delft University of Technology Pink Elephant Management Services #
# The Netherlands Voorburg #
# UUCP: marcel at duteca.tudelft.nl Tel: 070-694231 #
# ######################################
#########################################
More information about the Alt.sources
mailing list