Hi Bram, I just noticed that the documentation for v:termresponse does not correspond to reality. I'm attaching a proposed patch.
Best regards, Tony. -- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAJkCKXvtG_EZ2HeuMcz8k8SqXSXmedSijG_%3D3gjKoVJ9PKFM5Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
# HG changeset patch # User Tony Mechelynck <[email protected]> # Parent 51928ea81f7fbd9cb9bcd269067bf2b1faf92dea fix documentation for v:termresponse diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2083,21 +2083,21 @@ v:t_number Value of |Number| type. Read v:t_string Value of |String| type. Read-only. See: |type()| *v:t_blob* *t_blob-variable* v:t_blob Value of |Blob| type. Read-only. See: |type()| *v:termresponse* *termresponse-variable* v:termresponse The escape sequence returned by the terminal for the |t_RV| termcap entry. It is set when Vim receives an escape sequence that starts with ESC [ or CSI and ends in a 'c', with only - digits, ';' and '.' in between. + digits, ';' and '>' in between. When this option is set, the TermResponse autocommand event is fired, so that you can react to the response from the terminal. - The response from a new xterm is: "<Esc>[ Pp ; Pv ; Pc c". Pp + The response from a new xterm is: "<Esc>[> Pp ; Pv ; Pc c". Pp is the terminal type: 0 for vt100 and 1 for vt220. Pv is the patch level (since this was introduced in patch 95, it's always 95 or bigger). Pc is always zero. {only when compiled with |+termresponse| feature} *v:termblinkresp* v:termblinkresp The escape sequence returned by the terminal for the |t_RC| termcap entry. This is used to find out whether the terminal
