Rsoc: Improving Ion's UX, week 1
By AdminXVII
Adding Nix support for Redox (not yet merged)
The libc crate was updated to use all the latest functionalities from Redox OS & Relibc (PR). In the process, a patch was proposed to nix to support Redox OS (PR). This means a whole host of applications that used nix will work out of the box on Redox OS! (A dependency upgrade will still be needed)
Summary of the work done
- Add a return keyword for exiting functions with a code
- When disowning a process, redirect stdout & stderr to /dev/null
- Reduce lock contention on ctrl-c
- Fix a bug where the command expansion wouldn’t reset the default pipes when an expansion error occured. Thanks to aleksator for filing the bug and helping me find the culprit.
- Bring back compilation on Redox by adding Nix (the crate, not the distro) support for redox
The next steps
- Add plugins
- Add user-defined autocompletion
- Improve expansion by reducing allocations
- Adapt more tests from the cracauer test set, and automate them
- Create non-forking function execution
- Explore the possibility for non-forking builtins