From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17979 invoked by alias); 2 Nov 2017 22:38:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17926 invoked by uid 89); 2 Nov 2017 22:38:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=02112017, 02.11.2017, pleasant, themes X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (217.72.192.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Nov 2017 22:38:16 +0000 Received: from [192.168.178.45] ([95.91.246.210]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MSJ1n-1dh3gD0FPX-00TTOk for ; Thu, 02 Nov 2017 23:38:14 +0100 Subject: Re: Cygwin alongside WSL To: cygwin@cygwin.com References: <1176637677.269012.1508883598594@mail.libero.it> <516a450a-111f-89b7-3f2b-2a092d7f16b1@towo.net> <17f5f832-800b-949a-7c64-8a3848a8403d@SystematicSw.ab.ca> <1004484f-9735-f060-99a0-b9d29fed59fa@SystematicSw.ab.ca> <2ce18657-808a-3e1f-9c59-46f5b8e1128d@towo.net> <0b93ca06-b17c-dde2-39fe-866df6ea7c31@SystematicSw.ab.ca> From: Thomas Wolff Message-ID: Date: Thu, 02 Nov 2017 22:38:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <0b93ca06-b17c-dde2-39fe-866df6ea7c31@SystematicSw.ab.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:D8ik70wFSFA=:tor26hIRXGW5kCrfHbrgYP ZbNZHOraO8xGq7V9mkXAu4JUqZhc2dDxJd/9JIQ8uEc8Lb70w8uXR5sD2qtUeZKInLjs0hoPu pMSy9jZjhAhdfU43KMe1sOhcNU14OIxUT7gyfLO8rXXiJbXZIB5RFuE3OcW20T7pWhlI6FNp8 rEYwf6i/Dv6s925yw9zkBXuDIJ+FGMLUgskh9NfuXxTJTtgN/7cKBPptNLbZDfRN+geEphtRM k2NfDMIvCkfHFU46RtACIndwIs1tgRe3IJGg3G+AljYoJZ28eLb9GQXAENi0muHRp53E9vabn n76U4wXnBpTLkjuzO8ELVgfjd8UMzpCqdzj3RALTJLZC6oc1EwZMVNhP0xkWK7wKTVU0irtTQ 3ZNSK3a0jERy0Y/cwPawLyxx4LMvEV6ETKBpD0m6cY/sp896MtEnp75bAVbuIVia3cWlDMw2f cK+LpymoV9TDybUoy80UnlaToojvixWvhDSgRex1PPu8OLxmARHwOqTL001CBM0WTZfT1n5uW zAJEV/I+AXHUhzB7dFkcyE3qD+rGZ9agU3NS0LqUkviSKN81iQdQEmiq+fdH6miTqzTgquBLr vtEa0psy+TxM0IzC5JZaw0LwYNQq4QULW0S/KXLtUz3EpWDTOLbrckNexHE2kXNkDCPGstveY bwNaT9Gi6gC3+nq79+qMaVoDushGj8f6GWI85yCBA8+qz+cmmNwI3fH2buv9S+DG3nS2Zuubj TTn//fIu2EUiA9PGuaaxBz7LP1Ve9xm6eba32r5/Or+LpmyV90Jt2G6OGIA= X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00048.txt.bz2 Am 02.11.2017 um 04:19 schrieb Brian Inglis: > 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 >>> https://github.com/mintty/wsltty/issues/64 >> 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] Both features, finding the default user and starting a login shell, would depend on improved wslbridge support. About "-", I've submitted an issue: https://github.com/rprichard/wslbridge/issues/18 > 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. Thanks for flattering me :) Sounds good after all the people asking for ever more features, silly ones as well as good ones. Actually, after the WSL and Virtual Tabs endeavours, release frequency should become lower now. I'd still like to bundle the package with a number of themes and perhaps bell sounds, to populate the config directory not only with localization files. I've so far hesitated because I don't want to get involved in copyright discussions. Any idea or opinion? Thomas -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple