home *** CD-ROM | disk | FTP | other *** search
- To compile this version of Tn3270 you will first have to acquire the
- net-2 telnet source code from some place like tsx-11.mit.edu (I think
- it is hiding in /pub/linux/packages/net/net-2/sources/telnet or some
- such - if you have trouble try greping it out of one of the ls-lR files).
- The file you're looking for is telnet-552.tar.z.
-
- Once you have the telnet-552 source make a directory for it (it's going
- to unpack into several separate directories, and things will be easier
- if you know where it all went). Essentially:
-
- mkdir tn
- mv telnet-552.tar.z tn
- cd tn
- tar xzvvof telnet-552.tar.z
-
- Ok now you've got a bunch of telnet stuff (which you should be able to
- compile, if you can't you're not going to get Tn3270 to compile).
- Next we need to unpack the tn3270 stuff. You've probably discovered
- by now that the tn3270-500.tar.z package untarred into a few
- descriptive files and a tn3270.tar.z file. Move the tn3270.tar.z file
- into the tn directory, and now from the tn directory that you made above:
-
- tar xzvvof tn3270.tar.z
-
- This will make a tn3270 directory hierarchy. In this directory is a
- tn3270.diff file. From the tn directory:
-
- patch -p0 < tn3270/tn3270.diff
-
- This will patch some of the files in the telnet directory, but should not
- affect how telnet itself works if you compile it. Ok now first we need
- to make telnet and its various pieces, which will then be used to
- support Tn3270. So from the tn directory you need to build at least
- libtelnet (it may be already built, but you probably want to remake it
- just to be sure), so:
-
- cd libtelnet
- make
-
-
- Once this is done:
-
- cd ../tn3270
- make
-
- It all finishes ok, you should now have a tn3270 and an mset binary to
- stick where you want.
-
- The support files are in tn3270/man and tn3270/etc. The stuff in
- tn3270/etc needs to go in, or be simlinked in /etc, that's where tn3270
- will go looking for it. Put your man pages where you see fit
- (probably in the /usr/man/man* somewhere :-) )
-
- As usual my disclaimer. I don't claim this stuff is suitable for anything,
- but I hope you find it useful. I'm incredibly busy these days, but if you
- see something you think I might want to know go ahead and email me. One
- of these days I'll get color support built into Tn3270, but give me time.
-
- I also want to clean up the ugly make files, and make things a little nicer.
- The natives are clamouring, however, and since it works, I thought I'd get
- it out to you folks.
-
- Eric Kasten (tigger)
- tigger@tigger.cl.msu.edu
-
-
-
-
-
-
-