On 29 сен, 10:57, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > On 29/09/09 08:11, Maxim Kim wrote: > > PS > > This is quite strange. If I (using my _vimrc with set enc=utf-8) > > 1. Change font to Lucida Console. > > 2. Write some text -- everything is ok. I can see correct russian > > text. > > 3. Change font to standard bitmap font -- everything is ok. I can > > see > > previously entered russian text. > > 4. Write the same text -- previously entered text is ok, current > > is crap > > with a lot of triangles. > > 5. Change font to Lucida Console -- text from 2. is ok, text from > > 4. is > > still crap but with questions and incorrect letters. > > 6. Press<C-L> and all the entered text (2, 4) is correct. > > Oho! Sounds like a missing screen redraw somewhere. You aren't using > 'lazyredraw' by any chance? Also, what Vim version and patchlevel are > you using? (as shown on the second non-blank line of the ":intro" > screen, or as the first two lines -- starting "VIM - Vi Improved" and > "Included patches" respectively -- in the output of ":version") Aha, I have 'set lazyredraw' in my _vimrc. (included patches 1-160)
> Or rather -- Vim is probably not aware that the font has been changed > (see bottom paragraph before my sig below) so it doesn't redraw anything. Actually at step 5 vim changes triangles to questions -- partial redraw? :) > > What happens if you hit Ctrl-L (in Normal mode) between steps 4 and 5? > My guess would be that the text from step 2 turns to crap, Yep. > which might indicate that your bitmapped font has wrong glyphs for your > current > terminal encoding. Actually at step 3 I can see russian letters of that bitmapped(!) font. Then do <c-l> and they turn to crap, again in that bitmapped font. > I expect that the Russian would reappear after step > 6, even where it had changed to crap at step 4½. True. > > > So the only option I can see for now is using Lucida Console. > > Is that so bad? (in Console Vim, not gvim) Not it isn't If I knew Lucida console is okay for vim console I wouldn't email here. Thanks, Maxim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---