Skip to content

How to link a couple of fake ttys in Linux/macOS #6

@samuelventura

Description

@samuelventura

Could you confirm support for something like below?

socat -d -d \
    pty,raw,nonblock,echo=0,iexten=0,link=/tmp/tty.fake.slave \
    pty,raw,nonblock,echo=0,iexten=0,link=/tmp/tty.fake.master &

This is currently used to test serial communication protocols on macOS but I am moving to M1 silicone where brew/ports are not fully supported yet making socat not readily available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions