RE: Bug in rm -r with locked files

2003-01-22 Thread Steve Fairbairn
Just a small suggestion, but in order to avoid this problem and keep cross platform compatibility, could you not recursively chmod the files first, then use rm -r (which someone else stated isn't affected) to remove the files. Means the tree has to be parsed twice, but should produce the required

Re: Bug in rm -r with locked files

2003-01-22 Thread Gael Mulat
Gael Mulat wrote: Hi, This is a bug report about rm (package fileutils, version 4.1-1) on W2K. Test case: take 2 cygwin shells. shell 1: mkdir /tmp/directory vi /tmp/directory/file shell 2: /bin/rm -rf /tmp/directory The shell2 doesn't manage to remove the directory an

Perl with -i option removes files

2003-01-22 Thread Volker Quetschke
Hi! Following szenario: $ echo abc > testfile $ perl -p -i -e 's/b/x/g' testfile Can't do inplace edit on testfile: Permission denied. $ ls -l testfile ls: testfile: No such file or directory If I use: $ perl -p -i".bak" -e 's/l/x/g' testfile I get an unchanged testfile.bak plus a changed tes

RE: SIGINT to bash behaves differently in rxvt as compared to console

2003-01-22 Thread duncan . loveday
Igor, Cheers - but I just tried that and it didn't have any effect. That variable is not set by default in either the console or rxvt. Bummer. Duncan. -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: 21 January 2003 19:25 To: Loveday,DAH,Duncan,YEE24 R Cc: [EM

RE: SIGINT to bash behaves differently in rxvt as compared to console

2003-01-22 Thread David Starks-Browning
On Wednesday 22 Jan 03, [EMAIL PROTECTED] writes: > Igor, > > Cheers - but I just tried that and it didn't have any effect. That variable > is not set by default in either the console or rxvt. > > Bummer. > > Duncan. Did you set CYGWIN before starting *any* Cygwin programs? Put it in your syst

sshd error: setsockopt SO_KEEPALIVE

2003-01-22 Thread BStrohhaecker
Hello, I've a complete cygwin installation from 21.01.2003 under W2k SR2. Trying 'ssh localhost' I get the error: ssh_exchange_identification: Connection closed by remote host In the windows eventlog I've found: ... Ereignisinformationen: sshd : Win32 Process Id = 0x338 : Cygwin Process Id = 0x3

RE: SIGINT to bash behaves differently in rxvt as compared to console

2003-01-22 Thread duncan . loveday
David, Yes - I did try that just now and still no effect. The key question iswhy does it behave differently in rxvt ? It's as if rxvt launches bash with some different settings. Duncan. -Original Message- From: David Starks-Browning [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003

syslogd

2003-01-22 Thread rviau75
Hi, I'm curious to know if there is any way to write syslog messages to a file instead of to the XP Event Viewer. I actually installed Cygwin for *nix tools such as syslogd to use with my Cisco equipment. I could not find a syslogd for Windows that I was happy with, so I was hoping to just go wi

RE: Bug in rm -r with locked files

2003-01-22 Thread Brian . Kelly
Except when you're dealing with more than 10,000 files on a fortune 1000 web portal. Chmoding the whole thing imposes an "oppressive" delay. Darn - hey boss - where's that $300,000 you promised me for commercial deployment software What? - you'll talk to me after you get done laying off my co

Using objdump on .obj files?

2003-01-22 Thread Brian Genisio
Hey all, I am trying to run the binutils program 'objdump' on a windows .obj file. I get the error that the file is not recognized. Does anyone know how to use cygwin tools to peek inside an .obj object file? Thanks, Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Automatic Batch Transfer

2003-01-22 Thread rbajwa
Hi, Could you tell me how I can programatically run the Curl program from Visual Basic. Thanks Rick -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: htt

Cygwin Package selection

2003-01-22 Thread Rajagopalan, Karthik
I hve selected package to be installed from cygwin setup. I want my clients to have the same selection made when they click setup of cygwin in their system. Can anyone suggest me a way of doing it. with regards, Karthik.R -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug rep

Re: Automatic Batch Transfer

2003-01-22 Thread Max Bowsher
[EMAIL PROTECTED] wrote: > Hi, > Could you tell me how I can programatically run the Curl program from > Visual Basic. This question would be better suited to a Visual Basic forum. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com

Re: Cygwin Package selection

2003-01-22 Thread Max Bowsher
Rajagopalan, Karthik wrote: > I hve selected package to be installed from cygwin setup. I want my > clients to have the same selection made when they click setup of > cygwin in their system. > Can anyone suggest me a way of doing it. Only way currently possible: Make a custom setup.ini that lists

Re: Bug in rm -r with locked files

2003-01-22 Thread Christopher Faylor
On Wed, Jan 22, 2003 at 06:44:13AM -0500, [EMAIL PROTECTED] wrote: >Except when you're dealing with more than 10,000 files on a fortune >1000 web portal. Chmoding the whole thing imposes an "oppressive" >delay. > >Darn - hey boss - where's that $300,000 you promised me for commercial >deployment s

Re: sigaction siginfo_t & SIGSEGV

2003-01-22 Thread Christopher Faylor
On Tue, Jan 21, 2003 at 11:27:09PM -0500, Igor Pechtchanski wrote: >On Tue, 21 Jan 2003, Rolf Campbell wrote: > >> I'm trying to write an application that can run some code when a certain >> memory address is read or written. >> My first theory was to use mprotect to remove read/write permissions >

Re: Bug in rm -r with locked files

2003-01-22 Thread Brian . Kelly
Yea yea yea - I know I know. I'm just bitchen to bitch. Problem is already solved - MS del works just fine - it's just "Kludgy" is all. I'll wait till someone gets around to it. ME?? Oh hey, I'm just a "Perl" guy!! The only thing I've written in c is "hello world". Plus I have NO time to learn c "

Re: Bug in rm -r with locked files

2003-01-22 Thread Christopher Faylor
On Wed, Jan 22, 2003 at 11:06:22AM -0500, [EMAIL PROTECTED] wrote: >Yea yea yea - I know I know. I'm just bitchen to bitch. Problem is >already solved - MS del works just fine - it's just "Kludgy" is all. >I'll wait till someone gets around to it. ME?? Oh hey, I'm just a >"Perl" guy!! The only

Re: Bug in rm -r with locked files

2003-01-22 Thread Dave Hooper
> Yea yea yea - I know I know. I'm just bitchen to bitch. Problem is already > solved - MS del works just fine - it's just "Kludgy" is all. You're not the 'washerite' Brian Kelly by any chance? d -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cyg

make fails.

2003-01-22 Thread lu fang
hi, all I got the problem as follow: $make '-c' is not recognized as an internal or external command, operable program or batch file. make: *** [blib\lib\Net\.exists] Error 1 I have no any idea about why does this happen and how to solve it. Can anyone help me? thanks a lot! kaguya ___

Re: Bug in rm -r with locked files

2003-01-22 Thread Igor Pechtchanski
On Wed, 22 Jan 2003, Gael Mulat wrote: > > > Gael Mulat wrote: > > >Hi, > > > >This is a bug report about rm (package fileutils, version 4.1-1) on W2K. > > > >Test case: take 2 cygwin shells. > > shell 1: > >mkdir /tmp/directory > >vi /tmp/directory/file > > > > shell 2: > >

RE: SIGINT to bash behaves differently in rxvt as compared to console

2003-01-22 Thread Igor Pechtchanski
Duncan, Come to think of it, it just might. Are you launching bash from cygwin.bat? If so, it is launched with a '--login' option, which will execute /etc/profile and others. What are the parameters to the bash that rxvt launches? Do you give the '--loginShell' or '-ls' option to rxvt? Try run

Re: sigaction siginfo_t & SIGSEGV

2003-01-22 Thread Igor Pechtchanski
On Wed, 22 Jan 2003, Christopher Faylor wrote: > On Tue, Jan 21, 2003 at 11:27:09PM -0500, Igor Pechtchanski wrote: > >On Tue, 21 Jan 2003, Rolf Campbell wrote: > > > >> I'm trying to write an application that can run some code when a certain > >> memory address is read or written. > >> My first t

RE: SIGINT to bash behaves differently in rxvt as compared to console

2003-01-22 Thread duncan . loveday
Igor, I run rxvt from a .bat file :- @echo off D: chdir \cygwin\bin rem set CYGWIN=tty rem set TERM=cygwin D:\cygwin\bin\rxvt -ls -fg green -bg black -cr red -sl 1000 -sr -fn 'Lucida Console-20' -e bash --login -i ...and no matter what I do I can't make the ^C do what I want ! I'm more or les

[ANNOUNCEMENT] Pine-4.53-1 Released

2003-01-22 Thread Eduardo Chappa
Hello I have packed a new distribution of the popular e-mail client Pine. Version 4.53 is the stable release of the 4.5X series. This is the first release for Cygwin in this series. Here's a quick summary of what's new in it. Further details can be found from the main screen of Pine by pressing

Re: Automatic Batch Transfer

2003-01-22 Thread Randall R Schulz
Rick, Additionally, if you're not exploiting other Cygwin wonders, you might just want to get a native Windows port of Curl and use that. That would probably simplify things like file name conversion. Randall Schulz At 07:30 2003-01-22, Max Bowsher wrote: [EMAIL PROTECTED] wrote: > Hi, > Cou

Re: Bug in rm -r with locked files

2003-01-22 Thread Randall R Schulz
At 08:44 2003-01-22, Igor Pechtchanski wrote: On Wed, 22 Jan 2003, Gael Mulat wrote: > OK. If I summurize all that has been said, this problem is > well-known but has no solution in a near future. > > But a workaround would be very useful for people (me and Brian > Kelly, for instance) wh

problem accessing tape with tar on NT

2003-01-22 Thread Kris Thielemans
Hi, I'm trying to access a DAT tape produced on Unix using tar. The tape reads fine on another Unix (Solaris) station. However Cygwin gives me this $ /usr/bin/mt -f /dev/st0 status tape capacity: 1887232 KB current block:0 write protected : no datcompres sion

Re: Bug in rm -r with locked files

2003-01-22 Thread Igor Pechtchanski
On Wed, 22 Jan 2003, Randall R Schulz wrote: > At 08:44 2003-01-22, Igor Pechtchanski wrote: > >On Wed, 22 Jan 2003, Gael Mulat wrote: > > > > > OK. If I summurize all that has been said, this problem is > > > well-known but has no solution in a near future. > > > > > > But a workaround wo

Re: problem accessing tape with tar on NT

2003-01-22 Thread Corinna Vinschen
On Wed, Jan 22, 2003 at 05:27:31PM -, Kris Thielemans wrote: > I'm trying to access a DAT tape produced on Unix using tar. The tape reads > fine on another Unix (Solaris) station. > > However Cygwin gives me this > > $ /usr/bin/mt -f /dev/st0 status > tape capacity: 1887232 KB > current

cygwin conflicting with seti@home on win2000

2003-01-22 Thread petar marinov
Hello, Two days ago I installed the latest version of cygwin. I've been happily using previous versions for a long time. Now I noticed that bash pauses for about 15-20 seconds before showing the prompt. I removed any vestiges of the previous installation, fearing that this could be the problem a

Re: syslogd

2003-01-22 Thread Abraham Backus
I wanted the same thing so that I could receive syslog messages from my wireless access point... There's probably a good reason that it isn't in the binary distribution, but it is in the source distribution of the package "inetutils". When you go through setup, choose source for this package, the

Re: cygwin conflicting with seti@home on win2000

2003-01-22 Thread Randall R Schulz
Petar, Between Cygwin1.dll version 1.3.17 and 1.3.18, changes were made to the manner in which I/O to and from pipes is handled. It improved the behavior of some CD recording software. This had the unfortunate side-effect of introducing very long delays to pipe I/O whenever there was any CPU d

Compiling slirp under cygwin.

2003-01-22 Thread vasek petrov
Hi, I'm trying to compile Slirp under the latest version of cygwin however i dont suceed. Ive tried compiling the same version of slirp under RedHat 9.0 and it worked like charm. Can any one help me out with that? Thanks, V. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug

Re: Compiling slirp under cygwin.

2003-01-22 Thread Max Bowsher
vasek petrov wrote: > I'm trying to compile Slirp under the latest version of cygwin > however i dont suceed. Ive tried compiling the same version of slirp > under RedHat 9.0 and it worked like charm. > Can any one help me out with that? Most likely no. Here's why: - You give absolutely no indica

RE: Bug in rm -r with locked files

2003-01-22 Thread Shankar Unni
Larry Hall writes: >>Now why was it important to do this "delayed remove" semantics? > [...] the current behavior is meant to combat the "my script/program > deletes the file/directory then tries to recreate it - why isn't the > file/directory deleted when unlink() returns?" issue. Ah. I ha

Asking Questions The Smart Way - Moved

2003-01-22 Thread Keen Wayne A Contr AFRL/MNGG
I found the other day that the classic has a new address: http://www.catb.org/~esr/faqs/smart-questions.html Wayne Keen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Asking Questions The Smart Way - Moved

2003-01-22 Thread Christopher Faylor
On Wed, Jan 22, 2003 at 01:34:14PM -0600, Keen Wayne A Contr AFRL/MNGG wrote: >I found the other day that the classic has a new address: > >http://www.catb.org/~esr/faqs/smart-questions.html Thanks for the heads up. I've changed the link. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsu

RE: cvs wont connect to remote

2003-01-22 Thread Patrick Nelson
Max Bowsher wrote: - Neither do I, sorry. It looks like there is something strange with your server, because I use Cygwin's cvs with many servers, and no problems. - So, what servers are you attaching to? As what user to what account on the server? Using p

Re: cvs wont connect to remote

2003-01-22 Thread Max Bowsher
Patrick Nelson wrote: > Max Bowsher wrote: > - > Neither do I, sorry. It looks like there is something strange with > your server, because I use Cygwin's cvs with many servers, and no > problems. > - > > So, what servers are you attaching to? As what user

RE: Perl with -i option removes files

2003-01-22 Thread Ralf Habacker
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > Of Volker Quetschke > Sent: Wednesday, January 22, 2003 10:35 AM > To: [EMAIL PROTECTED] > Subject: Perl with -i option removes files > > > Hi! > > Following szenario: > > $ echo abc > testfile > > $

RE: Bug in rm -r with locked files

2003-01-22 Thread [EMAIL PROTECTED]
See if you can find it and get everyone to use it quickly please! ;-) Larry Original Message: - From: Shankar Unni [EMAIL PROTECTED] Date: Wed, 22 Jan 2003 11:17:39 -0800 To: [EMAIL PROTECTED] Subject: RE: Bug in rm -r with locked files Larry Hall writes: >>Now why was it impor

