-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feasability of adding args to set pty options? #62
Comments
Can you illustrate your use case by example? You are welcome to submit a patch. |
Sure. The interface that I'd like to see for the functionality would be something along the lines of changing the 'use a pty' flag from I'd be happy to try to submit a patch, and have been looking at the code for the port process to try and figure out the best way to do it. Unfortunately, I'm not incredibly well versed with the C side of erlang, nor the process itself, so there'll be a bit more of a learning curve to implementing it. |
That's a reasonable approach. What command do you pass to The command parsing code is here |
Closed on no activity. |
I'm currently using this module to provide bash shell, and it works great.
The only problem that I've encountered so far is that the tty is sized at 80X24, which is moderately inconvenient for actually using the shell.
At the time when I'm actually exec'ing the subprocess, I know what terminal dimensions I would need, (as well as some other tty options, but those are gracefully handled by
reset
) so a mechanism to set tty options or at least dimensions would be very helpful.The text was updated successfully, but these errors were encountered: