Hello,

Something funny is that on a pty you have XON/XOFF software flow control
enabled by default:

   - if you type C-s (XOFF), output will be paused
   - if you type C-q (XON), output will be resumed

It could have been handy on a real tty -- serial line/port -- although
when I was using modems I would always disable that and use hardware
flow and other settings to make the tty 8bit-clean.

Why is it that it is still enabled for ptys by default in Debian?
AFAIK it is well possibly that ptys use the same "line discipline" (*)
that real serial ports (ttys) and that's the reason why it's enabled
by default.

It can be annoying because some users will not know that they can
get out of the "pause" by typing C-q, after they types C-s by
mistake.

It can be disabled with: `stty -ixon`, then you can access the C-s
function of bash, e.g.

Just curious whether there is a reason why it is not disabled in .bashrc?

Have a nice day.

(*) SYSV terminology AFAIR

Reply via email to