Re: Cygwin speed difference on multiple cores -vs- single-core?

2010-08-13 Thread Andy Nicholas
Tim Prince aol.com> writes: > Several possibilities which you haven't addressed may affect this. > Are you comparing the performance of a single thread when locked to a > single core, compared to when it is permitted to rotate among cores, > with or without HyperThread enabled? > I've never run

Re: Cygwin speed difference on multiple cores -vs- single-core?

2010-08-13 Thread mike marchywka
On 8/13/10, Andy Nicholas <> wrote: > Hi Folks, > > When using cygwin, I've noticed that there seems to be a large speed > difference when I boot my windows 7 (32-bit) machine in single-core mode > versus the regular number of cores (4, Core i7-930). > > I've read through the FAQ and didn't notice

Re: Cygwin speed difference on multiple cores -vs- single-core?

2010-08-13 Thread Tim Prince
On 8/13/2010 5:37 PM, Andy Nicholas wrote: Hi Folks, When using cygwin, I've noticed that there seems to be a large speed difference when I boot my windows 7 (32-bit) machine in single-core mode versus the regular number of cores (4, Core i7-930). I've read through the FAQ and didn't notice any

Cygwin speed difference on multiple cores -vs- single-core?

2010-08-13 Thread Andy Nicholas
Hi Folks, When using cygwin, I've noticed that there seems to be a large speed difference when I boot my windows 7 (32-bit) machine in single-core mode versus the regular number of cores (4, Core i7-930). I've read through the FAQ and didn't notice anything about this issue. Normally, I would

Re: diff /usr/include/endian.orig.h /usr/include/endian.h > endian.h.diff

2010-08-13 Thread Pedro Izecksohn
> Umm - did you copy straight from glibc's endian.h?  That's a no-no; > cygwin generally doesn't want to borrow LGPL sources to avoid any > licensing questions (borrowing from BSD is okay, on the other hand). > You would have to implement things from scratch from a documentation > page, or copy fro

Re: CygWin Security & Performance Issues

2010-08-13 Thread Gary
Christopher Faylor wrote: > On Thu, Aug 12, 2010 at 10:17:44PM +0200, DaveLaw wrote: >>Maybe the co-leader of the project should channel her efforts into just >>that, rather than getting peoples backs up with unnecessary nitpicking >>about how she thinks they should structure their emails. > > Welc

Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread JOHNER Jean 066030
On 13 August 2010, Andy Koppe wrote: > No, but I'm sure a patch implementing the DECSCUSR control sequence > using SetConsoleCursorInfo() would be welcome. (Copyright assignment > required.) I guess this patch is not in Vim code (which is able to do the job in a normal cmd console window) but rat

Re: Broken process substitution

2010-08-13 Thread Daniel Colascione
On Fri, Aug 13, 2010 at 1:44 PM, Daniel Colascione wrote: > On Fri, Aug 13, 2010 at 1:25 PM, Eric Blake wrote: >> Then again, cat should exist until something causes the input side of >> its pipe to declare EOF; so I guess there's no race in this example >> after all.  Rather, it looks like a lim

Re: Broken process substitution

2010-08-13 Thread Daniel Colascione
On Fri, Aug 13, 2010 at 1:25 PM, Eric Blake wrote: > Then again, cat should exist until something causes the input side of > its pipe to declare EOF; so I guess there's no race in this example > after all.  Rather, it looks like a limitation in cygwin1.dll.  I don't > know why bash is unable to du

Re: Broken process substitution

2010-08-13 Thread Eric Blake
On 08/13/2010 02:17 PM, Eric Blake wrote: > On 08/13/2010 02:04 PM, Daniel Colascione wrote: >> Try "echo hello > >(cat)" -- that's supposed to output "hello". > > What makes you think it's supposed to echo hello? That's system > specific on what will happen. According to the bash manual, > >>

Re: Broken process substitution

2010-08-13 Thread Eric Blake
On 08/13/2010 02:04 PM, Daniel Colascione wrote: > Try "echo hello > >(cat)" -- that's supposed to output "hello". What makes you think it's supposed to echo hello? That's system specific on what will happen. According to the bash manual, >(cat) is evaluated first, and will result in a /dev/fd

Broken process substitution

2010-08-13 Thread Daniel Colascione
Try "echo hello > >(cat)" -- that's supposed to output "hello". On Cygwin, we get "bash: echo: write error: Bad file descriptor" -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe

[ANNOUNCEMENT] Updated: experimental package: gcc4-4.5.0-1

2010-08-13 Thread Dave Korn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have just uploaded an updated GCC-4 package to cygwin.com. It will be arriving at your favourite mirror next time it synchronizes itself with the official Cygwin repository. This package is a test release, owing to regressions with the Ada lan

Re: mount segfaults with missing EOL in fstab

2010-08-13 Thread Corinna Vinschen
On Aug 13 20:32, Vincent Rivière wrote: > Hello. > > I have just noticed that the mount utility segfaults when the last > line of /etc/fstab is incorrectly terminated with a missing LF, even > if it is a comment line. > > $ mount -a > Segmentation fault (core dumped) Thanks for the hint. Due to

mount segfaults with missing EOL in fstab

2010-08-13 Thread Vincent Rivière
Hello. I have just noticed that the mount utility segfaults when the last line of /etc/fstab is incorrectly terminated with a missing LF, even if it is a comment line. $ mount -a Segmentation fault (core dumped) -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FA

copying from desktop to server changes group and permissions

2010-08-13 Thread Mirko Vukovic
Hello, when I copy a file from my desktop to the location on our server, it changes permissions and group from root to Domain Users > ls -l tree.eps -rw--- 1 977315 root 69488 2010-06-06 21:02 tree.eps /home/The-Works/invention-disclosures+patents/1590--networked-shh-channels > ls -l /z/tmp/t

Problem with -D_GLIBCXX_DEBUG and cppcheck

2010-08-13 Thread Cary R.
On my Linux machine I'm using the latest cppcheck from git since it has bug fixes I need to test my code. Now that it's mostly working I tried to compile it on Cygwin so I would have it available there as well. I ran into a few problems and after some debug it appears to be a problem with the -D_GL

Re: Incomplete installation of subversion

2010-08-13 Thread Andrey Repin
Greetings, Phil Betts! >> :curl -iI -H "Accept-Encoding: gzip" -s -- >> "http://cygwin.com/setup.exe"; >> HTTP/1.1 200 OK >> Date: Thu, 12 Aug 2010 06:59:40 GMT >> Server: Apache/2.0.52 (Red Hat) >> Last-Modified: Tue, 10 Aug 2010 16:28:21 GMT >> ETag: "18e01b8-

Re: cygwin 1.7: why there is a directory E/cygwin/dev in the tree of cygwin ?

2010-08-13 Thread Cliff Hones
Eric Blake wrote: > [reviving an old thread, relevant to today's current bash postinstall > failures] > ... > I'm building a new bash package now that should fix all this mess, by > using the same means as 000-cygwin-post-install.sh to populate necessary > entries into /dev. Splendid! Just for t

[ANNOUNCEMENT] Updated: bash-3.2.51-24

2010-08-13 Thread Eric Blake
A new release of bash, 3.2.51-24, has been uploaded and will soon reach a mirror near you. This replaces 3.2.49-23 as current. NEWS: = This is a minor update that pulls in a couple of upstream patches and fixes a bug in the postinstall script. There are a few things you should be aware of be

Re: Mounting shares that require passwords

2010-08-13 Thread Daniel Colascione
On 8/13/10 10:13 AM, Steven Collins wrote: > I'm attempting to execute "net use" from the bash command prompt in an > xterm session that was started via the "XWin Server" menu item. The > 'ps' command lists the TTY as "con", so I wouldn't expect to be using > a pty. Am I? If so, is there a work aro

Re: Mounting shares that require passwords

2010-08-13 Thread Steven Collins
On Fri, Aug 13, 2010 at 11:07, Christopher Faylor <> wrote: > On Fri, Aug 13, 2010 at 10:56:55AM -0600, Steven Collins wrote: >>On Fri, Aug 13, 2010 at 10:28, Jeremy Bopp <> wrote: >>> On 8/13/2010 11:24 AM, Steven Collins wrote: Is there some way within cygwin to successfully mount a share th

Re: Mounting shares that require passwords

2010-08-13 Thread Christopher Faylor
On Fri, Aug 13, 2010 at 10:56:55AM -0600, Steven Collins wrote: >On Fri, Aug 13, 2010 at 10:28, Jeremy Bopp <> wrote: >> On 8/13/2010 11:24 AM, Steven Collins wrote: >>> Is there some way within cygwin to successfully mount a share that >>> requires a password. Until I run the "net use" command or

Re: Mounting shares that require passwords

2010-08-13 Thread Steven Collins
On Fri, Aug 13, 2010 at 10:28, Jeremy Bopp <> wrote: > On 8/13/2010 11:24 AM, Steven Collins wrote: >> Is there some way within cygwin to successfully mount a share that >> requires a password. Until I run the "net use" command or other >> Windows application to open the share with the password Cyg

Re: Mounting shares that require passwords

2010-08-13 Thread Jeremy Bopp
On 8/13/2010 11:24 AM, Steven Collins wrote: > Is there some way within cygwin to successfully mount a share that > requires a password. Until I run the "net use" command or other > Windows application to open the share with the password Cygwin is > unable to access it. The best I've come up with s

Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread Andy Koppe
On 13 August 2010 14:22, JOHNER Jean 066030 wrote: > Hello, > > Please do the following: > 1/ Start a standard cmd console >   Launch Windows Vim (C:\Program Files\vim\vim72\vim.exe) with >   vim -u NONE file1 > >  Result: file1 opens with a block cursor. If insert mode is activated, > the cursor c

Mounting shares that require passwords

2010-08-13 Thread Steven Collins
Is there some way within cygwin to successfully mount a share that requires a password. Until I run the "net use" command or other Windows application to open the share with the password Cygwin is unable to access it. The best I've come up with so far is to run the "net use" from my .bashrc. Is the

Re: bash postinstall script returns an error

2010-08-13 Thread Eric Blake
On 08/12/2010 06:14 PM, cy.20.superconduc...@xoxy.net wrote: > I was going to mention passwd-grp.sh, but I see there's already a thread > for that, so I'll move right on to the next one. > > When I run setup.exe I always get an error for the bash.sh postinstall > script, it seems to be on the line

Re: cygwin 1.7: why there is a directory E/cygwin/dev in the tree of cygwin ?

2010-08-13 Thread Eric Blake
[reviving an old thread, relevant to today's current bash postinstall failures] On 03/17/2010 12:28 PM, Corinna Vinschen wrote: > On Mar 17 12:21, Eric Blake wrote: >> On 03/17/2010 02:19 AM, rolandc wrote: >>> I do not understand why the postinstall script bash.sh is so complex >>> >>> DEVDIR

Re: Incomplete installation of subversion

2010-08-13 Thread Phil Betts
On 13 August 2010 11:27, Andrey Repin wrote: > Greetings, Corinna Vinschen! > >>> > On Thu, Aug 12, 2010 at 9:02 AM, Andrey Repin  wrote: >>> > (snip) >>> >> :curl -iI -H "Accept-Encoding: gzip" -s -- >>> >> "http://cygwin.com/setup.exe"; >>> >> HTTP/1.1 200 OK >>> >> Date: Thu, 12 Aug 2010 06:59:

Re: diff /usr/include/endian.orig.h /usr/include/endian.h > endian.h.diff

2010-08-13 Thread Pedro Izecksohn
--- Eric Blake wrote: > > Umm - did you copy straight from glibc's endian.h?  That's a no-no; > cygwin generally doesn't want to borrow LGPL sources to avoid any > licensing questions (borrowing from BSD is okay, on the other hand). > You would have to implement things from scratch from a document

Re: bash postinstall script returns an error

2010-08-13 Thread Jeremy Ramer
On Thu, Aug 12, 2010 at 6:14 PM, wrote: > I was going to mention passwd-grp.sh, but I see there's already a thread for > that, so I'll move right on to the next one. > > When I run setup.exe I always get an error for the bash.sh postinstall > script, it seems to be on the line of: > > /bin/test -

Re: bash becomes a directory in win 7? LOL

2010-08-13 Thread Larry Hall (Cygwin)
On 8/13/2010 9:32 AM, mike marchywka wrote: I'm trying to popup new bash windows from a script and getting lots of wierd problems. First, I seem to have to run the cygwin window as admin, ok fine I can click on that. After playing around for a while, I was able to get cmd start bash to run ok but

Re: libpng14-devel does not provide libpng.dll.a

2010-08-13 Thread Glenn Randers-Pehrson
Charles Wilson cwilson.fastmail.fm> writes: > but dll.a is missing from that list. I'll roll out a replacement Sunday. I already took care of it upstream. Glenn -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http

bash becomes a directory in win 7? LOL

2010-08-13 Thread mike marchywka
I'm trying to popup new bash windows from a script and getting lots of wierd problems. First, I seem to have to run the cygwin window as admin, ok fine I can click on that. After playing around for a while, I was able to get cmd start bash to run ok but the children seemed to lose admin startus if

Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread JOHNER Jean 066030
Hello, Please do the following: 1/ Start a standard cmd console Launch Windows Vim (C:\Program Files\vim\vim72\vim.exe) with vim -u NONE file1 Result: file1 opens with a block cursor. If insert mode is activated, the cursor changes to underscore (nice) 2/ Launch cygwin.bat Launch cygw

Re: diff /usr/include/endian.orig.h /usr/include/endian.h > endian.h.diff

2010-08-13 Thread Eric Blake
On 08/12/2010 06:35 PM, Pedro Izecksohn wrote: > --- I wrote: >> Defines macros for to convert the endianness of 16, 32 and 64 bits >> integer types. >> >> diff -c /usr/include/endian.orig.h /usr/include/endian.h > > My previous diff is wrong. The right one follows: OK, that documents _what_ your

Re: libpng14-devel does not provide libpng.dll.a

2010-08-13 Thread Charles Wilson
On 8/12/2010 11:30 PM, Yaakov (Cygwin/X) wrote: > libpng14-devel provides libpng.a and libpng.la symlinks, but no > libpng.dll.a symlink. I presume this is unintentional? Yes. They changed the way these symlinks were done, to this: for ext in a la so s...@pnglib_major@@pnglib_mi...@.@PNG

Re: XWin shows in "ps -a" but not in "ps"

2010-08-13 Thread Morgan Gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/2010 05:01 AM, Fergus wrote: > I have XWin running and it shows up as a process under > ps -a > but not under > ps Time for another round of the blame game! What's happening is that your shell is getting instantiated on a new vty. Even on m

Re: Cygwin 1.7.5-1: backspace does not work correctly...

2010-08-13 Thread Andy Koppe
On 13 August 2010 10:20, Nuzhna Pomoshch wrote: > On Tue, 20 Apr 2010 00:12:29 +0100, Andy Koppe wrote: > >> From the cygwin-1.7.5 release announcement: >> >> - Support DEC Backarrow Key Mode escape sequences >> (ESC [ ? 67 h, ESC [ ? 67 l) in Windows console. >> >> (The first one switches to ^H. Y

Re: CygWin Security & Performance Issues

2010-08-13 Thread Csaba Raduly
On Thu, Aug 12, 2010 at 11:55 AM, Corinna Vinschen wrote: > Really?  As far as I understood from the docs, SUA is rather styled > after SVR4. Looks like I got it into my head that if a Unix isn't GNU, it must be BSD. Obviously, I was wrong * * "Wrong," said Renner. "The tactful way," Rod said

XWin shows in "ps -a" but not in "ps"

2010-08-13 Thread Fergus
I have XWin running and it shows up as a process under ps -a but not under ps I think this behaviour is recent: certainly it has perturbed what were previously well-behaved scripts. Supplementary: I was basically using ps | grep in a script to query whether XWin was running. Am I correct that

Re: Incomplete installation of subversion

2010-08-13 Thread Andrey Repin
Greetings, Corinna Vinschen! >> > On Thu, Aug 12, 2010 at 9:02 AM, Andrey Repin wrote: >> > (snip) >> >> :curl -iI -H "Accept-Encoding: gzip" -s -- >> >> "http://cygwin.com/setup.exe"; >> >> HTTP/1.1 200 OK >> >> Date: Thu, 12 Aug 2010 06:59:40 GMT >> >> Server: Apache/2.0.52 (Red Hat) >> >> Las

Re: Postinstall script errors

2010-08-13 Thread Corinna Vinschen
On Aug 12 19:50, Tilman Hausherr wrote: > On Thu, 12 Aug 2010 11:59:30 +0200, Corinna Vinschen wrote: > > >That's probably a fault in the postinstall scripts. It would be nice if > >you could provide more details about what fails exactly in the script, > >or better, what in the script has a non-0

Change to gnuplot's handling of ^Z and ^C

2010-08-13 Thread Ryan Johnson
Hi all, Recenty I noticed that gnuplot no longer responds instantly to control characters. You have to hit an additional key before they take effect. So, for example, if I type "^Zdfg\n" I get the following: gnuplot> ^Z [1]+ Stopped(SIGTSTP)gnuplot [r...@scovich] ~/experiments $ fg

Re: Cygwin 1.7.5-1: backspace does not work correctly...

2010-08-13 Thread Nuzhna Pomoshch
On Tue, 20 Apr 2010 10:03:19 +0200, Corinna Vinschen wrote: > Did you work in xterm or the Linux console lately? > Try pressing Ctrl-V Backspace in both of them. > You'll see ^?, not ^H. I see ^H (because I have set it up so that when I press the backspace key, I actually get a backspace, and not

Re: Mintty versus xterm colors in Vim

2010-08-13 Thread JOHNER Jean 066030
On 12 August 2010 19:56, Andy Koppe wrote: > Looks like vim automatically enables 256-color mode in xterm. Invoke > vim with TERM=xterm-256color to enable it in mintty too. > (You can set that variable on the 'Output' page of mintty's options. > Requires a restart of mintty to take effect.) Marv