how do i make an exe file in cygwin?

2003-01-22 Thread Andrew Tait
Hi everyone, I am having real trouble in cygwin and keep on coming up with messages like this one: bash: h8300-hitachi-hms-gcc.exe: command not found could someone please let me know where i can this file or make an exe file. thanks Andrew ___

Re: how do i make an exe file in cygwin?

2003-01-22 Thread Max Bowsher
Andrew Tait wrote: > I am having real trouble in cygwin and keep on coming up with > messages like this one: > bash: h8300-hitachi-hms-gcc.exe: command not found > could someone please let me know where i can this file or make an exe > file. You're trying to use brickOS, aren't you? It's not reall

Re: Bug in rm -r with locked files

2003-01-22 Thread Karl M
Hi Chris... By my calculation you have received over $150,000.00 in total from everyone...Unfortunately each payment was $0.02. ;-) ...Karl From: Christopher Faylor <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Bug in rm -r with locked files Date: Wed, 22 Ja

RE: Perl with -i option removes files

2003-01-22 Thread Ralf Habacker
Sorry my finger were pressing the send to key before this mail was ready. > > Is this a bug or feature? > > > > $ cygcheck -c cygwin perl > > Cygwin Package Information > > Package Version > > cygwin 1.3.17-1 > > perl5.6.1-2 This is a known issue with thi

