control on input, as it might be needed for output on slow terminals
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2760
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
disable_extended_input()
- Disable extended output processing as well as extended input
processing, and rename to disable_extended_io(). (DLR)
+ disable_flow_control(), enable_flow_control()
+ - Only turn off flow control on output, as it might be needed
+ for input on slow terminals. (DLR)
- nano.h:
- Add macro charset(), a wrapper that calls memset(). (DLR)
- Readd #defines for the isblank() and iswblank() equivalents.
struct termios term;
tcgetattr(0, &term);
- term.c_iflag &= ~(IXON|IXOFF);
+ term.c_iflag &= ~IXON;
tcsetattr(0, TCSANOW, &term);
}
struct termios term;
tcgetattr(0, &term);
- term.c_iflag |= (IXON|IXOFF);
+ term.c_iflag |= IXON;
tcsetattr(0, TCSANOW, &term);
}