-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello,
Some folks who like to use vim under GNU screen, myself included, would like the ability for vim to automatically support xterm mouse escape sequences. Would it be a workable solution for vim to include "screen" as one of the initial strings for terms that trigger truth for vim_is_xterm()? I'm guessing that a problem for this, might be the fact that if vim detects xterm-ish terminals, it automatically tries the t_RV sequence out, which isn't dependably valid for screen. If this is the case, perhaps there could be a "vim_might_be_xterm()", which could set ttymouse to "xterm", on the off-chance that the terminal may send it xterm-style mouse sequences, but leave t_RV empty so that it doesn't risk sending unrecognized stuff that the terminal may choose to display directly? The thing is, is that users of screen are able to use some other programs, such as elinks, and will wonder why vim can't work just as well. Are there any real impediments to it doing so? I suspect that my solution could actually be made much more simple by simply assuming that all terms "might be xterm", thus eliminating the need to actually implement a function (just set ttymouse to xterm by default, again leaving t_RV). Thanks for your feedback. References: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214083 https://bugs.launchpad.net/ubuntu/+source/vim/+bug/113227 - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGQBn/7M8hyUobTrERAh1OAJ4ryRB55gWXGwmErt2gHkSVRkIOdwCfSwi8 qD+sS9zpdm3I/Wpsp+hcWHY= =8CI4 -----END PGP SIGNATURE-----