DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T i

⟦74d66f95b⟧ TextFile

    Length: 683 (0x2ab)
    Types: TextFile
    Names: »ini_to_trap«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« 
        └─⟦036c765ac⟧ 
            └─⟦this⟧ »TeX3.0/mf/ini_to_trap« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦c6be2784f⟧ »web2c-5.84b.tar.Z« 
        └─⟦5800b1b62⟧ 
            └─⟦this⟧ »src-5.84b/mf/ini_to_trap« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z« 
        └─⟦c58930e5c⟧ 
            └─⟦this⟧ »TeX3.14/mf/ini_to_trap« 

TextFile

#!/bin/sh
# A shell script to perform modifications on the mfd.h file
# to make trapmf instead of inimf.
#
# To use it, say:
# ini_to_trap <original mfd.h>
# 
# and that file changes into a file with the trap constants.
# 
# The output is in pairs of lines: the first is the definition for
# inimf, and the second is the definition for trapmf.

cp $1 $1.bak

ed - $1 <<edscriptend
/undef	TRAP/
s/undef/define/p
/memmax/
s/[0-9][0-9]*/3000/p
/errorline/
s/[0-9][0-9]*/64/p
/halferrorline/
s/[0-9][0-9]*/32/p
/maxprintline/
s/[0-9][0-9]*/72/p
/screenwidth/
s/[0-9][0-9]*/100/p
/screendepth/
s/[0-9][0-9]*/200/p
/gfbufsize/
s/[0-9][0-9]*/8/p
/memtop/
s/[0-9][0-9]*/3000/p
w
edscriptend