Operating System - HP-UX
1820882 Members
3469 Online
109628 Solutions
New Discussion юеВ

Unix m/c screen scroll to Half screen only and Vi problem

 
SOLVED
Go to solution
ezhilarasan_1
Occasional Advisor

Unix m/c screen scroll to Half screen only and Vi problem

Hi,

From my same PC, I login to lot of Unix servers. Everywhere screen display and vi are working fine. In one or few servers, I face this problem.
I though it is due to TERM setting.
I ran command ttytype, it showed vt100.
So I did export TERM=vt100
Still no use in display and vi.
Please help me on this

Thanks
R.Ezhil
5 REPLIES 5
Uli Manschke
Valued Contributor
Solution

Re: Unix m/c screen scroll to Half screen only and Vi problem

Hi,
try to run
tset
on the command line.
Or try
eval `resize`
Or - maybe the TTY description files on the systems are damaged? Copy them from another system.
Regards
uli
HP Software PreSales technical consultant
Steve Post
Trusted Contributor

Re: Unix m/c screen scroll to Half screen only and Vi problem

2 GUESSES.
try "stty sane"
try control-L (to reset screen)
Mark Greene_1
Honored Contributor

Re: Unix m/c screen scroll to Half screen only and Vi problem

What xterm emulator are you using on your PC? You may have a configuration setting for one system that is different from the rest.

Try this command:

eval ` tset -s -Q `

which will query your xterm session and export the TERM variable accordingly.

mark
the future will be a lot like now, only later
Elmar P. Kolkman
Honored Contributor

Re: Unix m/c screen scroll to Half screen only and Vi problem

Try the 'reset' command (perhaps some bogus output from a command has given some escape-sequences resulting in this behaviour).

And check out the values of your LINES and COLUMNS environment variables. If set, they have to match EXACTLY your terminal size.
Every problem has at least one solution. Only some solutions are harder to find.
ezhilarasan_1
Occasional Advisor

Re: Unix m/c screen scroll to Half screen only and Vi problem

Hi all,

Thanks for your responses.
Thanks for Uli, he suggested to run
eval `resize` which resolved my problem.

Regards
R.Ezhil