Kung Fu Kung Fu

Fujian White Crane Kung Fu

Zope Zope

What I have and am doing with Zope

Photos Photos

Photoalbum, both old and new.

Receptsamlingen Receptsamlingen

In Swedish only. About my "Collection of Recipes" website.

Contact me Contact me

My contact details and how to contact me.

  Mobile version of this page Mobile version of this page


 

Suspend and resume output in terminal

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

terminal, ctrl-q, suspend, freezes

3rd of March 2005

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.


Comment

Anonymous - 12th April 2005  [«« Reply to this]
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 - 19th April 2006  [«« Reply to this]
or you could pipe the output into 'less'.
Ctrl-S is useless on modern machines and serves only to frustrate and annoy.
Anonymous - 14th November 2006  [«« Reply to this]
pressing scrollock in most terminals should have the same effect
 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.