Skip to content

stty: invalid argument #8608

@thenetwrx

Description

@thenetwrx

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions