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
results?

Steve.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Subject: Re: Bug in rm -r with locked files

use rm -rf in a script and must resort to the native "del" cmd because rm
-rf hangs when it encounters
a locked file.


*** 
This email has originated from Perwill plc (Registration No. 1906964) 
Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK 
Tel: +44 (0)1420 545000 
Fax: +44 (0)1420 545001 
www.perwill.com 
*** 
Privileged, confidential and/or copyright information may be contained 
in this email, and is only for the use of the intended addressee. 
To copy, forward, disclose or otherwise use it in any way if you are not 
the intended recipient or responsible for delivering to him/her is
prohibited.
If you receive this email by mistake, please advise the sender immediately, 
by using the reply facility in your email software.

We may monitor the content of emails sent and received via our network 
for the purposes of ensuring compliance with policies and procedures. 
This message is subject to and does not create or vary any contractual 
relationships between Perwill plc and the recipient. 
*** 
Any opinions expressed in the email are those of the sender and not 
necessarily of Perwill plc.
*** 
This email has been scanned for known viruses using 
McAfee WebShield 4.5 MR1a 
*** 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 and goes into an 
infinite loop, taking 100% of the CPU.
   All is then OK if we go out of vi in the shell1.

   Doing the same thing (deleting the directory) directly in Windows 
produces an error message: "cannot delete directory: Access is denied. 
The source file may be in use" and we can notice in the directory a 
file named .file.swp that is also visible under Cygwin with ls -la.

   The example I have just given uses vi, but it is the same with all 
processes that open the file, as W2K puts a lock on it.

Gael Mulat

   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) who use plenty of rm -rf in cross-platform shell 
scripts.

   Thanks to Shankar Unni, I have mine: I didn't noticed that only rm 
-rf had the trouble, and not rm -r.

   So my workaround will be to replace all the '/bin/rm -rf dir' by 
'chmod -R +w dir; /bin/rm -r dir'. The semantic is not exactly the same 
(especially on write-protected directories), but that will allow my 
scripts to work well...

   Thanks everybody.

Gael.

--
Gael Mulat
http://www.polyspace.com
Phone: +33 (0)4 56 38 16 06




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



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 testfile.

Is this a bug or feature?

$ cygcheck -c cygwin perl
Cygwin Package Information
Package Version
cygwin  1.3.17-1
perl5.6.1-2

on Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3.

I also tested this sequence on:

[q@unics]~:{349}:$ uname -a
SunOS unics 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-Enterprise
[q@unics]~:{351}:$ perl -v
This is perl, version 5.005_03 built for sun4-solaris

where it doesn't remove the file.

Bye
   Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D



msg16539/pgp0.pgp
Description: PGP signature


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: [EMAIL PROTECTED]
Subject: Re: SIGINT to bash behaves differently in rxvt as compared to
console 


On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote:

> I find on a Windows NT4 (SP6) platform with the latest versions
(downloaded
> today) of cygwin1.dll, rxvt, bash etc that if I run a windows command
> script, say a.cmd, which in turn runs some other process (e.g. a pause),
if
> I hit ^C then the behaviour is different in rxvt as compared to the cygwin
> console.
>
> In the console, the process being run by the command script is always
> interrupted and then sometimes the rest of the command script continues to
> execute but sometimes it says 'Terminate batch job (Y/N)' in which case if
I
> answer 'Y' the whole command script stops.
>
> In rxvt, the ^C returns me to a prompt but the process being run is not
> interrupted and continues in the background.
>
> What I'd really like is for the ^C to consistently abort the whole command
> script.
>
> Has anyone come across this and/or is able to offer advice/solutions ?
>
> Duncan

Duncan,

You need to add "tty" to your CYGWIN environment variable.  Read
 for details.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 system environment and reboot.

David

> -Original Message-
> From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]]
> Sent: 21 January 2003 19:25
> To: Loveday,DAH,Duncan,YEE24 R
> Cc: [EMAIL PROTECTED]
> Subject: Re: SIGINT to bash behaves differently in rxvt as compared to
> console 
> 
> 
> On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote:
> 
> > I find on a Windows NT4 (SP6) platform with the latest versions
> (downloaded
> > today) of cygwin1.dll, rxvt, bash etc that if I run a windows command
> > script, say a.cmd, which in turn runs some other process (e.g. a pause),
> if
> > I hit ^C then the behaviour is different in rxvt as compared to the cygwin
> > console.
> >
> > In the console, the process being run by the command script is always
> > interrupted and then sometimes the rest of the command script continues to
> > execute but sometimes it says 'Terminate batch job (Y/N)' in which case if
> I
> > answer 'Y' the whole command script stops.
> >
> > In rxvt, the ^C returns me to a prompt but the process being run is not
> > interrupted and continues in the background.
> >
> > What I'd really like is for the ^C to consistently abort the whole command
> > script.
> >
> > Has anyone come across this and/or is able to offer advice/solutions ?
> >
> > Duncan
> 
> Duncan,
> 
> You need to add "tty" to your CYGWIN environment variable.  Read
>  for details.
>   Igor
> -- 
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
>   -- /usr/games/fortune
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 = 0x338 : error: setsockopt SO_KEEPALIVE: Socket operation
on non-socket.

My ssh configuration seems to be ok. IMHO I've checked all neccessary dirs, 
files and access rights. So I changed the ownership of '/etc/ssh*' to me and
tried
to start sshd in debug-mode:

$ sshd -d
debug1: sshd version OpenSSH_3.5p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from 127.0.0.1 port 2590
Segmentation fault (core dumped):

The output of 'strace -o sshd.log -w sshd -ddd' is attached.
Just as 'cygcheck -s -v -r > cygcheck.out' and 
the 'sshd.exe.coredump'.

