Disable recycle bin for rm command

2010-07-08 Thread Urban Purkat
Hi! I see that the rm command uses the recycle bin to remove files. On What's new and what changed in Cygwin 1.7 -> File Access related changes (http://cygwin.com/cygwin-ug-net/ov-new1.7.html#ov-new1.7-file) I read "unlink(2) and rmdir(2) try very hard to remove files/directories even if they are

^M problem in porting unix programs to window

2010-07-08 Thread ke...@ca
Hi, there I am porting a unix project to windows via cygwin. make tool and perl script are used. The perl script file is called in a makefile to create some directories and move some files. All directory names written in the makefile are edited by emacs under linux, as well as the makefile. So I

Re: ^M problem in porting unix programs to window

2010-07-08 Thread ke...@ca
Please never mind. ctrl-M is caught. In fact, it lies in makefile. when the path is transferred to perl, ctrl-M is treated as a part of path name. ke...@ca wrote: > > Hi, there > > I am porting a unix project to windows via cygwin. make tool and perl > script are used. The perl script file is

Bug report: procmail hangs on large messages.

2010-07-08 Thread Stefan `Sec` Zehl
Hi, I have a problem with cygwin and procmail. If messages exceed a certain size, procmail just hangs, eating 100% cpu without doing anything. I've been trying to debug this further, but it just hangs, even with an empty .procmailrc file. Funny enough if I run procmail from within "strace" it r

gcc4: throwing exception from signal handler

2010-07-08 Thread Don Ward
I would like to be able to catch certain signals (SIGSEGV and SIGSYS) and throw a C++ exception (to be caught in a try/catch construct). As a simple example: #include #include #include #include void throw_signal( int signum ) { // fprintf(stderr,"throw_signal: before throw; signum=%d\n",

Re: gcc4: throwing exception from signal handler

2010-07-08 Thread Václav Haisman
On Thu, 8 Jul 2010 09:01:41 -0400, "Don Ward" wrote: > I would like to be able to catch certain signals (SIGSEGV and SIGSYS) and > throw a C++ exception (to be caught in a try/catch construct). As a > simple > example: >[...] > Am I misunderstanding how this should work or doing something wron

undefined reference to `QTextStream::QTextStream(__sFILE64*

2010-07-08 Thread guy . j . maurel
Hello! I have the same problem as 10 May 2003 12:54:20 +0200 , written from Corinna Vinschen: I got the actual "automoc4"-Software from kdesupport, and try to ld with the qt for Windows. The Cygwin/usr/include/stdio.h make a definition of stderr at line 148 as: #define stderr (_REENT->

Re: ImageMagick SVG Problem

2010-07-08 Thread Reini Urban
2010/7/3 : > Has anybody using ImageMagick noticed that 'display' and other ImageMagick > tools are having trouble displaying SVG files? Most of the tools complained > about missing files in the /usr/share/fonts/corefonts/ directory, so I > created a symlink to /c/Windows/Fonts/ (in Win7 Crippl

1.7.5: Extra \r when redirecting output

2010-07-08 Thread Garber, Dave (GE Energy, Non-GE)
I'm seeing the following behavior in 1.7.5 and also 1.5.25, but not in 1.3.12 (yes, we still use that version). On a text mode mount, we have the file foo which has \r\n line endings. If I do grep -i line foo|od -cd then the output shows proper \r\n line endings. However, if I do grep -

Another cygcheck issue?

2010-07-08 Thread Lee D. Rothstein
When I run 'cygcheck' on my vista 64b system, I always get a bunch of error messages on stderror. To wit: $ cygcheck -cvs|e_capa /tmp/e_capa_4800-oa # from my 'e_capa' script /bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32 error 5 Access is denied. /bin/cygrunsrv: warning: O

problem installing libxml

2010-07-08 Thread cygwin . 20 . maillinglist
Hi Folks, I have the problem to install libxml. Alter Starting setup as admin I proceed to the selection of the download, select the mirror http://cygwin.mirrors.hoobly.com. Enter libxml under Search and found libxml in the Gnome folder. When I select the first libxml the setup crashes How ca

Re: gcc4: throwing exception from signal handler

2010-07-08 Thread Don Ward
Václav Haismam wrote: On Thu, 8 Jul 2010 09:01:41 -0400, "Don Ward" wrote: I would like to be able to catch certain signals (SIGSEGV and SIGSYS) and throw a C++ exception (to be caught in a try/catch construct). As a simple example: [...] Am I misunderstanding how this should work or doing s

Re: cygport cross compile(r) support [was: Re: cygport patch: suppress libtool fixup step]

2010-07-08 Thread Charles Wilson
On 7/7/2010 11:39 PM, Yaakov (Cygwin/X) wrote: > On Wed, 2010-07-07 at 22:16 -0400, Charles Wilson wrote: >> Hmm. That's what I *was* doing: JonY's -src provides a cygport that > I didn't mean the .cygport(5), I meant cygport(1). The goal is to make > these workarounds unnecessary. Sure. There's

Re: gcc4: throwing exception from signal handler

2010-07-08 Thread Dave Korn
On 08/07/2010 14:01, Don Ward wrote: > I would like to be able to catch certain signals (SIGSEGV and SIGSYS) > and throw a C++ exception (to be caught in a try/catch construct). As a > simple example: > Am I misunderstanding how this should work or doing something wrong? Or > is this a problem w

Re: problem installing libxml

2010-07-08 Thread Larry Hall (Cygwin)
On 7/8/2010 9:47 AM, cygwin.20.maillingl...@spamgourmet.com wrote: Hi Folks, I have the problem to install libxml. Alter Starting setup as admin I proceed to the selection of the download, select the mirror http://cygwin.mirrors.hoobly.com. Enter libxml under Search and found libxml in the Gnome

Re: Another cygcheck issue?

2010-07-08 Thread Larry Hall (Cygwin)
On 7/8/2010 9:43 AM, Lee D. Rothstein wrote: When I run 'cygcheck' on my vista 64b system, I always get a bunch of error messages on stderror. To wit: $ cygcheck -cvs|e_capa /tmp/e_capa_4800-oa # from my 'e_capa' script /bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32 error

Re: Bug report: procmail hangs on large messages.

2010-07-08 Thread Jason Tishler
Sec, On Thu, Jul 08, 2010 at 03:00:21PM +0200, Stefan `Sec` Zehl wrote: > I have a problem with cygwin and procmail. If messages exceed a > certain size, procmail just hangs, eating 100% cpu without doing > anything. > > I've been trying to debug this further, but it just hangs, even with an > e

Re: gcc4: throwing exception from signal handler

2010-07-08 Thread Don Ward
Dave Korn wrote: On 08/07/2010 14:01, Don Ward wrote: I would like to be able to catch certain signals (SIGSEGV and SIGSYS) and throw a C++ exception (to be caught in a try/catch construct). As a simple example: Am I misunderstanding how this should work or doing something wrong? Or is thi

Re: cygport patch: suppress libtool fixup step

2010-07-08 Thread Dave Korn
On 06/07/2010 19:56, Charles Wilson wrote: > To deal with the duplicated DLLs from two different multilib mingw64 > toolchains (one that supports -m32 and -m64, but *defaults* to -m64, and > one that also supports -m32 and -m64, but *defaults* to -m32), the DLLs > are actually installed into a com

Re: gcc4: throwing exception from signal handler

2010-07-08 Thread Dave Korn
On 08/07/2010 18:02, Don Ward wrote: > I'm glad someone is (or will be) working on it. In the meanwhile, I can > make do with gcc 3.4.4. Yep, 3.4.4 uses old-style SJLJ exception handling, which can jump past anything without needing to understand it; you'll be good there, although it's not as

Re: Coping with large iso files for network-independent Cygwin installation

2010-07-08 Thread Dave Korn
On 07/07/2010 09:29, Corinna Vinschen wrote: > On Jul 7 08:03, Fergus wrote: >> Nevertheless, it is a tantalising problem: what's the best answer to >> give to a 3rd party who wants to install [1.7] on a machine without >> network access? > > Rsync the content of a mirror of your choice onto a s

Re: 'x' key not working in cygwin shell

2010-07-08 Thread Dave Korn
On 07/07/2010 08:37, Csaba Raduly wrote: > On Tue, Jul 6, 2010 at 9:59 PM, Christopher Faylor wrote: >> On Tue, Jul 06, 2010 at 07:41:03PM +, Peter Waltman wrote: >>> This is a weird one. I just updated cygwin on my windows 7 machine, and >>> now my >>> 'x' (lowercase 'x') key isn't working.

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread philippe
Andy Koppe a écrit : > > Setting termName to "xterm" in rxvt is a bad idea, because the two > terminals diverge in various ways, for example regarding keycodes for > modifier key combinations. Better stick with TERM=rxvt. ok > > Have a look at > http://www.gnu.org/software/bash/manual/bashref.

Re: gcc4: next release

2010-07-08 Thread Charles Wilson
On 7/8/2010 1:09 PM, Dave Korn wrote: On 07/07/2010 02:47, JonY wrote: Locale data is also conflicting. So can't it just go in $prefix/$target/share instead of $prefix/share after a bit of fiddling with configure options? I believe it will be fine, if you use a "custom" --datarootdir sett

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread Jeremy Bopp
On 7/8/2010 2:44 PM, philippe wrote: > I've together the contains of /etc/bashrc and ~/.bash into a single file > ~/.profile and now it's ok for my prompt and aliases ! But I've still > some problems with special characters (é à ç ...), how can I change > default encoding to avoid errors like below

Re: cygport patch: suppress libtool fixup step

2010-07-08 Thread Charles Wilson
On 7/8/2010 1:23 PM, Dave Korn wrote: On 06/07/2010 19:56, Charles Wilson wrote: To deal with the duplicated DLLs from two different multilib mingw64 toolchains (one that supports -m32 and -m64, but *defaults* to -m64, and one that also supports -m32 and -m64, but *defaults* to -m32), the DLLs

Re: gcc4: throwing exception from signal handler

2010-07-08 Thread Charles Wilson
On 7/8/2010 11:48 AM, Dave Korn wrote: I'll be back in the Cygwin/GCC world starting next week. YAY! We missed you, Dave. Welcome back! -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread philippe
Jeremy Bopp a écrit : > [...] However, if rxvt used to work for you under Cygwin 1.5, you might be > able to make it happy again by changing your LANG setting to LANG=C. No, i don't know where to modify this option LANG :-) > I highly recommend mintty. ok, mintty is distributed with cygwin and s

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread DePriest, Jason R.
On Thu, Jul 8, 2010 at 4:22 PM, philippe <> wrote: > Jeremy Bopp a écrit : >> [...] However, if rxvt used to work for you under Cygwin 1.5, you might be >> able to make it happy again by changing your LANG setting to LANG=C. > > No, i don't know where to modify this option LANG :-) > >> I highly re

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread Jeremy Bopp
On 7/8/2010 4:22 PM, philippe wrote: > Jeremy Bopp a écrit : >> [...] However, if rxvt used to work for you under Cygwin 1.5, you might be >> able to make it happy again by changing your LANG setting to LANG=C. > > No, i don't know where to modify this option LANG :-) LANG is an environment varia

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread lemkemch
On Fri, 09 Jul 2010 00:41:25 +0200, Jeremy Bopp wrote: On 7/8/2010 4:22 PM, philippe wrote: Jeremy Bopp a écrit : [...] However, if rxvt used to work for you under Cygwin 1.5, you might be able to make it happy again by changing your LANG setting to LANG=C. No, i don't know where to modif

Interesting discovery in the C library that Cygwin uses

2010-07-08 Thread Gregg Levine
Hello! I made this discovery whilst building the urjtag program from its SVN trunk: make[3]: Entering directory `/usr/local/urjtag/urjtag/trunk/urjtag/src/tap' CC tap.lo CC register.lo CC state.lo CC chain.lo CC detect.lo detect.c: In function `find_record': detect.c:89: wa

Re: cygport patch: suppress libtool fixup step

2010-07-08 Thread Dave Korn
On 08/07/2010 21:52, Charles Wilson wrote: > 3) Now, if we want to have a *single* consolidated location for the $target > DLLs -- so that you can actually RUN the stuff you build, Ah, that's your mistake, right there. It is only an accident that the binaries we compile with this particular cr

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-08 Thread tanstaafl
Falk Sticken informatik.uni-luebeck.de> writes: > > Hi, > > when I try to invoke gs from the Cygwin shell prompt, I get following > error message: > /usr/bin/gs.exe: error while loading shared libraries: ?: cannot open > shared object file: No such file or directory > Falk: Sounds like U'

Re: Interesting discovery in the C library that Cygwin uses

2010-07-08 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gregg Levine wrote, On 9.7.2010 1:34: > Hello! > I made this discovery whilst building the urjtag program from its SVN trunk: > make[3]: Entering directory `/usr/local/urjtag/urjtag/trunk/urjtag/src/tap' > CC tap.lo > CC register.lo > CC

Re: Interesting discovery in the C library that Cygwin uses

2010-07-08 Thread Greg Chicares
On 2010-07-08 23:34Z, Gregg Levine wrote: > I made this discovery whilst building the urjtag program from its SVN trunk: > make[3]: Entering directory `/usr/local/urjtag/urjtag/trunk/urjtag/src/tap' > CC tap.lo > CC register.lo > CC state.lo > CC chain.lo > CC detect.lo > d

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread Andy Koppe
On 9 July 2010 00:01 lemkemch wrote: > If you want to continue with rxvt and want to keep it as close > as possible to the old behavior set > > export LANG=C.ISO-8859-1 > export LC_TIME=C > > in .profile Setting LANG in .profile is too late for bash itself, because that will continue to operate in

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread Andy Koppe
On 8 July 2010 23:41, Jeremy Bopp wrote: > As Jason already informed you, mintty has an options dialog you can use > to configure it.  The equivalents of your rxvt options, except for the > -e option, can be configured there and saved automatically to > ~/.minttyrc so that future runs of mintty aut