node-pty
node-pty copied to clipboard
Possibility to use raw mode ?
trafficstars
Environment details
- OS: Linux
- OS version: 5.15.0-82-generic
- node-pty version: v1.0.0
Issue description
I don't see argument to change initial mode of pty (I have to resort to spawn stty and change the value after pty creation).
What I look for is stty_init in GNU Expect. I am particularly interested in canonical mode and disabling utf8 output conversion (I see the setting for input encoding).
My need is that I want to transform a pty in cooked mode in raw mode so it become like a pipe.
Sorry for necromancing an old issue but I seem to have a working solution (I posted there) for both windows and one for linux. I have a quick n dirty solution so I don't think I will try to fix it. However it might merit good first issue or hacktoberfest tag.