Patch 9.0.1013
Problem:    Suspend test often fails on Mac OS.
Solution:   Make t_RP empty.
Files:      src/testdir/test_suspend.vim


*** ../vim-9.0.1012/src/testdir/test_suspend.vim        2022-12-05 
13:50:49.718052362 +0000
--- src/testdir/test_suspend.vim        2022-12-05 21:16:56.123314313 +0000
***************
*** 22,32 ****
    CheckFeature terminal
    CheckExecutable /bin/sh
  
    call WaitForResponses()
-   if has('mac')
-     " Mac OS machines tend to be slow, wait a bit longer
-     sleep 150m
-   endif
  
    let buf = term_start('/bin/sh')
    " Wait for shell prompt.
--- 22,32 ----
    CheckFeature terminal
    CheckExecutable /bin/sh
  
+   " Somehow the modifyOtherKeys response may get to the terminal when using 
Mac
+   " OS.  Make t_RK empty to avoid that.
+   set t_RK=
+ 
    call WaitForResponses()
  
    let buf = term_start('/bin/sh')
    " Wait for shell prompt.
***************
*** 72,82 ****
    CheckFeature terminal
    CheckExecutable /bin/sh
  
    call WaitForResponses()
-   if has('mac')
-     " Mac OS machines tend to be slow, wait a bit longer
-     sleep 150m
-   endif
  
    let buf = term_start('/bin/sh', #{term_rows: 6})
    " Wait for shell prompt.
--- 72,82 ----
    CheckFeature terminal
    CheckExecutable /bin/sh
  
+   " Somehow the modifyOtherKeys response may get to the terminal when using 
Mac
+   " OS.  Make t_RK empty to avoid that.
+   set t_RK=
+ 
    call WaitForResponses()
  
    let buf = term_start('/bin/sh', #{term_rows: 6})
    " Wait for shell prompt.
*** ../vim-9.0.1012/src/version.c       2022-12-05 20:58:01.191236353 +0000
--- src/version.c       2022-12-05 21:21:22.495308714 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1013,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
240. You think Webster's Dictionary is a directory of WEB sites.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221205212218.3FC7C1C1D84%40moolenaar.net.

Raspunde prin e-mail lui