home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / network / misc / tn3270_1.z / tn3270_1 / COMPILING next >
Encoding:
Text File  |  1993-12-01  |  2.4 KB  |  71 lines

  1. To compile this version of Tn3270 you will first have to acquire the
  2. net-2 telnet source code from some place like tsx-11.mit.edu (I think
  3. it is hiding in /pub/linux/packages/net/net-2/sources/telnet or some
  4. such - if you have trouble try greping it out of one of the ls-lR files).
  5. The file you're looking for is telnet-552.tar.z.
  6.  
  7. Once you have the telnet-552 source make a directory for it (it's going
  8. to unpack into several separate directories, and things will be easier
  9. if you know where it all went).  Essentially:
  10.  
  11.     mkdir tn
  12.     mv telnet-552.tar.z tn
  13.     cd tn
  14.     tar xzvvof telnet-552.tar.z
  15.  
  16. Ok now you've got a bunch of telnet stuff (which you should be able to
  17. compile, if you can't you're not going to get Tn3270 to compile).
  18. Next we need to unpack the tn3270 stuff.  You've probably discovered
  19. by now that the tn3270-500.tar.z package untarred into a few 
  20. descriptive files and a tn3270.tar.z file.  Move the tn3270.tar.z file
  21. into the tn directory, and now from the tn directory that you made above:
  22.  
  23.     tar xzvvof tn3270.tar.z
  24.  
  25. This will make a tn3270 directory hierarchy.  In this directory is a
  26. tn3270.diff file.  From the tn directory:
  27.  
  28.     patch -p0 < tn3270/tn3270.diff
  29.  
  30. This will patch some of the files in the telnet directory, but should not
  31. affect how telnet itself works if you compile it.  Ok now first we need
  32. to make telnet and its various pieces, which will then be used to 
  33. support Tn3270. So from the tn directory you need to build at least
  34. libtelnet (it may be already built, but you probably want to remake it
  35. just to be sure), so:
  36.  
  37.     cd libtelnet
  38.     make
  39.     
  40.  
  41. Once this is done:
  42.  
  43.     cd ../tn3270
  44.     make
  45.  
  46. It all finishes ok, you should now have a tn3270 and an mset binary to
  47. stick where you want.
  48.  
  49. The support files are in tn3270/man and tn3270/etc.  The stuff in
  50. tn3270/etc needs to go in, or be simlinked in /etc, that's where tn3270
  51. will go looking for it.  Put your man pages where you see fit 
  52. (probably in the /usr/man/man* somewhere :-) )
  53.  
  54. As usual my disclaimer.  I don't claim this stuff is suitable for anything,
  55. but I hope you find it useful.  I'm incredibly busy these days, but if you
  56. see something you think I might want to know go ahead and email me.  One
  57. of these days I'll get color support built into Tn3270, but give me time.
  58.  
  59. I also want to clean up the ugly make files, and make things a little nicer.
  60. The natives are clamouring, however, and since it works, I thought I'd get
  61. it out to you folks.
  62.  
  63. Eric Kasten (tigger)
  64. tigger@tigger.cl.msu.edu
  65.     
  66.  
  67.     
  68.  
  69.  
  70.  
  71.