summaryrefslogtreecommitdiff
path: root/support/tgrind/README
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/tgrind/README
Initial commit
Diffstat (limited to 'support/tgrind/README')
-rw-r--r--support/tgrind/README36
1 files changed, 36 insertions, 0 deletions
diff --git a/support/tgrind/README b/support/tgrind/README
new file mode 100644
index 0000000000..14672b05f2
--- /dev/null
+++ b/support/tgrind/README
@@ -0,0 +1,36 @@
+This is a pretty printer similar to 4bsd's "vgrind" except it uses
+TeX instead of troff. It was written by Van Jacobson of Lawrence
+Berkeley Laboratory (van@lbl-rtsg.arpa).
+
+To install it:
+
+ (1) Decide where you want to put the program (I suggest /usr/local).
+
+ (2) Move the entire contents of either ./BSD or ./SYS_V into this
+ working directory, or wherever you want to work on the
+ compilation.
+
+ (3) Edit "Makefile":
+ set DESTDIR to the program destination directory.
+ (the tgrind shell script, tgrind.sh, will go here. Also
+ the formatting program, tfontedpr, will go into the "lib"
+ subdirectory of DESTDIR, e.g., /usr/local/lib).
+ set TEXINPUTS to the pathname of your TeX "\input" directory
+ (the TeX macro file "tgrindmac.tex" will get put here).
+ set DEFSFILE to the pathname of your vgrind language definitions
+ file. If you're running 4.2bsd, this is "/usr/lib/vgrindefs".
+ Both vgrind & tgrind can use the same file. A vgrindefs file
+ that has been updated considerably since the 4.2 distribution
+ is included in this directory ("vgrindefs.src").
+
+ (4) Edit "tgrind.sh":
+ Put the pathname for tfontedpr in the "set b=" statement.
+ Put the pathname for TeX in the "set tex=" statement.
+ Look at the comments about output routing & do whatever you
+ think is appropriate.
+
+ (5) Type "make install".
+
+Good luck. Please let me know of any problems, enhancements, suggestions, etc.
+
+ -Van