>From Tony Mechelynck on 01/12/2009 02:29 AM: > On 11/01/09 22:43, Renato Alves wrote: > >> Hi everyone, >> >> I've been troubled by this issue some time ago but I didn't report it >> because I was not sure it was caused by colorscheme or other situation >> external to vim. Today other people (in IRC) confirmed the problem and >> suggested reporting it. >> >> The picture [1] represents the problem. >> The visual-block operation makes the cursor "invisible". This only >> happens on the _1st character_ of each line and when numbers are active. >> In the picture I had the same selection are in both sections, but in the >> one with numbers the cursor is not visible. If I start the visual block >> from the 3rd character and then move till the 1st all the selection is >> visible except the cursor position. This is visible with the third >> (without numbers) and fourth (with numbers) sections of the picture. >> I tried this both on urxvt and xterm and always got the same behavior. >> >> Cheers >> >> [1] http://apollo.dq.fct.unl.pt/~al1133/visual-block-xterm.png >> > > On X11 (where your mail headers say you're running), and on Unix/Linux > in general (since even when X11 is running you can often use text-only > consoles which completely bypass X11), Console Vim has little control > over the cursor display, and what control there is is badly documented > because it requires setting control codes which may be different for > each terminal; see ":help termcap-cursor-color" (which is the same > paragraph as |termcap-cursor-shape|). > > For much better control (both finer and better documented, since it's > all in the excellent Vim help), I recommend using gvim rather than > Console Vim: there you can set the color of the cursor using the Cursor > highlight group, and its shape and blinking rate (separately for a > number of circumstances) using the 'guicursor' option. > > > Best regards, > Tony. > Hi Tony, Thanks for your feedback.
I understand that console level is a potential headache since there are a ton of different consoles/terms and not all support the same features. However the reason why I reported this was not to address yet another term flavor but to understand why the cursor behaves differently when numbers are active. And if this can be easily fixed or not. About gvim, I don't use it that often. I'm used to run vim inside screen and jumping between multiple computers/X11 sessions without being constrained by X. I still haven't found decent ways to do the equivalent with GUI applications. But thanks for your suggestion. For now I have worked around the reported problem by enabling cursor blinking. This way I can see where he is even in visual block mode. Still if anyone has any idea why vim behaves like this I would like to hear an explanation. Thanks again for your time. -- Renato Alves --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
