this post was submitted on 17 Feb 2025
28 points (96.7% liked)
Rust
6390 readers
341 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Screen is actually way more powerful than just opening a persistent session on the server side. It’s a terminal multiplexer, and you can use it to manage not only normal tty, but also USB serial! By replacing screen are you also going to recreate all the options like baud rate and /dev/ttyUSB0?
Yeah, its a bit of a mess, it does so much. The thing I wanted was just the persistent sessions, so probably not gonna go further than that. Of course, the code exists, and someone else is welcome to take it and run with it (I'll give it a permissive licence eventually).
for the minimal use case this exists as well. https://github.com/crigler/dtach
Lol, if only I had known about this a year ago, that's exactly what I wanted/needed.
I guess I could change the topic name to "Rewrite of
dtach
in Rust" :/