[GH-ISSUE #372] ASCIINEMA_REC is not set #849

Closed
opened 2026-03-15 10:43:19 +03:00 by kerem · 5 comments
Owner

Originally created by @omry on GitHub (Sep 18, 2019).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/372

Looks like ASCIINEMA_REC is not properly set.
I found that if I run asciinema with this it will be passed to the recoded session:

ASCIINEMA_REC=1 asciinema rec

This seems to disagree with the doc (https://asciinema.org/docs/usage)

Originally created by @omry on GitHub (Sep 18, 2019). Original GitHub issue: https://github.com/asciinema/asciinema/issues/372 Looks like ASCIINEMA_REC is not properly set. I found that if I run asciinema with this it will be passed to the recoded session: ASCIINEMA_REC=1 asciinema rec This seems to disagree with the doc (https://asciinema.org/docs/usage)
kerem closed this issue 2026-03-15 10:43:24 +03:00
Author
Owner

@Enteee commented on GitHub (Feb 25, 2020):

asciinema 2.0.2 -- and I see the same issue.

<!-- gh-comment-id:590732886 --> @Enteee commented on GitHub (Feb 25, 2020): asciinema 2.0.2 -- and I see the same issue.
Author
Owner

@vext01 commented on GitHub (Apr 5, 2020):

Same issue here on OpenBSD.

<!-- gh-comment-id:609491153 --> @vext01 commented on GitHub (Apr 5, 2020): Same issue here on OpenBSD.
Author
Owner

@ku1ik commented on GitHub (Apr 19, 2020):

Fixed via #400. Will be part of the upcoming release.

<!-- gh-comment-id:616113675 --> @ku1ik commented on GitHub (Apr 19, 2020): Fixed via #400. Will be part of the upcoming release.
Author
Owner

@mickael-menu commented on GitHub (Feb 20, 2021):

EDIT: Oops, I assumed that the latest release was more recent since this issue is quite old already, but it looks like the fix was not released yet.

Still happens for me with 2.0.2, on macOS 10.15.7 with zsh 5.7.1.

~ > asciinema --version
asciinema 2.0.2

~ > asciinema rec -c 'echo "ASCIINEMA_REC=$ASCIINEMA_REC"'
asciinema: recording asciicast to /var/folders/ks/ny2nfkh5183ffwm10fw_9rq80000gn/T/tmp2oid1izq-ascii.cast
asciinema: exit opened program when you're done
ASCIINEMA_REC=
asciinema: recording finished
asciinema: press <enter> to upload to asciinema.org, <ctrl-c> to save locally
<!-- gh-comment-id:782633601 --> @mickael-menu commented on GitHub (Feb 20, 2021): EDIT: Oops, I assumed that the latest release was more recent since this issue is quite old already, but it looks like the fix was not released yet. Still happens for me with 2.0.2, on macOS 10.15.7 with zsh 5.7.1. ``` ~ > asciinema --version asciinema 2.0.2 ~ > asciinema rec -c 'echo "ASCIINEMA_REC=$ASCIINEMA_REC"' asciinema: recording asciicast to /var/folders/ks/ny2nfkh5183ffwm10fw_9rq80000gn/T/tmp2oid1izq-ascii.cast asciinema: exit opened program when you're done ASCIINEMA_REC= asciinema: recording finished asciinema: press <enter> to upload to asciinema.org, <ctrl-c> to save locally ```
Author
Owner

@karimknaebel commented on GitHub (Mar 21, 2021):

Indeed, the last release was almost 2 years ago.

<!-- gh-comment-id:803563249 --> @karimknaebel commented on GitHub (Mar 21, 2021): Indeed, the last release was almost 2 years ago.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#849
No description provided.