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

2.9.1.RC1 in 'sbt console' key-shortcuts seem to be broken #4844

Closed
scabug opened this issue Jul 27, 2011 · 9 comments
Closed

2.9.1.RC1 in 'sbt console' key-shortcuts seem to be broken #4844

scabug opened this issue Jul 27, 2011 · 9 comments
Assignees

Comments

@scabug
Copy link

scabug commented Jul 27, 2011

I can't tell for sure because I'm using a home-brewed version of sbt 0.7.7 (because of the compability problems) but when I then run the console command, neither Ctrl-D nor Ctrl-C work any more. This may well be an sbt issue, I just put it here for reference.

@scabug
Copy link
Author

scabug commented Jul 27, 2011

Imported From: https://issues.scala-lang.org/browse/SI-4844?orig=1
Reporter: @jrudolph

@scabug
Copy link
Author

scabug commented Jul 27, 2011

@paulp said:
ctrl-C doesn't work? That's a new one. Maybe related somehow to #4705, which I also don't understand.

@scabug
Copy link
Author

scabug commented Jul 27, 2011

@paulp said:
Oh, and there is a ctrl-C-not-working report in #4705.

@scabug
Copy link
Author

scabug commented Jul 27, 2011

@harrah said:
This appears to be caused by #4705. Whatever ctrl-C does, it can't overcome the leftover thread. This issue could be interpreted to be a request to unregister the interrupt handler after the interpreter thinks it has exited. Otherwise, I don't think there is a separate issue here.

@scabug
Copy link
Author

scabug commented Aug 15, 2011

@paulp said:
Note to self: unregister the interrupt handler after the interpreter thinks it has exited.

@scabug
Copy link
Author

scabug commented Aug 16, 2011

@jrudolph said:
Seems to be working now with 2.9.1.RC3 in sbt 0.7.7. Ctrl-C interrupts the current running interpreter line but can't be used to break out of the interpreter itself. Ctrl-D works to exit the interpreter and sbt repl works afterwards as intended.

@scabug
Copy link
Author

scabug commented Aug 16, 2011

@paulp said:
Thanks much for confirming.

@scabug
Copy link
Author

scabug commented Sep 5, 2011

@harrah said:
Any reason to keep this open?

@scabug
Copy link
Author

scabug commented Sep 5, 2011

@paulp said:
Nope.

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

No branches or pull requests

2 participants