[PATCH v3] TTY: Fix tty miss restart after we turn off flow-control

2013-05-09 Thread Wang YanQing
I meet emacs hang in start if I do the operation below: 1: echo 3 > /proc/sys/vm/drop_caches 2: emacs BigFile 3: Press CTRL-S follow 2 immediately Then emacs hang on, CTRL-Q can't resume, the terminal hang on, you can do nothing with this terminal except close it. The reason is before

[PATCH v3] TTY: Fix tty miss restart after we turn off flow-control

2013-05-09 Thread Wang YanQing
I meet emacs hang in start if I do the operation below: 1: echo 3 /proc/sys/vm/drop_caches 2: emacs BigFile 3: Press CTRL-S follow 2 immediately Then emacs hang on, CTRL-Q can't resume, the terminal hang on, you can do nothing with this terminal except close it. The reason is before emacs