[mosh-devel] Application specific agents, side-channel file transfers and triggers

Mikko Ohtamaa mikko at opensourcehacker.com
Thu Apr 26 07:23:39 EDT 2012


>
> cat file | mosh-sidechannel file-transfer
> <waits until the other side has closed the connection or ctrl-c is hit>
>
> which on the receiving side would execute a script that would either save
> the file locally or execute some X11 program to ask where the file is
> saved, etc.
>

Also for the user interaction you probably want to support two cases

- Blocking operation: the action most complete before it is meaningful to
continue the shell session. E.g. by the ctrl-c example above

- Non-blocking operation: signaling is initiazed, but mosh shell session
won't wait until it completes: you can continue shell session without
waiting the remote editor to open first

Please note that file tranfer can be also handled outside mosh, using e.g.
SFTP, but this would limit the usefulness of side-channeling quite much.

-Mikko


-- 
Mikko Ohtamaa
http://opensourcehacker.com
http://twitter.com/moo9000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mosh-devel/attachments/20120426/f05b5153/attachment.html


More information about the mosh-devel mailing list