-
Notifications
You must be signed in to change notification settings - Fork 570
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
Ctrl+c on terminal program mpsyt causes unclean termination #3100
Comments
I stopped using mps-youtube for a while now, but if memory serves, it uses /q or /quit to exit gracefully. Being terminal based you might try with |
@glitsj16 already aware of /exit, but /q and /quit are useful to know as well :). Unfortunately the ignores did not help (put in local conf as mentioned, and I already have an existingo one for mpsyt), otherwise I would close the issue and consider it resolved. It's not a breaking issue for me at all, but definitely could be an annoyance for certain things, and a known workaround would be useful for this and for other things. Most annoying part really is the unusable shell thereafter. |
@D-Nice I can see why it is annoying to end up with a broken shell. The only other suggestion I have on this is to |
@D-Nice The roughly handling is described here. @glitsj16 Suggestion to tag |
@matu3ba Done. I had some email trouble lately and I think I saw another thread you asked me to label. Do you happen to remember which one? |
I'm closing here due to inactivity, please fell free to reopen if you still have this issue. |
The regular behaviour on
ctrl+c
for mpsyt is to gracefully shutdown, and also save whatever session history happened.When running it in firejail, with or without profile, the exit is unclean. This always results in the session history not being saved, and there being no exit message as with vanilla mpsyt, but instead
Sometimes, the terminal it was run in, also ends up 'corrupted' in that it may no longer accept input.
I understand this is likely a symptom of the architecture. One way to get around it is to use the
exit
keyword, which will allow mpsyt to gracefully exit before the sandbox is terminated.I thought it worth it to still ask if there is anyway around this, due to
ctrl+c
being in my muscle memory, and I presume this may affect other terminal applications that havectrl+c
handlers built-in, being skipped.The text was updated successfully, but these errors were encountered: