On 2018-10-02, Bram Moolenaar wrote:
> Gary Johnson wrote:
>
> [...]
>
> > Incidentally, in my experimenting I discovered a behavior of t_RV
> > that seems to contradict the documentation under ":help 'ttymouse'".
> > There it says,
> >
> > If you do not want 'ttymouse' to be set to "xterm2" or "sgr"
> > automatically, set t_RV to an empty string:
> > :set t_RV=
> >
> > If I include the line
> >
> > :set t_RV=
> >
> > in my ~/.vimrc, then later query value of t_RV, I see this:
> >
> > :verbose set t_RV?
> > t_RV=^[[>c
> > Last set from ~/.vimrc line 42
> >
> > So first of all, setting t_RV to an empty string seems to have no
> > effect; v:termresponse is acquired anyway. Secondly, :verbose does
> > not correctly report where it was last set and/or the value it was
> > set to.
>
> Do you perhaps set 'term' after setting t_RV ?
> That is confusing, let's see if I can fix that.
Yes, I set 't_RV' early in my ~/.vimrc and set 'term' after that.
It makes sense that setting 'term' would set 't_RV'.
When I check where 't_Co' was last set, for example,
:verbose set t_Co?
I'm shown the line number where 'term' was set. It would be nice
if ":verbose set t_RV?" would do that, too. I think that would
clear up the confusion.
Regards,
Gary
--
--
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].
For more options, visit https://groups.google.com/d/optout.