We may start using TN5250 for our users here. But before we can do this,
we need to create a binary install file for Mac OS X. As some may know,
this is somewhat like doing a FreeBSD version because of their related
lineage at the unix level.

In FreeBSD, you can make a binary install package by typing the following commands:

      cd /usr/ports/net/tn5250
      make package

However, that also means that it won't modify the termcap, so you'd have to modify xt5250 so not try to change the terminal type, or it won't work nicely.

I have no clue if anything I've said above is useful in OS X, I use FreeBSD every day, but haven't had the opportunity to try OS X.

Before I can do this two questions come to mind:

1 - Can anyone provide me with a list of all the files involved? I've
tried looking at the make files, but since I haven't looked at a gcc make
file before I'm not sure what I'm looking at. I've got a rough idea now,
but I want to be sure I don't forget anything.

Here's how I'd check that:

$ cd tn5250-0.17.2
$ mkdir /tmp/tn5250
$ ./configure --prefix=/tmp/tn5250
[snipped output from configure]
$ make && make install
[snipped output from make]
$ cd /tmp/tn5250
$ find . -print

2 - What, if any, licensing issues are involved in distributing tn5250 (BTW, not planning on selling this)?

Here's how I'd find out:

$ cd tn5250-0.17.2
$ less src/tn5250.c
 * Copyright (C) 1997 Michael Madore
 * This file is part of TN5250.
 * TN5250 is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 * TN5250 is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * GNU Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Hmmm.. it says there should be a copy of the GNU LGPL included with the program. Yay! It's there under the name "COPYING".

$ less COPYING
[ the license agreement is shown on the screen ]

Good luck!

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].