Patch 8.2.4195
Problem:    Resizing terminal may cause to behave like CTRL-Z.
Solution:   Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
            closes #9602, closes #9586)
Files:      src/os_unix.c


*** ../vim-8.2.4194/src/os_unix.c       2022-01-02 19:25:22.850078488 +0000
--- src/os_unix.c       2022-01-23 16:40:49.836380083 +0000
***************
*** 868,877 ****
        signal(SIGTSTP, ignore_sigtstp ? SIG_IGN : SIG_DFL);
        raise(sigarg);
      }
  
      // this is not required on all systems, but it doesn't hurt anybody
      signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp);
-     got_tstp = TRUE;
      SIGRETURN;
  }
  #endif
--- 868,878 ----
        signal(SIGTSTP, ignore_sigtstp ? SIG_IGN : SIG_DFL);
        raise(sigarg);
      }
+     else
+       got_tstp = TRUE;
  
      // this is not required on all systems, but it doesn't hurt anybody
      signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp);
      SIGRETURN;
  }
  #endif
***************
*** 6414,6419 ****
--- 6415,6421 ----
            if (got_tstp && !in_mch_suspend)
            {
                exarg_T ea;
+ 
                ea.forceit = TRUE;
                ex_stop(&ea);
                got_tstp = FALSE;
*** ../vim-8.2.4194/src/version.c       2022-01-23 16:25:13.939411326 +0000
--- src/version.c       2022-01-23 16:38:48.146851636 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4195,
  /**/

-- 
BRIDGEKEEPER: What is your favorite colour?
GAWAIN:       Blue ...  No yelloooooww!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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/20220123164224.26EC31C44F9%40moolenaar.net.

Raspunde prin e-mail lui