Uh oh!
There was an error while loading. Please reload this page.
[release/6.0] Console.Unix: fix missing terminal configuration on SIGINT/SIGQUIT/SGCONT. - #64985
Conversation
…GCONT. The introduction of the managed API for signal handling (PosixSignal) inadvertently caused terminal configuration to no longer be performed when no managed handlers are registered. This adds back the unconditional registration for SIGINT/SIGQUIT/SIGCONT. The missing registrations can cause the terminal to stop echoing when an application terminates on Ctrl-C.
ghost
commented
Feb 8, 2022
Tagging subscribers to this area: @dotnet/ncl Issue DetailsBackport of #64200 to release/6.0 /cc @adamsitnik@tmds Customer ImpactTestingRisk
|
ghost
commented
Feb 8, 2022
Tagging subscribers to this area: @dotnet/area-system-console Issue DetailsBackport of #64200 to release/6.0 /cc @adamsitnik@tmds Customer ImpactTestingRisk
|
@ericstj@adamsitnik looks like this was missed, probably because it wasn't in an 6.0.x milestone and/or |
|
@akoeplinger the template has not yet been filled. I don't think we will be able to get this merged, since the deadline for the next servicing release is today, and it has not yet been approved by Tactics. Have you sent an email to Tactics? |
akoeplinger
commented
Mar 11, 2022
@carlossanlop I have not since I'm not driving this PR, I merely noticed this was sitting around for a month while I was going through the list of 6.0 PRs. |
carlossanlop
commented
Mar 11, 2022
Ah, my apologies @akoeplinger 😄 |
jeffhandley
commented
Mar 11, 2022
Thanks all. Due to several disruptions, we were not able to follow-through on getting this ready for consideration/approval. It'll have to carry over to the next servicing release. |
ViktorHofer
commented
Apr 19, 2022
@jeffhandley is now a good time to consider this PR for the next servicing release, given that time passed? Just asking as I noticed that this PR is lying around. |
tmds
commented
Apr 25, 2022
imo we are good to include this. |
carlossanlop
commented
May 3, 2022
@jeffhandley@jozkee@adamsitnik May 16th is the due date for Code Complete for June servicing. Do we want this to go through Tactics? |
danmoseley
commented
Jun 14, 2022
closing this as it's static. if someone wants to champion - please recreate, with the usual template. |
tmds
commented
Jun 14, 2022
I run into this issue, so I believe others do to. |
adamsitnik
commented
Jul 18, 2022
I am going to champion this issue. I've filled the template and sent an email. This is really annoying bug BTW ;) |
carlossanlop
left a comment
There was a problem hiding this comment.
Tactics approved.
Correct milestone applied.
CI failure is unrelated.
No OOB package authoring needed since this is native code.
Ready to merge.
Backport of #64200 to release/6.0
/cc @adamsitnik@tmds
Customer Impact
Customer reported that if a console app is waiting for keyboard input via
Console.Read, and the user quits the app with Ctrl-C, the terminal will be left in a broken state, and typing will not be displayed.This is due to a regression introduced in .NET 6 where we fail to re-enable input echoing on Ctrl+C.
Testing
Manually verified that this fix solves the problem.
Risk
Very low, as this change has been in main (7.0) for half year and no regressions or bugs were reported so far.