Cygwin programs display output incorrectly when run under conemu

2020-02-16 Thread Paul Moore
This issue has also been reported to the ConEmu tracker as https://github.com/Maximus5/ConEmu/issues/2059. If I run a cygwin command (for example ls, or for a simpler example, "printf hello\nthere", although the latter needs care to get the correct level of \n escaping :-)) newlines are displayed

Re: Cygwin programs display output incorrectly when run under conemu

2020-02-16 Thread Paul Moore
ck.170807.7z. This works > together with cygwin 3.1.2-1. Versions of Comemu greater 170807 won't. > > Same for cmder, if replacing conemu with version 170807. > > Hartmut > > Am 16.02.2020 um 13:22 schrieb Paul Moore: > > This issue has also been reported to the ConEmu

CYGWIN env variable - glob option

2020-02-19 Thread Paul Moore
I'm not sure if I'm misunderstanding the documentation of the "glob" option in the CYGWIN environment variable. I have (this is under Powershell Core 7.0.0-rc2): $env:CYGWIN="glob:ignorecase winsymlinks:native" if I then try to grep in a file that exists, using wildcards to specify it, I get > C

Re: CYGWIN env variable - glob option

2020-02-20 Thread Paul Moore
o work for my situation, I'd be disappointed if I missed it :-) If there *isn't* an option like that, is it something that could be added to the existing globbing code? I've never contributed to cygwin, but how easy would such a change be? Paul On Wed, 19 Feb 2020 at 16:46, Pau

Re: Is Cygwin 3.1.X Stable Enough to Use?

2020-02-21 Thread Paul Moore
I had the same issue and it was fixed by 3.1.4, so yes upgrading was likely the fix. Paul On Fri, 21 Feb 2020 at 09:41, Takashi Yano wrote: > > On Thu, 20 Feb 2020 21:47:25 -0500 > Lee wrote: > > On 2/20/20, Lee wrote: > > > I'll try backing out the registry change & see if it still happens. > >

Problem installing cygwin - no PATH, mounts, /etc/passwd ...

2005-07-05 Thread Paul Moore
Hi, I'm having problems installing cygwin onto my PC. This is not the first time I've installed cygwin on this machine, but I wanted to do a clean install, so I deleted my C:\Cygwin directory, removed the icons, and deleted the registry entries, as suggested in the FAQ. I then downloaded the full

Re: Problem installing cygwin - no PATH, mounts, /etc/passwd ...

2005-07-05 Thread Paul Moore
Igor Pechtchanski <[EMAIL PROTECTED]> writes: > On Tue, 5 Jul 2005, Dave Korn wrote: [...] >> Found: C:\Cygwin\bin\cp.exe >> Found: C:\Utils\GnuWin32\bin\cp.exe >> Warning: C:\Cygwin\bin\cp.exe hides C:\Utils\GnuWin32\bin\cp.exe > [snip more of the same] >> Not Found: sh > > !!

Re: shell expansion produces e.g. "ls: cannot access '*.pdf': No such file or directory" in Windows CMD shell, but works okay in bash

2020-03-22 Thread Paul Moore via Cygwin
Is this because cygwin globbing is (by default) case sensitive? You could set the CYGWIN environment variable to "glob:ignorecase" to get case-insensitive behaviour. Paul On Sun, 22 Mar 2020 at 17:52, Jay Libove via Cygwin wrote: > > I've never seen this before. > In a Windows CMD shell, Cygwin

Re: shell expansion produces e.g. "ls: cannot access '*.pdf': No such file or directory" in Windows CMD shell, but works okay in bash

2020-03-22 Thread Paul Moore via Cygwin
On Sun, 22 Mar 2020 at 19:11, Marco Atzeri via Cygwin wrote: > any reason for NOT using a cygwin shell ? Many reasons. But that's not relevant to this thread, is it? (Note: I'm not the OP, just an interested contributor to the thread). I'm happy to elaborate if you want, but I suggest we do it

Re: shell expansion produces e.g. "ls: cannot access '*.pdf': No such file or directory" in Windows CMD shell, but works okay in bash

2020-03-22 Thread Paul Moore via Cygwin
going on between how Cygwin does shell expansion when > under Windows CMD vs. when fully within the Cygwin environment (under bash > where of course bash is doing the shell expansion, and ls or other Cygwin > commands don't have to). > > Does any of this help pinpoint the proble

Re: shell expansion produces e.g. "ls: cannot access '*.pdf': No such file or directory" in Windows CMD shell, but works okay in bash

2020-03-22 Thread Paul Moore via Cygwin
m goes away. > So the theory now is that the Cygwin argv-processing code has a problem with > áccented charàcters ... > -Jay > > -Original Message- > From: Paul Moore > Sent: Sunday, 22 March 2020 20:42 > To: Jay Libove > Cc: cygwin@cygwin.com > Subject: Re:

Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
I'm trying to write an automation script that works on a number of machines. I know that on all machines Cygwin will be installed, but I cannot guarantee that (1) it will be in the same location on each PC, or (2) that it will be in PATH. There's HKCU\Software\Cygwin\Installations, but that seems

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
On Wed, 15 Apr 2020 at 11:54, Csaba Ráduly via Cygwin wrote: > On my machine, I have a > > HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup > > key, which contains a string value named "rootdir" with the date > "C:\cygwin64". Thanks, that looks more useful. I didn't think to check there as I didn't rec

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
On Wed, 15 Apr 2020 at 13:43, Thomas Wolff wrote: > >> There's HKCU\Software\Cygwin\Installations, but that seems to use \?? > >> prefixes on the PATH, which I'm not sure how to interpret > Running that script within cygwin? `mount | grep " / "` As I said, I'm trying to find cygwin, so I can't r

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
On Wed, 15 Apr 2020 at 16:54, Marco Atzeri via Cygwin wrote: > > Am 15.04.2020 um 15:29 schrieb Paul Moore via Cygwin: > > On Wed, 15 Apr 2020 at 11:54, Csaba Ráduly via Cygwin > > wrote: > > > >> On my machine, I have a > >> > >> HKEY_LOCAL

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
On Wed, 15 Apr 2020 at 19:31, René Berber via Cygwin wrote: > > On 4/15/2020 1:10 PM, Paul Moore via Cygwin wrote: > > [snip] > > Thanks. Can you explain what the \?? prefix on the Installations > > values is about? I'm nervous that there's something going