Operating System - Linux
1830169 Members
6276 Online
109999 Solutions
New Discussion

Re: telnet into HPUX from LINUX

 
SOLVED
Go to solution
Jamie_24
Occasional Advisor

telnet into HPUX from LINUX

I have maybe a simple TERM problem, but I cannot figure it out. I am attempting to telnet into an HPUX11i box from an xterm session on linux. Connection and loggin in goes fine, but when a CR/LF is received, the cursor will not go back to column 1. It moves down to the next line, but stays at the same column it was from the line above.

It's probably something simple, but I am unable to figure it out.

Thanks
jw
2 REPLIES 2
Vincent Fleming
Honored Contributor
Solution

Re: telnet into HPUX from LINUX

Try setting TERM to ansi or vt100 - that usually works for me.

I actually prefer sending a remote shell to the remote system and kicking off an xterm there with -display set to my workstation. It just seems to work better.

ie: rsh host 'xterm -display workstation:0.0'

Good luck!
No matter where you go, there you are.
Kodjo Agbenu
Honored Contributor

Re: telnet into HPUX from LINUX

Hi,

In fact, it depends on which TERM is configured on your Linux box.

In console mode, "linux" is the default TERM. It is compatible with vt100 and xterm, so export TERM=xterm or vt100 should work.

In KDE environment, "xterm" is the default TERM, so it should work without any change.

In Gnome environment, "gnome" is the default TERM. It is compatible with xterm and vt100, so export TERM=xterm or vt100 should be OK.

However, you can make things work more automagically. To do so, export your TERM information from Linux, copy them on Hp-ux and import them.

* On Linux : infocmp -I -RHS >/tmp/gnome (or /tmp/linux)

* Copy the /tmp/gnome (/tmp/linux) from Linux to Hp-ux

* On Hp-ux : tic /tmp/gnome (or /tmp/linux).

Good luck.

Kodjo
Learn and explain...