Re: Test test_paste.com should not be run in Windows cmd.exe
> The tests in test_paste.vim are designed to run in an xterm. I > haven't found any evidence that "bracketed paste mode" and its escape > sequences are supported by cmd.exe. When I run this test using > vim.exe in a cmd.exe window, it sometimes reduces the window height to > 2 lines, which cause subsequent tests to fail, and it always changes > the "screen buffer size" height property for the window. > > I suggest the attached patch Thanks. I'll include it, but using has('win32'). That's how we usually check for Windows. -- hundred-and-one symptoms of being an internet addict: 99. The hum of a cooling fan and the click of keys is comforting to you. /// 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.
Test test_paste.com should not be run in Windows cmd.exe
Vim developers- The tests in test_paste.vim are designed to run in an xterm. I haven't found any evidence that "bracketed paste mode" and its escape sequences are supported by cmd.exe. When I run this test using vim.exe in a cmd.exe window, it sometimes reduces the window height to 2 lines, which cause subsequent tests to fail, and it always changes the "screen buffer size" height property for the window. I suggest the attached patch -mike -- -- 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. diff --git a/src/testdir/test_paste.vim b/src/testdir/test_paste.vim index 65f300cef..0c608a231 100644 --- a/src/testdir/test_paste.vim +++ b/src/testdir/test_paste.vim @@ -1,7 +1,7 @@ " Tests for bracketed paste and other forms of pasting. -" Bracketed paste only works with "xterm". Not in GUI. -if has('gui_running') +" Bracketed paste only works with "xterm". Not in GUI or Windows cmd. +if has('gui_running') || == "win32" finish endif set term=xterm