Hi all,<br><br>In Pycon Finland 2012 someone proposed following:<br><br>- It is pain to edit files on the server over terminal using terminal editors like vi, emacs or nano if you are used to GUI editors like Sublime Text or TextMate. This goes for most desktop users of the world, but not necessarily hardcore UNIX users.<br>
<br>- It would be nice that you could somehow invoke a local text editor to edit remote files and have a generic solution for this problem without messing with operating system file system layers<br><br>This would be possible if<br>
<br>- Your server has a remote command which can invoke a local text editor (let's call it redit)<br><br>- redit signals the current remote connection session (ssh / mosh) that the user would like to invoke the text editor against file X<br>
<br>- the file is transferred to the local computer using a terminal session side channel, so that there is no need to open a new connection or know from which server the file comes from<br><br>Then what happens on your local computer<br>
<br>- file is saved in /tmp<br><br>- a local editor is opened by a terminal software side-channel trigger, opening the fresh downloaded file<br><br>- the temp file is being monitored on the local file system<br><br>- when the user presses save in the local editor, monitor triggers transfers of the edited content back to the server redit command / agent <br>
<br>As far as I know adding such application specific support in SSH would be major pain where one of the pain points is that SSH community is perceived as archaic for modern developers. However, now Mosh is gaining popularity rapidly and due to its fast development pace could be open for new ideas.<br>
<br>So, my question is: What kind of job it would be adding application specific side-channel / triggering support for Mosh session so that arbitary applications could utilize Mosh connection for their nefarious purposes?<br>
<br>Thank you for a great software,<br>Mikko<br clear="all"><br>-- <br>Mikko Ohtamaa<br><a href="http://opensourcehacker.com" target="_blank">http://opensourcehacker.com</a><br><a href="http://twitter.com/moo9000" target="_blank">http://twitter.com/moo9000</a><br>
<br>