I am waiting when you apply the patch <a href="https://github.com/keithw/mosh/pull/96">https://github.com/keithw/mosh/pull/96</a> ("Added C++ wrapper script").<div><br></div><div>A native Android port and a native Windows port are very different in their complexity, because Android is based on Linux (and has e.g. all pty and fork features supported). And if we have to use cygwin (I see no real possibilities to get rid of it now), I see no practical reasons to use Putty instead of cygwin SSH.</div>
<div><br></div><div>And about mosh static build. I think that there is a very small chance to make mosh as popular as openssh if it would be hard to install on linux machines. My idea is that to make mosh very popular it should be as simple as possible. Ideally e.g. I need only a client distribution and do not need to install anything at the server at all to use mosh (e.g. a cliend at first connection copies mosh server binaries to the user's home directory and then uses it). BTW getpwuid deps are not problem in practice - it's only a warning.</div>
<div><br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 12:24 AM, Keith Winstein <span dir="ltr"><<a href="mailto:keithw@mit.edu" target="_blank">keithw@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dmitry,<br>
<br>
We'd be glad to have you maintain a distribution of Mosh for Windows, via Cygwin or otherwise. Please just publish your package however is best for Cygwin users (can it be somehow integrated into Cygwin...?), and we will have other Windows users test it out. If all is good we will link to your package on <a href="http://mosh.mit.edu" target="_blank">http://mosh.mit.edu</a> and point users there.<br>
<br>
Re: static Linux binary, unfortunately it is not that simple. Right now mosh-server still depends on the C-language locale facility to do its charset work, and these files are loaded dynamically at runtime and are found at varying locations on different systems (based on LOCPATH, etc.). So a single static Linux binary will not work on too many different Linux distributions without tweaks. (We also use getpwuid() which has a similar problem.)<br>
<br>
I don't think there is any theoretical obstacle to integrating mosh-client with PuTTY (somebody else has just integrated mosh-client with Android Connectbot pretty successfully). But somebody who knows about Windows would need to do this work.<br>
<br>
Best regards,<br>
Keith<div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, 18 Jul 2012, Dmitry Koterov wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So what do you think?<br>
(BTW I suppose there are no realistic possibilities to build a non-cygwin<br>
version of mosh under Windows - it's too complex based on existed code and<br>
actibe pty usages. But it is mostly not needed - cygwin version would be<br>
fine and portable enough.)<br>
<br>
On Sat, Jun 23, 2012 at 3:00 PM, Dmitry Koterov <<a href="mailto:dmitry.koterov@gmail.com" target="_blank">dmitry.koterov@gmail.com</a>><br>
wrote:<br>
Possibly I could be such maintainer - I have a couple of<br>
projects which are distributed such way<br>
(<a href="http://en.dklab.ru/lib/dklab_realsync/" target="_blank">http://en.dklab.ru/lib/dklab_<u></u>realsync/</a>, <a href="http://denwer.ru" target="_blank">http://denwer.ru</a>). I am<br>
planning at least to try this (of course if you agree).<br>
Another thing I'd like to do is to make linux mosh-server binary to be<br>
built statically (including glibc) - so it could be copied to any<br>
version of linux with no care of dependencies. It will make mosh<br>
distribution and creation of packages for various linuxes much easier<br>
- I've seen it in my "Dklab_realplexor" project before.<br>
<br>
<br>
On Saturday, June 23, 2012, Keith Winstein wrote:<br>
Hi Dmitry,<br>
<br>
Yes, we plan to merge it by mosh 1.3 (the next major<br>
release). Glad to<br>
hear it solves the Cygwin problems -- but what we really<br>
need in this<br>
department is somebody who is willing to step up and be<br>
the Cygwin (or<br>
Windows) maintainer and distribute a package for those<br>
platforms in<br>
whatever format is most convenient for users. Thanks for<br>
all your help<br>
so far!<br>
<br>
Best regards,<br>
Keith<br>
<br>
On Sat, Jun 23, 2012 at 6:12 AM, Dmitry Koterov<br>
<<a href="mailto:dmitry.koterov@gmail.com" target="_blank">dmitry.koterov@gmail.com</a>> wrote:<br>
> Hello.<br>
><br>
> Thanks for mosh again.<br>
><br>
> Keith, could you please say whether you plan to<br>
merge piannucci's patch<br>
> which replaces Perl wrapper script by a native one?<br>
> <a href="https://github.com/keithw/mosh/pull/96" target="_blank">https://github.com/keithw/<u></u>mosh/pull/96</a><br>
><br>
> This method completely solves problems in Cygwin and<br>
e.g. allows to build a<br>
> portable Windows distribution for mosh client (which<br>
suppose to be very<br>
> demanded).<br>
<br>
<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>