4 ms·
I am not sure how this would work. rsh/ssh may be involved. I wouldn't even know how to express: ssh carthoris ls /mnt/media/Movies | grep Spider (this is jus
by ratboy666 8y ago
I am not sure how this would work. rsh/ssh may be involved. I wouldn't even know how to express:
ssh carthoris ls /mnt/media/Movies | grep Spider
(this is just an example). Note that in this example, we
have two processes running on two different machines.
Indeed, the OSs and systems on these machines may be, um...
different. Indeed, I routinely include "cloud" machines
in pipelines. Indeed, with ssh, the -Y (or -X) option can
introduce a GUI to a part of the command.
I have wished that shar was part of SUS. Also, I find that
"exodus" is useful (across Linux anyway -- the systems have
to be "reasonably" homogenous). https://github.com/intoli/exodus https://github.com/intoli/exodus
- skissane 8y ago> I am not sure how this would work. rsh/ssh may be involved. In order for this to work over SSH, the SSH client and server would need to be enhanced to exchange this data, and also an SSH protocol extension would need to be defined to convey it across the network. One might define IOCTLs that work on pipes and PTYs to send/receive control messages. So sshd would read control messages from the PTY and pass them over the network, and the SSH client would receive them and then pass them on to its own stdout using the same ICOTLs. (Alternatively, one might expand the existing control message support that recvmsg/sendmsg supply on sockets to work on pipes and ptys as well.) Any program supporting such an out-of-band signalling mechanism would have to gracefully degrade when it is absent. If your SSH client or server, or some program in your pipeline, or your terminal emulator, etc, doesn't support them, just fall back on the same mechanisms used today to determine output/input formats. (rsh is such a deprecated protocol, there would be no point in trying to extend it to support something like this.)
- h1d 8y agoThis would be excellent. Finally we get to view images on remote side (except by the iTerm hack) and view diff in a local GUI in the middle of a session?