Paul Evans wrote: > On Fri, 11 Jul 2014 23:35:15 +0200 > Bram Moolenaar <b...@moolenaar.net> wrote: > > > Since what version of xterm and screen is this supported? I suspect > > older versions do not support it. > > It ultimately doesn't really matter. You send DECSM 2000 to ask for it > to be enabled. Either that works and you now get the extra keys, or you > don't, and you don't. Have the incoming code cope with the received > keys regardless, then it's just an optimisation.
I rather stay on the safe side and only send an escape sequence when it would do something useful. Keep in mind that whenever you run a shell it has to be disabled. And also on exit, of course. Simplest would be to recognize the xterm version being above a certain level. I don't know how to check that for screen. -- Yesterday, all my deadlines seemed so far away now it looks as though it's freeze in four days oh I believe in cvs.. [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ] /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.