# HG changeset patch # User Bram Moolenaar # Date 1590923704 -7200 # Node ID 503886f64d5fdb88c4518a883d37bdabe807519b # Parent ad1abc9879ed9cea71c921899a98156065361a4c patch 8.2.0856: CTRL-S stops output Commit: https://github.com/vim/vim/commit/928eec649b8af389de0fdb7aba2034d27df3e058 Author: Bram Moolenaar Date: Sun May 31 13:09:47 2020 +0200 patch 8.2.0856: CTRL-S stops output Problem: CTRL-S stops output. Solution: Invert the IXON flag. (closes https://github.com/vim/vim/issues/6166) diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3481,10 +3481,8 @@ mch_settmode(tmode_T tmode) if (tmode == TMODE_RAW) { // ~ICRNL enables typing ^V^M - tnew.c_iflag &= ~ICRNL; - // Do not make CTRL-S stop output, for most users it is unexpected and - // is hardly ever useful. - tnew.c_iflag |= IXON; + // ~IXON disables CTRL-S stopping output, so that it can be mapped. + tnew.c_iflag &= ~(ICRNL | IXON); tnew.c_lflag &= ~(ICANON | ECHO | ISIG | ECHOE # if defined(IEXTEN) && !defined(__MINT__) | IEXTEN // IEXTEN enables typing ^V on SOLARIS diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 856, +/**/ 855, /**/ 854,