What purpose do you have to stop the terminal ?? If everything I remember is accurate, you are a neovim user and seldom use vim. Since neovim set IXON too, you can't stop the terminal in your everyday work. Why are you willing to stop terminal in vim ? for what ?
在 2020年6月1日星期一 UTC+8上午12:10:07,wsdjeg写道: > > Why Vim breaks this compatibility, with this patch I can not use Ctrl-s > to stop the terminal!! > -------------- > wsdjeg > > > >Patch 8.2.0852 > >Problem: Cannot map CTRL-S on some systems. > >Solution: Do not use CTRL-S for flow control. > >Files: src/os_unix.c > > > > > >*** ../vim-8.2.0851/src/os_unix.c 2020-05-30 18:14:37.828521058 > +0200 > >--- src/os_unix.c 2020-05-30 20:00:41.856511541 +0200 > >*************** > >*** 3482,3492 **** > > { > > // ~ICRNL enables typing ^V^M > > tnew.c_iflag &= ~ICRNL; > >- # ifdef IXON_NOT_USED > > // Do not make CTRL-S stop output, for most users it is unexpected and > > // is hardly ever useful. > > tnew.c_iflag |= IXON; > >- # endif > > tnew.c_lflag &= ~(ICANON | ECHO | ISIG | ECHOE > > # if defined(IEXTEN) && !defined(__MINT__) > > | IEXTEN // IEXTEN enables typing ^V on SOLARIS > >--- 3482,3490 ---- > >*** ../vim-8.2.0851/src/version.c 2020-05-30 19:52:42.270340843 > +0200 > >--- src/version.c 2020-05-30 19:58:42.416967148 +0200 > >*************** > >*** 748,749 **** > >--- 748,751 ---- > > { /* Add new patch number below this line */ > >+ /**/ > >+ 852, > > /**/ > > > >-- > >hundred-and-one symptoms of being an internet addict: > >219. Your spouse has his or her lawyer deliver the divorce papers... > > via e-mail. > > > > /// 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...@googlegroups.com <javascript:>. > >To view this discussion on the web visit > https://groups.google.com/d/msgid/vim_dev/202005301805.04UI5UQE420071%40masaka.moolenaar.net > . -- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/b2c09f67-4d67-49ca-ac2e-2b114485a708%40googlegroups.com.