Vi editor issue

When I open vi editor and close it , the content of the vi editor is shown in console even after closing.

Same is happening for manpages also..

Can anyone let me know how to solve the issue ..

$uname -a

HP-UX <servr_name> B.11.11 U 9000/800 657359313 unlimited-user license

Thanks a lot ..

Funny you find it an issue. I much prefer that behavior than the standard one.

Anyway, your terminfo rmcup and smcup entries are either missing or incorrect.

@jlliagre : thanks for the reply ..

Can you please let me know what is the correct value and how can I set it to normal..

how I can solve this ..

Thanks a lot ..

Just type "clear" to clear the screen. You may be using an HP terminal that doesn't behave anything close to an ansi/vt100 terminal.

The correct value depends on the terminal emulator you are using. Perhaps is it just your TERM variable which is incorrectly set.

@Perderabo : For other users this issue is not there . This issue comes only when I use my userid ..

Then it should be easy to fix. Make sure:

  • you use the same terminal emulator than the other users
  • your environment doesn't set an incorrect TERM variable