After a bit more research, it looks like the mintty docs show a 5 and 6,
but the official docs only show 0-4.
http://vt100.net/docs/vt510-rm/DECSCUSR

On Fri, Mar 16, 2012 at 6:02 AM, Michael Krysiak <mrk...@gmail.com> wrote:

> I got it from  http://code.google.com/p/mintty/wiki/CtrlSeqs#Cursor_style
>
>
> On Fri, Mar 16, 2012 at 5:40 AM, Nicholas Marriott <
> nicholas.marri...@gmail.com> wrote:
>
>> 6 is not a valid cursor style, only 0-4. where did you get 6 from?
>>
>>
>>
>> On Fri, Mar 16, 2012 at 05:22:49AM -0400, Michael Krysiak wrote:
>> >    I'm using mintty with xterm-256colors and en_US.UTF-8. *My ultimate
>> goal
>> >    is to have my Vim cursor change to a vertical line in insert mode
>> and a
>> >    block in command mode, and this works fine outside of tmux but fails
>> with
>> >    it. *However, the problem can be reproduced without the additional
>> Vim
>> >    layer.
>> >    Without tmux (cursor starts as a block):
>> >    $ echo -n -e '\033[4 q' *#Works. *Cursor is now an underline
>> >    $ echo -n -e '\033[6 q' *#Works. *Cursor is now a vertical line
>> >    $ echo -n -e '\033[2 q' *#Works. *Cursor is back to a block
>> >    With tmux (cursor starts as a block):
>> >    $ tmux
>> >    $ echo -n -e '\033[4 q' *#Works. *Cursor is now an underline
>> >    $ echo -n -e '\033[6 q' *#Does not works. *Cursor remains an
>> underline
>> >    $ echo -n -e '\033[2 q' *#Works. *Cursor is back to a block
>> >
>> >    On Fri, Mar 16, 2012 at 3:33 AM, Nicholas Marriott
>> >    <[1]nicholas.marri...@gmail.com> wrote:
>> >
>> >      Can you give me a clear sequence of commands that shows the
>> problem?
>> >      Also what terminal are you using?
>> >
>> >      On Thu, Mar 15, 2012 at 10:43:40PM -0400, Michael Krysiak wrote:
>> >      > * *I'm currently unable to change my cursor to line in tmux 1.6
>> when
>> >      using
>> >      > * *'\033[6 q' as defined in*
>> >      > * *[1][2]http://code.google.com/p/mintty/wiki/CtrlSeqs, but the
>> block
>> >      (\033[0 q)
>> >      > * *and underline (\033[4 q) work as expected. *If I set my
>> cursor to a
>> >      line
>> >      > * *(echo -n -e '\033[6 q') prior to starting tmux, then it
>> remains a
>> >      line
>> >      > * *once in tmux. *However as soon as I set it to a block or
>> underline,
>> >      I'm no
>> >      > * *longer able to set it back to a line.
>> >      > * *I haven't been able to find anything in the source that could
>> be
>> >      causing
>> >      > * *this issue. *Does anyone have any ideas?
>> >      >
>> >      > References
>> >      >
>> >      > * *Visible links
>> >      > * *1. [3]http://code.google.com/p/mintty/wiki/CtrlSeqs
>> >
>> >      >
>> >
>>  
>> ------------------------------------------------------------------------------
>> >      > This SF email is sponsosred by:
>> >      > Try Windows Azure free for 90 days Click Here
>> >      > [4]http://p.sf.net/sfu/sfd2d-msazure
>> >
>> >      > _______________________________________________
>> >      > tmux-users mailing list
>> >      > [5]tmux-users@lists.sourceforge.net
>> >      > [6]https://lists.sourceforge.net/lists/listinfo/tmux-users
>> >
>> > References
>> >
>> >    Visible links
>> >    1. mailto:nicholas.marri...@gmail.com
>> >    2. http://code.google.com/p/mintty/wiki/CtrlSeqs
>> >    3. http://code.google.com/p/mintty/wiki/CtrlSeqs
>> >    4. http://p.sf.net/sfu/sfd2d-msazure
>> >    5. mailto:tmux-users@lists.sourceforge.net
>> >    6. https://lists.sourceforge.net/lists/listinfo/tmux-users
>>
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to