[GH-ISSUE #295] Ctrl-D to finish a recording does not work on certain Android devices (8.0 or later perhaps?) #197

Closed
opened 2026-02-25 20:33:01 +03:00 by kerem · 2 comments
Owner

Originally created by @fornwall on GitHub (Apr 8, 2018).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/295

(I split out this sub-issue from #271)

After merging https://github.com/asciinema/asciinema/pull/294 the latest asciinema version now works on Android, and can be tried out by installing Termux, running pkg install asciinema (the patch has already been applied to that package) to install it and then using it as normal.

Typing exit to finish the recorded shell works. Using Ctrl-D does not work, it just "hangs".

I reproduced the problem on the following devices:

  • A Galaxy S8 running Android 8.0.
  • A Nexus 6p running Android 8.1.

I cannot reproduce the problem on:

  • A Sony z4 tablet running Android 7.1.

So the issue may be specific to Android 8.0 or later perhaps?

Note that the problem is not specific to asciinema 2.0, testing on 1.4 shows the same problem.

Originally created by @fornwall on GitHub (Apr 8, 2018). Original GitHub issue: https://github.com/asciinema/asciinema/issues/295 (I split out this sub-issue from #271) After merging https://github.com/asciinema/asciinema/pull/294 the latest asciinema version now works on Android, and can be tried out by installing [Termux](https://termux.com/), running `pkg install asciinema` (the patch has already been applied to that package) to install it and then using it as normal. Typing `exit` to finish the recorded shell works. Using Ctrl-D does not work, it just "hangs". I reproduced the problem on the following devices: - A Galaxy S8 running Android 8.0. - A Nexus 6p running Android 8.1. I cannot reproduce the problem on: - A Sony z4 tablet running Android 7.1. So the issue may be specific to Android 8.0 or later perhaps? Note that the problem is not specific to asciinema 2.0, testing on 1.4 shows the same problem.
kerem closed this issue 2026-02-25 20:33:01 +03:00
Author
Owner

@edward-p commented on GitHub (Apr 10, 2018):

Same issues on my Nexus 6p whether Android 7.x nor 8.x, using lineageOS.

<!-- gh-comment-id:380283171 --> @edward-p commented on GitHub (Apr 10, 2018): Same issues on my Nexus 6p whether Android 7.x nor 8.x, using lineageOS.
Author
Owner

@ku1ik commented on GitHub (May 17, 2022):

There were many improvements to how session ending is handled since 2.0, so if you have a chance please test latest 2.2.0. Or, if you don't have a need for this anymore, let's close it.

<!-- gh-comment-id:1128833189 --> @ku1ik commented on GitHub (May 17, 2022): There were many improvements to how session ending is handled since 2.0, so if you have a chance please test latest 2.2.0. Or, if you don't have a need for this anymore, let's close it.
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#197
No description provided.