[comp.unix.ultrix] tn3270, version for dec 3100 ?

emv@math.lsa.umich.edu (Edward Vielmetti) (12/30/89)

Hi.

I'm looking for a version of tn3270 that will build cleanly 
on the DECstation 3100 under Ultrix 3.1.

I have located versions that will build under the following systems,
some small consolation -- apparently all of the ifdefs in tn3270
are #ifdef system rather than #ifdef feature, so a port is none
too fun.

ucbarpa.berkeley.edu (v4.1.1) which compiles OK on sun/vax
RT AOS 4.3 Release 2 with NFS defines on devvax.tn.cornell.edu.
HP-UX version on columbia.edu in hp/tn3270.tar.Z.
IRIS version on iris613.gsfc.nasa.gov.

Thanks for help or pointers to stuff.  A good vendor would consider
shipping this stuff as part of the release ....

--Ed

emv@math.lsa.umich.edu (Edward Vielmetti) (12/30/89)

In article <EMV.89Dec29122519@urania.math.lsa.umich.edu> emv@math.lsa.umich.edu (Edward Vielmetti) writes:

   I'm looking for a version of tn3270 that will build cleanly 
   on the DECstation 3100 under Ultrix 3.1.

   ucbarpa.berkeley.edu (v4.1.1) which compiles OK on sun/vax
   RT AOS 4.3 Release 2 with NFS defines on devvax.tn.cornell.edu.
   HP-UX version on columbia.edu in hp/tn3270.tar.Z.
   IRIS version on iris613.gsfc.nasa.gov.

well, a bit of snooping in my own private archives found this,
so add
   Decstation 3100 version on bimbo.tn.cornell.edu
to your private list.

Apologies to anyone who's seen this once already, though I doubt
much of anyone has a 3 month expire these days (sigh).  Thanks
Hurf!

--Ed


From: hurf@batcomputer.tn.cornell.edu (Hurf Sheldon)
Newsgroups: comp.unix.ultrix
Subject: TN3270 on DS3100 working
Keywords: TN3270, DS3100, Pmax, compiling, ftp
Message-ID: <9149@batcomputer.tn.cornell.edu>
Date: 26 Oct 89 14:18:39 GMT
Reply-To: hurf@tcgould.tn.cornell.edu (Hurf Sheldon)
Organization: Cornell Theory Center, Cornell University, Ithaca NY
Lines: 51


There was some interest in this from all corners of the globe...

With help from a few people from the tn3270 list
(tn3270@terminus.umd.edu)
I have it working.
The following was done:
../telnet/Source/tn3270.c
put #if ((!defined(mips))) around the putchar routine..
#if ((!define(NOT43)) ...
(thanks skapur@ccmail.sunysb.edu)

ctlr/api.h
added '|| (MIPSEL)' to the byte order check
(line 333)
[Probably should add ' || (MIPSEB) ' to the next check]

edited makefile to reflect a different install scheme and to put
../etc/map3270 in /etc
changed the 'thisdepend' rule so it worked and put 'mkdep' in this directory.
 (thanks jch@sonne.tn.cornell.edu) 

Used ../telnet/Makefile_ultrix instead of ../telnet/Makefile

I don't have the map file working so the enter key is read correctly -
use ^Z - 

Interestingly this works fine on a vax rlogged into from the Pmax
(termcap maybe?)


Will diff a std directory so you can use patch to do all the work and
post it soon. - 

Meanwhile on bimbo.tn.cornell.edu (128.84.253.208) for anon ftp in pub

-rw-r--r--  1 0        0          652612 Oct 26 09:55 mips.tn3270.tar.Z

Just unpacking, editing tn3270/makefile to reflect your own
installation preferences and typing 'make' or 'make install'
should build a working tn3270 on a Pmax. Read the README.CORNELL.LPS

Built mine under Ultrix3.1-UWS2.1...

hurf

-- 
     Hurf Sheldon			 Network: hurf@ionvax.tn.cornell.edu
     Lab of Plasma Studies		  Bitnet: hurf@CRNLION
     369 Upson Hall, Cornell University, Ithaca, N.Y. 14853  ph:607 255 7267
  I got a job in science; I bought a Porsche; Now, everyone takes me seriously.

shan_x@jhunix.HCF.JHU.EDU (Xuning Shan) (12/30/89)

In article <EMV.89Dec29122519@urania.math.lsa.umich.edu> emv@math.lsa.umich.edu (Edward Vielmetti) writes:
>
>Hi.
>
>I'm looking for a version of tn3270 that will build cleanly 
>on the DECstation 3100 under Ultrix 3.1.
>

     I got one version from uunet.uu.net via anonymous ftp
under "comp.souces.unix". I made a  little revision and it 
was compiled ok. Up to now I have not met any problem with
it. 

    First, DEC 3100 does not have "trap.h". Get it from
some other Ultrix machine. Then comments out two lines
in "api.h" around 344th line.  Use the makefile for 
BSD4.2.  I didn't read the entire code. So I'm not sure 
if it works "perfectly" for DEC 3100. As long as it works 
with me now, I seldom read the code. Hope it works with 
you too.


X. Shan
shan_x@jhuvms.bitnet

hurf@calvin.spp.cornell.edu (Hurf Sheldon) (01/05/90)

		bimbo.tn.cornell.edu is temporarily at
		128.84.200.208 instead of 128.84.253.208

		/ftp/pub/mips.tn3270.tar.Z
	
		for anon ftp 

hurf
-- 
     Hurf Sheldon                        Network: hurf@ionvax.tn.cornell.edu
     Lab of Plasma Studies                Bitnet: hurf@CRNLION
     369 Upson Hall, Cornell University, Ithaca, N.Y. 14853  ph:607 255 7267
     "And the walls came tumbling down"