4

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?

- UPDATE -

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

0

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. – Fernando César Sep 24 '15 at 8:54
  • which terminal is it, then? – sendmoreinfo Sep 24 '15 at 11:13
  • I'm not sure. Is Konsole (from KDE) a terminal? – Fernando César Sep 24 '15 at 15:48
  • Yes, it is. Which version of KDE? – sendmoreinfo Sep 24 '15 at 19:48
  • KDE v.4.14.2; Konsole Version 2.14.2 – Fernando César Sep 25 '15 at 9:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.