BTW, wsock32.dll and ws2_32.dll are identical to those
from w2k SR2. getfacl shows for both:

# owner: Administrator
# group: SYSTEM
user::rwx
group::rwx
mask:rwx
other:rwx

Any help would be appreciated,

Bernd
-- 
 <>  <>  <> 



cygcheck.out.bz2
Description: Binary data


sshd.exe.stackdump.bz2
Description: Binary data


sshd.log.bz2
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


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 10:44
To: Loveday,DAH,Duncan,YEE24 R
Cc: [EMAIL PROTECTED]
Subject: RE: SIGINT to bash behaves differently in rxvt as compared to
console 


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 system environment and reboot.

David

> -Original Message-
> From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]]
> Sent: 21 January 2003 19:25
> To: Loveday,DAH,Duncan,YEE24 R
> Cc: [EMAIL PROTECTED]
> Subject: Re: SIGINT to bash behaves differently in rxvt as compared to
> console 
> 
> 
> On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote:
> 
> > I find on a Windows NT4 (SP6) platform with the latest versions
> (downloaded
> > today) of cygwin1.dll, rxvt, bash etc that if I run a windows command
> > script, say a.cmd, which in turn runs some other process (e.g. a pause),
> if
> > I hit ^C then the behaviour is different in rxvt as compared to the
cygwin
> > console.
> >
> > In the console, the process being run by the command script is always
> > interrupted and then sometimes the rest of the command script continues
to
> > execute but sometimes it says 'Terminate batch job (Y/N)' in which case
if
> I
> > answer 'Y' the whole command script stops.
> >
> > In rxvt, the ^C returns me to a prompt but the process being run is not
> > interrupted and continues in the background.
> >
> > What I'd really like is for the ^C to consistently abort the whole
command
> > script.
> >
> > Has anyone come across this and/or is able to offer advice/solutions ?
> >
> > Duncan
> 
> Duncan,
> 
> You need to add "tty" to your CYGWIN environment variable.  Read
>  for details.
>   Igor
> -- 
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
>   -- /usr/games/fortune
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 with the real thing (without new
hardware.)

Thanks,

Rob


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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-worker? OH
... OKAY!

Brian Kelly





"Steve Fairbairn" <[EMAIL PROTECTED]>@cygwin.com on 01/22/2003
03:57:00 AM

Sent by:[EMAIL PROTECTED]


To:[EMAIL PROTECTED]
cc: (bcc: Brian Kelly/WTC1/Empire)

Subject:RE: Bug in rm -r with locked files



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
results?

Steve.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Subject: Re: Bug in rm -r with locked files

use rm -rf in a script and must resort to the native "del" cmd because rm
-rf hangs when it encounters
a locked file.


***
This email has originated from Perwill plc (Registration No. 1906964)
Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK
Tel: +44 (0)1420 545000
Fax: +44 (0)1420 545001
www.perwill.com
***
Privileged, confidential and/or copyright information may be contained
in this email, and is only for the use of the intended addressee.
To copy, forward, disclose or otherwise use it in any way if you are not
the intended recipient or responsible for delivering to him/her is
prohibited.
If you receive this email by mistake, please advise the sender immediately,
by using the reply facility in your email software.

We may monitor the content of emails sent and received via our network
for the purposes of ensuring compliance with policies and procedures.
This message is subject to and does not create or vary any contractual
relationships between Perwill plc and the recipient.
***
Any opinions expressed in the email are those of the sender and not
necessarily of Perwill plc.
***
This email has been scanned for known viruses using
McAfee WebShield 4.5 MR1a
***



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/







"Empire Health Choice Inc." made the following
 annotations on 01/22/2003 06:45:33 AM
--

[INFO] -- Access Manager:
Attention!  This electronic message contains information that may be legally 
confidential and/or privileged.  The information is intended solely for the individual 
or entity named above and access by anyone else is unauthorized.  If you are not the 
intended recipient, any disclosure, copying, distribution, or use of the contents of 
this information is prohibited and may be unlawful.  If you have received this 
electronic transmission in error, please reply immediately to the sender that you have 
received the message in error, and delete it. Release/Disclosure Statement




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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:   http://cygwin.com/faq/




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 reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 all the
packages you want to be installed in the categories Base or Misc.

Feel free to look into the setup source code, if this will not do what you
want.

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 software  What?  - you'll talk to me after you get done
>laying off my co-worker?  OH ...  OKAY!

How about you give me $150,000 and I'll solve the problem for you?

Either that or come up with a patch to fix the problem.  Sadly, free
software doesn't mean "works perfectly or your problem gets fixed for
free".  Quite the contrary, it gives *you* the freedom to modify the
source to fix problems.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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
>> from a section and then catch SIGSEGV, but siginfo_t doesn't seem to be
>> defined.
>> Is hooking a signal using the 'sa_sigaction' member of 'struct
>> sigaction' supported in CygWin?
>>
>> I noticed that struct siginfo_t is declared in sys/signal.h, but inside
>> a couple of #ifdef:
>> #if defined(__rtems__)
>> #if defined(_POSIX_REALTIME_SIGNALS)
>>
>> And it doesn't have the member that I need anyways (si_addr).
>>
>> Does anyone know of any other ways of trapping reads/writes to/from
>> memory regions?
>>
>> -Rolf Campbell
>
>No, sigaction is not supported on Cygwin.  It's on the TODO list.

That's overstating the situation.  sigaction() is certainly supported in
cygwin.  The sa_sigaction field in the sigaction struct is not.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 "and" trouble-shoot
a nasty problem. Would probably take me 3 to six months - and I'm workin
70-80 hour weeks as it
is. Am I grateful to those who "DO" know? SURE OF COURSE. So in case anyone
wants to accuse
me of being a feeloading good-for-nothing ingrate - I say this:

THANK YOU
THANK YOU
THANK YOU  1000
THANK YOU  X  1000

There ... feel better?

Hmmm ...  though not  ...

; - )

Brian Kelly





"Christopher Faylor" <[EMAIL PROTECTED]>@cygwin.com on 01/22/2003 10:38:02 AM

Please respond to [EMAIL PROTECTED]

Sent by:[EMAIL PROTECTED]


To:[EMAIL PROTECTED]
cc: (bcc: Brian Kelly/WTC1/Empire)

Subject:Re: Bug in rm -r with locked files


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 software  What?  - you'll talk to me after you get done
>laying off my co-worker?  OH ...  OKAY!

How about you give me $150,000 and I'll solve the problem for you?

Either that or come up with a patch to fix the problem.  Sadly, free
software doesn't mean "works perfectly or your problem gets fixed for
free".  Quite the contrary, it gives *you* the freedom to modify the
source to fix problems.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/







"Empire Health Choice Inc." made the following
 annotations on 01/22/2003 11:07:41 AM
--

[INFO] -- Access Manager:
Attention!  This electronic message contains information that may be legally 
confidential and/or privileged.  The information is intended solely for the individual 
or entity named above and access by anyone else is unauthorized.  If you are not the 
intended recipient, any disclosure, copying, distribution, or use of the contents of 
this information is prohibited and may be unlawful.  If you have received this 
electronic transmission in error, please reply immediately to the sender that you have 
received the message in error, and delete it. Release/Disclosure Statement




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 thing I've written in c is "hello world".  Plus I
>have NO time to learn c "and" trouble-shoot a nasty problem.  Would
>probably take me 3 to six months - and I'm workin 70-80 hour weeks as
>it is.  Am I grateful to those who "DO" know?  SURE OF COURSE.  So in
>case anyone wants to accuse me of being a feeloading good-for-nothing
>ingrate - I say this:
>
>THANK YOU
>THANK YOU
>THANK YOU  1000
>THANK YOU  X  1000
>
>There ... feel better?

Not really.  I'm still waiting for the $150,000.

cgf

>"Christopher Faylor" <[EMAIL PROTECTED]>@cygwin.com on 01/22/2003 10:38:02 AM
>
>Please respond to [EMAIL PROTECTED]
>
>Sent by:[EMAIL PROTECTED]
>
>
>To:[EMAIL PROTECTED]
>cc: (bcc: Brian Kelly/WTC1/Empire)
>
>Subject:Re: Bug in rm -r with locked files
>
>
>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 software  What?  - you'll talk to me after you get done
>>laying off my co-worker?  OH ...  OKAY!
>
>How about you give me $150,000 and I'll solve the problem for you?
>
>Either that or come up with a patch to fix the problem.  Sadly, free
>software doesn't mean "works perfectly or your problem gets fixed for
>free".  Quite the contrary, it gives *you* the freedom to modify the
>source to fix problems.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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






_
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn  


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



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:
> >/bin/rm -rf /tmp/directory
> >
> >The shell2 doesn't manage to remove the directory and goes into an
> > infinite loop, taking 100% of the CPU.
> >All is then OK if we go out of vi in the shell1.
> >
> >Doing the same thing (deleting the directory) directly in Windows
> > produces an error message: "cannot delete directory: Access is denied.
> > The source file may be in use" and we can notice in the directory a
> > file named .file.swp that is also visible under Cygwin with ls -la.
> >
> >The example I have just given uses vi, but it is the same with all
> > processes that open the file, as W2K puts a lock on it.
> >
> > Gael Mulat
> >
> 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) who use plenty of rm -rf in cross-platform shell
> scripts.
>
> Thanks to Shankar Unni, I have mine: I didn't noticed that only rm
> -rf had the trouble, and not rm -r.
>
> So my workaround will be to replace all the '/bin/rm -rf dir' by
> 'chmod -R +w dir; /bin/rm -r dir'. The semantic is not exactly the same
> (especially on write-protected directories), but that will allow my
> scripts to work well...
>
> Thanks everybody.
> Gael.

A suggestion:

'/bin/find dir -depth -exec /bin/chmod +w {} \; -exec /bin/rm -r {} \;'
might work, and will only parse the tree once...  It will invoke chmod and
rm multiple times, though, but that's a tradeoff.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 running 'rxvt -ls -e "bash --login -i"' and see if the behavior
changes.
Igor

On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote:

> 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 10:44
> To: Loveday,DAH,Duncan,YEE24 R
> Cc: [EMAIL PROTECTED]
> Subject: RE: SIGINT to bash behaves differently in rxvt as compared to
> console
>
>
> 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 system environment and reboot.
>
> David
>
> > -Original Message-
> > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]]
> > Sent: 21 January 2003 19:25
> > To: Loveday,DAH,Duncan,YEE24 R
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: SIGINT to bash behaves differently in rxvt as compared to
> > console
> >
> >
> > On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote:
> >
> > > I find on a Windows NT4 (SP6) platform with the latest versions
> > > (downloaded today) of cygwin1.dll, rxvt, bash etc that if I run a
> > > windows command script, say a.cmd, which in turn runs some other
> > > process (e.g. a pause), if I hit ^C then the behaviour is different
> > > in rxvt as compared to the cygwin console.
> > >
> > > In the console, the process being run by the command script is
> > > always interrupted and then sometimes the rest of the command script
> > > continues to execute but sometimes it says 'Terminate batch job
> > > (Y/N)' in which case if I answer 'Y' the whole command script stops.
> > >
> > > In rxvt, the ^C returns me to a prompt but the process being run is not
> > > interrupted and continues in the background.
> > >
> > > What I'd really like is for the ^C to consistently abort the whole
> > > command script.
> > >
> > > Has anyone come across this and/or is able to offer advice/solutions ?
> > >
> > > Duncan
> >
> > Duncan,
> >
> > You need to add "tty" to your CYGWIN environment variable.  Read
> >  for details.
> >   Igor

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 theory was to use mprotect to remove read/write permissions
> >> from a section and then catch SIGSEGV, but siginfo_t doesn't seem to be
> >> defined.
> >> Is hooking a signal using the 'sa_sigaction' member of 'struct
> >> sigaction' supported in CygWin?
> >>
> >> I noticed that struct siginfo_t is declared in sys/signal.h, but inside
> >> a couple of #ifdef:
> >> #if defined(__rtems__)
> >> #if defined(_POSIX_REALTIME_SIGNALS)
> >>
> >> And it doesn't have the member that I need anyways (si_addr).
> >>
> >> Does anyone know of any other ways of trapping reads/writes to/from
> >> memory regions?
> >>
> >> -Rolf Campbell
> >
> >No, sigaction is not supported on Cygwin.  It's on the TODO list.
>
> That's overstating the situation.  sigaction() is certainly supported in
> cygwin.  The sa_sigaction field in the sigaction struct is not.
>
> cgf

Yes, my apologies.  That's what I get for being too lazy to type 3 extra
characters...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 less resigned to living with it - thanks for taking the time to
make suggestions.

Duncan.

-Original Message-
From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 16:51
To: Loveday,DAH,Duncan,YEE24 R
Cc: [EMAIL PROTECTED]
Subject: RE: SIGINT to bash behaves differently in rxvt as compared to
console


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 running 'rxvt -ls -e "bash --login -i"' and see if the behavior
changes.
Igor

On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote:

> 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 10:44
> To: Loveday,DAH,Duncan,YEE24 R
> Cc: [EMAIL PROTECTED]
> Subject: RE: SIGINT to bash behaves differently in rxvt as compared to
> console
>
>
> 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 system environment and reboot.
>
> David
>
> > -Original Message-
> > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]]
> > Sent: 21 January 2003 19:25
> > To: Loveday,DAH,Duncan,YEE24 R
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: SIGINT to bash behaves differently in rxvt as compared to
> > console
> >
> >
> > On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote:
> >
> > > I find on a Windows NT4 (SP6) platform with the latest versions
> > > (downloaded today) of cygwin1.dll, rxvt, bash etc that if I run a
> > > windows command script, say a.cmd, which in turn runs some other
> > > process (e.g. a pause), if I hit ^C then the behaviour is different
> > > in rxvt as compared to the cygwin console.
> > >
> > > In the console, the process being run by the command script is
> > > always interrupted and then sometimes the rest of the command script
> > > continues to execute but sometimes it says 'Terminate batch job
> > > (Y/N)' in which case if I answer 'Y' the whole command script stops.
> > >
> > > In rxvt, the ^C returns me to a prompt but the process being run is
not
> > > interrupted and continues in the background.
> > >
> > > What I'd really like is for the ^C to consistently abort the whole
> > > command script.
> > >
> > > Has anyone come across this and/or is able to offer advice/solutions ?
> > >
> > > Duncan
> >
> > Duncan,
> >
> > You need to add "tty" to your CYGWIN environment variable.  Read
> >  for details.
> >   Igor

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[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 "R" (to see the Release Notes) or
by going to http://www.washington.edu/pine/changes.html

 * Extended thread support (fancy thread interface).
 * Rudimentary support of character set conversion.
 * Extended filter/roles functionality.
 * Cygwin port is official. This means that no more patches are needed to
   build a version of Pine suitable for cygwin. All you need to do is to
   unpack the source code and execute the command "./buildcyg cyg"  from
   the pineX.YZ directory (You still need a patch to be able to "fix" some
   bugs found while running Pine with colors in the default cygwin
   terminal. This patch is already applied in this release).

As usual, more documentation on how to run Pine under cygwin can be found
in the file /usr/doc/Cygwin/pine-4.53-1.README.

If you find any problem running this package, please report it to the
cygwin mailing list ([EMAIL PROTECTED]).

*** INFORMATION ON UPDATING CYGWIN ***

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
is usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  This includes ideas and comments
about the setup utility or Cygwin in general.

If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you have trouble, please use the resources at

http://cygwin.com/ml/


-- 
Eduardo
http://www.math.washington.edu/~chappa/personal.html


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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,
>  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/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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) who use plenty of rm -rf in cross-platform shell
> scripts.
>
> Thanks to Shankar Unni, I have mine: I didn't noticed that only rm
> -rf had the trouble, and not rm -r.
>
> So my workaround will be to replace all the '/bin/rm -rf dir' by
> 'chmod -R +w dir; /bin/rm -r dir'. The semantic is not exactly the same
> (especially on write-protected directories), but that will allow my
> scripts to work well...
>
> Thanks everybody.
> Gael.

A suggestion:

'/bin/find dir -depth -exec /bin/chmod +w {} \; -exec /bin/rm -r {} \;'
might work, and will only parse the tree once...  It will invoke chmod and
rm multiple times, though, but that's a tradeoff.
Igor



Igor,

I think we've drifted off the problem here. This isn't a issue of file 
modes interfering with file removal, its an interaction with window's 
"locking" of files that are in-use (open).

And as the discussion from last April showed, not all in-use states 
interfered with removal via Cygwin unlink(). While we were having 
trouble getting my original problem reproduced, I decided to write a 
Java program that opened a file and kept it open. Something about the 
way Java opened files triggered the problem where not all other uses did.

Perhaps it was just a Cygwin (non-interfering) vs. non-Cygwin 
(interfering) use of the file. I don't know. I don't know what was the 
exact diagnosis of the problem at the level of the Cygwin unlink code.

Chris January might know.

Randall Schulz 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



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   :   on

$ /usr/bin/tar xvf /dev/st0
/usr/bin/tar: /dev/st0: Cannot read: Permission denied
/usr/bin/tar: At beginning of tape, quitting now
/usr/bin/tar: Error is not recoverable: exiting now

What's wrong?

(cygcheck output attached).

Thanks!

Kris Thielemans
(kris.thielemans  ic.ac.uk)
Imaging Research Solutions Ltd
Cyclotron Building
Hammersmith Hospital
Du Cane Road
London W12 ONN, United Kingdom

web site address: http://www.irsl.org/~kris



cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


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 would be very useful for people (me and Brian
> > > Kelly, for instance) who use plenty of rm -rf in cross-platform shell
> > > scripts.
> > >
> > > Thanks to Shankar Unni, I have mine: I didn't noticed that only rm
> > > -rf had the trouble, and not rm -r.
> > >
> > > So my workaround will be to replace all the '/bin/rm -rf dir' by
> > > 'chmod -R +w dir; /bin/rm -r dir'. The semantic is not exactly the same
> > > (especially on write-protected directories), but that will allow my
> > > scripts to work well...
> > >
> > > Thanks everybody.
> > > Gael.
> >
> >A suggestion:
> >
> >'/bin/find dir -depth -exec /bin/chmod +w {} \; -exec /bin/rm -r {} \;'
> >might work, and will only parse the tree once...  It will invoke chmod and
> >rm multiple times, though, but that's a tradeoff.
> > Igor
>
>
> Igor,
>
> I think we've drifted off the problem here. This isn't a issue of file
> modes interfering with file removal, its an interaction with window's
> "locking" of files that are in-use (open).
>
> And as the discussion from last April showed, not all in-use states
> interfered with removal via Cygwin unlink(). While we were having
> trouble getting my original problem reproduced, I decided to write a
> Java program that opened a file and kept it open. Something about the
> way Java opened files triggered the problem where not all other uses did.
>
> Perhaps it was just a Cygwin (non-interfering) vs. non-Cygwin
> (interfering) use of the file. I don't know. I don't know what was the
> exact diagnosis of the problem at the level of the Cygwin unlink code.
>
> Chris January might know.
>
> Randall Schulz

Randall,

