Re: Re: Why bash failed to match this pattern?

2009-06-04 Thread Mark J. Reed
On Fri, Jun 5, 2009 at 2:35 AM, Pan ruochen > But some bash does match the pattern: It's possible that the behavior has changed between bash versions, but the behavior is not Cygwin-specific. 3.2.17 on OS X also suppresses metacharacters with quotation marks, and the documentation indicates that

Re: Re: Why bash failed to match this pattern?

2009-06-04 Thread Pan ruochen
But some bash does match the pattern: $bash --version GNU bash, version 3.2.33(1)-release (i386-redhat-linux-gnu) Copyright (C) 2007 Free Software Foundation, Inc. Maybe some settings affect bash's behaviour. PRC -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: Why bash failed to match this pattern?

2009-06-04 Thread Mark J. Reed
On Fri, Jun 5, 2009 at 1:10 AM, Pan ruochen wrote: > Hi All, > > My current version of bash on cygwin failed to match this pattern: > *** > target=ar > if [[ "$target" =~ '^a' ]]; then >    echo Matched > else >    echo Unmatched > fi Not a Cygwin question.; that fails

grep -f option is not working in release of grep (2.5.3-1) - cygcheck.out file attached

2009-06-04 Thread Tulasi Ram
I have tried by using below command. It didn’t work. $ grep -E -v -f "C:\Log\FindDeploymentErrors_Exclude.txt" CM_Setup2.log | grep -E -f "C:\Log\FindDeploymentErrors_Error.txt" -n 1>"C:\Log\cc.txt" Pattern file( FindDeploymentErrors_Error.txt)is below.. A member could not be added Access is den

Re: grep -f option is not working in release of grep (2.5.3-1)

2009-06-04 Thread Tulasi Ram
I have tried by using below command. It didn’t work. $ grep -E -v -f "C:\Log\FindDeploymentErrors_Exclude.txt" CM_Setup2.log | grep -E -f "C:\Log\FindDeploymentErrors_Error.txt" -n 1>"C:\Log\cc.txt" Pattern file( FindDeploymentErrors_Error.txt)is below.. A member could not be added Access is den

Why bash failed to match this pattern?

2009-06-04 Thread Pan ruochen
Hi All, My current version of bash on cygwin failed to match this pattern: *** target=ar if [[ "$target" =~ '^a' ]]; then echo Matched else echo Unmatched fi *** $bash --version GNU bash, version 3.2.48(21)-release (i686-pc-cygwin) C

Re: [ANNOUNCEMENT] gmp-4.3.1-1 for cygwin-1.7

2009-06-04 Thread David Billinghurst
On Fri, Jun 5, 2009 at 1:03 PM, Dave Korn wrote: > Yaakov (Cygwin/X) wrote: >> On 04/06/2009 21:22, David Billinghurst wrote: >>> As the gmp and mpfr maintainer, can I do anything to fix this? >> >> Are you able to reproduce this?  I see you built these with gcc4 but >> with a static libgcc; maybe

Re: [ANNOUNCEMENT] [1.5] Updated: {gettext/gettext-devel/libgettextpo0/libintl8/libasprintf0}-0.17-3

2009-06-04 Thread Yaakov (Cygwin/X)
On 02/04/2009 19:29, Charles Wilson wrote: I like it. You're basically using the AUTOPOINT variable itself as the "out of band" communication mechanism. I've got a build running now; but it will be a while before the test suite finishes up and I've dotted all the i's for a new release. Looks g

Upcoming cygport release

2009-06-04 Thread Yaakov (Cygwin/X)
I'm just about ready to make a cygport release for 1.7 (assuming I manage to get perl to fork() for autotools). Here is a summary of the changes so far: http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/cygport/trunk/NEWS?r1=6016&r2=6685&view=patch If you reported any bugs for which

Re: [ANNOUNCEMENT] gmp-4.3.1-1 for cygwin-1.7

2009-06-04 Thread Dave Korn
Yaakov (Cygwin/X) wrote: > On 04/06/2009 21:22, David Billinghurst wrote: >> As the gmp and mpfr maintainer, can I do anything to fix this? > > Are you able to reproduce this? I see you built these with gcc4 but > with a static libgcc; maybe adding -shared-libgcc would help? This is the same p

Re: [ANNOUNCEMENT] gmp-4.3.1-1 for cygwin-1.7

2009-06-04 Thread Yaakov (Cygwin/X)
On 04/06/2009 21:22, David Billinghurst wrote: As the gmp and mpfr maintainer, can I do anything to fix this? Are you able to reproduce this? I see you built these with gcc4 but with a static libgcc; maybe adding -shared-libgcc would help? Yaakov -- Unsubscribe info: http://cygwin.co

