Patch 8.2.0856

4 views
Skip to first unread message

Bram Moolenaar

unread,
May 31, 2020, 7:12:17 AM5/31/20
to vim...@googlegroups.com

Patch 8.2.0856 (after 8.2.0852)
Problem: CTRL-S stops output.
Solution: Invert the IXON flag. (closes #6166)
Files: src/os_unix.c


*** ../vim-8.2.0855/src/os_unix.c 2020-05-30 20:04:58.119533545 +0200
--- src/os_unix.c 2020-05-31 12:54:45.317757570 +0200
***************
*** 3481,3490 ****
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;
tnew.c_lflag &= ~(ICANON | ECHO | ISIG | ECHOE
# if defined(IEXTEN) && !defined(__MINT__)
| IEXTEN // IEXTEN enables typing ^V on SOLARIS
--- 3481,3488 ----
if (tmode == TMODE_RAW)
{
// ~ICRNL enables typing ^V^M
! // ~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
*** ../vim-8.2.0855/src/version.c 2020-05-30 21:52:49.242816719 +0200
--- src/version.c 2020-05-31 13:05:41.875244723 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 856,
/**/

--
hundred-and-one symptoms of being an internet addict:
224. You set up your own Web page. You set up a Web page for each
of your kids... and your pets.

/// 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 ///
Reply all
Reply to author
Forward
0 new messages