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
Full shell support #1
Comments
Maybe I can get away with a pty as seen through https://stackoverflow.com/questions/60367318/how-do-you-write-to-a-pty-master-rust and https://docs.rs/nix/0.22.0/nix/pty/index.html |
I'm biased on this, but I'd recommend my own set of crates, which are part of wezterm: I can point you to an example of an interactive ssh client integrated into the |
Please and thank you :)
…On Mon, Aug 16, 2021, 6:07 PM Wez Furlong ***@***.***> wrote:
I'm biased on this, but I'd recommend my own set of crates, which are part
of wezterm <https://wezfurlong.org/wezterm/>:
- https://docs.rs/portable-pty/0.4.0/portable_pty/
- https://docs.rs/termwiz/0.13.0/termwiz/
I can point you to an example of an interactive ssh client integrated into
the dev CLI that we use at work
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAS55CUV654EWU4EIGUGLBLT5GK2TANCNFSM5BFU66HQ>
.
|
Maybe it's worth a considering integrating with https://github.com/zellij-org/zellij. I have not personally switched to it yet, but it looks very promising. If nothing else it's a good resource to see and learn how they do, or plan to do, some things. |
I'm not familiar with zellij. It's an interesting project, but it looks like their pty logic is baked into their own server, so not something I'd try to integrate into distant. Think I've got a plan laid out for tackling shell implementation. Just need to set aside some time to tackle it! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
distant shell
would be the command to launch a connection to the remote machine.In terms of manipulating the local tty, we could use crossterm or termion, maybe? Not sure how to simulate the buffer on the other side where the programs are being run (like vim). Would need to look at mosh as an example.
The text was updated successfully, but these errors were encountered: