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

Trap TSTP to handle C-z #335

Merged
merged 2 commits into from
Sep 6, 2021
Merged

Trap TSTP to handle C-z #335

merged 2 commits into from
Sep 6, 2021

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Sep 6, 2021

No description provided.

@aycabta aycabta merged commit 322a946 into ruby:master Sep 6, 2021
@aycabta aycabta deleted the trap-tstp branch September 6, 2021 16:59
brasic added a commit to brasic/reline that referenced this pull request Apr 24, 2023
This PR was an effort to address ruby#321 (ed_quoted_insert doesn't work
properly) but per the reporter it did not work correctly.

Moreover, it introduced a major regression: Shell job control stopped
working in all applications that use reline, notably IRB.

Bash and other shells send SIGTSTP in response to C-z to implement job
suspension. Handling SIGSTP opts out of this functionality. For a
line oriented terminal program this should be avoided (not to mention,
this behavior diverges from readline's)
tompng pushed a commit that referenced this pull request Apr 24, 2023
This PR was an effort to address #321 (ed_quoted_insert doesn't work
properly) but per the reporter it did not work correctly.

Moreover, it introduced a major regression: Shell job control stopped
working in all applications that use reline, notably IRB.

Bash and other shells send SIGTSTP in response to C-z to implement job
suspension. Handling SIGSTP opts out of this functionality. For a
line oriented terminal program this should be avoided (not to mention,
this behavior diverges from readline's)

Co-authored-by: Carl Brasic <cbrasic@drwholdings.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant