4 ms·
From XON/XOFF to Forward Incremental Search (2022)
- formerly_proven 3y agoI'm pretty sure I've never messed with those terminal settings yet I've often seen nano's "XON/XOFF ignored, mumble mumble" message (when trying to save with Ctrl+S).
- zabzonk 3y agoyou didn't want to use xon/xoff, you wanted to use rs232 hardware wires. mercifully (or sadly, perhaps) i have forgotten all about this. but then, i am old and ill.
- snvzz 3y agoRTS/CTS.
- orev 3y agoThis is a great explanation, especially the part describing how ctrl codes are mapped to their corresponding letters. I always felt there was probably a logic to it, but the idea never fully materialized into something I thought to investigate. Learning about how to disable XON/OFF is more like a bonus.
- onedognight 3y agoTL;DR put this command in the interactive part of your shell startup scripts if you want to use interactive search (and you do): stty -ixon
- everybodyknows 3y agoThe man page is not so helpful on how -ixon relates to -ixoff: https://man7.org/linux/man-pages/man1/stty.1.html https://man7.org/linux/man-pages/man1/stty.1.html
- ibiza 3y agoThe BSD man pages cover it pretty well. It's more fun & games w/ the pseudoterm. Should ^S, ^Q go to the terminal driver, or to the program using it? In the case of the shell, this means the readline lib. https://man.freebsd.org/cgi/man.cgi?query=termios https://man.freebsd.org/cgi/man.cgi?query=termios
- 2h 3y agoI asked a question about this years ago: https://unix.stackexchange.com/questions/355749/terminfo-disable-xon-xoff https://unix.stackexchange.com/questions/355749/terminfo-dis...