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

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@geertj
Contributor
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.

@geertj geertj Allow forwarding CTRL-C to the remote process.
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.
ed26997
@bitprophet
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.

@bitprophet bitprophet added a commit that referenced this pull request Jan 29, 2013
@bitprophet bitprophet Docs + changelog re #823, fixes #823 bcf2d40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment