HomeTutorials › Cross-Pane Coordination
Cross-Pane Coordination

Pane Listening

#069 0:18 Part of the Rysh video series

Pipe one pane's live output straight into another -- secrets redacted automatically.

Pane Listening — 0:18 walkthrough

What you'll see

  1. Launch rysh and split a second pane with Ctrl+P n.
  2. In the source pane, run ##pane name builder to give it an alias.
  3. In the other pane, run ##pane listen builder -- the builder's shared output now flows in, prefixed [builder].
  4. Run a command in the builder; its output appears live in the listener, with secrets redacted first.
  5. Run ##pane unlisten to stop.

Commands shown

rysh
n
##pane name builder
##pane listen builder
echo 'build started'; ls
##pane unlisten

Keys used

EnterCtrl+pEscapeTab

Transcript

0:00Pipe one pane's live output straight into another -- secrets redacted automatically.

0:03Start rysh and split a second pane. We'll have one pane listen to the other.

0:08In the left pane, switch to rysh mode and give it a name so the listener has an alias to attach to.

0:18Move to the other pane and run pane listen builder. Now the builder's shared output flows here, prefixed [builder].

0:28Back in the builder, run a command. Its output appears in the listening pane in real time -- secrets stripped first.

0:40When you're done, the listening pane runs pane unlisten to detach the stream.

0:47Cross-pane awareness with redaction built in.

Key takeaway
##pane listen forwards another pane's redacted output in real time so panes stay aware of each other.