Problem: CTRL-S stops output.
Solution: Invert the IXON flag. (closes #6166)
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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 856,
/**/
855,
/**/