Hi everyone. Just wanted to preface by saying I'm a complete noob when it comes to this low level stuff. But I've found an issue with the latest version of uutils' stty command. Please let me know how I can possibly help further.
❯ brew info uutils-coreutils
==> uutils-coreutils: stable 0.2.2 (bottled), HEAD
I've confirmed that aliasing stty to the GNU coreutils' stty fixes my issue.
I've asked an LLM to summarize what i've did and what has happened:
Bug in uutils-coreutils stty version 0.2.2: The stty -g command produces output that the same stty command cannot read back properly, causing the "invalid argument" errors when atuin tries to restore terminal state.
Reproduction Steps
- Install uutils-coreutils via Homebrew
- Use atuin for shell history
- Run any command (like ls)
- Use atuin to recall the command
- See stty errors as atuin tries to restore corrupted terminal state
This issue affects any shell history tool that tries to preserve/restore terminal state using the buggy uutils stty implementation.
Hi everyone. Just wanted to preface by saying I'm a complete noob when it comes to this low level stuff. But I've found an issue with the latest version of uutils' stty command. Please let me know how I can possibly help further.
❯ brew info uutils-coreutils ==> uutils-coreutils: stable 0.2.2 (bottled), HEADI've confirmed that aliasing stty to the GNU coreutils' stty fixes my issue.
I've asked an LLM to summarize what i've did and what has happened:
Bug in uutils-coreutils stty version 0.2.2: The stty -g command produces output that the same stty command cannot read back properly, causing the "invalid argument" errors when atuin tries to restore terminal state.
Reproduction Steps
This issue affects any shell history tool that tries to preserve/restore terminal state using the buggy uutils stty implementation.