Patch 8.2.4201
Problem: When using the GUI CTRL-Z does not stop gvim.
Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
closes #9570)
Files: src/os_unix.c
*** ../vim-8.2.4200/src/os_unix.c 2022-01-23 16:41:10.643957425 +0000
--- src/os_unix.c 2022-01-24 12:17:21.549452635 +0000
***************
*** 1378,1384 ****
#ifdef SIGTSTP
// See mch_init() for the conditions under which we ignore SIGTSTP.
! signal(SIGTSTP, ignore_sigtstp ? SIG_IGN : (RETSIGTYPE (*)())sig_tstp);
#endif
#if defined(SIGCONT)
signal(SIGCONT, sigcont_handler);
--- 1378,1391 ----
#ifdef SIGTSTP
// See mch_init() for the conditions under which we ignore SIGTSTP.
! // In the GUI default TSTP processing is OK.
! // Checking both gui.in_use and gui.starting because gui.in_use is not set
! // at this point (set after menus are displayed), but gui.starting is set.
! signal(SIGTSTP, ignore_sigtstp ? SIG_IGN
! # ifdef FEAT_GUI
! : gui.in_use || gui.starting ? SIG_DFL
! # endif
! : (RETSIGTYPE (*)())sig_tstp);
#endif
#if defined(SIGCONT)
signal(SIGCONT, sigcont_handler);
*** ../vim-8.2.4200/src/version.c 2022-01-24 11:40:33.944693856 +0000
--- src/version.c 2022-01-24 12:19:29.190938389 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4201,
/**/
--
It is illegal for anyone to try and stop a child from playfully jumping over
puddles of water.
[real standing law in California, United States of America]
/// 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/20220124122126.E8C801C0243%40moolenaar.net.