-
Notifications
You must be signed in to change notification settings - Fork 35
More fixes for JRuby #59
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
Conversation
|
This is ready to merge and release. Among various cleanup fixes for the native logic, this also switches MacOS AArch64 to use the "stty" adapter that shells out rather than using FFI. This is a fairly big change, but given the ongoing bugs running on this platform, this is a significant improvement in that IRB with Reline works properly again. The remaining bugs in the native FFI console logic still must be fixed on MacOS/AArch64 (and any other platforms). This is a temporary workaround to get users full IRB capability. |
This allows platforms we have not tested to still work without raising an error. See jruby/jruby#8005
This should work largely the same across all backends.
Still having some issues fixing (and finding) the remaining bugs on MacOS on AArch64 (FFI), but the stty version gets IRB working.
* Hide stty-specific IO methods * Improve and factor out stty command error handling * Eliminate verbose syntax warnings
These can be shared with the stty version since raw mode works.
I cannot explain why this is failing in CI. It works locally, and similar code tested in isolation properly rejects the bad keyword argument. For now, re-omitting this.
|
@hsbt Thank you! 🙏 |
Various cross-platform fixes incoming.