Re: Delete a specific type of files when they exist.

2009-01-08 Thread Hongyi Zhao
On Fri, 9 Jan 2009 00:42:21 -0500, Christopher Faylor wrote: >On Fri, Jan 09, 2009 at 11:55:46AM +0800, Hongyi Zhao wrote: >>Hi all, >> >>I want to delete the all of the cache-2 files under a directory, so I >>use the following line to do this: >> >>if [ -f *.cache-2 ] rm *.cache-2 >> >>But it se

Re: Delete a specific type of files when they exist.

2009-01-08 Thread Christopher Faylor
On Fri, Jan 09, 2009 at 11:55:46AM +0800, Hongyi Zhao wrote: >Hi all, > >I want to delete the all of the cache-2 files under a directory, so I >use the following line to do this: > >if [ -f *.cache-2 ] rm *.cache-2 > >But it seems that this -f parameter in the _if_ command will not work >with wildc

Re: Delete a specific type of files when they exist.

2009-01-08 Thread Hongyi Zhao
On Thu, 08 Jan 2009 22:01:26 -0600, "Yaakov (Cygwin/X)" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Hongyi Zhao wrote: >> I want to delete the all of the cache-2 files under a directory, so I >> use the following line to do this: >> >> if [ -f *.cache-2 ] rm *.cache-2 >> >> But

Re: Delete a specific type of files when they exist.

2009-01-08 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hongyi Zhao wrote: > I want to delete the all of the cache-2 files under a directory, so I > use the following line to do this: > > if [ -f *.cache-2 ] rm *.cache-2 > > But it seems that this -f parameter in the _if_ command will not work > with wi

Delete a specific type of files when they exist.

2009-01-08 Thread Hongyi Zhao
Hi all, I want to delete the all of the cache-2 files under a directory, so I use the following line to do this: if [ -f *.cache-2 ] rm *.cache-2 But it seems that this -f parameter in the _if_ command will not work with wildcard, i.e., the _[ -f *.cache-2 ]_ isn't a valid arg. Any hints on th

Re: cd to the path including space.

2009-01-08 Thread Hongyi Zhao
On Thu, 8 Jan 2009 16:46:26 + (UTC), Eric Blake wrote: >Hongyi Zhao gmail.com> writes: > >> >> Hi all, >> 1- I only know that use the following command to obtain the the above >> path's stem: >> >> findtexmf psfonts_t1.map > >cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")" Finally, I us

Re: MinTTY 0.3.3

2009-01-08 Thread Christopher Faylor
On Thu, Jan 08, 2009 at 11:17:15PM +, Andy Koppe wrote: > ps: Is this the appropriate list for such announcements? Given that you are intending to package this for the real distribution, yes. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http:/

Re: cygrunsrv autossh - tunnel does not come up

2009-01-08 Thread René Berber
hooner wrote: > I have problems running autossh via cygrunsrv on WIN2003: > > /bin/cygrunsrv.exe -I AutoSSH -p /bin/autossh -a "-M 2 -g2CN -R > 20120:localhost:3389 -i /etc/key-rsa -p 20012 u...@192.168.100.12" -e > AUTOSSH_NTSERVICE=yes -y tcpip --type auto > > As soon as I start the servi

MinTTY 0.3.3

2009-01-08 Thread Andy Koppe
Hi, MinTTY release 0.3.3 is available from http://code.google.com/p/mintty. It fixes the following bugs: - The "Disable transparency when active" feature caused the window to flicker on XP - The "Alt key on its own sends ^[" setting was ignored, i.e. Alt alone always sent the ESC character - T

cygrunsrv autossh - tunnel does not come up

2009-01-08 Thread hooner
I have problems running autossh via cygrunsrv on WIN2003: /bin/cygrunsrv.exe -I AutoSSH -p /bin/autossh -a "-M 2 -g2CN -R 20120:localhost:3389 -i /etc/key-rsa -p 20012 u...@192.168.100.12" -e AUTOSSH_NTSERVICE=yes -y tcpip --type auto As soon as I start the service (net start autossh) it st

Re: cd to the path including space.

2009-01-08 Thread Christopher Faylor
On Thu, Jan 08, 2009 at 09:57:48PM +, Eric Blake wrote: >Christopher Faylor cygwin.com> writes: > >> >> On Thu, Jan 08, 2009 at 04:46:26PM +, Eric Blake wrote: >> >> findtexmf psfonts_t1.map >> > >> >cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")" >> >> cd "$(cygpath -u '$(findtexmf ps

Re: cd to the path including space.

