#755·asciinema

asciinema rec - (recording to stdout) stopped working

Author: xlotluCreated Sep 28, 2026Updated Sep 28, 2026

Pre-submission checks

  • I have searched existing issues and this bug has not been reported yet
  • This is a bug report for asciinema CLI (not player or server)

Bug Description

In asciinema 2, recording to stdout used to work by using - as filename. (see #255)

This doesn't work anymore, a "-" file is created instead.

Steps to Reproduce

Here's a test that should work to pipe a session across a socket:

  1. in one terminal:
    nc -l -p 9999 | asciinema play -
  2. in another terminal:
    asciinema rec - | nc localhost 9999
  3.  ls -l -- -
  4. see the file existing; see how nothing was sent over the network.

Expected Behavior

That '-' gets treated as the filename for stdout.

Operating System

Arch

asciinema CLI Version

3.2.1

Installation Method

Package manager (apt, yum, brew, etc.)

Terminal Information

konsole

Additional Context

No response