How often have you accidentally pressed ctrl+s and had your terminal frozen? I don't understand this default mapping at all. It should be gone from Linux installations. If you're a newbie you might have even thought that the terminal has died (I did think so, and I'd restart the terminal when that happened). Apparently you need to press ctrl+q to unfreeze the terminal. These keys could be used for something better than freezing and unfreezing the console.

Get rid of these keys by running these commands:

stty stop undef
stty start undef

Instead remap these combinations to something much more useful, such as saving the file in vim with ctrl+s.


May 20, 2014, 17:46

I use very often those freeze and unfreeze, it's great when you need to stop tailing logfile for moment and then continue. Also if you already use some key combinations it's hard to learn something other on those combinations.

Simon Permalink
May 21, 2014, 05:23

Absolutely... if I were to unmap those keys, I'd be losing valuable functionality from the terminal. And there's no point in re-using them for save in vim, because anyone who knows how to use vim isn't going to expect to use Ctrl+S to save...

May 21, 2014, 10:29

Really good points!

ILMostro Permalink
October 08, 2014, 04:39

For those who may want to map "C-s" to "Save" in vim, you can place the following in your ~/.bashrc file:

if [ -t 0 ]; then
stty ixany

This works for me; though, I must admit, I barely ever use the shortcut, since it's so easy to simply type


December 03, 2014, 13:27

Interesting, though I use Linux whenever I can, my main system is OS X (BSD Unix with Bash shell). ctrl-s/-q do not freeze/unfreeze in my OS X bash environment.

tavs paziņa no lv ar ko kopā biji Siguldā kādreiz sen sen Permalink
May 20, 2014, 18:24

O jā, šits ir labs ieteikums! Ir gadījies "kaut ko" nospiežot nofrīzot konsoli. Tagad tu palīdzēji saprast, ko tieši nospiežot tas notiek :)

May 21, 2014, 10:31

Atceros :) Sigulda 29. jūnijs. Bildes vēl ir. :)

McCloud Permalink
May 21, 2014, 05:37

Yes - you could unmap tty stop/start but you should NEVER map Ctrl+s in vim if you ever use vim on another computer than yours.

May 21, 2014, 10:32

I'll never use another computer than mine. :)

May 21, 2014, 13:11

Interesting, though I use Linux whenever I can, my main system is OS X (BSD Unix with Bash shell). ctrl-s/-q do not freeze/unfreeze in my OS X bash environment.

Karl Francis Permalink
June 30, 2014, 20:41

I am a new user of Linux and this is awesome.

June 30, 2014, 20:46

The whole content in very good. I enjoying reading your post..

July 02, 2014, 07:22

that is so a huge work and thanks

July 04, 2014, 06:57

That is so awesome work

July 08, 2014, 14:15

stty -ixon
also works for me.

August 15, 2014, 06:12

Thanks for the information. Well written

Singham returns first day reports.

August 30, 2014, 20:33

Really Nice Post
Recruitment Thanks for sharing

September 01, 2014, 06:23

I am afraid not many people would agree with you but I fully support your stance. buy homework assignments Thanks

September 15, 2014, 10:34

When you have a residential, commercial or industrial electrical project that needs to be done quickly and with an eye for quality, look no further than BELDY ELECTRIC.

Nothing Permalink
October 03, 2014, 06:53
October 16, 2014, 15:20

Great post. thanks for sharing.

October 17, 2014, 10:24

sabarimala Ayyappa temple Opening Dates along with online queue booking process & sabarimala accommodationOnline Availability darshan Timings Calendar 2014 to 2015

October 17, 2014, 10:24

Awesome content

October 17, 2014, 10:25

Amazing Content

November 11, 2014, 18:15

Nice article

When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several e-mails with the same comment. Is there any way you can remove people from that service? Thanks a lot!

November 17, 2014, 10:46

helpful and great sharing.thanks a lot for information.

November 26, 2014, 06:29

the Artical was Amazing and it is very usefull

November 28, 2014, 17:38

Thanks for sharing useful article.

December 02, 2014, 09:57

Very Impressive Post. Thanks for sharing this article.

December 02, 2014, 17:59

Thanks for the info.


Kaur deep Permalink
December 04, 2014, 03:06

Excellent and knowledgeable links and post.thanks for sharing.
Now, The Time has come for the Happy New Year 2015. It wil bring a lot fo happinesin our life.
Happy New Year 2015
And I am sure, You wil anjoy this new year day with yoru fiends and wil send some images wishes,
New Year 2015

Happy New Year 2015 Wishes
Greetings to yoru close ones, Your friends, You lover, etc..
Happy New Year 2015 Images
Even I am waititng for that day, because it just changes our life.
Happy New Year 2015 Greetings

Happy New Year 2015 SMS
So, That's why I am commenting here to wish you a very happy new year.
Happy New Year 2015 Messages
I hope this New year 2015 wil bring success to your website. But before that Merry Christmas is coming.
Merry Christmas Quotes
It is also a big event for everyone.
Merry Christmas Pictures
Everyone knows that Christmas is a day when People seems to be very happy, they just leave all sadness behind.
Merry Christmas Wallpapers
And I am sure, you also enjoy this Merry Christmas day of 2014.
Christmas day Images

Christmas stocking
But if you are not looking out to enjoy this christmas, then you are missing out on a big thing, because it really brings happiness.
Merry Christmas Images

Merry Christmas 2014
So, what you are waiting for?
Merry Christmas 2015
Enjoy This Merry Christmas day. Cheers :).

December 15, 2014, 18:21

wow really great knowledge. this article is very useful for us.

Love sms messages for girlfriend 2015
Love sms in Hindi for lover friend 2015.thanks

Diana Permalink
December 17, 2014, 15:46

This article is quite helpful and informative too. I enjoyed a lot. Thanks for sharing such a great article.

Beautiful Christmas Quotes for your friends and family...
christmas quotes
Christmas Messages for Whatsapp

Best Christmas Greetings for your friends and family...
christmas greeting
christmas wishes

What to Write in Christmas Card....... Check out best Christmas Greeting Card Words
What to Write in Christmas Card

GetBeautiful and Unique Christmas Wallpapers for free
free christmas wallpaper
christmas tree decorating ideas

Thanks for sharing such a great article.

Leave a new comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "browser_422": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.