Disable scroll lock

For a GUI env:

Type xev on the CLI, then click on the Scroll Lock key to see what its keycode is.

Then use xmodmap -e 'keycode <value>=<action>'

Where the value is the keycode number you get from the xev command.

If you want to desable the Scroll Lock, you should leave the <action> as blank. or you can map the <action> to another keycode.

For example, on my Asus EEE 1005P, the Scroll Lock key is map to keycode 78 so i would issue xmodmap -e 'keycode 78=' to disable it.

For a non GUI env:

setkeycodes scancode keycode you get the scancode with the showkey command. And then you need to use loadkeys. And here you can find a guide.

I don't have any experience with a non GUI env, hence i gave you the links and a general way on how to do it.


Disable XON/XOFF (^Q/^S) handling by the tty:

stty stop undef
stty start undef