Re: Question about gcc.

2012-05-08 Thread marco atzeri
On 5/8/2012 11:40 AM, eric_justin_al...@cfl.rr.com wrote: Hey I'm using cygwin: CYGWIN_NT-5.1 a 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin I was wondering if there are any graphics libraries for c programming available for cygwin. If so I was hoping someone could help me download and install

Re: Question about gcc.

2012-05-08 Thread eric_justin_al...@cfl.rr.com
marco atzeri wrote: On 5/8/2012 11:40 AM, eric_justin_al...@cfl.rr.com wrote: Hey I'm using cygwin: CYGWIN_NT-5.1 a 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin I was wondering if there are any graphics libraries for c programming available for cygwin. If so I was hoping someone could help me

[ANNOUNCEMENT] Updated: nc-1.107-2

2012-05-08 Thread Corinna Vinschen
I've just update the new nc package to 1.107-2. The -1 version had a bug in the Cygwin-specific patches, which results in the proxy password entered on the command line being ignored. That should be fixed in -2. To update your installation, click on the "Install Cygwin now" link on the http://c

RE: Please try latest snapshot (was Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process)

2012-05-08 Thread Rob Burgers
Hi Christopher, I managed to create a simple replicator for the latest issue with the 2012-05-07 snapshot. The script below crashes within seconds with the 'Resource temporarily unavailable' message. f.sh: #!/bin/bash cmd /C start notepad while ( tru

[ANNOUNCEMENT] Updated: lynx-2.8.7-1

2012-05-08 Thread Corinna Vinschen
I just updated lynx to version 2.8.7-1. This is the latest upstream version with all relevant patches as in Fedora 16. The Cygwin package required a couple of additional patches, especially to remove all Windows-isms which were wrongly used for Cygwin as well. This Lynx version for Cygwin is now

Zip file extraction permissions help

2012-05-08 Thread Assaf Leibovitch
Hello all, I have a zip file, when extracted from Windows, I see files with execute permissions: For example: -rwx--+ 1 Administrators None 2782 Apr 8 10:03 pyrunner.py When using Cygwin unzip, I get the following: -rw-rw-rw- 1 Administrator None 2782 Apr 8 10:03 pyrunner.py The owner

Re: Please try latest snapshot (was Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process)

2012-05-08 Thread marco atzeri
On 5/8/2012 1:50 PM, Rob Burgers wrote: Hi Christopher, I managed to create a simple replicator for the latest issue with the 2012-05-07 snapshot. The script below crashes within seconds with the 'Resource temporarily unavailable' message. f.sh: #!/b

Re: Question about gcc.

2012-05-08 Thread LMH
It sounds like you need to post in a programming forum about this. Open GL and Qt are very popular, so I'm sure there are many forums that can advise you. I would try the code guru graphics programming forum, http://forums.codeguru.com/forumdisplay.php?f=60 This group will help you to install

Re: bad performance when opening many files on Win7

2012-05-08 Thread Achim Gratz
Achim Gratz NexGo.DE> writes: > Fetching all groups from the DC gave me some 6 entries in a 4MiB group > file. And if anything, things became even slower when using that file. I finally found some reproduceable case where the lsass.exe process will go berserk. It's all programs that scan

Re: Zip file extraction permissions help

2012-05-08 Thread marco atzeri
On 5/8/2012 3:11 PM, Assaf Leibovitch wrote: Hello all, I have a zip file, when extracted from Windows, I see files with execute permissions: For example: -rwx--+ 1 Administrators None 2782 Apr 8 10:03 pyrunner.py When using Cygwin unzip, I get the following: -rw-rw-rw- 1 Administrator

Re: Zip file extraction permissions help

2012-05-08 Thread Assaf Leibovitch
Hi Marco, How do I change the default behavior to match the Windows file creation policy? Why the files are owned by 'Administrators' when opened on Windows and by 'Administrator' when opened within Cygwin? Thanks On Tue, May 8, 2012 at 4:24 PM, marco atzeri wrote: > On 5/8/2012 3:11 PM, As

Win/CygWin don't show the same file content!

2012-05-08 Thread JimE
Hi All! I have used Cygwin on XP for years don't know what I'd do without it - thanks to everybody who help make Cygwin available! I changed over to Windows 7 in the last 6 months or so, and have twice run in to an issue where listing/cat'ing files under Cygwin has different results than und

Re: Zip file extraction permissions help

2012-05-08 Thread Assaf
I understand where comes the Administrators user in the /etc/passwd after reading http://cygwin.com/cygwin-ug-net/ntsec.html But still, I would like to get the same permissions when extracting a file outside and inside cygwin by the same user, Administrator On Tue, May 8, 2012 at 4:31 PM, Assaf L

Re: bad performance when opening many files on Win7

2012-05-08 Thread Achim Gratz
Achim Gratz NexGo.DE> writes: > How does one get suitable entries for /etc/group on these? As per the description in the Cygwin UG "ntsec" chapter, I've created an entry for "Everyone", which incidentally revealed what Cygwin associated with that pesky "" user that was shown in ~-expansio

Re: bad performance when opening many files on Win7

2012-05-08 Thread Corinna Vinschen
On May 8 13:19, Achim Gratz wrote: > Achim Gratz NexGo.DE> writes: > > Fetching all groups from the DC gave me some 6 entries in a 4MiB group > > file. And if anything, things became even slower when using that file. > > I finally found some reproduceable case where the lsass.exe process

Re: 1.7.14: bind host crash

2012-05-08 Thread Igor Kostenko
Adrian Fita gmail.com> writes: > Please try to run host under strace like so: > >strace -o host_strace.log host localhost > > and then investigate the resulting file, host_strace.log. First look at > the end for any error, then, if there's no obvious error, look up for > anything suspicio

Re: Please try latest snapshot (was Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process)

2012-05-08 Thread Christopher Faylor
On Tue, May 08, 2012 at 01:50:21PM +0200, Rob Burgers wrote: >Hi Christopher, > >I managed to create a simple replicator for the latest issue with the >2012-05-07 snapshot. > >The script below crashes within seconds with the 'Resource temporarily >unavailable' message. > > >f.

Re: Please try latest snapshot (was Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process)

2012-05-08 Thread marco atzeri
On 5/8/2012 5:11 PM, Christopher Faylor wrote: Thanks for the test case. This was due to Cygwin's not dealing well with Windows reuse of pids. It should be fixed in today's snapshot when it shows up at: http://cygwin.com/snapshots/ cgf confirmed Thanks Marco -- Pr

Re: bad performance when opening many files on Win7

2012-05-08 Thread Achim Gratz
Corinna Vinschen writes: > How did you do that? The ACLs in the Cygwin default dirs are supposed > to contain only three ACEs, one for the installing user, one for the > local admin group, and one for everyone. At least that's how setup.exe > installs them. These are inherited from the settings

Re: [ANNOUNCEMENT] Updated: nc-1.107-2

2012-05-08 Thread Harry G McGavran Jr
If I try the example in the nc manpage for cygwin: printf "GET / HTTP/1.0\r\n\r\n" | nc host.example.com 80 I get a segfault and a stackdump every time. The nc prior to nc-1.107-1 didn't have this problem. nc-1.107-1 had this problem, but with it I could use the nc "-w 1" option and avoid th

Re: [ANNOUNCEMENT] Updated: nc-1.107-2

2012-05-08 Thread Erik Falor
On Tue, May 08, 2012 at 10:43:56AM -0600, Harry G McGavran Jr wrote: > If I try the example in the nc manpage for cygwin: > > printf "GET / HTTP/1.0\r\n\r\n" | nc host.example.com 80 > > I get a segfault and a stackdump every time. Yep, me too. -- Erik Falor

Re: [ANNOUNCEMENT] Updated: nc-1.107-2

2012-05-08 Thread Corinna Vinschen
On May 8 10:43, Harry G McGavran Jr wrote: > If I try the example in the nc manpage for cygwin: > >printf "GET / HTTP/1.0\r\n\r\n" | nc host.example.com 80 > > I get a segfault and a stackdump every time. > > The nc prior to nc-1.107-1 didn't have this problem. > nc-1.107-1 had this problem

Re: bad performance when opening many files on Win7

2012-05-08 Thread Corinna Vinschen
On May 8 18:38, Achim Gratz wrote: > Corinna Vinschen writes: > > How did you do that? The ACLs in the Cygwin default dirs are supposed > > to contain only three ACEs, one for the installing user, one for the > > local admin group, and one for everyone. At least that's how setup.exe > > installs

Re: [ANNOUNCEMENT] Updated: nc-1.107-2

2012-05-08 Thread Chris Sutcliffe
On 8 May 2012 13:23, Corinna Vinschen wrote: > On May  8 10:43, Harry G McGavran Jr wrote: >> If I try the example in the nc manpage for cygwin: >> >>    printf "GET / HTTP/1.0\r\n\r\n" | nc host.example.com 80 >> >> I get a segfault and a stackdump every time. > > Well, sorry, but the above exampl

Re: [ANNOUNCEMENT] Updated: nc-1.107-2

2012-05-08 Thread Corinna Vinschen
On May 8 13:35, Chris Sutcliffe wrote: > On 8 May 2012 13:23, Corinna Vinschen wrote: > > On May  8 10:43, Harry G McGavran Jr wrote: > >> If I try the example in the nc manpage for cygwin: > >> > >>    printf "GET / HTTP/1.0\r\n\r\n" | nc host.example.com 80 > >> > >> I get a segfault and a stack

[ANNOUNCEMENT] Updated: nc-1.107-3

2012-05-08 Thread Corinna Vinschen
I've just update the new nc package to 1.107-3. This version fixes a crash which probably occurs almost always when calling nc from the -1 and -2 packages. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your sy

RE: Portmap RPC registration fails

2012-05-08 Thread Ken
| I have sunrpc 4.0-4 and libtirpc-devel 0.2.1-1. I'm using Windows 7 SP1. | | I compiled and linked the following outline code against tirpc: | | #define PROG 0x1fffL | #define VERS 0x2L | | struct netconfig *nconf = getnetconfigent("tcp"); | | static void dispatch_func(struct svc_

How exactly does ctime work?

2012-05-08 Thread Joshua Hudson
We had a weird incident involving ctime changing unexpectedly when mtime did not. On a normal UNIX system, we'd immediately say somebody changed the file and set mtime back, but on Cygwin, ctime appears to be synthetic. How exactly does ctime work on Cygwin? I can't find any useful documentation

Re: How exactly does ctime work?

2012-05-08 Thread Eric Blake
On 05/08/2012 05:06 PM, Joshua Hudson wrote: > We had a weird incident involving ctime changing unexpectedly when > mtime did not. > > On a normal UNIX system, we'd immediately say somebody changed the > file and set mtime back, but on Cygwin, ctime appears to be synthetic. Not necessarily true.

RE: Please try latest snapshot (was Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process)

2012-05-08 Thread Rob Burgers
Hi, Same here. Everything is working fine now. Thanks a lot for the support. Happy Cygwin, Rob > > Thanks for the test case. This was due to Cygwin's not dealing well > with Windows reuse of pids. > > It should be fixed in today's snapshot when it shows up at: > > http://cygwin.com/snapshots/

Re: bad performance when opening many files on Win7

2012-05-08 Thread Achim Gratz
Corinna Vinschen cygwin.com> writes: > I don't know how to use pod2html. Please send a simple usage example > which works out of the box, so that I can see if I can reproduce this > behaviour. (1004)~ > time pod2html --flush --title=DateTime::Locale::ml \ --podpath=lib/perl5/5.14:bin:lib/perl5/s