
'trn' porting guide for Linux:
==============================
I did the following to compile trn2.2 under linux 0.97pl2 mcc-interim
(0.97p5 through 0.98p1 kernels) with gcc2.2.2d and jump-tables 4.1:

Start with the config.sh I got from root@turnbull.wariat.org (thanks!)
-----------------------------------------------------------------------

1. link /usr/lib/libc.a -> /usr/lib/gcc-lib/i386-linux/2.2.2d/libc.a
	so that Configure can find the C-library
2. link /lib/cpp -> /usr/bin/gcc so the Configure passes the cpp tests
	(stupid, but true)
3. comment out the fseek definition in common.h since it's already
	defined in /usr/include/stdio.h
4. there's no SIGEMT in linux, so change the line with it in init.c
	to "if (0) {" so that path doesn't get used
5. everything will now compile, but it won't link due to multiple definitions
	in term.h/term.c of BC,UP,PC with the definitions apparently in termlib.
	I changed the variable names to VDSBC,VDSUP,VDSPC in term.c and
	term.h with some global search and replaces, then everything compiles
	and works.
6. I had to do a 'bison -y getdate.y -o getdate.c' by hand in the middle of
	the make since linux has bison, not yacc

Diffs from normal trn:
======================
If you want to apply future patches to trn yourself, you can reverse my
patches in common.h by looking for my initials 'VDS'...

So what now?
============
To change the paths, hostname, etc. for your site, you should be able to directly
edit config.sh.  Then do a make depend, then a make, then a make install.

==> everything including the threads stuff appear to work fine :-)

							VDS 10/15/92
-- 
     ---------- Vince Skahan --------- vince@victrola.sea.wa.us ----------
    Running Linux/C-news/trn/Elm/Smail - we don't need no steenkin' MS-DOS 
