On Sun, Apr 19, 2009 at 3:30 PM, Tony Mechelynck wrote:
>
> On 19/04/09 20:52, Michael Henry wrote:
>> In Gvim, I can execute the following:
>>
>> I don't know how to make the equivalent behavior work
>> in console Vim.  Is there a way to configure either Vim or
>> the terminal emulator (or both) so that Vim can cause a
>> resize of the terminal emulator's number of columns or lines?
>
> That depends on the console. In the Linux (true-text) console, in xterm
> and (I think) in Windows, Vim can't resize the terminal AFAIK. OTOH, in
> konsole, setting 'lines' and 'columns' does resize the terminal. In the
> Mac's Terminal.app console, I don't know.

In xterm it can.  But, even so, don't do this.  It will cause very bad
behavior when interacting with, say, Gnu Screen - in an xterm that
isn't running screen, it would resize the window, and in one that is
running screen, it would cause redrawing problems that would render
the session unusable.

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to