4 ms·
I had no idea `screen` could do that, and I've been using it for years. Assumed you'd have to use some sort of telnet to communicate with the board. Very cool s
by WaxProlix 9y ago
I had no idea `screen` could do that, and I've been using it for years. Assumed you'd have to use some sort of telnet to communicate with the board. Very cool stuff.
- egwynn 9y agoYup, this is a typical “modern” way to get terminals over serial connections. For instance, my home server is headless, but I can use its onboard serial connection (via GNU screen) to manage it “remotely” even if, for whatever reason, it’s not connected to the network itself, SSH isn’t running, or similar.
- dredmorbius 9y agoMinicom is also useful for serial coms. Includes xyzmodem transfer as well.
- Graziano_M 9y agoIt's the only remaining argument for `screen` over `tmux`. I personally use `cu`: `cu -l /dev/ttyUSB0 -s 115200`. (within tmux)
- RJIb8RBYxzAMX9u 9y agoOne nuisance with cu when used in conjunction with ssh: they both use the same escape character, so I've accidentally terminated my ssh session when I'd meant to disconnect from the serial port many times. But that's what tmux's for. :-)
- Graziano_M 9y agoYeah, I sometimes have nested tmux and cu in ssh. Remembering how many times to hit `~` or Ctrl-A to get the right 'depth' is an art :)