News for hackers. Stuff that matters.
Re:GNU Nano 6.3 by soraminazuki on Thursday April 28, 2022 @03:21PM (#31197004)
It's not a good idea to use Ctrl + s and Ctrl + q as default keybindings for any important functionality on the terminal because terminals traditionally used them to stop/resume terminal output. Some terminal emulators still do this, so making people press those keys unwittingly would be problematic. So no, nano developers aren't being non-sensical here.
Re:GNU Nano 6.3 by adhesive_wombat on Thursday April 28, 2022 @03:39PM (#31197243)
Yep, pressing Ctrl-S in a terminal and having it freeze up is extremely confusing at the best of times. Because I often (used to) press Ctrl-S as a reflex against certain crashy software, I'd not even really recall pressing it and then I'd wonder what the hell was going on.

Then again, I have saved :wq into a few text files too!

Re:GNU Nano 6.3 by cesarb on Thursday April 28, 2022 @03:51PM (#31197374)
> Yep, pressing Ctrl-S in a terminal and having it freeze up is extremely confusing at the best of times.

At least some terminals (IIRC, KDE's Konsole is one of them) show a helpful colored bar telling you that the output is paused and you should press Ctrl-Q to resume. Unfortunately, other popular terminals (like Gnome's gnome-terminal) don't have any visible indication for that.

Re:GNU Nano 6.3 by gnubison on Thursday April 28, 2022 @06:01PM (#31198749)
‘stty -ixon’ disables this.