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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSH and vi question on Solaris 8 system

Status
Not open for further replies.

warrenliang

IS-IT--Management
May 3, 2004
117
US
Hello,

I ssh into a Solaris 8 system. Issue command vi to open a text file. It only shows 8 lines in the bottom of the screen. If enter z24, then I get the entire screen. Hit multiple down-arrowa would bring the 24 lines as well.
However, if telnet into this Solaris, vi shows 24-lines.

On the Solaris, it is an Openssh-3-8 p1.

Thanks,

Warren
 
set the TERM variable to eg. vt100 or xterm and try again...

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Hello Franz,

Thanks for your information. The current setting is dtterm. I changed and export TERM to vt100 or xterm, does not help.

Warren
 
This has nothing to do with SSH.

From which platform are you using ssh or telnt.

mostly check your Term settings.

 
run set or setenv in both ssh session and telnet session and compare the differences, I guess it has something to do with TERM settings...

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top