NTEA extensions for uid/gid

2003-01-22 Thread Christian Mueller
Hi all, after ntsec became the default for cygwin (and some further changes to ruserok()), I ran into problems running servers such as rshd depending on .rhosts and ruserok() because I don't use ntsec and ntea doesn't store the file's uid/gid. As a result, I can't use rshd anymore because it compl

Re: Bug in rm -r with locked files

2003-01-22 Thread Christopher Faylor
On Wed, Jan 22, 2003 at 02:00:26PM -0800, Karl M wrote: >Hi Chris... > >By my calculation you have received over $150,000.00 in total from >everyone...Unfortunately each payment was $0.02. ;-) Yeah, and all of the payments came with postage due... cgf -- Unsubscribe info: http://cygwin.com

Cygwin documentation suggesion: Apache on Cygwin (WWW-link)

2003-01-22 Thread Jari Aalto+list.cygwin
I ran into this link just yesterdat and itäs excellent resource. May I suggest that this link is added to the README of the Cygwin Apache /usr/doc/Cygwin/apache-1.3.24-5.README http://www.phpfreaks.com/apache_manual/page/cygwin.html Jari -- http://tiny-tools.sourcef

Re: Cygwin documentation suggesion: Apache on Cygwin (WWW-link)

2003-01-22 Thread Stipe Tolj
"Jari Aalto+list.cygwin" write: > > > I ran into this link just yesterdat and itäs excellent resource. > May I suggest that this link is added to the README of the Cygwin > Apache /usr/doc/Cygwin/apache-1.3.24-5.README > > http://www.phpfreaks.com/apache_manual/page/cygwin.h

Security Issue with Cygwin

2003-01-22 Thread Lambeth Darwin
To whom it may concern; Not sure if you know this or not, but the default configuration with Cygwin allows any user to change to any directory on a W2K box and delete whatever files they want. I have installed it with the current default instructions and was able to logon as a regular domain us

Re: Security Issue with Cygwin

2003-01-22 Thread Robert Collins
On Thu, 2003-01-23 at 11:48, Lambeth Darwin wrote: > To whom it may concern; > > Not sure if you know this or not, but the default configuration with Cygwin allows >any user to change to any directory on a W2K box and delete whatever files they want. >I have installed it with the current default

Re: Security Issue with Cygwin

2003-01-22 Thread Max Bowsher
Lambeth Darwin wrote: > To whom it may concern; > > Not sure if you know this or not, but the default configuration with > Cygwin allows any user to change to any directory on a W2K box and > delete whatever files they want. I have installed it with the current > default instructions and was able t

Cron Problems

2003-01-22 Thread Wu Yongwei
I successfully ran some simple cron jobs under Cygwin, but two things puzzled me. 1) There are always some error messages in Event Log Viewer when running cron or crontab. The error messages are like "Description of event ID (0) cannot be found (in resource (cron)). There might be missing re

silly question

2003-01-22 Thread Yves Petinot
Hi, I am fairly new to cygwin and this question is certainly silly but i cannot seem to figure out what the cause to my problem is. I have a pretty complete installation of cygwin running on my machine (W2K) and it seems i never got basic commands such as "cp", "ls", "rm" to be installed. This

