Re: 1.7 constantly accesses floppy drive

2008-07-11 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lee Maschmeyer wrote, On 11.7.2008 22:13: |> So $PATH in bash references '/cygdrive/a'? | | No, $PATH references c:/windows: | | $ echo $PATH | ~/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem

Re: perl-5.10.0-4 -> perl-5.10.0-5 site_perl update needed

2008-07-11 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Reini Urban wrote: | The p5p statement was that it is legal to ADD functions, and it is | illegal to REMOVE functions during the 5.10 cycle. | So it's not comparable to the 5.8 case, where structs were changed. OK, that makes sense. | So breakage

[ANNOUNCEMENT] Obsolete: perl-Module-Build-0.2808-2

2008-07-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The perl-Module-Build package is now obsolete, since perl 5.10.0 now includes Module-Build as a core module. If you previously installed perl-Module-Build-0.2808-1 alongside perl 5.8, you can upgrade to perl-Module-Build-0.2808-2 to remove the obsole

[ANNOUNCEMENT] Updated: perl-Error-0.17014-1

2008-07-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new version of perl-Error, 0.17014-1, is now available for use; leaving 0.17010-1 as previous. NEWS: = This is a new upstream release, and is prepared using the new perl 5.10.0. ~ Upstream changes are attached. See also /usr/share/doc/perl-Err

Re: 1.7 constantly accesses floppy drive

2008-07-11 Thread Larry Hall (Cygwin)
Lee Maschmeyer wrote: So $PATH in bash references '/cygdrive/a'? No, $PATH references c:/windows: $ echo $PATH ~/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/usr/bin:/usr/X11r6/bin:/e /Program Files/Executive Software/Diskeeper/:/usr

Re: perl-5.10.0-4 -> perl-5.10.0-5 site_perl update needed

2008-07-11 Thread Reini Urban
Reini Urban schrieb: Yaakov (Cygwin Ports) schrieb: Reini Urban wrote: | In short: | All old perl-5.10.0-4 generated binary site_perl modules need to be | recompiled with perl-5.10.0-5. | They are not ABI cross-compatible with the new vendor and archlib modules. Say WHAT? I need to recompile

Re: daemon opens blank dos windows for its subprocess

2008-07-11 Thread Jason Tishler
Pierre-Philipp, On Fri, Jul 11, 2008 at 03:37:59PM +0200, Pierre-Philipp Braun wrote: > Fetchmail now runs as a service. It's solved. > Just wondering : what happends with its stderr if there are some > errors? (with or without the --nodetach) fetchmail can be configured to log to a file. For

Re: 1.7 constantly accesses floppy drive

2008-07-11 Thread Lee Maschmeyer
So $PATH in bash references '/cygdrive/a'? No, $PATH references c:/windows: $ echo $PATH ~/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/usr/bin:/usr/X11r6/bin:/e /Program Files/Executive Software/Diskeeper/:/usr/lib/lapack $ mount e:\

CoPy to /dev/null fails

2008-07-11 Thread Christian Franke
Hi, this works on Linux: $ cp file /dev/null but fails on Cygwin 1.5.25-15: $ cp file /dev/null cp: cannot create regular file `/dev/null': Invalid request code /dev/null exists, so /bin/cp opens it with O_TRUNC only. But this fails with EBADRQC (54): fd = open("/dev/null", O_WRONLY|O_TR

Re: 1.7 constantly accesses floppy drive

2008-07-11 Thread Larry Hall (Cygwin)
Lee Maschmeyer wrote: Larry Hall wrote: From what I can see, the fact that the path is referencing 'a:' is the problem. You fix that in Windows in the "System" applet in the "Control Panel". Nope, Control Panel shows the Path (sic) variable correctly pointing to c:\Windows etc. Besides, if

Re: 1.7 constantly accesses floppy drive

2008-07-11 Thread Lee Maschmeyer
Larry Hall wrote: From what I can see, the fact that the path is referencing 'a:' is the problem. You fix that in Windows in the "System" applet in the "Control Panel". Nope, Control Panel shows the Path (sic) variable correctly pointing to c:\Windows etc. Besides, if Windows was looking for

Re: 1.7 constantly accesses floppy drive

2008-07-11 Thread Larry Hall (Cygwin)
Lee Maschmeyer wrote: Hi folks, Following instructions on the list a couple days ago I installed Cygwin 1.7 on top of my fully updated 1.5 system by running: http://www.cygwin.com/setup-1.7.exe Since then performance has been abysmal. The reason is that for every command I execute, Cygwin c

Re: Windows ACLs, Inheritance bit

2008-07-11 Thread Larry Hall (Cygwin)
Sliva, Gregory C. wrote: When executing "mkdir test" within bash, the new directory called "test" gets created on the windows server, but the permissions are different then that of its parent folder. Is there a setting or flag that can be set so that when executing a mkdir in bash it treats it li

Re: Compiling cdecl and c++decl for cygwin?

2008-07-11 Thread leeand00
Warren, I commented out the lines you told me to The result was: [quote author="make"] [EMAIL PROTECTED] /cygdrive/c/Users/XETEX/Desktop/temp/cdecl-2.5/cdecl-2.5 $ make yacc cdgram.y && mv y.tab.c cdgram.c conflicts: 7 shift/reduce flex cdlex.l && mv lex.yy.c cdlex.c gcc -s -O2 -DUSE_READLINE

Windows ACLs, Inheritance bit

2008-07-11 Thread Sliva, Gregory C.
When executing "mkdir test" within bash, the new directory called "test" gets created on the windows server, but the permissions are different then that of its parent folder. Is there a setting or flag that can be set so that when executing a mkdir in bash it treats it like mkdir in dos? Just looki

Re: programming API to determine whether in "Cygwin environment"

2008-07-11 Thread Christopher Faylor
On Fri, Jul 11, 2008 at 08:34:17AM -0700, Karr, David wrote: >The "ant" shell script checks to see if "`uname`" contains the string >"CYGWIN". That just means that you have a Cygwin uname in your path. It doesn't mean you're necessarily running in a Cygwin "environment". I thought the intent wa

RE: programming API to determine whether in "Cygwin environment"

2008-07-11 Thread Dave Korn
Karr, David wrote on 11 July 2008 16:34: > The "ant" shell script checks to see if "`uname`" contains the string > "CYGWIN". Won't help here: >> -Original Message- >> From: cygwin-owner On Behalf Of Tony Last >> Sent: Thursday, July 10, 2008 8:49 PM >> So I'm looking for a boolean met

Re: programming API to determine whether in "Cygwin environment"

2008-07-11 Thread Tony Last
Dave Korn wrote: > Tony Last wrote on 11 July 2008 16:24: > >> I have no idea who sets MAKE_MODE. > > Probably you did! It used to mean something to make a long time ago, > but > was always a user-controlled variable even then. Or it's possible he (and others) just picked it up from '/etc

Re: programming API to determine whether in "Cygwin environment"

2008-07-11 Thread Larry Hall (Cygwin)
Dave Korn wrote: Tony Last wrote on 11 July 2008 16:24: I have no idea who sets MAKE_MODE. Probably you did! It used to mean something to make a long time ago, but was always a user-controlled variable even then. Or it's possible he (and others) just picked it up from '/etc/defaults/et

RE: programming API to determine whether in "Cygwin environment"

2008-07-11 Thread Dave Korn
Tony Last wrote on 11 July 2008 16:24: > I have no idea who sets MAKE_MODE. Probably you did! It used to mean something to make a long time ago, but was always a user-controlled variable even then. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info:

RE: programming API to determine whether in "Cygwin environment"

2008-07-11 Thread Karr, David
The "ant" shell script checks to see if "`uname`" contains the string "CYGWIN". > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tony Last > Sent: Thursday, July 10, 2008 8:49 PM > To: cygwin@cygwin.com > Subject: programming API to determine whethe

Re: programming API to determine whether in "Cygwin environment"

2008-07-11 Thread Tony Last
What about the following EVs which a quick "env" shows: "MAKE_MODE", "SHLVL", and "!C:"? I assume SHLVL is an artifact of bash and only present if bash is an ancestor? I have no idea who sets MAKE_MODE. And "!C:" is a very strange one but presumably is exported by Cygwin? -- View this message in

Re: Compiling cdecl and c++decl for cygwin?

2008-07-11 Thread Warren Young
leeand00 wrote: cdecl.c:141: error: conflicting types for 'setprogname' /usr/include/cygwin/stdlib.h:22: error: previous declaration of 'setprogname' was here Remove line 141 from cdecl.c. It's almost certainly a C prototype, included for some blinkered system where that function isn't decla

Re: un-indenting doesn't work with vim

2008-07-11 Thread Matt Wozniski
On Fri, Jul 11, 2008 at 9:01 AM, Corinna Vinschen wrote: > On Jul 11 14:53, Robert Latest wrote: >> Hello list, >> >> When writing stuff in "vim", I can't unindent without first havin to >> leave the Insert mode. In other words, I type a line, hit "enter", >> then "tab", and do the next line. When

Compiling cdecl and c++decl for cygwin?

2008-07-11 Thread leeand00
Hello I just downloaded the source to cdecl-2.5 from ftp://sunsite.unc.edu/pub/Linux/devel/lang/c//cdecl-2.5.tar.gz cdecl/c++decl is a very old program for converting compilable C declarations and typecasts from descriptive English phrases and back again. my development directory looks like the

Re: daemon opens blank dos windows for its subprocess

2008-07-11 Thread Pierre-Philipp Braun
Fetchmail now runs as a service. It's solved. Just wondering : what happends with its stderr if there are some errors? (with or without the --nodetach) Besides, what client are you using ? I used Pine a lot but I prefer graphical clients at the end. So I'm using xinetd/uw-imapd. Regards -Pierr

Re: programming API to determine whether in 'Cygwin environment'

2008-07-11 Thread Christopher Faylor
On Fri, Jul 11, 2008 at 08:34:30AM -0400, William Sutton wrote: >All the same, you should probably check to see that whatever variables >you choose to key off of don't alter the way your program behaves in >other alternate Windows shells. A co-worker of mine uses 4NT, which >provides UNIX command

Re: un-indenting doesn't work with vim

2008-07-11 Thread Corinna Vinschen
On Jul 11 14:53, Robert Latest wrote: > Hello list, > > When writing stuff in "vim", I can't unindent without first havin to > leave the Insert mode. In other words, I type a line, hit "enter", > then "tab", and do the next line. When I hit enter again, the cursor > goes onto the first position of

Re: programming API to determine whether in 'Cygwin environment'

2008-07-11 Thread Christopher Faylor
On Thu, Jul 10, 2008 at 10:32:57PM -0700, Yitzchak Scott-Thoennes wrote: >On Thu, July 10, 2008 10:06 pm, Christopher Faylor wrote: >> On Thu, Jul 10, 2008 at 08:49:06PM -0700, Tony Last wrote: >>> My console program is built for native Windows (thus does not reply on >>> cygwin1.dll). >>> >>> So I

un-indenting doesn't work with vim

2008-07-11 Thread Robert Latest
Hello list, When writing stuff in "vim", I can't unindent without first havin to leave the Insert mode. In other words, I type a line, hit "enter", then "tab", and do the next line. When I hit enter again, the cursor goes onto the first position of the indented line, which is what I want. But if a

Re: programming API to determine whether in 'Cygwin environment'

2008-07-11 Thread William Sutton
All the same, you should probably check to see that whatever variables you choose to key off of don't alter the way your program behaves in other alternate Windows shells. A co-worker of mine uses 4NT, which provides UNIX command and shell emulation in a native Windows format. I expect it has

Re: perl-5.10.0-4 -> perl-5.10.0-5 site_perl update needed

2008-07-11 Thread Reini Urban
Yaakov (Cygwin Ports) schrieb: Reini Urban wrote: | In short: | All old perl-5.10.0-4 generated binary site_perl modules need to be | recompiled with perl-5.10.0-5. | They are not ABI cross-compatible with the new vendor and archlib modules. Say WHAT? I need to recompile all binary modules in

Re: daemon opens blank dos windows for its subprocess

2008-07-11 Thread Jason Tishler
Pierre-Philipp, On Fri, Jul 11, 2008 at 11:21:53AM +0200, Pierre-Philipp Braun wrote: > I'm using cygwin to filter my emails with fetchmail and procmail. > Problem is, when fetchmail launches procmail (mda "/usr/bin/procmail > -f - -m $HOME/.procmailrc.file"), it quickly opens and closes > freacki

daemon opens blank dos windows for its subprocess

2008-07-11 Thread Pierre-Philipp Braun
Hi, I'm using cygwin to filter my emails with fetchmail and procmail. Problem is, when fetchmail launches procmail (mda "/usr/bin/procmail -f - -m $HOME/.procmailrc.file"), it quickly opens and closes freacking (blank) dos windows ! How to avoid that ? Thanks -Pierre-Philipp -- Unsubscribe info

Re: programming API to determine whether in 'Cygwin environment'

2008-07-11 Thread Corinna Vinschen
On Jul 10 22:32, Yitzchak Scott-Thoennes wrote: > On Thu, July 10, 2008 10:06 pm, Christopher Faylor wrote: > > On Thu, Jul 10, 2008 at 08:49:06PM -0700, Tony Last wrote: > >> My console program is built for native Windows (thus does not reply on > >> cygwin1.dll). > >> > >> So I'm looking for a bo