Re: [ANNOUNCEMENT] gmp-4.3.1-1 for cygwin-1.7

2009-06-04 Thread David Billinghurst
On Fri, Jun 5, 2009 at 12:11 PM, Yaakov  wrote: > > On 23/05/2009 20:08, David Billinghurst wrote: >> >> Version 4.3.1-1 of gmp, libgmp3, libgmpxx4 and libgmp-devel for >> cygwin-1.7 have been uploaded. > > The current versions of libgmp3 and libmpfr1 for 1.7 cause gcc (namely cc1, > cc1plus, and

Re: [ANNOUNCEMENT] gmp-4.3.1-1 for cygwin-1.7

2009-06-04 Thread Yaakov (Cygwin/X)
On 23/05/2009 20:08, David Billinghurst wrote: Version 4.3.1-1 of gmp, libgmp3, libgmpxx4 and libgmp-devel for cygwin-1.7 have been uploaded. The current versions of libgmp3 and libmpfr1 for 1.7 cause gcc (namely cc1, cc1plus, and friends) to segfault if they are rebased. Replacing the DLLs

GCC --enable-auto-import problem

2009-06-04 Thread Huang Bambo
In cygwin 1.7: 1. download db-4.7.25 from oracle at http://www.oracle.com/database/berkeley-db/index.html (havn't tested on other version) 2. configure like : ../dist/configure --prefix=/home/Bambo/db-for-1.7 --enable-cxx --enable-pthread_api 3. make, it will take you a few minutes 4. write a prog

GCC --enable-auto-import problem

2009-06-04 Thread Huang Bambo
1. download db-4.7.25 from oracle at http://www.oracle.com/database/berkeley-db/index.html (havn't tested on other version) 2. configure like : ../dist/configure --prefix=/home/Bambo/db-for-1.7 --enable-cxx --enable-pthread_api 3. make, it will take you a few minutes 4. write a program like : #incl

Re: ASLR sometimes stops working on Vista with 1.7? [was: Re: Cygwin 1.7 release (was ...)]

2009-06-04 Thread Yaakov (Cygwin/X)
On 04/06/2009 14:28, Yaakov (Cygwin/X) wrote: I'm having similar problems with Avast 4.8 Home Edition on Windows 7 RC x64 with cygwin-1.7. I never had a problem with this A/V on XP with 1.5 or 1.7. This continues even after rebaseall and peflagsall. I have yet to try removing Avast. OK, I've un

Re: FAQ 4.46, applications interfere with subversion or not?

2009-06-04 Thread David Rothenberger
On 6/3/2009 8:37 AM, David Rothenberger wrote: On 6/3/2009 8:20 AM, masc wrote: When using cygwin's cvs2svn with subversion (1.6.2 r37639) while running Avira AntiVir (http://www.avira.com/en/pages/index.php), svnadmin is failing sporadically due to permission failure moving files. The subve

[ANNOUNCEMENT] Updated: {subversion,subversion-apache2,subversion-devel,subversion-perl,subversion-python,subversion-ruby}-1.6.2-3

2009-06-04 Thread David Rothenberger
A new version of subversion is now available for download. CYGWIN NEWS: This version fixes the local patch to retry failing filesystem operations to also retry failing move operations. This is necessary to address problems due to other Windows components hold files or directories open

[ANNOUNCEMENT] [1.7] Updated: {subversion,subversion-apache2,subversion-devel,subversion-perl,subversion-python,subversion-ruby}-1.6.2-4

2009-06-04 Thread David Rothenberger
A new version of subversion is now available for download. This version is built for Cygwin 1.7. CYGWIN NEWS: I've restored the local patch to retry failing filesystem operations, which a fix to also retry failing moves. This is necessary to address problems due to other Windows compo

AltGr troubles (was: Re: Suggestion for terminal package maintainers)

2009-06-04 Thread Andy Koppe
Back to the cygwin list, since this is getting off-topic for cygwin-apps. 2009/6/3 Ken Brown: > On 6/3/2009 10:32 AM, Corinna Vinschen wrote: On non-English keyboards, the right Alt key is called AltGr and returns the modifiers Left-Control/Right-Alt. >>> >>> So maybe the answer is that

Re: ASLR sometimes stops working on Vista with 1.7? [was: Re: Cygwin 1.7 release (was ...)]

2009-06-04 Thread Yaakov (Cygwin/X)
On 04/06/2009 11:09, Charles Wilson wrote: Well, you can never be SURE. I'd be surprised tho. I use AVG 8.5, which doesn't cause any problems on my cygwin-1.5 installation under Vista, nor on XP. Nobody has ever reported it as a BLODA before, AFAICT. It does do on-access scanning, which means it

Re: Cygwin SSH Multiple Users

2009-06-04 Thread Larry Hall (Cygwin)
Holikar, Sachin (ext) wrote: Hello, Thanks for the info Corinna but ultimately we aint able to start the service somehow. And only way to start is to start with the user mac using /usr/sbin/sshd. But then no other user can connect via ssh to this machine. The work around we provided was copiy

Re: How to change the file mode to link?

2009-06-04 Thread Larry Hall (Cygwin)
Buchbinder, Barry (NIH/NIAID) [E] wrote: Peng Yu wrote on Wednesday, June 03, 2009 10:17 PM: On Wed, Jun 3, 2009 at 4:45 PM, Mark Geisert wrote: Peng Yu writes: Is there such a cygwin command to extract the link from a windows link. Did you not see Barry's response on this thread? I missed

Re: side effects after installing gcc-3.4.4.999

2009-06-04 Thread Greg Chicares
On 2009-06-04 16:05Z, Dave Korn wrote: > enovack wrote: [using gcc in eclipse; problem not solved by invoking 'gcc-3.exe'] >> It's just a pain since this used to work on my old laptop, which had a >> previous version of cygwin installed. > > Sorry about that. Primarily the goal of cygwin is to

Re: grep -f option is not working in release of grep (2.5.3-1)

2009-06-04 Thread Christopher Faylor
On Thu, Jun 04, 2009 at 12:13:08PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >Tulasi Ram wrote on Thursday, June 04, 2009 3:04 AM: >> In the latest release of grep (2.5.3-1), the -f option (read search >> patters from a file) is not working for me. I have tried to search by >> providing patt

RE: ssh from linux randomly hangs

2009-06-04 Thread Karl M
> Subject: ssh from linux randomly hangs > From: ekingen > Date: Thu, 4 Jun 2009 12:28:42 -0400 > > Excuse me if this is a repeat question, I can't find it on internet . > Sometimes ssh from suse linux to cygwin hangs, usually first time in the > morning, I need to kill client ssh then all day it

Re: How to run GNU Emacs from Windows icon

2009-06-04 Thread Ken Brown
On 6/4/2009 12:10 PM, David Karr wrote: On 6/2/2009 7:18 AM, Ken Brown wrote: On 6/2/2009 5:30 AM, Marc Girod wrote: I can also start a Cygwin window, and run GNU emacs there (with a -nw option). It starts, although doesn't work well. The keyboard bindings are weird for a start (e.g. C-x C-c gi

ssh from linux randomly hangs

2009-06-04 Thread Can Ekingen
Excuse me if this is a repeat question, I can't find it on internet . Sometimes ssh from suse linux to cygwin hangs, usually first time in the morning, I need to kill client ssh then all day it works fine. cygwin ssh version is 5.1p1-10 . linux site is : # uname -a Linux ssoadm1 2.6.16.21-0.8-bi

Re: side effects after installing gcc-3.4.4.999

2009-06-04 Thread enovack
Thanks for the quick response Dave. I understand about the primary use of Cygwin. I also like to use it to test code through the GNU compiler in addition to the Visual C one. Since I also use Eclipse for Java, it's convenient to use it for C++ as well for this type of testing. I'll look to see

RE: grep -f option is not working in release of grep (2.5.3-1)

2009-06-04 Thread Buchbinder, Barry (NIH/NIAID) [E]
Tulasi Ram wrote on Thursday, June 04, 2009 3:04 AM: > In the latest release of grep (2.5.3-1), the -f option (read search > patters from a file) is not working for me. I have tried to search by > providing pattern file. > > I have tried by using below command. It didn’t work. > > grep -F -B 10

RE: How to run GNU Emacs from Windows icon

2009-06-04 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Ken Brown > Sent: Tuesday, June 02, 2009 4:52 AM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > On 6/2/2009 7:18 AM, Ken Brown wrote: > > On 6/2/2009 5:30

Re: UAC .manifest files

2009-06-04 Thread Dave Korn
Yaakov (Cygwin/X) wrote: > On 04/06/2009 08:19, Charles Wilson wrote: >> Spiro Trikaliotis wrote: >> >>> - let my.manifest be the manifest file >>> - Generate a .rc file with the line: >>>1 RT_MANIFEST "my.manifest" >>> - Let the resource compiler handle the .rc file, and let windres merge >>>

ASLR sometimes stops working on Vista with 1.7? [was: Re: Cygwin 1.7 release (was ...)]

2009-06-04 Thread Charles Wilson
(please direct replies to the main cygwin list; I can't set reply-to on this web interface...) For context, see the bottom of this post: http://cygwin.com/ml/cygwin-apps/2009-06/msg00048.html Corinna wrote: > I never, ever saw a problem like this on my Vista/2K8 test VMs. Nor on > the W7 VMs. A

Re: side effects after installing gcc-3.4.4.999

2009-06-04 Thread Dave Korn
enovack wrote: > It's just a pain since this used to work on my old laptop, which had a > previous version of cygwin installed. Sorry about that. Primarily the goal of cygwin is to provide a linux-like environment and linux-like behaviour, and from that point of view the ability to switch the

Re: grep -f option is not working in release of grep (2.5.3-1)

2009-06-04 Thread Christopher Faylor
On Thu, Jun 04, 2009 at 12:03:49AM -0700, Tulasi Ram wrote: >Hi > >In the latest release of grep (2.5.3-1), the -f option >(read search patters from a file) is not working for me. >I have tried to search by providing pattern file. > >I have tried by using below command. It didn?t work. > >grep -F -

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-04 Thread Yaakov (Cygwin/X)
On 04/06/2009 03:21, Marc Girod wrote: Indeed... I am using the cygwin version, and it is 0.15-1. I can look into the option of building from sources... I'm just taking over libssh2, and it will be updated to 1.0 very soon. Yaakov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-s

Re: UAC .manifest files

2009-06-04 Thread Yaakov (Cygwin/X)
On 04/06/2009 08:19, Charles Wilson wrote: Spiro Trikaliotis wrote: - let my.manifest be the manifest file - Generate a .rc file with the line: 1 RT_MANIFEST "my.manifest" - Let the resource compiler handle the .rc file, and let windres merge the info into the executable. Sounds like a

Re: [1.7][BUG] MOJIBAKE title bar

2009-06-04 Thread Corinna Vinschen
On Jun 4 22:24, IWAMURO Motonori wrote: > Hi. > > The title bar is MOJIBAKE when the following 'wintitle.sh' works on > command prompt in the UTF-8 environment (for example: > LANG=ja_JP.UTF-8). > > http://vmi.jp/tmp/wintitle.sh > > http://vmi.jp/tmp/01good-mintty.png is the good result on MinT

Re: side effects after installing gcc-3.4.4.999

2009-06-04 Thread enovack
Actually, I thought of that just after I hit send on my last post. :-( I then tried doing just that on Netbeans 6.5.1, and that fixed the issue. On Eclipse it did not. Or at least not yet. I have not been able to configure Eclipse 3.4 CDT plug-in to recognize the complete Cygwin environment. I d

Re: side effects after installing gcc-3.4.4.999

2009-06-04 Thread Dave Korn
enovack wrote: > I'm having a similar issue with trying to get the GNU g++ and gcc compiler's > to work with Eclipse and Netbeans. Both report that the file is not valid or > not found when compiling a C or C++ file. > > I have just downloaded the latest production release of Cygwin and installed

RE: How to change the file mode to link?

2009-06-04 Thread Buchbinder, Barry (NIH/NIAID) [E]
Peng Yu wrote on Wednesday, June 03, 2009 10:17 PM: > On Wed, Jun 3, 2009 at 4:45 PM, Mark Geisert wrote: >> Peng Yu writes: >>> Is there such a cygwin command to extract the link from a windows >>> link. >> >> Did you not see Barry's response on this thread? > > I missed it before I sent this

Re: side effects after installing gcc-3.4.4.999

2009-06-04 Thread enovack
I have not seen this mentioned in this list. Please forgive me if I just missed it somewhere. I'm having a similar issue with trying to get the GNU g++ and gcc compiler's to work with Eclipse and Netbeans. Both report that the file is not valid or not found when compiling a C or C++ file. I hav

[1.7][BUG] MOJIBAKE title bar

2009-06-04 Thread IWAMURO Motonori
Hi. The title bar is MOJIBAKE when the following 'wintitle.sh' works on command prompt in the UTF-8 environment (for example: LANG=ja_JP.UTF-8). http://vmi.jp/tmp/wintitle.sh http://vmi.jp/tmp/01good-mintty.png is the good result on MinTTY. http://vmi.jp/tmp/02bad-cmd.png is the bad result on co

Re: UAC .manifest files

2009-06-04 Thread Charles Wilson
Spiro Trikaliotis wrote: > - let my.manifest be the manifest file > - Generate a .rc file with the line: > 1 RT_MANIFEST "my.manifest" > - Let the resource compiler handle the .rc file, and let windres merge > the info into the executable. Sounds like a job for automake, not gcc. I don't see

Re: expr error

2009-06-04 Thread Marc Girod
Marc Girod wrote: > > $ nm /usr/bin/expr > nm: /usr/bin/expr: no symbols > This may explain that: libssh2-1.1> rebase -b 0x7000 -v /usr/bin/expr /usr/bin/expr: skipped because not rebaseable tmp> expr a : '\(a\)' Segmentation fault (core dumped) tmp> gdb /usr/bin/expr a : '\(a\)' Excess c

Re: UAC .manifest files

2009-06-04 Thread Spiro Trikaliotis
Hello, * On Thu, Jun 04, 2009 at 10:25:51AM +0200 Corinna Vinschen wrote: > And, no, I have no idea how to generate inline manifests :} Taking from a project (Note: I did not write the code in the first place, so I might be missing the gory details): - let my.manifest be the manifes

Re: expr error

2009-06-04 Thread Marc Girod
Xima Lenik wrote: > > Yes, I've rebased. After extracted cyggmp-3.dll from libgmp3-4.3, it's > ok now. > Sorry, my expr still keeps dumping core. E.g.: ./configure: line 142: 3840 Segmentation fault (core dumped) expr a : '\(a\)' > /dev/null 2>&1 I have run ./rebaseall (and .peflagsall

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-04 Thread Marc Girod
Marc Girod wrote: > > My make test fails however: > > Test Summary Report > --- > t/00_Pari.t(Wstat: 65280 Tests: 30 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 546 tests but ran 30. > ... > If I run this first test alone, I reproducibl

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-04 Thread Marc Girod
Reini Urban wrote: > > Since Math::Pari does not work, you need Math::GMP, right. > But with this and selecting IDEA and Crypt::RSA > I successfully ran all Net-SSH-Perl-1.34 tests. > > BTW: for reference the pari error: > gcc-4 -c -I ../pari-2.1.7/src -I../pari-2.1.7/src/headers > -I../pari-

Re: of and oc

2009-06-04 Thread Corinna Vinschen
On Jun 4 11:40, Haojun Bao wrote: > cygstart is so useful that I want type less keys: > > alias of=cygstart #on cygwin-1.5 > > or: > > function of () > { > if which "$1" > /dev/null 2>&1; then > if [[ "$1" == of ]]; then > local file=`which cygsta

Re: UAC .manifest files

2009-06-04 Thread Corinna Vinschen
On Jun 3 19:25, Yaakov S wrote: > Some additional googling revealed that you also mentioned that the > manifests need to be executable[2]. > > The attached patch is what I have in mind. It won't apply to SVN trunk > yet due to other uncommitted patches in the queue, but I need to fix > that

Re: Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-04 Thread Marc Girod
Sisyphus wrote: > > Without checking, I think it's just that the version of libssh2 is too old > for Net-SSH2-0.20. > Net-SSH2-0.20 should build against libssh2 versions 0.19 and 1.0. What > version of the library do you have ? You should be able to build > libssh2-1.0 from source, if the binary

Re: Tool equivelent for rundll32.exe "user32.dll,LockWorkStation"

2009-06-04 Thread Corinna Vinschen
On Jun 3 16:39, Jason Pyeron wrote: > Is there a tool like shutdown, etc to lock the workstation or should I stick > with rundll32.exe "user32.dll,LockWorkStation"? Stick with it. A Cygwin tool could do nothing above that. If you really want a Cygwin tool, just write your own: #include #defin

[Xwin 1.7]: copy from rxvt-x to windows application does not work

2009-06-04 Thread Frédéric Bron
Hi, If I run rxvt-x (1.5 or 1.7) with Xwin (1.7), when I select something in the terminal output and then type Ctrl-V in any Windows application, this does not work. Some application say that the clipboard is like corrupted. Sometimes, if I type Ctrl-V several times, after a while, the text is pas

grep -f option is not working in release of grep (2.5.3-1)

2009-06-04 Thread Tulasi Ram
Hi In the latest release of grep (2.5.3-1), the -f option (read search patters from a file) is not working for me. I have tried to search by providing pattern file. I have tried by using below command. It didn’t work. grep -F -B 10 -A 0 -f FindDeploymentErrors_Error.txt CM_Setup2.log Please let