Re: silly question

2003-01-22 Thread Larry Hall (RFK Partners, Inc)
At 09:54 PM 1/22/2003, Yves Petinot wrote: >Hi, > >I am fairly new to cygwin and this question is certainly silly but i cannot seem to >figure out what the cause to my problem is. > >I have a pretty complete installation of cygwin running on my machine (W2K) and it >seems i never got basic comman

Re: silly question

2003-01-22 Thread Randall R Schulz
Yves, Yes, taken as such, it's a silly question. Q: "How do I get the commands I didn't install?" A: "Install them." Or, to be a bit less facetious, install the "fileutils" package. If you had installed all the available packages, you'd have these. Pretty much everyone else does--they're scarc

Re: Cron Problems

2003-01-22 Thread Elfyn McBratney
> 2) How to start cron when starting the computer? I tried running it as > a service in cygrunsrv (cygrunsrv -I cron -p /usr/sbin/cron), but failed > since starting the service always failed (cron : Win32 Process Id = > 0x3F8 : Cygwin Process Id = 0x3F8 : starting service `cron' failed: > execv: 0

Re: Cron Problems

2003-01-22 Thread Wu Yongwei
Thanks. However, where can I find the options of cron? Now I only find some info in /usr/doc/Cygwin/cron.README, but only in the ChangeLog section, which I ignored on the first reading! And what is the use of the option -a? Best regards, Wu Yongwei --- Original Message from Elfyn McBratney

Re: Cron Problems

2003-01-22 Thread Elfyn McBratney
> Thanks. However, where can I find the options of cron? Now I only find > some info in /usr/doc/Cygwin/cron.README, but only in the ChangeLog > section, which I ignored on the first reading! There are only two options you can pass to cron. 1) -D (got the meaning wrong the last time; Means don't

Re: Bug in rm -r with locked files

2003-01-22 Thread Glenn Fowler
the problem reproduces on 1.3.12(0.54/3/2) I believe its a bug in rm itself the ast rm (http::/www.research.att.com/sw/download/) works fine these commands illustrate the problem window#1: mkdir /tmp/directory window#1: vi /tmp/directory/file window#2: /bin/ls -alR /tmp/directory /tmp/directory

Fwd: Re: silly question

2003-01-22 Thread Larry Hall (RFK Partners, Inc)
Yves, Please keep the discussion on the list. There are others here who can be quite helpful. There's no benefit to restricting yourself to one set of eyes. Randall's right. The utilities you're looking for are in the fileutils package. From your cygcheck output, it's clear that you have ins

[ADMINISTRIVIA] mailing list search should work again

2003-01-22 Thread Christopher Faylor
The mailing list search seems to work again. It seems to be wicked fast, too. Of course the server is lightly loaded right now. FYI, cgf -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to [EMAIL PROTECTED] and be permane

Re: [ADMINISTRIVIA] mailing list search should work again

2003-01-22 Thread senthill
Hello All, I am newbie to Cygwin. I would like to know how to start and use startx effectively. My questions are: 1. The xwindows are similar to linux. Is there any options to be included while executing startx? 2. Is a login panel available and is it possible to login from neibhour m/c

Elementary Questions on Start-up & Options

2003-01-22 Thread Randall R Schulz
Hi, At 22:14 2003-01-22, senthill wrote: Hello All, I am newbie to Cygwin. I would like to know how to start and use startx effectively. My questions are: 1. The xwindows are similar to linux. Is there any options to be included while executing startx? 2. Is a login panel available and