1849214 Members
7197 Online
104041 Solutions
New Discussion

Terminal set up

 
Amir Fadaghi
Advisor

Terminal set up

I have a HP L class that whenever I telnet into it from a sun server the terminal is not set up properly. It sets it to dtterm. For example after I login and want to vi a file the file does not open normally. I am running HP-UX 11.0. Apprecite your help.

thx
reach and touch someone
6 REPLIES 6
Alex Glennie
Honored Contributor

Re: Terminal set up

Have you checked the .profile / term settings on the Solaris box ? or rather attempted to chage them if they are set to dtterm ?

Tony Constantine_1
Regular Advisor

Re: Terminal set up

try

TERM=vt100
export TERM
Kofi ARTHIABAH
Honored Contributor

Re: Terminal set up

modify your $HOME/.profile with the following lines:

if [ "$TERM" = "dtterm" ]
then
TERM=vt100
export TERM
fi
nothing wrong with me that a few lines of code cannot fix!
federico_3
Honored Contributor

Re: Terminal set up

try to copy from a HP machine the file /usr/share/lib/termininfo/h/hpterm . There is a problem in the establishing a connection ( ftp,rlogin) to a SUN machine because the ?hpterm? terminal type is unknown ( by the SUN machine) .


regards,

Federico

Dan Hetzel
Honored Contributor

Re: Terminal set up

Hi,

dtterm and hpterm are not known on the sun platforms. You could try copying the terminfo definitions for dtterm and hpterm.

Otherwise, I'd say that the common denominator between Sun and HP in X11 environment is xterm.

If you start an "xterm" terminal on the Sun box and telnet from inside it, you should be OK. Nevertheless, make sure your TERM environment variable is set to "xterm"

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Alex Glennie
Honored Contributor

Re: Terminal set up

dtterm not on sun ? I think since Solaris runs CDE that that is not correct !