4 ms·
Doesn't work in bash running in my Terminal.app on macOS, although it certainly does when I `ssh` into one of my Ubuntu boxes. Wonderful shortcut. EDIT: If any
by titanomachy 10y ago
Doesn't work in bash running in my Terminal.app on macOS, although it certainly does when I `ssh` into one of my Ubuntu boxes. Wonderful shortcut.
EDIT: If anyone knows an easy way to get this working on macOS, I'd love to know it.
- pm215 10y agoStackoverflow to the rescue: http://apple.stackexchange.com/questions/3253/ctrl-o-behavior-in-terminal-app http://apple.stackexchange.com/questions/3253/ctrl-o-behavio... This turns out to be because on OSX the terminal driver defaults to throwing away control-O which is rather unhelpful of it. "stty discard undef" fixes it.