Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow forwarding of CLTR-C (SIGINT) to the remote process. #823

Closed
wants to merge 1 commit into from
Closed

Allow forwarding of CLTR-C (SIGINT) to the remote process. #823

wants to merge 1 commit into from

Conversation

geertj
Copy link

@geertj geertj commented Jan 16, 2013

This feature is controlled by the env.remote_interupt variable. The default
value is None, which means that it depends on the value of the "invoke_shell"
parameter.

If no PTY is allocated, then remote interrupts will always be disabled.

If remote interrupts are enabled, then a CTRL-C pressed on the local terminal will deliver a SIGINT to the remote process, rather than terminating the local Fabric IO loop.

This feature is controlled by the env.remote_interupt variable. The default
value is None, which means that it depends on the value of the "invoke_shell"
parameter.

If no PTY is allocated, then remote interrupts will always be disabled.
@bitprophet
Copy link
Member

Thanks a lot, this looks good. I need to test it out myself, & it needs at least a cursory mention in the docs (usage/interactivity probably, and usage/env for the setting) + a changelog entry. I'll probably do that myself soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants