Re: gnome-terminal vs. vi



Preben Randhol wrote:
> 
> Paul Barnfather <plb@clanger9.demon.co.uk> writes:
> 
> | Miguel de Icaza wrote:
> | Hmm. $LINES and $COLUMNS are *not* set in my gnome-terminals.
> | If I set $LINES manually, I get the correct behaviour from vi.
> |
> | So, (excuse my ignorance), this must mean vi is picking up TIOC[GS]WINSZ
> | on my system, and this contains the wrong value.
> |
> | Does gnome-terminal set this? What is it/how can I check it/did I do
> | something wrong/etc/etc? :-)
> 
> I'm not running Solaris (running Linux Redhat 6.0) and for me it works
> fine. Just tested vim 5.3 with gnome-terminal.
> 
> So is it vi you are using or is it vim?

It's `vi`, but it affects `more` and other (curses?) apps.

It seems this is unique to gnome-terminal on Solaris.

-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~ Paul Barnfather ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
|  plb@clanger9.demon.co.uk  paul.barnfather@northern-electric.co.uk |
|      __           http://www.clanger9.demon.co.uk    .             |
     o--o-... 75TS                                    o'~o... 750SS



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]