Yes, that's right. We can allow higher values through, but what do they do on other terminals like xterm?
On Fri, Mar 16, 2012 at 07:39:57AM -0400, Michael Krysiak wrote: > After a bit more research, it looks like the mintty docs show a 5 and 6, > but the official docs only show 0-4. * > [1]http://vt100.net/docs/vt510-rm/DECSCUSR* > > On Fri, Mar 16, 2012 at 6:02 AM, Michael Krysiak <[2]mrk...@gmail.com> > wrote: > > I got it from* > [3]http://code.google.com/p/mintty/wiki/CtrlSeqs#Cursor_style* > > On Fri, Mar 16, 2012 at 5:40 AM, Nicholas Marriott > <[4]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][5]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][6]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][7]http://code.google.com/p/mintty/wiki/CtrlSeqs > > > > * * *> > > * * > > *------------------------------------------------------------------------------ > > * * *> This SF email is sponsosred by: > > * * *> Try Windows Azure free for 90 days Click Here > > * * *> [4][8]http://p.sf.net/sfu/sfd2d-msazure > > > > * * *> _______________________________________________ > > * * *> tmux-users mailing list > > * * *> [5][9]tmux-users@lists.sourceforge.net > > * * *> > [6][10]https://lists.sourceforge.net/lists/listinfo/tmux-users > > > > References > > > > * *Visible links > > * *1. mailto:[11]nicholas.marri...@gmail.com > > * *2. [12]http://code.google.com/p/mintty/wiki/CtrlSeqs > > * *3. [13]http://code.google.com/p/mintty/wiki/CtrlSeqs > > * *4. [14]http://p.sf.net/sfu/sfd2d-msazure > > * *5. mailto:[15]tmux-users@lists.sourceforge.net > > * *6. [16]https://lists.sourceforge.net/lists/listinfo/tmux-users > > References > > Visible links > 1. http://vt100.net/docs/vt510-rm/DECSCUSR > 2. mailto:mrk...@gmail.com > 3. http://code.google.com/p/mintty/wiki/CtrlSeqs#Cursor_style > 4. mailto:nicholas.marri...@gmail.com > 5. mailto:nicholas.marri...@gmail.com > 6. http://code.google.com/p/mintty/wiki/CtrlSeqs > 7. http://code.google.com/p/mintty/wiki/CtrlSeqs > 8. http://p.sf.net/sfu/sfd2d-msazure > 9. mailto:tmux-users@lists.sourceforge.net > 10. https://lists.sourceforge.net/lists/listinfo/tmux-users > 11. mailto:nicholas.marri...@gmail.com > 12. http://code.google.com/p/mintty/wiki/CtrlSeqs > 13. http://code.google.com/p/mintty/wiki/CtrlSeqs > 14. http://p.sf.net/sfu/sfd2d-msazure > 15. mailto:tmux-users@lists.sourceforge.net > 16. 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