Function: set-output-flow-control
set-output-flow-control is a function defined in keyboard.c.
Signature
(set-output-flow-control FLOW &optional TERMINAL)
Documentation
Enable or disable ^S/^Q flow control for output to TERMINAL.
If FLOW is non-nil, flow control is enabled and you cannot use C-s or C-q in key sequences.
This setting only has an effect on tty terminals and only when
Emacs reads input in CBREAK mode; see set-input-interrupt-mode.
See also current-input-mode.
Source Code
// Defined in /usr/src/emacs/src/keyboard.c
{
struct terminal *t = decode_tty_terminal (terminal);
struct tty_display_info *tty;
if (!t)
return Qnil;
tty = t->display_info.tty;
if (tty->flow_control != !NILP (flow))
{
#ifndef DOS_NT
/* This causes startup screen to be restored and messes with the mouse. */
reset_sys_modes (tty);
#endif
tty->flow_control = !NILP (flow);
#ifndef DOS_NT
init_sys_modes (tty);
#endif
}
return Qnil;
}