]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0852: cannot map CTRL-S on some systems v8.2.0852
authorBram Moolenaar <Bram@vim.org>
Sat, 30 May 2020 18:05:02 +0000 (20:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 30 May 2020 18:05:02 +0000 (20:05 +0200)
Problem:    Cannot map CTRL-S on some systems.
Solution:   Do not use CTRL-S for flow control.

src/os_unix.c
src/version.c

index 3464426c3d19f61e93123d96877f0291f36c73c4..e1296c4b5504e1b34918922d0a439042a7150264 100644 (file)
@@ -3482,11 +3482,9 @@ mch_settmode(tmode_T tmode)
     {
        // ~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
index da3169959580cf1eca1f02aa926788bc4f37c384..f60d1a49131f0f46d0ce85ebdcee4755c960890f 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    852,
 /**/
     851,
 /**/