X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B486A3850430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1610838562; bh=habveeee68t15oo0WbFPi+xifwXvU9GBrlJC3Rvt6vM=; h=To:Subject:Date:References:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=MUrByPsZ65D3q+qm9ZL6ZaQ2MT3eZP7xt+82wmzCX1a+8PBaPAChJCX3+B0zN6rr8 b4+v2du42DfPnQ8qabv6LRYuze9zhaqUegp0sFkZGgPZwO8Di2aOA9+yV2dU/yD4ds P+fp3UrvEKJ3YudFVNDcwx5yUCwfc8Q8PpZ9itKc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8FD6E3850430 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com Subject: Re: Noticed that mintty starts non-login bash with "Win+R mintty Enter". Date: Sun, 17 Jan 2021 01:09:14 +0200 Organization: Oleksandr Gavenko , http://defun.work/ Message-ID: References: <744d526c-651f-a1d9-72af-f150478e732c AT towo DOT net> <09bf01d6e36e$f2694020$d73bc060$@pdinc.us> Mime-Version: 1.0 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (cygwin) Cancel-Lock: sha1:hi3CZdVWEsiVccwwgPcpI3mkb+k= X-Spam-Status: No, score=3.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_OTHER_BAD_TLD, NML_ADSP_CUSTOM_MED, PDS_OTHER_BAD_TLD, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Oleksandr Gavenko via Cygwin Reply-To: Oleksandr Gavenko Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On 2021-01-05, Jason Pyeron wrote: > I do not put Cygwin in my windows PATH, (anymore since about 10 years ago). Sometimes it is useful to have GNU utils at hands. I use Far Commander and in order to find directory size I type: du -s -m NAME Also having Cygwin staff in PATH allows to start program elevated easily ( NAME ). > I use an environment where settings are lost at logoff, so I have become > accustomed to launching it from the command prompt. > > I have not found it too difficult to type > > c:\cygwin64\bin\mintty /bin/bash -l It won't be productive for my workflow. I own dev PC, not restricted to corporate policies and launch mintty hundred times a day (have CDPATH and other convenience set as the environment is permanent). Though I might get rid of Cygwin from PATH too. For starting Emacs I wrote wrapper that run it elevated (and hides that irritating console as I use emacs-w32) - it is a pleasure to be able to edit Windows /etc/hosts from within Emacs )) Same wrapper can be written for Mintty and placed to PATH. Though I wouldn't do that because all IDEs are rely on git.exe from Cygwin... It is pity that Mercurial comes with "shell" launcher, so cannot be used by non-Cygwin programs. -- http://defun.work/ -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple