So, my Scroll Lock key doesn't have much use, while I keep hitting Ctrl+S with no intention of stopping control flow.

I know how to disable Ctrl+S from locking scroll (stty -ixon), but can I use Scroll Lock key instead for the same use?


In my terminal Scroll Lock does not stop control flow. My question is how to assign that function to that key.

1 Answer 1


Use stty stop undef and stty start undef. This way, C-s and C-q are being freed for other purposes, but ScrLock still controls flow.

This might be shell and/or terminal-specific, though.

  • In my terminal Scrool Lock does not stop control flow. I was looking exactly looking for a way to assign that function to that key. I will update the question to be more clear. Sep 24, 2015 at 8:54
  • which terminal is it, then? Sep 24, 2015 at 11:13
  • I'm not sure. Is Konsole (from KDE) a terminal? Sep 24, 2015 at 15:48
  • Yes, it is. Which version of KDE? Sep 24, 2015 at 19:48
  • KDE v.4.14.2; Konsole Version 2.14.2 Sep 25, 2015 at 9:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .