Re: Capturing a Cygwin instance from another PC (CORRECTION)

2023-11-26 Thread Chris Wagner via Cygwin
*** CORRECTION On 2023-11-22 9:53 am, Jose Isaias Cabrera via Cygwin wrote: I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from c

Re: Capturing a Cygwin instance from another PC

2023-11-26 Thread Chris Wagner via Cygwin
On 2023-11-22 9:53 am, Jose Isaias Cabrera via Cygwin wrote: I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from cygwin.com to the

Re: Run a Cygwin process with "higher" scheduler priority

2023-10-29 Thread Chris Wagner via Cygwin
On 2023-10-14 7:39 am, Cedric Blancher via Cygwin wrote: I know about nice and renice, but I don't see whether it is working or not. Is there anything in /proc which can tell me the current *Windows* scheduler priority level? Or a command line tool? Ced Iarn's TaskInfo will show you the

Re: chmod g+s ineffective

2022-07-10 Thread Chris Wagner
On 6/29/2022 9:18 AM, Norton Allen wrote: On one machine I have, chmod g+s fails to set the sticky bit. The >>> command does not return any error, but ls -l continues to show the bit not set. $ mkdir foo $ chgrp flight foo $ chmod g+ws foo $ ls -ld foo drwxrwxr-x+ 1 nor

Re: Could rm remove files and folders with colon in their name?

2021-11-24 Thread Chris Wagner
On 2021-11-10 3:39 pm, Corinna Vinschen via Cygwin wrote: To the contrary. The problem is the ambiguity that "X:/foo" might be either the absolute POSIX path $CWD/X:/foo, or the absolute DOS path "X:\foo". I have a patch which fixes your case, but not much else. The problem is that we historic

Re: wildcards don't work in directory with files with odd characters

2020-05-19 Thread Chris Wagner
On 2020-05-19 6:49 am, Andrey Repin wrote: Then take a look at this thread: https://cygwin.com/pipermail/cygwin/2020-March/thread.html#174 You'll need correctly configured LANG and CYGWIN's glob option. That info should definately be in the FAQ. Although I would still consider this behavior

Re: wildcards don't work in directory with files with odd characters

2020-05-18 Thread Chris Wagner
On 2020-05-18 8:40 am, jeff wrote: I have a directory that has some files with odd files. I can do a 'ls', successfully. However if I do a 'ls *'' I get: ls: cannot access '*': No such file or directory Here is ls output: 'Highlander-S03E21-Final'$'\303\251''_Part_I-22.mkv' 'Highlander-S03E22-Fi

Re: Groups command failing me in Windows 10

2020-05-12 Thread Chris Wagner
On 2020-05-12 3:45 pm, David wrote: The groups command in the cmd window on Windows 10 shows None as my first group. When I use the dir command to create a file, the security display shows no error. When I use the touch command to create a file, I get "The permissions on ... are incorrectly orde

Re: Default mingw _WIN32_WINNT

2020-05-11 Thread Chris Wagner
On 2020-05-11 12:53 pm, Yaakov Selkowitz wrote: I would just like to chime in that it would be a crying shame if Cygwin were to ever drop support for Windows 7. There are many people, myself one, who are dead set against Windows 10. "Ever"?!? You do realize that, ESU aside, Windows 7 is out

Re: Default mingw _WIN32_WINNT

2020-05-11 Thread Chris Wagner
On 2020-05-05 5:05 am, Rainer Emrich wrote: Hi Corinna, Am 05.05.2020 um 10:54 schrieb Corinna Vinschen: Therefore it might be a good idea to bump the default for these Cygwin-related headers to at least 0x0600. Setting them to 0x0602 sounds like a good idea, but as long as we didn't drop Vi

Mailing list issues

2020-03-09 Thread Chris Wagner
Hi folks, I'm having some issues with getting mail from this list. The first one is that I'm getting a decent number of messages diverted into spam holding over protocol violations. For example this one has two reply-to headers. Reply-To: cygwin@cygwin.com Authentication-Results: sourceware.

Re: about downloading Cygwin using linux

2020-01-11 Thread Chris Wagner
The first thing to consider is that Windows XP is no longer supported by the main Cygwin code base. https://cygwin.com/cygwin-ug-net/setup-net.html If you really need to install on XP, you'll have to find a snapshot of the last repository that supported it. That would be anything prior to Cy

Re: bug with grep 3.0.2 in cygwin 3.0.7

2019-09-22 Thread Chris Wagner
On 2019-08-28 3:16 am, ak...@free.fr wrote: Hi, I encounter some problem with grep option -E on cygwin 3.0.7 echo "a^b" | grep "a^b" #answer a^b ie it's OK but echo "a^b" | grep -E "a^b" #answer nothing " for me it's KO I have to backslash ^ to be OK like : grep -E 'a\^b' Is-it a bug ? I do

Re: find command seems to lock files

2019-08-25 Thread Chris Wagner
On 2019-08-19 8:33 am, Morten Kjærulff wrote: find //$server/d$/dir/subdir*/subsubdir -name 'thefile' -printf '%A+\n' Problem is that it seems this command locks thefile, as the application sometimes can't delete it. Unfortunately, yes. On Windows, a "full stat" requires that the file be ope

Re: Perl Illegal Instruction

2019-08-15 Thread Chris Wagner
program. Thanks. On 2019-07-16 1:37 am, Achim Gratz wrote: Chris Wagner writes: Of course it's up to date... I'll let that stand, although I've seen sufficiently many Win7 systems lately to be wary of any such statement. That is not BLODA. That's the standard list of l

