On Wed, Jul 10, 2024 at 18:39:38 -0400, songbird wrote: > Franco Martelli wrote: > > Hi everybody, > > > > I sometime use "rtorrent" (apt show rtorrent) to download isos and other > > big files. It happens that when I had to quit rtorrent by press Ctrl-Q I > > cannot because the key combination Ctrl-Q is trapped by the console due > > to "stty" default configuration: > > that is a strange choice of termination and i would > actually consider it a bug in rtorrent, ESC or Ctrl-C > should work for that purpose.
Emacs and bash both use Ctrl-S to do stuff, and in both cases, you need to reconfigure your (virtual) terminal via stty(1) or equivalent to disable XOFF/XON flow control before it'll work. I'm sure these aren't the only three terminal programs that use ^S and/or ^Q as key bindings, under the assumption that you can press those keys without triggering flow control. They're the only ones I'm currently aware of, but I'd be shocked if there aren't more. Sadly, the days of designing software to accomodate actual hardware terminals are quite far behind us.