Yes, I realize that.  I wasn't suggesting a fix for the problem, I was
suggesting a workaround that would let people do what they want without
having to traverse (apparently huge) trees twice.  I agree that the
problem exists and needs to be fixed (at some point, by someone who
understands what's going on).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 block:0 write protected  :   no
> datcompres
> sion   :   on
> 
> $ /usr/bin/tar xvf /dev/st0
> /usr/bin/tar: /dev/st0: Cannot read: Permission denied
> /usr/bin/tar: At beginning of tape, quitting now
> /usr/bin/tar: Error is not recoverable: exiting now
> 
> What's wrong?

The blocksize.  Read /usr/doc/Cygwin/mt.README.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 and reinstalled the latest again. The problem
persisted.

I investigated to the best extent possible previous posts on this
mailing list regarding similar problems.

I modified cygwin.bat to include --verbose for me to observe what is
bash's exact start sequence. I noticed that it poses on executing "id"
and doing "grep" for X11 path.

Once started, all bash commands "ls", "cd", etc. work flawlessly.

I did a small test "echo test | cat". This was pausing for about 10 seconds.

 From some of the previous posts in the mailing list I saw that this can
be network related. I run a network traffic monitor just to see that no
network activity is taking place upon bash start or the execution of
 small test above.

Another problem I investigated, not very exhaustively, I removed my
current user from the administrators group, fearing that it can be some
security misalignment with the new installation. This change did not
remove the pause.

Runned "strace echo test | cat", but because of the redirection I can
not see where exactly the pause occurres, I receive the entire dump at
the end of the test.

Decided to just stop seti@home which is running on the machine.
Everything run flowlessy. Repeated running bash with and withough
seti@home, it confirmed my obvesrvation.

What can be the problem?

-petar




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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,
then go into /usr/src/inetutils-*, run "configure", cd to syslogd, run
"make" and you will have a working syslogd.

Once you have done this, you should create a /etc/syslog.conf file.  I have
syslogd running as a service with cygrusrv and with the arguments "-p
/dev/null -d".

-Abe

- Original Message -
> 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 with the real thing (without new
> hardware.)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 demand, regardless of how low a priority the CPU-demanding 
process or thread was assigned.

Preliminary reports from those using snapshots of the pre-1.3.19 
release indicate the problem has been solved. In the mean-time, either 
shut down SETI@home, install 1.3.17 of the cygwin package, avoid using 
pipes in Cygwin or work on your patience.

Randall Schulz


At 09:37 2003-01-22, petar marinov wrote:
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.

...

Decided to just stop seti@home which is running on the machine.
Everything run flowlessy. Repeated running bash with and withough
seti@home, it confirmed my obvesrvation.

What can be the problem?

-petar



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 indication of what failed.
- There is no such thing as RedHat 9.0 (yet).

I *strongly* suggest you read
http://www.tuxedo.org/~esr/faqs/smart-questions.html and
http://cygwin.com/bugs.html


Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 hate those tools that do that wonderful "create temp file, open it,
and unlink it" dance. I'm not convinced that there aren't other ways to
"secure the app" that are more friendly and portable..

Thanks,
-- 
Shankar


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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:   http://cygwin.com/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/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 pserver?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 to what account
> on the server?  Using pserver?

anonymous pserver to:
sourceforge.net
red-bean.com
sources.redhat.com
lnx-bbc.org
gnome.org
subversions.gnu.org
mozilla.org
samba.org
sunsite.dk

ext/ssh to:
sources.redhat.com

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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
> 
> $ 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 testfile.
> 
> Is this a bug or feature?
> 
> $ cygcheck -c cygwin perl
> Cygwin Package Information
> Package Version
> cygwin  1.3.17-1
> perl5.6.1-2
> 
> on Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3.
> 
> I also tested this sequence on:
> 
> [q@unics]~:{349}:$ uname -a
> SunOS unics 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-Enterprise
> [q@unics]~:{351}:$ perl -v
> This is perl, version 5.005_03 built for sun4-solaris
> 
> where it doesn't remove the file.
> 
> Bye
> Volker
> 
> -- 
> PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
> key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
> 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 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 hate those tools that do that wonderful "create temp file, open it,
and unlink it" dance. I'm not convinced that there aren't other ways to
"secure the app" that are more friendly and portable..

Thanks,
-- 
Shankar


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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




_
Worried what your kids see online? Protect them better with MSN 8 
http://join.msn.com/?page=features/parental&pgmarket=en-gb&XAPID=186&DI=1059


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



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 really sensible to ask
general usage questions about brickOS here, even when running in a Cygwin
environment. <[EMAIL PROTECTED]> is the appropriate
place.

Anyway, you are going to have to provide much more detailed information
about exactly how it occurs and what the problem is, if anyone is to help
you.

DO NOT REPLY TO THIS EMAIL.

START A NEW THREAD ON THE BRICKOS/LEGOS GROUP INSTEAD.


Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 Jan 2003 11:18:34 -0500

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 thing I've written in c is "hello world".  Plus I
>have NO time to learn c "and" trouble-shoot a nasty problem.  Would
>probably take me 3 to six months - and I'm workin 70-80 hour weeks as
>it is.  Am I grateful to those who "DO" know?  SURE OF COURSE.  So in
>case anyone wants to accuse me of being a feeloading good-for-nothing
>ingrate - I say this:
>
>THANK YOU
>THANK YOU
>THANK YOU  1000
>THANK YOU  X  1000
>
>There ... feel better?

Not really.  I'm still waiting for the $150,000.

cgf

>"Christopher Faylor" <[EMAIL PROTECTED]>@cygwin.com on 01/22/2003 10:38:02 
AM
>
>Please respond to [EMAIL PROTECTED]
>
>Sent by:[EMAIL PROTECTED]
>
>
>To:[EMAIL PROTECTED]
>cc: (bcc: Brian Kelly/WTC1/Empire)
>
>Subject:Re: Bug in rm -r with locked files
>
>
>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 software  What?  - you'll talk to me after you get done
>>laying off my co-worker?  OH ...  OKAY!
>
>How about you give me $150,000 and I'll solve the problem for you?
>
>Either that or come up with a patch to fix the problem.  Sadly, free
>software doesn't mean "works perfectly or your problem gets fixed for
>free".  Quite the contrary, it gives *you* the freedom to modify the
>source to fix problems.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



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 this perl release, which was fixed in perl 5.8.x. 

A workaround is to use a speficic backup extension like perl -pi.bak ... 

Regards 

Ralf 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 complains that the .rhosts file is not owned by the correct
user.

I discussed this on the Cygwin user group but my impression was that
I'm the only one having this problem at this point and possibly one of
the few using ntea. I don't want to use ntsec because I use my Cygwin
home directory for Cygwin *and* Windows programs and ntsec displays
screwed-up file permissions for files created by Windows programs.
BTW, my user is part of the admin group because I can't change things
such as network settings on my laptop without being an "administrator".

Thus, I went ahead and modified ntea.cc and security.cc to support
uid/gid in addition to the file mode. The modified version now uses
three extended attributes:

   .UNIXATTR   - file mode (same as in current versions)
   .UNIXUID- UID (file owner)
   .UNIXGID- GID (file group)

I added a new function to ntea.cc, NTReadEAMulti(), which reads all
requested EAs in one step, thus there's no additional overhead besides
the few extra bytes to be read by NTReadEARaw() but that shouldn't
have any noticable impact on performance.

I did not combine the existing file mode with the uid/gid values into
a structure because this would have caused trouble with earlier
versions of Cygwin -- NTReadEA() currently returns an error if the
extended attibute is bigger than the buffer provided.

Also, I didn't write a NTWriteEAMulti() variant, yet, because I wanted
to get feedback from the Cygwin group before putting more effort into
this issue. It works as it is right now but a function
NTWriteEAMulti() would certainly speed up setting attributes.

What I'm looking for right now is some feedback on this idea.
Naturally, I would like those modifications to end up in the Cygwin
core distribution but this probably needs to be discussed properly
before being considered. I added the source changes at the bottom of
this email. They are not complete, yet, but already work for me and
should be good enough for discussion.

Thanks,
--Christian

=

---
security.h:
---

typedef struct
   {
 const char  *attrname;
 void*attrbuf;
 size_t   maxlen;
 size_t   len;
   } ea_multi_t;



ntea.cc:


/*
  * NTReadEAMulti - read multiple EAs in one step. This function is
  * more efficient than NTReadEA when multiple
  * attributes are required because it reads the
  * EAs only once.
  *
  * Parameters:
  *  file  - pointer to filename
  *  eam   - array of ea_multi_t structures with
  *  the EAs to read
  * Return value:
  *  > 0 - number of EAs found
  *  0   - no EAs found
  *
  *  The ea_multi_t array will be updated with the EAs read; the
  *  len fields will contain the length of each attribute, 0
  *  if this particular EA was not found.
  */

int __stdcall
NTReadEAMulti (const char *file, int cnt, ea_multi_t *eam)
{
 HANDLE hFileSource;
 PFILE_FULL_EA_INFORMATION ea, sea;
 int cnt_found = 0;
 int easize;
 int i;

 /* Reset returned EA length in eam */
 for (i = 0; i < cnt; i++)
 eam[i].len = 0;

 hFileSource = CreateFile (file, FILE_READ_EA,
   FILE_SHARE_READ | FILE_SHARE_WRITE,
   &sec_none_nih, // sa
   OPEN_EXISTING,
   FILE_FLAG_BACKUP_SEMANTICS,
   NULL);

 if (hFileSource == INVALID_HANDLE_VALUE)
 return 0;

 /* Read in raw array of EAs */
 ea = sea = NTReadEARaw (hFileSource, &easize);

 /* Search for requested attributes */
 while (sea)
   {
 for (i = 0; i < cnt; i++)
   {
 if (strcasematch (ea->EaName, eam[i].attrname)) /* EA
found */
   {
 eam[i].len = min(eam[i].maxlen, ea->EaValueLength);
 memcpy (eam[i].attrbuf,
 ea->EaName + (ea->EaNameLength + 1),
 eam[i].len);
 cnt_found++;
 break;
   }
   }

 if (ea->NextEntryOffset == 0 || ((int) ea->NextEntryOffset >
easize))
 break;
 ea = (PFILE_FULL_EA_INFORMATION) ((char *) ea +
ea->NextEntryOffset);
   }

 if (sea)
   free (sea);

 CloseHandle (hFileSource);

 return cnt_found;
}


security.cc:


int
get_file_attribute (int use_ntsec, const char *file,
 int *attribute, __uid32_t *uidret,
  

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/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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.sourceforge.net/
Swatch  @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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.html
> 
> Jari

Hi Jari,

that document has been written by me and it's orginal source is at
http://httpd.apache.org/docs/cygwin.html, so it's nothing "unkown".

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 user and cd to c: and delete or add files. That is a major issue. Let 
me know if there is something I missed.

Thank
Darwin L. Lambeth
[EMAIL PROTECTED]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 instructions and was able to logon as a 
>regular domain user and cd to c: and delete or add files. That is a major issue. Let 
>me know if there is something I missed.

Thats the Microsoft default install that grants those permissions.
Cygwin doesn't affect permissions outside of the cygwin directory tree.

Rob
-- 
GPG key available at: .



signature.asc
Description: This is a digitally signed message part


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 to logon as a regular domain user
> and cd to c: and delete or add files. That is a major issue. Let me
> know if there is something I missed.

Sounds like C: has excessively relaxed permissions, and you coincidentally
noticed after you had installed Cygwin.

You should be able to exactly the same from a cmd.exe shell.


Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 
registry information ... crontab : Win32 Process Id = 0x34C : Cygwin 
Process Id = 0x340 : (Administrator) REPLACE (Administrator)" and "... 
/usr/sbin/cron : Win32 Process Id = 0x410 : Cygwin Process Id = 0x410 : 
(CRON) STARTUP (fork ok)" (this is a back-translation since I am using a 
Chinese system).  However, the scheduled job is successfully done.

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, No error.) but the process cron appeared.

