|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T q
Length: 1455 (0x5af)
Types: TextFile
Names: »qtroff.backup«
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
└─⟦this⟧ »./DVIware/laser-setters/quicspool/src/qtroff.backup«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z«
└─⟦ca79c7339⟧
└─⟦this⟧ »DVIware/laser-setters/quicspool/src/qtroff.backup«
#! /bin/sh
# $Header: qtroff.backup,v 1.1 88/01/15 13:05:19 simpson Rel $
# $Log: qtroff.backup,v $
#Revision 1.1 88/01/15 13:05:19 simpson
#initial release
#
#Revision 0.1 87/12/11 18:31:17 simpson
#beta test
#
# Unfortunately it is necessary to use this script for otroff since the
# troff macro file mount.nr must be read by otroff or the width tables in
# --OFONT-- will not be read. Two -m (macro) options cannot be given
# to otroff. If you could, we would name the macro file tmac.ount and use
# the command
# otroff -t -mount $* | lpr -t
# We would still have to resolve the flags to otroff and lpr though.
troffflags='-rv1 -t -F--OFONT--/ftXX'
lprflags='-t'
while [ $# -gt 0 ];do
case $1 in
# Begin of otroff flags
-o* | -n* | -m* | -i | -q | -f | -b | -a | -p* | -F* | -z)
troffflags="$troffflags $1"
shift
;;
# Begin of lpr flags
-P* | -\#* | -w* | -l | -t | -d | -g | -v | -c | -r | -h | -s | -L)
lprflags="$lprflags $1"
shift
;;
-C | -J | -1 | -2 | -3 | -4)
lprflags="$lprflags $1 $2"
shift; shift
;;
# Troff extension flags
-R*)
troffflags="$troffflags `echo $1|sed s/-R/-r/`"
shift
;;
# Lpr extension flags
-M)
lprflags="$lprflags -m"
shift
;;
# Any remaining flags go to troff
-*)
troffflags="$troffflags $1"
shift
;;
*)
break
;;
esac
done
if [ $# -eq 0 ]; then
readstdin=-i
else
readstdin=
fi
otroff $readstdin $troffflags --FILTER--/mount.nr $* | glpr $lprflags