Same reason there’s a ScrollLock key on keyboards. Didn’t always have scrollbars and if the application prints more than you can read, you want to pause that…
Short answer, terminals are built on the same technology as physical terminals from the 60s and 70s when controlling the flow of data from the server was a more useful feature.
On my Terminal that just makes it so I can’t type anymore, I feel like I’m doing something wrong…
My solution to the problem is CTRL+U, type sudo, CTRL+Y.
If you hit ctrl-s, ctrl-q will unfreeze
x👏off👏… x👏on👏… x👏off👏, x👏on👏…flowcontrol.
Interesting, why is that? Like what feature is that?
Same reason there’s a ScrollLock key on keyboards. Didn’t always have scrollbars and if the application prints more than you can read, you want to pause that…
Short answer, terminals are built on the same technology as physical terminals from the 60s and 70s when controlling the flow of data from the server was a more useful feature.
It’s part of the terminal emulator flow control
Ctrl + S freezes your shell yes. But Alt + S?
Ah indeed, ALT+S does nothing. I must have pressed both before realizing it was frozen.