Summary: Q: vi environment setting

From: Yen-Wen Chen (yen@n0sun4.ccl.itri.org.tw)
Date: Tue Sep 13 1994 - 00:29:39 CDT


Hi, Sun Managers:

Original question:

> The first line of vi editor view is not line 1, and can't scroll to
> line 1. But when you modify this file, the content is diffent from
> it show. i.e. The view content is different from its real content.
> I think this is vi environment setting problem. But "term type" is
> right.

I received many answers, Thanks all people who give me any message/suggestion.
Summary their answers as follows:

    (a) most people suggest this one:
        two solutions:
        (1) type "eval `resize`" before you start your vi.
        (2) use "stty rows n cols m" to set up your window to the right size
        (3) Maybe it's problem with TERMCAP variable, try
            unsetenv TERMCAP in your ~/.login

    (b) Comment out the line "setenv EXINIT ....", and and log in again.

    (c) set the environment variable TERM in the remote shell to the same one
        as in the local window.

Thanks bismark@alta.jpl.nasa.gov,
        Zia, iqbalz@cnt.gs.com
        teh@chinook.phy.anl.gov
        Bryan Curnutt, curnutt@Stoner.COM
        Andrej Misik, misik@alpha.dcs.fmph.uniba.sk
        Randy Hopper, rhhopper@horsies.b15.ingr.com
        Chris A. Wozniak, chris@tisc.edu.au
        Denis COURTIER Athesa, courtier@ulysse.cea.fr
        Richard Davis, DavisR@getech.leeds.ac.uk

If I loss any person, I am sorry for that.

---------------------------------------------------------------
Yen-Wen Chen | internet : yen@n0sun4.ccl.itri.org.tw
ITRI/CCL | Tel : 886-35-917562
System Engineer | Fax : 886-35-820081
---------------------------------------------------------------
Address : N200, Bldg. 14, 195 Sec 4, Chung Hsing Rd., Chutung,
          Hsinchu, Taiwan 310, R.O.C.
---------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:09 CDT