Thanks in advance.

Best regards,

Wu Yongwei

P.S.  When starting cron from a command prompt or shell, the process 
will be bound to the command prompt or shell, i.e., when the command 
prompt or shell exits, the cron process will exit too.  My method of 
curing this problem is to change byte 0xDC of cron.exe from 03 to 02 
(CUI to GUI).  Any better methods?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



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 is troublesome and it seems to prevent more complex features 
to be properly installed : i tried downloading and installing all the 
packages listed through the internet installation, but i still cannot get 
these commands to be available,

any suggestion on what i should do ?

Thanks a million,

Yves.





_
MSN Messenger : discutez en direct avec vos amis !  
http://www.msn.fr/msger/default.asp


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



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 commands such as "cp", "ls", "rm" to be installed. This is 
>troublesome and it seems to prevent more complex features to be properly installed : 
>i tried downloading and installing all the packages listed through the internet 
>installation, but i still cannot get these commands to be available,
>
>any suggestion on what i should do ?



Yes.  Check out , particularly the portion 
regarding cygcheck.


Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 scarcely optional, as you note.

Randall Schulz


At 18:54 2003-01-22, 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 commands such as "cp", "ls", "rm" 
to be installed. This is troublesome and it seems to prevent more 
complex features to be properly installed : i tried downloading and 
installing all the packages listed through the internet installation, 
but i still cannot get these commands to be available,

any suggestion on what i should do ?

Thanks a million,

Yves.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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, No error.) but the process cron appeared.

Your problem is that your not passing the -D (Do not kill off parent
process; which allows cron to be used by the service manager) option. So you
need to append `-a -D' to your cygrunsrv line when installing cron.

Regards,

Elfyn McBratney
[EMAIL PROTECTED]




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 ---

> 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, No error.) but the process cron appeared.

Your problem is that your not passing the -D (Do not kill off parent
process; which allows cron to be used by the service manager) option. So 
you need to append `-a -D' to your cygrunsrv line when installing cron.

Regards,

Elfyn McBratney


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



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 fork) and 2) -x which is a debugging option
which prints out, well, debugging info ;-)

> And what is the use of the option -a?

