[comp.sys.sgi] TeXhax

Dan Karron@UCBVAX.BERKELEY.EDU (06/05/91)

Here is some parts of the TeXhax digest, including subscription info.

June is the machine that is (was) distributing Unix flavored TeX.

If you have specific questions, I will try to answer them.

Cheers!

From TeXhax@cs.washington.edu  Thu May 16 11:15:54 1991
Date: Wed, 15 May 91 20:32:09 -0700
Subject: TeXhax Digest V91 #023
From: TeXhax Digest <TeXhax@cs.washington.edu>
Errors-To: TeXhax-request@cs.washington.edu
Maint-Path: TeXhax-request@cs.washington.edu

TeXhax Digest    Wednesday,  May 15, 1991  Volume 91 : Issue 023

Moderators: Tiina Modisett and Pierre MacKay

%%% The TeXhax digest is brought to you as a service of the TeX Users Group %%%
%%%       in cooperation with the UnixTeX distribution service at the       %%%
%%%                      University of Washington                           %%%

Today's Topics:         

                            Re: TeXCAD, AmSTeX
                              \midinsert etc.
                     MODE_DEF FOR COMPUGRAPHICS 9600
                               file.ps -> dvi
                         Current version of XFig ?


------------------------------------------------------------------------------

Date: Thu, 25 Apr 91 02:41:58 EDT
>From: karron@karron.med.nyu.edu (Dan Karron (karron@nyu.edu))
Subject: TeX 3.1 on sgi irix
Keywords: TeX 3.1, SGI IRIX

I report my first time installation on an sgi IRIX 3.3.1 
system.

My main problem was in realizing that the only file that needed to be
fixed was site.h, and that all compiles should be preceeded with
a make veryclean. Without starting from a known state, the compiles
would end up with odd linkage errors.

Another problem is the lack of an alloca function. This
can be obtained from any gnu source. It should be
included in the makes, and the absence of that function
noted and the makefile made to behave accordingly.

My site.h file is appended below, along with the makefile
that I used.

I will post another note with my remaining questions and
problems.

I use both a hp laser jet 2 and a ps printer, and the Beebe dvijep
collection works fine. I also use the dvips from labrea.

They did not appear to work at first because of the lack of an 8 bit
data path through the lp interface script. The key
is that you use a stty statment with the raw option. Without
it, you get output, but it is sloppy looking, and some 
characters work, some don't. The diagnostic is that when
you print the story.tex test file, all of the 'i's and 'l's
drop out, but the rest of the output looks just fine !

Here is the stty params that worked. The printer is
connected via a serial port at 38400 baud.
BAUDRATE=38400
STTYPARAMS="raw cs8 -parenb"
#
stty $BAUDRATE $STTYPARAMS <&1
# verify the stty settings into the log file. Comment when done.
echo >> $LOGFILE
stty -a <&1 2>&1 >> $LOGFILE
echo >> $LOGFILE

Also beware of handshake problems. Testing 8 bit data was 
tough. Also, the iris lp interface script implimentation
is faulty. Your stderr output is sunk to the printer.
So the best way to debug the script is to run them by
hand and look for errors. I have complained to the
right people at sgi about this.