2009-01-08 Thread Eric Blake
Christopher Faylor cygwin.com> writes: > > On Thu, Jan 08, 2009 at 04:46:26PM +, Eric Blake wrote: > >> findtexmf psfonts_t1.map > > > >cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")" > > cd "$(cygpath -u '$(findtexmf psfonts_t1.map)')" > > will probably work a little better. As Eric kn

Ravalement pierre

2009-01-08 Thread wallst...@orange.fr
Une décoration pas comme les autres. Visitez notre site WWW.wallstone.cc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: cd to the path including space.

2009-01-08 Thread Christopher Faylor
On Thu, Jan 08, 2009 at 04:46:26PM +, Eric Blake wrote: >> findtexmf psfonts_t1.map > >cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")" cd "$(cygpath -u '$(findtexmf psfonts_t1.map)')" will probably work a little better. As Eric knows, you can't nest quotes that way. cgf -- Unsubscribe in

Re: cmd.exe from Cygwin

2009-01-08 Thread Larry Hall (Cygwin)
Jeenu V wrote: On Thu, Jan 8, 2009 at 9:36 PM, Christopher Faylor wrote: . It's not good to feed the spammers. Thanks. Do you think screen is the only thing that uses ptys in the whole distribu

Re: cmd.exe from Cygwin

2009-01-08 Thread Jeenu V
On Thu, Jan 8, 2009 at 9:36 PM, Christopher Faylor wrote: > Do you think screen is the only thing that uses ptys in the whole > distribution? Nope; I've no idea. -- :J -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Doc

Re: cd to the path including space.

2009-01-08 Thread Hongyi Zhao
On Thu, 8 Jan 2009 16:46:26 + (UTC), Eric Blake wrote: >Hongyi Zhao gmail.com> writes: > >> >> Hi all, >> 1- I only know that use the following command to obtain the the above >> path's stem: >> >> findtexmf psfonts_t1.map > >cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")" See the follo

Re: cd to the path including space.

2009-01-08 Thread Larry Hall (Cygwin)
On 01/08/2009, Hongyi Zhao wrote: 3- In the cygwin/bash, if the space are included in the path, it will be troublesome. FWIW, this is not specific to Cygwin. You'd see the same problem in Windows using the command prompt. Quoting, as Eric points out, is the solution. -- Larry Hall

cd to the path including space.

2009-01-08 Thread Hongyi Zhao
Hi all, I want to jump to the following path with a cygwin/bash command: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7\fontconfig\cache In my case, I've the following issues: 1- I only know that use the following command to obtain the the above path's stem: findtexmf psfonts

Re: cd to the path including space.

2009-01-08 Thread Eric Blake
Hongyi Zhao gmail.com> writes: > > Hi all, > 1- I only know that use the following command to obtain the the above > path's stem: > > findtexmf psfonts_t1.map cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")" > > 2- In the cygwin/bash, the path's delimitor is / instead of \. cygpath takes c

Re: find assert (was Re: [1.7] System reboot (udfs.sys),...)

2009-01-08 Thread Eric Blake
Corinna Vinschen cygwin.com> writes: > > >Hmm. After removing the /dev/fd directory that I had created years > > >ago, find now just SEGVs. And, it seems to be dying in find itself > > >if the stack dump is any indication. > > > > > >Eric, is there any way that you could confirm or deny this?

Re: [1.7] regression wrt scp?

2009-01-08 Thread Corinna Vinschen
On Jan 8 11:15, Christopher Faylor wrote: > On Thu, Jan 08, 2009 at 11:33:49AM +0100, Corinna Vinschen wrote: > >On Jan 7 00:52, Charles Wilson wrote: > >> With cygwin-1.7.36: > >> > >> $ scp gcc-tools-autoconf-2.59-10-src.tar.bz2 sources.redhat.com: > >> gcc-tools-autoconf-2.59-10-src.tar.bz2 1

Re: [1.7] regression wrt scp?

2009-01-08 Thread Christopher Faylor
On Thu, Jan 08, 2009 at 11:33:49AM +0100, Corinna Vinschen wrote: >On Jan 7 00:52, Charles Wilson wrote: >> With cygwin-1.7.36: >> >> $ scp gcc-tools-autoconf-2.59-10-src.tar.bz2 sources.redhat.com: >> gcc-tools-autoconf-2.59-10-src.tar.bz2 100% 911KB 60.8KB/s 00:15 >> >> With cygwin-1.7.37:

Re: cmd.exe from Cygwin

2009-01-08 Thread Christopher Faylor
On Thu, Jan 08, 2009 at 04:03:03PM +0530, Jeenu V wrote: >On Thu, Jan 8, 2009 at 6:32 AM, Jeenu V wrote: >> On Wed, Jan 7, 2009 at 9:22 PM, Christopher Faylor >> wrote: >> >>> screen uses ptys. ptys are equivalent to CYGWIN=tty. >>> >>> We really don't guarantee that pure Windows applications wi

