HomeTutorials › Interactive Terminal
Interactive Terminal

Toggling Raw Mode (##raw)

#044 0:08 Part of the Rysh video series

Need raw mode without an interactive program? ##raw flips it on and off by hand.

Toggling Raw Mode (##raw) — 0:08 walkthrough

What you'll see

  1. Launch rysh and double-Escape into rysh mode.
  2. Run ##raw to manually turn raw mode on (keystrokes forwarded as raw bytes).
  3. Press Ctrl+O to step out to prefix mode.
  4. Run ##raw again 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.