help!! iseries as/400 or tn5250 config
Brian McKee
brian.mckee at gmail.com
Mon Nov 16 16:10:50 UTC 2009
2009/11/16 khobbos khobbos <khobbos at live.com>:
> Usually under windows i use AS/400 client access to work with our IBM V4R4
> server
> I download “”iSeriesAccess-5.4.0-1.4.i386.rpm””
I suggest you remove it and start again changing the alien command
just slightly to prevent problems down the road.
Open up a terminal and type or copy-paste the indented lines
sudo aptitude remove iseriesaccess
then make sure you have this package
sudo aptitude install libmotif3
Then convert the rpm using the '-ckv' options
sudo alien -ckv iSeriesAccess*.rpm
Then install it again
sudo dpkg -i iseriesaccess*.deb
Note everything is installed in /opt/ibm/iSeriesAccess with symlinks
in /usr/bin
There is one more trick to work around an IBM bug. It doesn't handle
UTF8 locales. Run
locale | grep LANG
On my machine I get LANG=en_CA.UTF-8.
It sounds like you will have something different there.
Take that value and add it to next command.
e.g. I ran
sudo locale-gen en_CA
Do what's right for you.
Ok, now all that stuff is out of the way there are two programs.
ibm5250
starts the emulator
setup5250
starts a configuration shortcut setup program
To make a button you can click on, right click on your desktop and
choose 'make launcher'
Type is Application
Name is whatever you want to call it
Command will be /usr/bin/setup5250 or /usr/bin/ibm5250
Comment is again whatever you want - thats the message that shows up
when you hover the mouse over the icon
You can click on the little springy picture and change the icon to
something else if you wish.
Hit ok and you'll get an icon on your desktop. Test it and make sure it works.
To add that to your menus, right click on 'Applications' and choose 'edit menus'
You can drag and drop that icon from your desktop into the spot you
want it to be.
Once it's there, you can delete it off your desktop if you like.
Let me know if any of that needs more clarification etc.
Brian
More information about the ubuntu-users
mailing list