gcc 4.2

2009-01-08 Thread forumer
Hi, I wanted to know if someone managed to compile a GCC 4.2 on cygwin and what are the issues I could meet with ? Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html

Re: find assert (was Re: [1.7] System reboot (udfs.sys),...)

2009-01-08 Thread Corinna Vinschen
On Dec 30 14:06, Christopher Faylor wrote: > On Tue, Dec 30, 2008 at 12:52:46PM -0500, Christopher Faylor wrote: > >Hmm. After removing the /dev/fd directory that I had created years > >ago, find now just SEGVs. And, it seems to be dying in find itself > >if the stack dump is any indication. > >

Re: Pointers on Making a Cygwin CD (including source)?

2009-01-08 Thread Grant Edwards
On 2009-01-08, Charles Wilson wrote: > Grant Edwards wrote: >> I mean the packages that are installed by default when you run >> setup.exe for the first time and don't select any additional >> packages. Maybe that set of packages is called something else? > > We usually call that the "Base" inst

lapack creates /lapack-3.0.6*

2009-01-08 Thread Andrew Schulman
I just upgraded to the latest lapack package, and found that I now have the following new files: $ ls -l /lapack* -rw-r--r-- 1 ASchulma Domain Users 49630 Mar 23 2006 /lapack-3.0-6.patch /lapack-3.0-6: total 4 drwxr-xr-x 1 ASchulma Domain Users0 Jan 8 09:50 CYGWIN-PATCHES/ -rw-r--r-- 1 ASch

Re: cmd.exe from Cygwin

2009-01-08 Thread Jeenu V
On Thu, Jan 8, 2009 at 4:50 PM, Corinna Vinschen wrote: > It's a constraint of the native Windows applications. There's no > PTY concept in Windows so Cygwin uses pipes to emulate the behaviour. > Cygwin applications know when they are running in a pty, native apps > don't and behave differently

[ANNOUNCEMENT] Updated: openssl-0.9.8j-1, openssl-devel-0.9.8j-1

2009-01-08 Thread Corinna Vinschen
I've updated the version of OpenSSL to 0.9.8j-1. This also includes the openssl-devel package. This is an upstream security and bugfix release. The Cygwin release is the vanilla version, no additional patches. OpenSSL Security Advisory: ==

Re: cmd.exe from Cygwin

2009-01-08 Thread Corinna Vinschen
On Jan 8 16:03, Jeenu V wrote: > On Thu, Jan 8, 2009 at 6:32 AM, Jeenu V wrote: > > On Wed, Jan 7, 2009 at 9:22 PM, Christopher Faylor > > wrote: > > > >> screen uses ptys. ptys are equivalent to CYGWIN=tty. > >> > >> We really don't guarantee that pure Windows applications will work with > >>

Re: [1.7] regression wrt scp?

2009-01-08 Thread Corinna Vinschen
On Jan 7 00:52, Charles Wilson wrote: > With cygwin-1.7.36: > > $ scp gcc-tools-autoconf-2.59-10-src.tar.bz2 sources.redhat.com: > gcc-tools-autoconf-2.59-10-src.tar.bz2 100% 911KB 60.8KB/s 00:15 > > With cygwin-1.7.37: > > $ scp gcc-tools-autoconf-2.59-10-src.tar.bz2 sources.redhat.com: >

Re: cmd.exe from Cygwin

2009-01-08 Thread Jeenu V
On Thu, Jan 8, 2009 at 6:32 AM, Jeenu V wrote: > On Wed, Jan 7, 2009 at 9:22 PM, Christopher Faylor > wrote: > >> screen uses ptys. ptys are equivalent to CYGWIN=tty. >> >> We really don't guarantee that pure Windows applications will work with >> ptys. > > Hm... looks like I've to live without

Re: Trick cmd.exe of Windows XP to run cygwin Batch Script.

2009-01-08 Thread Hongyi Zhao
On Tue, 6 Jan 2009 16:09:48 +0100, "Frank Fesevur" wrote: >Found it. > >You can download it from: > http://www.fesevur.com/downloads/weft-0.4-1.tar.bz2 > http://www.fesevur.com/downloads/weft-0.4-1-src.tar.bz2 > >As you can see it was developed back in 2006. It works for me just >fine. There is

Re: Empty include file on samba share

2009-01-08 Thread Fabian Cenedese
At 12:22 07.01.2009 -0500, Larry Hall (Cygwin) wrote: >Fabian Cenedese wrote: >>However if the whole C++ project is moved from the local drive to a >>share (samba, probably also windows) the compilation may fail with >>various errors. The main problem seems to be that include files are not >>read p