Saluton Tony :) On Wed, 26 Nov 2008 20:52:30 +0100, Tony Mechelynck dixit: > >> I can't reproduce it either using vim-7.2.49 or Vim-7.1.314 on > >> Linux in a terminal. You need to try with "vim -u NONE -o ..." > >> to rule out things from ~/.vim/ or ~/.vimrc. > > > > I already tried that and the problem persists although it is much > > less visible because there is no statusline. It may a bug on the > > Ubuntu version :?? It may be a bug in the terminal emulators, > > because I have tested more than one, all of them used libvte, so... > > What about testing it in a raw-text terminal? Hit Ctrl-Alt-F2, log in > by username & password, then invoke vim from there. Since that > terminal is not resizable, you shouldn't try to set 'lines' or > 'columns' to anything other than the default (usually 80 columns by > 25 lines, but sometimes you can select a different size at boot time).
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 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 -~----------~----~----~----~------~----~------~--~---
