Skip to content

Conversation

aymanbagabas
Copy link
Member

@aymanbagabas aymanbagabas commented Sep 21, 2023

This adds the ability to disable the session's PTY emulation from translating NL to CRLN. This is needed when allocating PTYs and applying their terminal modes from the session PTY request.

Reference: gliderlabs#210

This adds the ability to disable the session's PTY emulation from
translating NL to CRLN. This is needed when allocating PTYs and applying
their terminal modes from the session PTY request.
@aymanbagabas
Copy link
Member Author

Ideally, we want to disable the emulation completely and make it opt-in using NewPtyWriter/NewPtyReadWriter. We would need to allocate a Pty for each Pty request using something like pty or go-pty. If Pty allocation failed, we could fall back to this emulation hack.

@aymanbagabas aymanbagabas mentioned this pull request Nov 29, 2023
1 task
@caarlos0
Copy link
Member

is this still needed?

@aymanbagabas
Copy link
Member Author

is this still needed?

Nope

@caarlos0 caarlos0 deleted the pty branch January 30, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants