Toggling Raw Mode (##raw)
Need raw mode without an interactive program? ##raw flips it on and off by hand.
What you'll see
- Launch rysh and double-Escape into rysh mode.
- Run
##rawto manually turn raw mode on (keystrokes forwarded as raw bytes). - Press
Ctrl+Oto step out to prefix mode. - Run
##rawagain to toggle raw mode back off.
Commands shown
rysh
##raw
##raw
Keys used
EnterEscapeCtrl+o
Transcript
0:00Need raw mode without an interactive program? ##raw flips it on and off by hand.
0:03Raw mode usually engages automatically -- but you can control it directly.
0:07Double-Escape to rysh mode, where ## system commands live.
0:13Type ##raw to turn raw mode on manually. Now keystrokes are forwarded as raw bytes to the PTY -- handy for stubborn programs Rysh didn't auto-detect.
0:30One command, full manual control over the interactive terminal.
Key takeaway
##raw gives you manual on/off control over raw mode for programs Rysh doesn't auto-detect.