Skip to content

Unix broken raw TTY if the input you feed is not comming from a TTY #24

@dzervas

Description

@dzervas

When I run "sh -i" and am in raw mode in the tty, I get broken output:
image
If I create an additional tty, spawn sh in it and redirect its output to my tty, it works.

For more check this

The solution was to comment out termios.Oflag &^= unix.OPOST in tty_unix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions