This is a work in progress. Hopefully my errors will help someone else come up with some good ideas. Also, this will be a way for me to remember what I've done!

In an effor to run tn5250 (xt5250) on the NIC, I did the following:

Replace /usr/X11R6/bin/xterm with a real xterm (I'm testing one from RedHat 6.1)

I used ldd `which xterm` to find what libraries are used by it. I see that libutemptor.so.0 is symlinked to libutempter.so.0.5.1 and is not on the NIC.

$nic is the directory with my copy of the .iso image downloaded from http://www.thinknic.com/about/gpl.html

Added $nic/usr/lib/libutemptor.so.5.1
cd $nic/usr/lib
ln -s libutempter.so.0.5.1 libutempter.so.0
ln -s libutempter.so.0.5.1 libutempter.so

The NIC includeds libncurses.so.4 in /usr/lib/ although my RedHat 6.1 has libncurses.so.4.2; will see if that's a problem.

Added:

$nic/usr/bin/dialog
$nic/usr/local/lib/lib5250.so.0
$nic/usr/local/bin/tn5250
$nic/usr/local/bin/xt5250
$nic/usr/local/share/tn5250/XTerm
$nic/usr/local/share/tn5250/dialogrc
$nic/usr/local/share/tn5250/uk5250.map
$nic/usr/local/share/tn5250/us5250.map
$nic/usr/home/httpd/html/img/tn5250-48x48.png

Modifed $nic/etc/ld.so.conf to include /usr/local/lib (does it also need /usr/lib ? Apparently not...)

Ran ldconfig -r $nic

Need a way to configure ~/.tn5250rc

Modified $nic/flashupgrade.tar
Added web/.tn5250rc
Added desktop/tn5250.desktop

tn5250.desktop:
desktop_entry:
name = tn5250
icon = /img/tn5250-48x48.png
comment = tn5250
terminal = false
type = application

incremented $nic/etc/VERSION to extract flashupgrade.tar

Deleted $nic/boot.cat and $nic/rr_moved/ since they are created by mkisofs

16 Jan 2001   Download: iso image (193,138,688 bytes) or gzipped iso (94,410,625 bytes)
$nic/etc/VERSION is not enough to make it run upgrade (or perhaps it doesn't extract flashupgrade.tar on this change). Tried running the upgrade.cgi but it didn't help. Even tried running clear.cgi to no avail. One wasted CD.

23 Jan 2001   Download: gzipped iso (94,231,760 bytes)
Replaced $nic/etc/VERSION and $nic/etc/flashupgrade.tar with originals, added changes to $nic/etc/flash.tar instead, updated tn5250 with latest cvs code, switch to CDRW so as to not waste CD! After booting, need to run http://localhost/cgi-bin/clear.cgi to delete flash (it then reboots.) Reconfigure everything and see that tn5250 shows up in the XTerminal folder. Doesn't run, though...