This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin alongside WSL

On 2017-10-31 12:11, Thomas Wolff wrote:
> Am 27.10.2017 um 00:10 schrieb Thomas Wolff:
>> Am 26.10.2017 um 18:13 schrieb Brian Inglis:
>>> On 2017-10-25 15:18, Thomas Wolff wrote:
>>>> Am 25.10.2017 um 20:30 schrieb Brian Inglis:
>>>>> On 2017-10-25 11:27, Brian Inglis wrote:
>>>>>> On 2017-10-25 00:29, Thomas Wolff wrote:
>>>>>>> Am 25.10.2017 um 00:19 schrieb Angelo Graziosi:
>>>>>>>> Thomas Wolff wrote:
>>>>>>>>> Mintty 2.8.0 simplifies WSL integration a lot.
>>>>>>>>> In Cygwin, you can simply start e.g. mintty --WSL=Ubuntu (add
>>>>>>>>> -~ to start in
>>>>>>>>> the WSL home).
>>>>>>>> Does it mean that 2.8.0 does not need wslbridge [*] any more?
>>>>>>> No, sorry, I forgot to mention that wslbridge would have to be
>>>>>>> installed
>>>>>>> in /bin to make this work.
>>>>>> As it is not a Cygwin package, I have installed wslbridge in
>>>>>> /usr/local/bin/,
>>>>>> which is in the system Path in Windows format, so also in the
>>>>>> Cygwin path in
>>>>>> Unix format - will this work?
>>>>> Would a symlink, winsymlink, or .lnk as /bin/wslbridge to
>>>>> /usr/local/bin/?
>>>> Why don't you just try it? Both wslbridge and wslbridge-backend must
>>>> reside in
>>>> /bin, hard links will work of course.
>>> It looks like without the Fall Update --WSL= does not work with either
>>> no/default distribution found, and the same result with a variety of
>>> obvious names:
>>> ...
>>> It would be nice if --WSL did the right thing for legacy installs also.
>> Yes, I am aware of this gap, see
> This should be working now with mintty 2.8.1. Please try.

This is now working nicely with --WSL and symlinks from
/usr/local/bin/wslbridge* to /usr/bin/.
Using mintty makes cross-checking Cygwin vs Linux operation very pleasant.

[Nitpick: with --WSL, argument "-" does not find DefaultUserName in
BasePath/rootfs/etc/passwd and launch the default shell as the login shell:
/bin/wslbridge: Exit 1.
error: could not exec '-': No such file or directory]

Thanks for all your efforts since you adopted this package, in updating it to
modern standards, all the Unicode, vtterm, and xterm support you have added, all
the new features and improvements in every release, adaptation for WSL, all the
fixes you constantly make, and your frequent releases.

I am sorry for those who can only use Xwindow terminal emulators! ;^>

Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]