When I referred to the `-a' option I was talking about cygrunsrv. The `-a'
option  takes the arguments you wish to pass to the executable, cron.exe,
and when the service is started it is started with those arguments. For
example, taken from cron.README:

  $ cygrunsrv -I cron -p /usr/sbin/cron -a -D

Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.uk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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:
total 4
drwxr-xr-x2 gsf  None0 Jan 22 04:40 .
drwx--   13 Administ None0 Jan 22 04:39 ..
-rw---1 gsf  None 4096 Jan 22 04:40 .file.swp
window#2: # note that /tmp/directory/file does not exist
window#2: # note that vi created .file.swp
window#2: /home/gsf/arch/cygwin.i386/bin/rm -r /tmp/directory
rm: /tmp/directory/.file.swp: not found
rm: /tmp/directory: directory not removed [Directory not empty]
window#2: /home/gsf/arch/cygwin.i386/bin/rm -rf /tmp/directory
window#2: echo "exit code $?"
exit code 1
window#2: /bin/ls -alR /tmp/directory
/bin/ls: /tmp/directory/.file.swp: No such file or directory
/tmp/directory:
total 0
drwxr-xr-x2 gsf  None0 Jan 22 04:40 .
drwx--   13 Administ None0 Jan 22 04:39 ..
window#2: /bin/rm -r /tmp/directory
/bin/rm: cannot remove `/tmp/directory/.file.swp': No such file or directory
/bin/rm: cannot remove directory `/tmp/directory': Directory not empty
window#2: /bin/rm -rf /tmp/directory
^C to break hang

the last ls exposes the rm bug
readdir() returns .file.swp but a subsequent stat() on .file.swp
fails with ENOENT
gnu rm -rf probably assumes that ENOENT means the file was already removed
and that screws up its logic when a subsequent rmdir() returns ENOTEMPTY

ast rm has loop detection on rmdir() to avoid problems like this
such problems are not limited to unix on windows

-- Glenn Fowler <[EMAIL PROTECTED]> AT&T Labs Research, Florham Park NJ --


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 installed
this package as far as setup is concerned.  I suggest you rerun setup,
switch to the "Full" View, find the fileutils package entry, click on
"Keep" to change it to "Reinstall".  This should reinstall this package 
with these utilities.  If you still have problems, please attach setup.log
and/or setup.log.full with your report to the list.

Thanks,

Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX





>Here is the dump from cygcheck
>
>Thanks for your help,
>
>Yves.
>
>
>
>
>
>
>>From: "Larry Hall (RFK Partners, Inc)" <[EMAIL PROTECTED]>
>>To: "Yves Petinot" <[EMAIL PROTECTED]>,[EMAIL PROTECTED]
>>Subject: Re: silly question
>>Date: Wed, 22 Jan 2003 22:00:01 -0500
>>
>>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 commands such as "cp", "ls", "rm" to be installed. This is 
>troublesome and it seems to prevent more complex features to be properly installed : 
>i tried downloading and installing all the packages listed through the internet 
>installation, but i still cannot get these commands to be available,
>> >
>> >any suggestion on what i should do ?
>>
>>
>>
>>Yes.  Check out , particularly the portion
>>regarding cygcheck.
>>
>>
>>Larry Hall  [EMAIL PROTECTED]
>>RFK Partners, Inc.  http://www.rfk.com
>>838 Washington Street   (508) 893-9779 - RFK Office
>>Holliston, MA 01746 (508) 893-9889 - FAX
>
>
>_
>MSN Search, le moteur de recherche qui pense comme vous !  
>http://search.msn.fr/worldwide.asp
>
>


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Jan 22 22:12:14 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:   C:\yves\cygwin\usr\local\bin
C:\yves\cygwin\bin
C:\yves\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\im\bin
C:\yves\cygwin\usr\X11R6\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `C:\yves\cygwin'
MAKE_MODE = `unix'
PWD = `/'
USER = `ypetinot'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\ypetinot\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `WORKSTATION9'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
IDM_BASE_DIR = `C:\im'
IDM_BIN_DIR = `C:\im\bin'
IDM_CS_TIMEOUT = `45'
IDM_HLP_DIR = `C:\im\bin'
IDM_SLIQ_SHRINK_FACTOR = `1'
IDM_SLIQ_STRETCH_FACTOR = `1.1'
LANG = `en_US'
LC_ALL = `en_US.IBM-1252'
LOCPATH = `C:\im\locale'
LOGONSERVER = `\\EBRC-ELAB'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0803'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\ypetinot\LOCALS~1\Temp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/1.6.4,}'
TMP = `c:\DOCUME~1\ypetinot\LOCALS~1\Temp'
USERDNSDOMAIN = `ebrc'
USERDOMAIN = `EBRC'
USERNAME = `ypetinot'
USERPROFILE = `C:\Documents and Settings\ypetinot'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\yves\cygwin'
  flags = 0x0002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\yves\cygwin/bin'
  flags = 0x0002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\yves\cygwin/lib'
  flags = 0x0002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts 
v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\yves\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x0002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACH

[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 permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 to cygwin?
3. Is there any possibility to have windows like or Gnome like Xwindows
on cygwin?

Looking forward to your reply.

Thanks and Regards
SKumar


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




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 is it possible to login from neibhour
m/c to cygwin?
3. Is there any possibility to have windows like or Gnome like Xwindows
on cygwin?

Looking forward to your reply.



Somehow, I doubt that...

Your message was sent to the wrong list, which I suppose is an honest 
mistake, but making it a reply to Chris' announcement about the 
restoration of the mail list search service is really not acceptable.

I have corrected the subject and redirected this message to the proper list.

Randall Schulz


Thanks and Regards
SKumar



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/