On Nov 27, 10:36 am, Kanru <[EMAIL PROTECTED]> wrote: > On Nov 27, 4:16 am, Raúl Núñez de Arenas Coronado <[EMAIL PROTECTED]> > wrote: > > > I'm not setting "lines" and "columns", because I prefer Vim to take them > > from the environment or by asking the terminal. Basically, I resize my > > terminals wherever I need and I can launch Vim using whatever size I > > have in that moment. > > > The problem doesn't happen in a virtual terminal and doesn't happen if I > > resize the terminal and *after that* I launch Vim (but then the > > environment variables LINES and COLUMNS are set by the shell, so...). > > Maybe Vim is asking the terminal emulator for the size when the terminal > > emulator is still at 80x25 (the default size for most of them) and after > > that the terminal emulator switches to whatever geometry I specified, > > sends SIGWINCH to Vim in a bad moment and everything messes up. What > > amazes me the most is that the problem only happens when using "-o". I > > don't understand why :?? > > I guess you get hit by a kernel bug[1]. This bug exists in preempt > enabled 2.6.27 and maybe priors. If so, you can either use a non- > preempt version or upgrade to a new one. >
2.6.26. sorry :) > [1]:http://search.gmane.org/?query=TIOCSWINSZ&group=gmane.linux.kernel&so... > > > I think my best bet is to try using my self compiled Vim. If the problem > > only happens with the version shipped with Ubuntu, then I'll investigate > > any changes to the sources and/or building. > > > Thanks :) > > > Raúl "DervishD" Núñez de Arenas Coronado > > -- > > Linux Registered User 88736 |http://www.dervishd.net > > It's my PC and I'll cry if I want to... RAmen! > > We are waiting for 13 Feb 2009 23:31:30 +0000 ... > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
