Patch 8.2.0852

23 views
Skip to first unread message

Bram Moolenaar

unread,
May 30, 2020, 2:05:39 PM5/30/20
to vim...@googlegroups.com

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 -- Br...@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 ///

wsdjeg

unread,
May 31, 2020, 12:10:07 PM5/31/20
to vim_dev
Why Vim breaks this  compatibility, with this patch I can not use Ctrl-s to stop the terminal!!
--------------
wsdjeg
>--
>--
>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+u...@googlegroups.com.
>To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202005301805.04UI5UQE420071%40masaka.moolenaar.net.

Bram Moolenaar

unread,
May 31, 2020, 1:12:11 PM5/31/20
to vim...@googlegroups.com, wsdjeg

> Why Vim breaks this  compatibility, with this patch I can not use
> Ctrl-s to stop the terminal!!

Have you tried patch 8.2.0856 or later?

--
hundred-and-one symptoms of being an internet addict:
233. You start dreaming about web pages...in html.

Wei Zhang

unread,
May 31, 2020, 5:59:16 PM5/31/20
to vim_dev
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写道:
>To unsubscribe from this group and stop receiving emails from it, send an email to vim...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages