[ANNOUNCEMENT] Updated: MATE Desktop 1.10.2

2015-09-24 Thread Yaakov Selkowitz
The following packages (and their respective subpackages) have been updated in the Cygwin distribution: * atril-1.10.2-1 * caja-1.10.3-1 * caja-extensions-1.10.0-1 * caja-python-1.10.0-1 * engrampa-1.10.1-1 * eom-1.10.3-1 * galculator-2.1.4-1 * libmatekbd-1.10.0-1 * libmatemixer-1.10.0-1 * libmate

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Linda Walsh
Greg Freemyer wrote: On Thu, Sep 24, 2015 at 3:27 PM, Linda Walsh wrote: Greg Freemyer wrote: Totally logical, but not accurate. ) --- What does it say if you do an 'lsacl' on "." (the parent directory). $ ./lsacl.sh . [u::---,g::---,g:root:rwx,g:Authenticated Users:rwx,g:SYSTEM:rw

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Linda Walsh
Andrey Repin wrote: Obscurity has no relation to security. Oh, and these both are disabled on my systems. If you read windows 'rules', you'd know that... (so many rules to read...really hard for someone to keep up)... There's no such rules as "rename default accounts". It makes no sense and b

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Greg Freemyer
On Thu, Sep 24, 2015 at 9:46 PM, Andrey Repin wrote: > Obscurity has no relation to security Tell any Army in the world about that theory. They should save their money wasted on camouflage, stealth technology, etc. But, I did not knowingly add the "root" group. Greg -- Problem reports:

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Greg Freemyer
On Thu, Sep 24, 2015 at 3:22 PM, Ken Brown wrote: > > > The problem could be caused by the default ACL on whatever directory you're > working in. You might consider running 'setfacl -b' and/or 'setfacl -k' on > that directory. (Run 'setfacl --help' for more information.) I just posted this, b

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Greg Freemyer
On Thu, Sep 24, 2015 at 2:37 PM, Andrey Repin wrote: > Greetings, Greg Freemyer! > >> We seem to travel the same mailing lists. This is my first time to cygwin's. > >> I saved your script as "lsacl.txt". Then I used "cp lsacl.txt it" to >> make a copy. > >> The copy is permission denied for read

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Greg Freemyer
On Thu, Sep 24, 2015 at 3:27 PM, Linda Walsh wrote: > Greg Freemyer wrote: >> >> >> Totally logical, but not accurate. ) > > --- > What does it say if you do an 'lsacl' on "." (the parent directory). $ ./lsacl.sh . [u::---,g::---,g:root:rwx,g:Authenticated Users:rwx,g:SYSTEM:rwx,g:Users:r

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Andrey Repin
Greetings, Linda Walsh! > Andrey Repin wrote: >> Your system seems to be mangled. There should be no "root" user. >> >> Also, please avoid top posting as per list rules. > > You are missing one? Don't tell me, you have > Administrator instead? No, I have my own account, that's qui

Re: workflow idiom to compare zip/tgz with folder subtree

2015-09-24 Thread Andrey Repin
Greetings, Paul! > I noticed that fossil & cvs are part of cygwin. I will have to bite > the bullet & try a few baby steps at some point. If anything, I would NOT recommend CVS to anyone making their first steps into VCS world. Subversion is way more consistent, better thought out and have about

Re: workflow idiom to compare zip/tgz with folder subtree

2015-09-24 Thread Paul
Eliot Moss wrote: > There are also various backup tools based on rsync and compression. > One of these is called duplicity, and it supports encryption as > well. But I suspect there are a number of these and that you can > find one that matches your task ... Andrey Repin wrote: > It seems he need

[ANNOUNCEMENT] Updated: bash-4.3.42-4

2015-09-24 Thread Eric Blake (cygwin)
A new release of bash, 4.3.42-4, has been uploaded and will soon reach a mirror near you. It is currently marked experimental pending test results from others that have reported problems on text mounts: https://cygwin.com/ml/cygwin/2015-03/msg00496.html https://cygwin.com/ml/cygwin/2015-06/msg0008

Re: [ANNOUNCEMENT] Updated: bash-4.3.39-2

2015-09-24 Thread Eric Blake
On 06/04/2015 03:51 AM, Mikhail Usenko wrote: > Eric Blake (cygwin) <...> wrote: >> 4.3.39-2 > > Hello, Eric. > It has the same issue as in the previous version: > eating one \r from the odd numbered chains of the \r. > Please try the (currently-experimental) 4.3.42-4, which should fix the issue

Re: bash-4.3.33-1 fails to execute shell script with CR+LF EOL in text-mounted directory

2015-09-24 Thread Eric Blake
On 03/26/2015 09:37 AM, sm...@cygwin.akamoz.jp wrote: > Dear Cygwin developers: > > It seems that bash-4.3.33(1) handles CR+LF end-of-line in > the shell-script incorrectly, all of the following conditions are met: > > a. the shell-script file is on TEXT-MOUNTED directory, > b. end-of-line styl

Solved Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread litter
> turns out that Comodo Firewall (Free version) loads a DLL in each process > that is the cause of the delay. > Although I only use the Firewall, and do not use any "AntiVirus" features, > still it causes delay during startup of a process. > > However, after disabling it -- which did speed up pr

Advices on compiling a C, C++, python and fortran code...

2015-09-24 Thread Pierre Juillard
Hi, I have found different emails related to compiling while linking libraries in a Cygwin environment. These mails are quite old (usually from year 2000 to 2003) and explain how linking either libpthread.a or libdl.a with the program being compiled. Manipulations indicated mention the need to cr

Re: startx not working

2015-09-24 Thread Marco Atzeri
On 24/09/2015 22:19, Tim Higgins wrote: I can get an x window when I enter startx -d but it does not seem to display the x programs that I am running on my UNIX server. http://x.cygwin.com/docs/ug/using-remote-apps.html "Note: You must provide the -listen tcp option to startx or startxwin so

Re: startx not working

2015-09-24 Thread Marco Atzeri
Please leave the mailing list in copy On 24/09/2015 21:48, Tim Higgins wrote: Yes I get a different error Just trying to get X working on my desktop as I need its functionality for some Unix jobs that require X. Tim Higgins As openGL crashed and the suggestion on the screenshot is "-nowgl"

Re: startx not working

2015-09-24 Thread Marco Atzeri
On 24/09/2015 20:56, Tim Higgins wrote: When I run startx I get the following error. higginst@HigginsT-LT-W7 ~ $ startx same here, but have you tried startxwin ? Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentat

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Linda Walsh
Greg Freemyer wrote: Totally logical, but not accurate. ) --- What does it say if you do an 'lsacl' on "." (the parent directory). This is a local file system? NTFS? Do you have process hacker? Maybe the writing process has a different integrity label or such. Process hacker le

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Linda Walsh
Andrey Repin wrote: Your system seems to be mangled. There should be no "root" user. Also, please avoid top posting as per list rules. You are missing one? Don't tell me, you have Administrator instead? Maybe that's why you see Greg's messages as top-posted, where as I saw him as

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Ken Brown
On 9/24/2015 2:52 PM, Greg Freemyer wrote: On Thu, Sep 24, 2015 at 2:06 PM, Linda Walsh wrote: Greg Freemyer wrote: Linda, I saved your script as "lsacl.txt". Then I used "cp lsacl.txt it" to make a copy. The copy is permission denied for reading. Basic ls -l shows no difference (as ex

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread litter
> If you use http://www.dependencywalker.com/ on bash.exe with view/full > paths enabled, does the Comodo Firewall dll stand out or is it just > another .dll loaded from windows\system32? > > Regards, > Lee I use Process Explorer to view in-process .dlls: C:\WINDOWS\system32\guard32.dll Regards

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Greg Freemyer
On Thu, Sep 24, 2015 at 2:06 PM, Linda Walsh wrote: > Greg Freemyer wrote: >> >> Linda, > > >> I saved your script as "lsacl.txt". Then I used "cp lsacl.txt it" to >> make a copy. >> >> The copy is permission denied for reading. Basic ls -l shows no >> difference (as expected) >> >> $ ls -l lsac

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Andrey Repin
Greetings, Greg Freemyer! > We seem to travel the same mailing lists. This is my first time to cygwin's. > I saved your script as "lsacl.txt". Then I used "cp lsacl.txt it" to > make a copy. > The copy is permission denied for reading. Basic ls -l shows no > difference (as expected) > $ ls -

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread Marco Atzeri
On 24/09/2015 19:46, Lee wrote: On 9/24/15, litter wrote: On 24/09/2015 11:57, litter wrote: Obviously something is. The FAQ entry does not mention performance, but real failures. How to further diagnose this? I took the plunge and spent almost a full day trying to find the cause. ... s

Re: Issues encountered with new Cygwin version

2015-09-24 Thread Andrey Repin
Greetings, Linda Walsh! >>> > > > > I believe the target of the symlink should be "protocol" (i.e. >>> How would that affect 'services'? >> >> Sorry, you lost me. 'services' has 8 characters in the file name and so is >> its symlink target; That shouldn't be an issue. Of the 4 symlinks under >>

Re: How do I make my Emacs font match my xterm font?

2015-09-24 Thread Jim Reisert AD1C
I ended up downloading xlsfonts, and after a little trial-and-error, this appears to be the matching font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 So I have a new Emacs font, which for some reason seems smaller than before, but it's certainly usable. -- Jim Reisert AD1C, , h

Re: How do I make my Emacs font match my xterm font?

2015-09-24 Thread Jim Reisert AD1C
On Thu, Sep 24, 2015 at 11:50 AM, Ken Brown wrote: > I'm not positive, but I think you might need to install xorg-x11-fonts-Type1. Thanks, Ken. I tried, but it did not fix the problem. -- Jim Reisert AD1C, , http://www.ad1c.us -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Linda Walsh
Greg Freemyer wrote: Linda, I saved your script as "lsacl.txt". Then I used "cp lsacl.txt it" to make a copy. The copy is permission denied for reading. Basic ls -l shows no difference (as expected) $ ls -l lsacl.sh it rwx---+ 1 gaf None 1630 Sep 24 12:05 it rwx---+ 1 gaf None 1630

Re: How do I make my Emacs font match my xterm font?

2015-09-24 Thread Ken Brown
On 9/24/2015 1:16 PM, Jim Reisert AD1C wrote: After the recent fonts reorganization, the font I (used to ) specify for Emacs in my ~/.Xresources file no longer works: Font `-adobe-courier-medium-r-*-*-*-96-*-*-*-*-iso8859-1' is not defined I'm not positive, but I think you might need to i

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread Lee
On 9/24/15, litter wrote: >> On 24/09/2015 11:57, litter wrote: >>> Obviously something is. The FAQ entry does not mention performance, but >>> real failures. >>> How to further diagnose this? > > I took the plunge and spent almost a full day trying to find the cause. ... snip ... > turns out t

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread Cliff Hones
On 24/09/2015 18:24, lit...@null.net wrote: >> On 24/09/2015 11:57, lit...@null.net wrote: >>> Obviously something is. The FAQ entry does not mention performance, but >>> real failures. >>> How to further diagnose this? > > I took the plunge and spent almost a full day trying to find the cause. >

Re: base-files-4.2-3 : attention maintainer

2015-09-24 Thread Achim Gratz
Marco Atzeri writes: > the bug is in the > /etc/postinstall/base-files-mketc.sh > of base-files-4.2-3 > > > FILES="hosts protocols services networks" > OSNAME="$(/usr/bin/uname -s)" > WINETC="$(/usr/bin/cygpath -S -u)/drivers/etc" > > [cut] > > for mke

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread litter
> Maybe: > > strace bash -c 'time cat some-file | while read i;do echo > $i;/bin/true;done' > > Haven't tested it. > > Simplify the command: > > for((i=0;i<150;i++));do /bin/true;done > > to rule out a pipe-problem. Thanks for the tips! Used a variant on the for loop to simplify the problem.

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread litter
> On 24/09/2015 11:57, lit...@null.net wrote: >> Obviously something is. The FAQ entry does not mention performance, but real >> failures. >> How to further diagnose this? I took the plunge and spent almost a full day trying to find the cause. 1. Booting into Safe Mode gave a huge performance bo

How do I make my Emacs font match my xterm font?

2015-09-24 Thread Jim Reisert AD1C
After the recent fonts reorganization, the font I (used to ) specify for Emacs in my ~/.Xresources file no longer works: Font `-adobe-courier-medium-r-*-*-*-96-*-*-*-*-iso8859-1' is not defined Emacs will work if I comment out the font, albeit with a different font and character size. My xte

Re: [Bug] bash' read builtin command behaves differently on '\r' (4.3.33)

2015-09-24 Thread Eric Blake
On 05/14/2015 01:32 PM, Mikhail Usenko wrote: > > Cygwin version: 2.0.2-1 > > [linux]$ bash --version > GNU bash, version 4.3.33(1)-release (i686-redhat-linux-gnu) > [cygwin]$ bash --version > GNU bash, version 4.3.33(1)-release (x86_64-unknown-cygwin) > > Testcase: > [linux]$ echo -ne "\r\n

Re: Issues encountered with new Cygwin version

2015-09-24 Thread Linda Walsh
Walter L. wrote: > > > > I believe the target of the symlink should be "protocol" (i.e. How would that affect 'services'? Sorry, you lost me. 'services' has 8 characters in the file name and so is its symlink target; That shouldn't be an issue. Of the 4 symlinks under /etc/ (i.e. networks, h

Re: cygwin potentially corrupting permissions?

2015-09-24 Thread Greg Freemyer
Linda, We seem to travel the same mailing lists. This is my first time to cygwin's. I saved your script as "lsacl.txt". Then I used "cp lsacl.txt it" to make a copy. The copy is permission denied for reading. Basic ls -l shows no difference (as expected) $ ls -l lsacl.sh it rwx---+ 1 gaf

Re: workflow idiom to compare zip/tgz with folder subtree

2015-09-24 Thread Warren Young
On Sep 22, 2015, at 7:06 PM, Paul wrote: > > Andrey Repin writes: >> Git, Subversion... basically any sane VCS out there. > > I've managed to avoid version control all these years > because I wanted the convenience of bash file management and changing > things on a whim as I see fit. The only fi

base-files-4.2-3 : attention maintainer

2015-09-24 Thread Marco Atzeri
On 23/09/2015 01:04, Walter L. wrote: Hi, I've just performed a fresh install of the latest (2.2.1) Cygwin on 64-bit Windows 7 and noticed 2 issues with the new version that I'd like to verify whether or not they are bugs: 1) The symlink to protocol file seems incorrect [user@hostname /etc]$

Re: Issues encountered with new Cygwin version

2015-09-24 Thread Walter L.
> > > > I believe the target of the symlink should be "protocol" (i.e. > > > > singular) > > > > > > Err. That is. How did no one found it earlier? > > --- > > Because it is plural on unix/linux? MS seems to have misspelt it? > > I believe it's "misspelt" due to the 8 character limit for lega

Re: Issues encountered with new Cygwin version

2015-09-24 Thread Andrey Repin
Greetings, Linda Walsh! >>> > > I believe the target of the symlink should be "protocol" (i.e. >>> > > singular) >>> > >>> > Err. That is. How did no one found it earlier? >>> --- >>> Because it is plural on unix/linux? MS seems to have misspelt it? >> >> I believe it's "misspelt" due to the

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread Marco Atzeri
On 24/09/2015 11:57, lit...@null.net wrote: Obviously something is. The FAQ entry does not mention performance, but real failures. How to further diagnose this? together with the cygcheck output that I already mentioned I suggest 1) to look on /proc/self/maps or /proc//maps to looks for s

Re: Cygwin bash for loops : repeated errors : [main] bash 1972 fork: child -1 - CreateProcessW failed for errno 9 bash: fork: Bad file descriptor

2015-09-24 Thread Marco Atzeri
On 24/09/2015 11:51, lit...@null.net wrote: .> On 23/09/2015 17:03, lit...@null.net wrote: It seems a race problem, due to the repetitive fork of grep for every line of some-file So why does it fail? Seems like a bug to me! Regards, Paul As does not fail on my computer, I suspect is a race

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread litter
> On 23/09/2015 17:17, lit...@null.net wrote: for a file of 167 lines. Process Explorer showed a CPU load of 20% on bash.exe, which was almost completely Kernel time. Is such high Kernel load normal? >>> >>> may be. forks are time consuming and your command is spending all the >>> t

Re: Cygwin bash for loops : repeated errors : [main] bash 1972 fork: child -1 - CreateProcessW failed for errno 9 bash: fork: Bad file descriptor

2015-09-24 Thread litter
.> On 23/09/2015 17:03, lit...@null.net wrote: >>> It seems a race problem, due to the repetitive fork of grep >>> for every line of some-file >> >> So why does it fail? Seems like a bug to me! >> >> Regards, >> Paul > > As does not fail on my computer, I suspect is a race between your AV and > c