On 28/12/08 15:49, Dave Wood wrote:
> On (14:35 28/12/08), Dave Wood<[email protected]>  put forth the 
> proposition:
>> On (00:08 29/12/08), Ben Schmidt<[email protected]>  put forth 
>> the proposition:
>>> Dave Wood wrote:
>>>> I have been using an escape code in my ~/.bashrc to make the cursor into a
>>>> block, which is much easier to see when searching through man pages etc.
>>> I presume you're on a Unix-like system. If you're on Windows, perhaps
>>> 'guicursor' is relevant. But, assuming you're not...
>> Linux.
>>
>>> What's the escape code?
>> echo -ne "\033[?06;14;224c"
>>
>>> You need to put it into the t_SI and/or t_EI options much like shown at
>>>
>>>     :help termcap-cursor-shape
>>>
>>> i.e. with something like
>>>
>>>     let&t_SI = "\<Esc>]12;purple\x7"
>>>     let&t_EI = "\<Esc>]12;blue\x7"
>> I will expermiment with these, thanks.
>
> These codes just freak out vim. They print something in the status error
> and leave bits of text in whichever window I'm working in. I presume that
> this is because in the help section for termcap-cursor-shape they are used
> for xterm. I am using the plain linux console without X at the moment.
>
>>> but obviously with more shape than colour-related escapes.
>>>
>>> Cheers,
>>>
>>> Ben.
>>>
>>>
>>>
>>>
>>>
>> --
>> Help stamp out and abolish redundancy.
>>
>>
>>

If you make sure these codes are undefined, Console Vim will never 
change the cursor shape. This is the default and that's why I mentioned 
a possible system vimrc in my reply of a few minutes ago. If such a 
system vimrc exists, you can override it by

        if has('unix') && !has('gui_running')
                set t_SI= t_EI=
        endif


Best regards,
Tony.
-- 
Those who educate children well are more to be honored than parents,
for these only gave life, those the art of living well.
                -- Aristotle

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

Reply via email to