[GH-ISSUE #154] How to unset the tcsh ignoreeof var using the command option #119

Closed
opened 2026-02-25 20:32:42 +03:00 by kerem · 3 comments
Owner

Originally created by @kaushalmodi on GitHub (Apr 22, 2016).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/154

I have the below record option in my ~/.config/asciinema/config file:

[record]
command = /bin/tcsh

I would like to unset the tcsh special variable ignoreeof only in this tcsh session started by asciinema so that I can hit Ctrl + D to quickly stop the recording (instead of typing exit). Is there a way to do that?

I do not have the ignoreeof unset by default so that I don't accidently kill my tcsh sessions.

Originally created by @kaushalmodi on GitHub (Apr 22, 2016). Original GitHub issue: https://github.com/asciinema/asciinema/issues/154 I have the below record option in my `~/.config/asciinema/config` file: ``` [record] command = /bin/tcsh ``` I would like to unset the tcsh special variable `ignoreeof` only in this tcsh session started by asciinema so that I can hit `Ctrl + D` to quickly stop the recording (instead of typing `exit`). Is there a way to do that? I do not have the `ignoreeof` unset by default so that I don't accidently kill my tcsh sessions.
kerem closed this issue 2026-02-25 20:32:42 +03:00
Author
Owner

@ku1ik commented on GitHub (Apr 23, 2016):

Can this option be passed to tcsh as a command line arg maybe?

<!-- gh-comment-id:213681998 --> @ku1ik commented on GitHub (Apr 23, 2016): Can this option be passed to tcsh as a command line arg maybe?
Author
Owner

@kaushalmodi commented on GitHub (Apr 23, 2016):

I had looked up the tcsh man page and tried doing

command = /bin/tcsh -c 'unset ignoreeof'

But of course that did not work. I didn't exactly understand from the man pages on how to use the -c arg. Hopefully someone here using tcsh can help me.

I also tried playing with different quotes, without quotes, other tcsh args that I thought would work. But nothing helped.

It would be great to know how and if I can do something like /bin/tcsh and then unset ignoreeof within that new shell process (and then initiate the recording), using the asciinema command option.

<!-- gh-comment-id:213722380 --> @kaushalmodi commented on GitHub (Apr 23, 2016): I had looked up the tcsh man page and tried doing ``` command = /bin/tcsh -c 'unset ignoreeof' ``` But of course that did not work. I didn't exactly understand from the man pages on how to use the `-c` arg. Hopefully someone here using tcsh can help me. I also tried playing with different quotes, without quotes, other tcsh args that I thought would work. But nothing helped. It would be great to know how and if I can do something like `/bin/tcsh` and then `unset ignoreeof` within that new shell process (and then initiate the recording), using the asciinema `command` option.
Author
Owner

@ku1ik commented on GitHub (Dec 29, 2016):

The solution you're looking for would be the same if you wanted to unset ignoreeof for a new shell instance started from the current one. In other words, asciinema isn't a problem here and isn't likely to be a solution either.

<!-- gh-comment-id:269710235 --> @ku1ik commented on GitHub (Dec 29, 2016): The solution you're looking for would be the same if you wanted to `unset ignoreeof` for a new shell instance started from the current one. In other words, asciinema isn't a problem here and isn't likely to be a solution either.
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#119
No description provided.