Hello. I would appreciate any help that you can give in in tracking down a problem with using Vim in the Cygwin terminal emulator Mintty and using the mouse to resize split windows.
I first reported my problem to the Cygwin mailing list thinking it was a bug introduced in the new versions produce by a new maintainer. You can read all about that in the thread linked below. > https://cygwin.com/ml/cygwin/2015-07/msg00194.html Basically, that with the new versions any split (from the :sp or :vs commands or the -o or -O arguments) was unable to be resized by left clicking on the separator and dragging After a little while the maintainer of Mintty was able to reproduce the issue. He was also able to make it disappear by simply changing version number defined in a header file. (Message linked below) > https://cygwin.com/ml/cygwin/2015-07/msg00203.html I was able to work around the problem by doing the same thing, just changing the MAJOR_VERSION define in Mintty. After some searching of the Mintty source code I found what looks like the only way this is reported to software running in the terminal is the DECIMAL_VERSION define being printed in response to the control sequence: "\e[>c" When this is received Mintty prints "\e[>77;%u;0c" where %u is the standard printf unsigned integer sequence. This seems to be stored/used/associated with the preprocessor defines in the Vim source of KS_CRV and T_CRV in term.c and term.h. That is as far as my search has led. In the version that works the value of DECIMAL_VERSION starts with 10000 (ten thousand). In the version that works it begins with 20000 (twenty thousand). The other values don't appear to make a difference. Ultimately, should I continue looking for a solution in Vim? Is it a problem with how Vim reads or interprets the version information? Is there a setting value I can set to make Vim ignore what the version implies about features? Or should I report back to the Mintty maintainer about the version information he uses? Thanks. -- -- 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.
signature.asc
Description: OpenPGP digital signature
