Suspend and resume output in terminal

03 March 2005   6 comments   Linux

http://acs.ucsd.edu/info/stty.sunos.php

Powered by Fusion×

To some people it's obvious but I just learnt this now. It's bugged me several times where I've accidently pressed Ctrl-S and the terminal freezes. I had no idea what to do so I had to close the window with Alt-F4. This is extra annoying if you have a ssh session open.

What Ctrl-S does it that it freezes the output on the terminal. Ctrl-Q resumes it again. I can't think of a real usage for me for this but it's good to know if you accidently "freeze" your terminal.

Comments

Anonymous
I use this many times every day. When you run a big task that dumps lots of lines (at varying speeds), and you want to read or highlight some text in the output, hit ctrl-s to freeze the console before reading the text. You can still scroll around in the terminal's buffer.
Anonymous
or you could pipe the output into 'less'.
Ctrl-S is useless on modern machines and serves only to frustrate and annoy.
Anonymous
pressing scrollock in most terminals should have the same effect
Anonymous
Thanks for the useful inputs.
Anonymous
You just saved my frozen session. Thanks.
Anonymous
Thank you - this has been bothering me forever.
Thank you for posting a comment

Your email will never ever be published


Related posts

Previous:
Encrypted files in Emacs 01 March 2005
Next:
Good usage of drop-downs 05 March 2005
Related by keywords:
Guake, not Yakuake or Yeahconsole 23 January 2010
Fish - most important Python package since distutils 07 May 2010