Here is the site.h
%----------------------------------------------------------
#ifndef __WEB2C_SITE_H
#define __WEB2C_SITE_H
#define SYSV
#undef  ANSI
#define TEXFONTS   ".:/usr/local/lib/tex/fonts/tfm"
#define TEXFORMATS ".:/usr/local/lib/tex/formats"
#define TEXINPUTS  ".:/usr/local/lib/tex/inputs"
#define TEXPOOL    "/usr/local/lib/tex"
#define MFBASES    ".:/usr/local/lib/mf/bases"
#define MFINPUTS   ".:/usr/local/lib/mf/inputs"
#define MFPOOL     "/usr/local/lib/mf"
#define VFFONTS    ".:/usr/local/lib/tex/fonts/vf"
#define SEARCH_SUBDIRECTORIES
#define TEXFONTS_SUBDIR "/usr/local/lib/tex/fonts/tfm"
#define TEXINPUTS_SUBDIR "/usr/local/lib/tex/inputs"
#define MFINPUTS_SUBDIR "/usr/local/lib/mf/inputs"
#define BIBINPUTS       ".:/usr/local/lib/tex/bib"
#undef  HP2627WIN               /* HP 2627. */
#undef  SUNWIN                  /* SunWindows. */
#undef  TEKTRONIXWIN            /* Tektronix 4014. */
#undef  UNITERMWIN              /* Uniterm Tektronix.  */
#undef  X10WIN                  /* X Version 10. */
#define X11WIN                  /* X Version 11. */
#define EDITOR  "/usr/bin/vi +%d %s"
#define HAVE_GETWD
#define SIGNAL_HANDLER_RETURN_TYPE void
#define SPRINTF_RETURN_TYPE int
#define REGFIX
#undef  SIXTEENBIT
#undef  NONASCII
typedef short schar;
typedef double glueratio;
typedef long integer;
#include "defaults.h"
#endif /* not __WEB2C_SITE_H */
%-----------------------------------------------------------
ersion=5.8a_dbk
SITEDIR=..
CC=cc
OPT=-g 
LDFLAGS=-lm -lc_s
SHELL=/bin/sh
YACC=bison -y
LEX=lex
LEXLIB=-ll
LEXCFLAGS=
wlibs=-lXau -lXdmcp -lXinput -lXt -lXaw -lXext -lXmu -lX11
bases=mf.base cmmf.base
localmodes=Karron
INSTALL=enplant.sh
fileinstall=$(INSTALL) -m 664
proginstall=$(INSTALL) -m 775
bindir=/usr/local/bin
manext=l
mandir=/usr/man/local/man1
maninstall=ln -fs 

texlibdir=/usr/local/lib/tex
texpooldir=$(texlibdir)
texinputdir=$(texlibdir)/inputs
texfontdir=$(texlibdir)/fonts/tfm
formatdir=$(texlibdir)/formats

mflibdir=/usr/local/lib/mf
mfpooldir=$(mflibdir)
mfinputdir=$(mflibdir)/inputs
basedir=$(mflibdir)/bases

# Where the Computer Modern sources are.
# (The man pages claim that you have installed the standard utility
# sources, like `grayf.mf' and `expr.mf', somewhere in $(mfinputdir).)
cmsources=$(mfinputdir)

default: all


# Stuff below here probably doesn't need to be changed.
# 

Cheers!

dan.
| karron@nyu.edu (e-mail alias )         Dan Karron, Research Associate      
|
| Phone: 212 263 5210 Fax: 212 263 7190  New York University Medical Center  
|
| 560 First Avenue                       Digital Pager <1> (212) 397 9330    
|
| New York, New York 10016               <2> 10896   <3> <your-number-here>  
|

-----------------------------------------------------------------------

%%% Further information about the TeXhax Digest, the TeX
%%% Users Group, and the latest software versions is available
%%% in every tenth issue of the TeXhax Digest.
%%%
%%% Concerning subscriptions, address changes, unsubscribing:
%%%
%%%  BITNET: send a one-line mail message to LISTSERV@xxx
%%%         SUBSCRIBE TEX-L <your name>    % to subscribe
%%%      or UNSUBSCRIBE TEX-L
%%%
%%% Internet: send a similar one line mail message to
%%%           TeXhax-request@cs.washington.edu
%%% JANET users may choose to use
%%%           texhax-request@uk.ac.nsf
%%% All submissions to: TeXhax@cs.washington.edu
%%%
%%% Back issues available for FTPing as:
%%%          machine:              directory:  filename:
%%%   JUNE.CS.WASHINGTON.EDU          TeXhax/TeXhaxyy.nnn
%%%              yy = last two digits of current year
%%%                       nnn = issue number
%%%
%%%\bye
%%%

End of TeXhax Digest
**************************
-------

| karron@nyu.edu (e-mail alias )         Dan Karron, Research Associate      |
| Phone: 212 263 5210 Fax: 212 263 7190  New York University Medical Center  |
| 560 First Avenue                       Digital Pager <1> (212) 397 9330    |
| New York, New York 10016               <2> 10896   <3> <your-number-here>  |