Hi,
Thanks for the reply. Initially, a file is displayed on entire screen. But, "filename" 51 lines, 1678 characters appears at the half. If I press a ctl-l at this point the above line disappears and the actual file line appears. Now, If I press <Esc>:, the cursor comes back to the middle of the screen. Also, I won't scroll till the end of file. The last line keeps overwritten. I am using HP-UX 11.00 and F-Secure SSH Client. Sorry, I don't know vi version.
Thanks again.