Re: Perl Illegal Instruction

2019-07-15 Thread Chris Wagner
On 2019-07-15 3:46 pm, Achim Gratz wrote: Chris Wagner writes: For some reason this afternoon, after having worked fine, my Perl stopped working. There was no error message. It just silently died with status 0 no less. Windows 7 SP1. Terribly out of date and no longer safe to use on a

Perl Illegal Instruction

2019-07-15 Thread Chris Wagner
Hi folks. For some reason this afternoon, after having worked fine, my Perl stopped working. There was no error message. It just silently died with status 0 no less. Windows 7 SP1. $ /usr/bin/perl.exe -v $ echo $? 0 So I turn to strace and it states Illegal Instruction. Any ideas? Tha

Re: Windowless Perl

2019-06-10 Thread Chris Wagner
On 2019-06-10 3:24 pm, Achim Gratz wrote: Chris Wagner writes: Perl maintainers, I was wondering why the Cygwin Perl distribution does not contain a windowless Perl executable, wperl.exe. Because nobody needs it? Directly executing the standard perl.exe from Windows causes a command console

Windowless Perl

2019-06-10 Thread Chris Wagner
Perl maintainers, I was wondering why the Cygwin Perl distribution does not contain a windowless Perl executable, wperl.exe. Directly executing the standard perl.exe from Windows causes a command console to pop up. I've had it before in other distros but it would be super handy to execute com

Re: Dragging from explorer to cygwin terminal is not putting the path into the terminal

2019-06-06 Thread Chris Wagner
It won't work if the terminal window was started in administrator mode. Something to do with Windows's security isolation. On 2019-06-06 12:26 am, Academy OfFetishes wrote: Hello, I tried to google for this but couldn't find anyone with the same problem. I'm using mintty 3.0.1 and cygwin

Re: Trying to create default ACL entries to match file ACL entries

2019-06-04 Thread Chris Wagner
Hi Linda, / is just a mount to something like C:\Cygwin64 so there is no problem in changing it. You should delete all the target thing's permissions first to guarantee starting from a clean slate. $ setfacl -kb z2/ && getfacl z1/ |setfacl -f - z2/ This works for me with the latest packages.

Re: cygrunsrv --install --user : avoid having to enter the user's password

2019-05-20 Thread Chris Wagner
Hi Irfan, I'm assuming that there is some reason you don't want to use the password option: -w, --passwdOptional password for user. Only needed if a user is given. If a user has an empty password, enter `-w '. If a user is given but

Re: ezmlm warning

2019-05-06 Thread Chris Wagner
Maintainers, I have been getting numerous bounce warnings and spam holds on mail sent to me by the list. The spam holds are due to protocol violations. This ezmlm warning is because of: 550 Messages should have one or no Sender headers, not 2. If the list software could be made more complian

Re: Are my emails being filtered out?

2019-04-17 Thread Chris Wagner
I too have had ongoing issues getting Cygwin mail. My spam package regularly filters out emails for "protocol" violations which I then have to notice and release. Some were for having multiple Reply-To headers. I even got a notice from the list stating that email to me had been bouncing. So

Re: base-files revisited

2019-04-07 Thread Chris Wagner
Personally I wouldn't want to see yet another .directory in home. Endless fractionation of config is one of the things about unix that irks me. This is not to say that there aren't perfectly valid use cases for YACF (yet another config file). Perhaps this would be best served by a new shell

Re: cygpath -u converts quoted UNC paths to local

2019-04-03 Thread Chris Wagner
On 2019-04-03 12:20 pm, Andrey Repin wrote: Greetings, All! This can be considered "working by design", but it really imposes some serious restrictions on interoperability with Cygwin, that I think can be avoided. ... After some further testing, this seems to be affecting IP-based UNC path

Re: Compile perl Win32::OLE module

2019-03-29 Thread Chris Wagner
On 2019-03-29 9:43 pm, Massimo Balestra wrote: Thank you Chris for answering. But the problem is not during the test, but during the compilation itself (make). Yes, I know I could use ActiveState, but I don't want to have two perl installed on my pc. For me it is more important to have cygwin a

Re: Compile perl Win32::OLE module

2019-03-29 Thread Chris Wagner
On 2019-03-29 3:56 pm, Massimo Balestra wrote: Hi, I am trying to compile the module Win32::OLE but it fails. I searched on Google and I did not find any good suggestion. Can anyone help me? This is what I get: (This is from cpan but it is the same if I compile manually downlaoding the tar packag

Dependancy Hell (was Re: [ANNOUNCEMENT] Updated: mintty 2.9.9)

2019-03-28 Thread Chris Wagner
On 2019-03-28 7:36 am, Steven Penny wrote: On Thu, 28 Mar 2019 08:34:34, Thomas Wolff wrote: Mintty can be used to run any command-line application directly (like top, your editor, ...), a shell is not needed. That may be true, the by default Mintty is configure to load Bash. So it is disinge

Re: cat.exe failing silently with exit status 3

2019-03-27 Thread Chris Wagner
Thanks for the responses. The uname output was already in my attachment. I executed cat as /usr/bin/cat.exe. Cygcheck cat is also in my original attachment. I attached the cygcheck -svr. The other Cygwin installations referenced are from my debugging and are not active. The missing Perl f

cat.exe failing silently with exit status 3

2019-03-26 Thread Chris Wagner
Hi all. A few days ago I noticed that cat.exe was failing without printing any output or errors and exiting with status 3. I tried rebooting, updating my Cygwin, even a fresh install of Base only. I removed all recently installed Windows software and nothing changed. What's truly strange is