Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX, Linux, Telnet ... and on and on ...

Status
Not open for further replies.

GregoryLegarand

Programmer
Feb 20, 2003
3
FR
Hello,

I've got a problem.
I've got a IBM RS6000 server with AIX 4.3. On this server is running an ERP which is accessed through some Axel terminals ( or Windows terminal emulators.

Now, I want to access my RS6000 server through Linux. Telnet is okay and I can do whatever I want with ksh but when I want to use my ERP (graphical-text mode with colors), colors don't appear (replaced by some characters), some keys don't work ...
Before doing telnet, i did "export TERM=ansi" but that doesn't work perfectly ...

Does someone already did what I'm trying to do or does someone have a clue ?
Thanks for all ... and sorry for my very bad English (I'm French).
 
Terminal description are held in binary files called terminfo files and these are intended to be binary compatible across all platforms. Check your TERMtype on the linux box (probably linux), find the terminfo file (probably /usr/share/terminfo/l/linux) and scp/rcp/ftp it to the AIX box into the appropriate directory (probably /usr/share/lib/terminfo/l).

Now AIX knows how to drive your terminal and everything else should follow.

fish.
 
Thanks Fishiface !

I tried what you told me, but it doesn't seem to work very well ...

I tried in a Linux terminal (Ctrl + Alt + F1, TERM=linux, export TERM=ansi) and in a Konsole Windows (TERM=xterm, export TERM=ansi) but it didn't worked.
I copied (FTP) the proper files in the proper directory on AIX ... so, do I need to reboot my server or relaunch a daemon ?
 
No reboots required but try leaving out the TERM=ansi. A simple
[tt]export TERM=linux[/tt]
from the console should do the trick.
 
Is it better to do the job in a true Linux console (ie : Ctrl + Alt + F1) or in a Konsole (or XTerm, ETerm or whatever ...) window ?

This still doesn't work, but I'm still trying ... thanks for your help. I'll do some tests tomorrow and will let you know.
If you want to see some screenshots, just e-mail me at glegarand@manorga.com for details.

Thanks for your help, it's very kind ! =)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top