Re: What's the problem with find?

2004-05-07 Thread Alvyn Liang
Sorry, I just wanna know why I used 'find' several days before and it worked fine 
(without any error message).
After something unclear happened, cygdrive appear to my root. And I don't know if it 
is related, find any file from the root up
always encounter the error of saying
find: /cygdrive/c/Documents and Settings/Administrator: No such file or directory
and then it stops searching.
If this message bothered you I would say I am very sorry for that. That's the reason I 
attached my cygcheck for reference.
But since then I haven't got any message that really work for me. And, no one had told 
me anything I can do or any further
information I shall provide to make this "misleading" behavior to be clarified.
However, I don't know if this thread is still under surveillance and I still want to 
make myself clear.

Anyway, thank you for reading my message.

- Original Message - 
> At 06:09 PM 5/7/2004, you wrote:
> >Maybe I shall rephrase this.
> >If 'find' command keep looking for files in cygdrive it will always screw up when 
> >it encounter directories that it doesn't have
> >access.
> >
> >- Original Message -
> >> If 'find' command keep looking for files in cygdrive it will always screw up when 
> >> it encounter directories with space in it.
> >> :-(
> >>
> >> Alvyn
>
>
> Your phrasing is still a bit off.  First, this has nothing to do with
> cygdrive.  You'll get the same message from any file or directory in
> any mounted or unmounted file system if you don't have access to it.
> I'd also suggest that "screw up" is a colloquial term that really doesn't
> define the behavior you're seeing very well.  I'd say that it's fair to
> call the message returned a bit misleading.  Anyway, I doubt phrasing is
> all that important.  If you feel there's a problem here that needs
> immediate attention, you might want to consider a patch.  If you just
> wanted to report behavior, consider it done.
>
>
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: ncftp: Who are you?

2004-05-07 Thread Andrew DeFaria
Corinna Vinschen wrote:

On May 7 11:26, Andrew DeFaria wrote:

When I use ncftp I get the following:

Who are you?
You have a user id number of 13307, but no username associated with it.
Problem is my uid is 78843:


78843-13307=65536

That's no coincidence. ncftp has apparently never been rebuilt under 
1.5.x to become 64 bit clean.
This is interesting. So you are saying, since ncftp is not 64 bit, and 
because my userid > 65536 that ncftp maps my uid incorrectly and cannot 
find me in /etc/passwd?
--
One-seventh of your life is spent on Monday.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: GPL violation ?

2004-05-07 Thread Patrick J. LoPresti
Christopher Faylor <[EMAIL PROTECTED]> writes:

> As I am sure you know, mentioning the GPL always starts a Rube
> Goldberg reaction of interpretation from would-be lawyers, zealots,
> or people who are unsatisfied with following the rules and assume
> they should have more rights to the software than the owners of the
> software intend to provide.

Good point.  If only everybody had the same charming personality as
you, we would not have such problems.  What a shame!  Maybe someday...

Personally, I always follow the rules.  I just think it is idiotic to
enforce them on some poor academic distributing unmodified binaries
whose source is widely available.

On the other hand, if some corporation is making money distributing
GPL'd code without source, they should clearly be nailed to the wall.
Here's wishing the best to Red Hat's lawyers.

 - Pat "YANALATEYHSMBSI" LoPresti

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Autarkic fortune/strfile usage possible?

2004-05-07 Thread Christopher Faylor
On Sat, May 08, 2004 at 12:17:50AM +0200, Hannu E K Nevalainen wrote:
>>From: Christopher Faylor
>>Sent: Friday, May 07, 2004 5:48 AM
>
>>On Thu, May 06, 2004 at 10:18:59PM +0200, Hannu E K Nevalainen wrote:
>>>you never pondered a tiny bit on _why_ I wrote the above, did you?
>>
>>Bingo.  You hit the nail on the head.  I barely give most of the
>>things you write more than 30 seconds of consideration.
>
>Well, this simply displays how egocentric you are...  ;-) No offence
>intended.

And now you're down to 15 seconds...

I can see that I'm going to have an extra couple of minutes to add to
my day soon.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cvs HEAD: rlogin broken

2004-05-07 Thread Brian Ford
On Fri, 7 May 2004, Corinna Vinschen wrote:

> On May  7 16:28, Brian Ford wrote:
> > Just a heads up.  Current cvs HEAD cygwin1.dll has broken rlogin.
[snip]
> > I'll look if I have time later, but I thought Corinna might want to know.
>
> WFM(tm)

Darn, I was hoping it would be as easy to reproduce for you as it is for
me.  Ah..., the joys of a hyperthreaded machine, I bet.  I'll see what I
can dig up.  Thanks for the reply.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: What's the problem with find?

2004-05-07 Thread Larry Hall
At 06:09 PM 5/7/2004, you wrote:
>Maybe I shall rephrase this.
>If 'find' command keep looking for files in cygdrive it will always screw up when it 
>encounter directories that it doesn't have
>access.
>
>- Original Message - 
>> If 'find' command keep looking for files in cygdrive it will always screw up when 
>> it encounter directories with space in it.
>> :-(
>>
>> Alvyn


Your phrasing is still a bit off.  First, this has nothing to do with 
cygdrive.  You'll get the same message from any file or directory in 
any mounted or unmounted file system if you don't have access to it.
I'd also suggest that "screw up" is a colloquial term that really doesn't
define the behavior you're seeing very well.  I'd say that it's fair to 
call the message returned a bit misleading.  Anyway, I doubt phrasing is
all that important.  If you feel there's a problem here that needs 
immediate attention, you might want to consider a patch.  If you just
wanted to report behavior, consider it done.


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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: GPL violation ?

2004-05-07 Thread Larry Hall
At 05:53 PM 5/7/2004, you wrote:
>Christopher Faylor <[EMAIL PROTECTED]> writes:
>
>> As I am sure you know, mentioning the GPL always starts a Rube
>> Goldberg reaction of interpretation from would-be lawyers, zealots,
>> or people who are unsatisfied with following the rules and assume
>> they should have more rights to the software than the owners of the
>> software intend to provide.
>
>Good point.  If only everybody had the same charming personality as
>you, we would not have such problems.  What a shame!  Maybe someday...
>
>Personally, I always follow the rules.  I just think it is idiotic to
>enforce them on some poor academic distributing unmodified binaries
>whose source is widely available.
>
>On the other hand, if some corporation is making money distributing
>GPL'd code without source, they should clearly be nailed to the wall.
>Here's wishing the best to Red Hat's lawyers.


Then your gripe is with the GPL.  The point is, whether you agree with 
all the tenants of the license or not, you cannot selectively apply it
based on your own interpretation or preferences.  Doing so renders the 
license unenforceable for every situation, because the license doesn't 
discriminate.  That's why people on this list make the efforts they do to
make sure everyone complies.  We choose to honor the license as it was 
written since that's the only way the license is valid.  Some might 
find the realities of this to be "mean" but that's not the intent really,
FWIW.



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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cvs HEAD: rlogin broken

2004-05-07 Thread Brian Ford
On Fri, 7 May 2004, Brian Ford wrote:

> On Fri, 7 May 2004, Corinna Vinschen wrote:
>
> > On May  7 16:28, Brian Ford wrote:
> > > Just a heads up.  Current cvs HEAD cygwin1.dll has broken rlogin.
> [snip]
> > > I'll look if I have time later, but I thought Corinna might want to know.
> >
> > WFM(tm)
>
> Darn, I was hoping it would be as easy to reproduce for you as it is for
> me.  Ah..., the joys of a hyperthreaded machine, I bet.  I'll see what I
> can dig up.  Thanks for the reply.

I'm about to give up and go home for the weekend.  Here is where rlogin is
stuck in the child process:

#16 0x61049408 in fhandler_socket::wait (this=0x616e50a4, event=0x6e8)
at ../../../../cygwin/winsup/cygwin/fhandler_socket.cc:723
#17 0x61049b92 in fhandler_socket::recvmsg (this=0x616e50a4, msg=0x22eb10,
flags=0, tot=8192) at ../../../../cygwin/winsup/cygwin/fhandler.h:365
#18 0x6104963f in fhandler_socket::readv (this=0x616e50a4, iov=0x22ebc0,
---Type  to continue, or q  to quit---
iovcnt=1, tot=8192)
at ../../../../cygwin/winsup/cygwin/fhandler_socket.cc:800
#19 0x6109fc2e in readv (fd=3, iov=0x22ebc0, iovcnt=1)
at ../../../../cygwin/winsup/cygwin/cygheap.h:303
#20 0x6109f95c in read (fd=3, ptr=0x404070, len=8192)
at ../../../../cygwin/winsup/cygwin/syscalls.cc:369

just one stupid question...  I'm probably way off base, but it looks like
the WSAEnumNetworkEvents call on line 726 of fhandler_socket.cc might
return events for the parent process's copy of the socket as well as the
child's in a forked process.  Could that be an issue?

I'm just grasping at straws that I don't understand and trying to be
helpful at the same time :-).

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: ncftp: Who are you?

2004-05-07 Thread Corinna Vinschen
On May  7 14:59, Andrew DeFaria wrote:
> Corinna Vinschen wrote:
> >78843-13307=65536
> >
> >That's no coincidence. ncftp has apparently never been rebuilt under 
> >1.5.x to become 64 bit clean.
> 
> This is interesting. So you are saying, since ncftp is not 64 bit, and 
> because my userid > 65536 that ncftp maps my uid incorrectly and cannot 
> find me in /etc/passwd?

32 bit clean in terms of uids and gids.  The switch from 1.3.x to
1.5.x changed more than just one datatype size.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: What's the problem with find?

2004-05-07 Thread Alvyn Liang
Maybe I shall rephrase this.
If 'find' command keep looking for files in cygdrive it will always screw up when it 
encounter directories that it doesn't have
access.

- Original Message - 
> If 'find' command keep looking for files in cygdrive it will always screw up when it 
> encounter directories with space in it.
> :-(
>
> Alvyn



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: How to install info files?

2004-05-07 Thread Clint Bennion

> When try "info gdb", I get an error message "info: dir: No such file or
> directory".
> GDB is installed on my machine. How I can install the info file?


I have also suffered from this issue on a new install.  I am not an expert but since 
no one has
responded maybe my solution will help.

I modified the /etc/profile file.  I will give you the original line commented out and 
the new
line.

#INFOPATH="/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:$INFOPATH"
INFOPATH="/usr/share/info"
export INFOPATH


Older places that I have installed cygwin did not have these lines at all, and 
interestingly
didn't have the INFOPATH env variable set but info still works.  My new install did 
need the
INFOPATH env variable set.

I tried many variations on this variable.  For example even tried
INFOPATH="/usr/share/info:$INFOPATH"

And the extra colon in the var caused it to fail.  I am thinking that if there is any 
path without
the "dir" file it will cause problems.  I had dir files in /usr/share/info and 
/usr/local/info but
the file in /usr/local/info was empty (zero bytes).

Maybe if there is a real problem this will help someone track it down.


Clint




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Using Setup.exe to uninstall - bogus

2004-05-07 Thread Lex Ein
If there exists a sensible method for trimming the bulk of an existing
Cygwin installation on a running disk-limited REMOTE system accessible
only via ssh, I'd love to know it.  I've completely lost patience.

On a remote system, I've been trying to uninstall large chunks of Cygwin
(x, db). Using Setup.exe to do this is like playing Whack-a-Mole, and is
extremely frustrating.

The "Keep | Reinstall | Source | Version1 | Version2...| Uninstall"
click-to-rotate control forces dependancies both far and near while I'm
trying to _reach_ Uninstall.  Uninstall LEAVES THOSE DEPENDANCIES
ACTIVATED.  

Without a way to select Uninstall without clocking through all the other
dependancy activators, it's impossible to remove features and all their
dependancies stickily.

In fact, the very process of trying to do this piece by piece has
resulted in masses of other crap being installed which I don't need. 
It's rather disturbing, as I'm running out of space on the remote system.

L

flames->dev/null

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Autarkic fortune/strfile usage possible?

2004-05-07 Thread Hannu E K Nevalainen
> From: Christopher Faylor
> Sent: Friday, May 07, 2004 5:48 AM

> On Thu, May 06, 2004 at 10:18:59PM +0200, Hannu E K Nevalainen wrote:
> >you never pondered a tiny bit on _why_ I wrote the above, did you?
>
> Bingo.  You hit the nail on the head.  I barely give most of the
> things you write more than 30 seconds of consideration.

 Well, this simply displays how egocentric you are... ;-)
No offence intended.

>
> And, oddly enough, I am still leading a rich and fullfilling
> life.  Go figger.
>
> cgf

 That's not a problem for me. What I'm trying to get YOU to grasp - is how
those first time visitors (readers or whatever) get offended by your "WJM"
attitude.
IMO this attitude has a negative influence on how well you promote cygwin.

 But then, that might not have any influence on your well beeing.
"Go figger."
IMO you're a strange fellow. ;-)
Aren't we a perfect couple, eh? ;-))

Now I've broken my own "EOT/Nuff said" twice, I usually don't.

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: What's the problem with find?

2004-05-07 Thread Alvyn Liang
After I re-examine my root path I found there is something different in my /.
When I type ls I get

drwx--+   4 mcdikcl2 None0 Apr 20 13:50 bin
dr-xr-xr-x7 00   0 Jan  1  1970 cygdrive
drwx--+  26 mcdikcl2 None0 Apr  7 13:46 etc
-rw-r--r--1 mcdikcl2 None 4908 Apr 18 04:07 exit
drwx--+   4 mcdikcl2 None0 Apr  7 13:42 home
drwx--+  38 mcdikcl2 None0 Apr  9 12:12 lib
drwx--+   5 mcdikcl2 None0 Apr  7 14:00 opt
drwx--+   2 mcdikcl2 None0 Apr  7 12:04 sbin
drwx--+  13 mcdikcl2 None0 May  7 14:02 tmp
drwx--+  23 mcdikcl2 None0 Apr  7 13:44 usr
drwx--+  12 mcdikcl2 None0 Apr  7 13:18 var

but I think I didn't have cygdrive show as a directory on this command before.
I remind few weeks ago, I was looking for the mounted cygdrive it was not shown on the 
root path, but I was able to cd into cygdrive
by typing

cd cygdrive/

I don't know why it started to show up since I started to use cygdrives.
If 'find' command keep looking for files in cygdrive it will always screw up when it 
encounter directories with space in it.
:-(

Alvyn

- Original Message - by Eric Hanchrow

> > "Alvyn" == Alvyn Liang <[EMAIL PROTECTED]> writes:
>
> Alvyn> find: /cygdrive/c/Documents and Settings/Administrator: No such file or 
> directory
>
> Just a guess: the space in the file name is screwing you up.   Try
> mounting your root directory elsewhere; the traditional mount point
> is c:\cygwin.
> --
> "I said, `Shut up!' " Ms. Glass recalled ... " `You do not!
> Oh my God! Oh my God! Oh my God!' So I went to Nina, my boss, and
> said, `Oh my God! Oh my God! Oh my God!' "
>
> --- Julie Salamon, in the New York Times



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cvs HEAD: rlogin broken

2004-05-07 Thread Corinna Vinschen
On May  7 16:28, Brian Ford wrote:
> Just a heads up.  Current cvs HEAD cygwin1.dll has broken rlogin.  I get
> either:
> 
> [EMAIL PROTECTED] ~
> $ rlogin fordpc
> rlogin: read: No buffer space available
>rlogin: connection closed.
> 
> or:
> 
> [EMAIL PROTECTED] ~
> $ rlogin fordpc
> Password:
> [hang here]
> 
> when trying to rlogin to my own Cygwin machine via inetd from a
> bash/rxvt console.  Additionally, when rlogging in to a remote Solaris 2.8
> system passwordless via host.equiv, I get the prompt on the remote system,
> but I can't type any commands.
> 
> I'll look if I have time later, but I thought Corinna might want to know.

WFM(tm)

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: /dev/mem & /dev/kmem CYGWIN_NT-5.0 1.5.9(0.112/4/2) 2004-03-18 23:05

2004-05-07 Thread Corinna Vinschen
On May  7 22:45, h.h wrote:
> I have used cygwin for several years. I vuagly remember that I could do 
> strings or grep on /dev/mem and /dev/kmem. I think it does not work 
> anymore under Windows 2000. I'm unsure if this is due to the security 
> hotfixes from microsoft or some other code change.
> 
> In the process of trying different things out I also applied the 
> special-devices.sh as in an other newsgroup message. I did not work. I 
> did then login as administrator to redo the script. I also played around 
> with export CYGWIN=ntsec and starting the cygserver. Still no success.

Nope, that's not your fault.  /dev/mem doesn't work up to and including
the current developers snapshot.  I've fixed it in CVS now.  It should
work again in the next snapshot and the upcoming 1.5.10 version.


Thanks for the report,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



cvs HEAD: rlogin broken

2004-05-07 Thread Brian Ford
Just a heads up.  Current cvs HEAD cygwin1.dll has broken rlogin.  I get
either:

[EMAIL PROTECTED] ~
$ rlogin fordpc
rlogin: read: No buffer space available
   rlogin: connection closed.

or:

[EMAIL PROTECTED] ~
$ rlogin fordpc
Password:
[hang here]

when trying to rlogin to my own Cygwin machine via inetd from a
bash/rxvt console.  Additionally, when rlogging in to a remote Solaris 2.8
system passwordless via host.equiv, I get the prompt on the remote system,
but I can't type any commands.

I'll look if I have time later, but I thought Corinna might want to know.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: ncftp: Who are you?

2004-05-07 Thread Corinna Vinschen
On May  7 11:26, Andrew DeFaria wrote:
> When I use ncftp I get the following:
> 
> Who are you?
> You have a user id number of 13307, but no username associated with it.
> 
> Problem is my uid is 78843:

78843-13307=65536

That's no coincidence.  ncftp has apparently never been rebuilt under
1.5.x to become 64 bit clean.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] New package: neon-0.24.5-1

2004-05-07 Thread Max Bowsher
Neon, a WebDAV client library, is now a part of the Cygwin distribution.


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.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.

If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place.  This includes ideas and comments about the
setup utility or Cygwin in general.


Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



/dev/mem & /dev/kmem CYGWIN_NT-5.0 1.5.9(0.112/4/2) 2004-03-18 23:05

2004-05-07 Thread h.h
I have used cygwin for several years. I vuagly remember that I could do 
strings or grep on /dev/mem and /dev/kmem. I think it does not work 
anymore under Windows 2000. I'm unsure if this is due to the security 
hotfixes from microsoft or some other code change.

In the process of trying different things out I also applied the 
special-devices.sh as in an other newsgroup message. I did not work. I 
did then login as administrator to redo the script. I also played around 
with export CYGWIN=ntsec and starting the cygserver. Still no success.

Thank you and best regards.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


CYGWIN Setup: Why is next button grayed

2004-05-07 Thread Jesus Cabral Rdz
I downloaded the file setup.exe
then I ran the download from internet option, to avoid
delay because of internet connection failure, and when
I was sure the setup downloaded all the files, I tried
to run setup install from local directory, but the
setup never enabled the next key to install, then  I
selected install from internet, and it was ok.

For testing purposes, I copied the software to another
computer, but again the next key is grayed, but in
this case for all options 
"Install from internet"
"Download from internet"
"Install from local directory"

Do you have any idea of why is this occurring??

Regards




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: What's the problem with find?

2004-05-07 Thread Shankar Unni
Alvyn Liang wrote:

$ find / -name 'inline*'
find: /cygdrive/c/Documents and Settings/Administrator: No such file or directory
There's nothing wrong here. It's just that you don't have permission to 
open the Administrator home directory.

On Windows, sometimes you'll see the "no such file or directory" error 
when you try to stat a directory or file to which you have no access. 
Try "ls -l C:/" : you'll see errors like the following:

$ ls -l c:/
ls: c:/hiberfil.sys: No such file or directory
ls: c:/pagefile.sys: No such file or directory
total 1085
-rwxrwx---+   1 Administ Administ0 Sep  3  2002 AUTOEXEC.BAT
  ...
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


ncftp: Who are you?

2004-05-07 Thread Andrew DeFaria
When I use ncftp I get the following:

Who are you?
You have a user id number of 13307, but no username associated with it.
Problem is my uid is 78843:

$ id
uid=78843(TPAD3741) gid=10513(Domain Users) 
groups=75769(CCADMIN),77432(CC-PMO),10513(Domain Users),11457(Internet 
Access2),12069(IS Employees),19179(VPN Access),11550(VSS 
Users),0(root),544(Administrators),547(Power Users),545(Users)

and 13307 doesn't even exist in /etc/passwd!
--
ASCII stupid question, get a stupid ANSI!
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: CRON problems

2004-05-07 Thread Andrew DeFaria
Igor Pechtchanski wrote:

On Fri, 7 May 2004, Andrew DeFaria wrote:

Igor Pechtchanski wrote:

On Fri, 7 May 2004, Brian Dessent wrote:

Andrew DeFaria wrote:

# Install cron service:
cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e 
"[EMAIL PROTECTED]" -e "CYGWIN=ntsec"
^^
As an aside, hasn't 'ntsec' been enabled by default for a long time
now? Or am I just remembering incorrectly?
Brian
You are remembering correctly -- "ntsec" was enabled by default back
in the 1.3.* days. That makes the above redundant but harmless. Having
"ntsec" in your $CYGWIN also serves as reminder/documentation for the
actual option values (even if they are the default).
CYGWIN=ntsec is not the default for inetd --install-as-service. Perhaps
it should be...


Huh? Do you mean "inetd --install-as-service" actually puts "nontsec" in
$CYGWIN? Otherwise, if "ntsec" is not specified, it's on (which is what
Brian said, too).
Actually I guess you are right - but I have not tested it. Back when I 
first started dealing with inetd and using --install-as-service ntsec 
was not the default.

In any event, some people might want to have not only ntsec but also 
smbntsec set in the CYGWIN environement variable for things like services.
--
Proofread carefully to see if you any words out.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Email Subject Line or Content not allowed.

2004-05-07 Thread Trinity_Gateway
The subject line or content of your email message violates our corporate email 
acceptance policy.

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

File(s): www.chsd.org.astahmer.session-63DE.com

Matching filename: *.com



If you feel that you have received this message in error, please contact the 
Children's Hospital of San Diego  Computer Help Desk at (858) 576-1700 x5177 or via 
email at [EMAIL PROTECTED]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: echo $HOME returns /cygdrive/c/documents and setting/mrane

2004-05-07 Thread Christopher Faylor
On Thu, May 06, 2004 at 07:40:56PM +0200, Reini Urban wrote:
>Sure, mount is the method which is used more often.
>And it is faster and easier.
>But it is not as transparent to the poor end-user as the symlinks.
>He will not see /home when doing "ls /"

  mkdir /home
  mount -b "C:/Documents and Settings" /home

Either that or:

  mkdir /cygdrive/c/cygwin/home

if you have already executed the mount.

Then "ls /" shows the home directory.

This is, IMO, closer to the UNIX way of doing things than using a
symlink.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [Patch] Fix gethwnd race

2004-05-07 Thread Christopher Faylor
On Fri, May 07, 2004 at 05:53:18PM +0200, Jacek Trzmiel wrote:
>BTW.  Which list is more appropriate for such questions cygwin or
>cygwin-patches?

The mailing list descriptions are here: http://cygwin.com/lists.html .

Unless Brian is showing some signs of not being able to respond to
feedback I don't see a lot of benefit in helping you in trying to figure
out how to fix this problem since there is a very good chance that Brian
will soon be providing us all with an excellent example of how to do so.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



sourceware downtime

2004-05-07 Thread Frank Ch. Eigler
Hi -

Sorry for the short notice, but circumstances apparently conspired
to make necessary what will hopefully be a quick outage of the
sourceware.org/gcc.gnu.org/sources.redhat.com/cygwin machine.


- Forwarded message from Matthew Galgoci <[EMAIL PROTECTED]> -
> Date: Fri, 7 May 2004 11:48:41 -0400 (EDT)
> From: Matthew Galgoci <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: down time
> 
> I need to schedule some downtime for sourceware.
> 
> Sourceware will need to be re-ip'd, and upgraded to 4GB of ram.
> The reason for the re-ip is that the machine is coming back to my 
> machine room and will live on a dedicated hosting network. The ram 
> upgrade is courtesy of Red Hat.
> 
> I would like to do this preferably today if nobody objects too much, or
> sometime this weekend. I was thinking that if I do it in the middle of the
> afternoon folks could do a long lunch.
> 
> I don't anticipate the downtime will be more than 2 hrs.
> 
> Aye? Nay?
> 
> -- 
> Matthew Galgoci
> System Administrator and Sr. Manager of Ruminants
> Red Hat, Inc
> 919.754.3700 x44155
- End forwarded message -


pgp0.pgp
Description: PGP signature


Re: gethostname is thread-safe?

2004-05-07 Thread Jacek Trzmiel

> THE ERROR IS:
> ERROR gethostbyname() failed, h_errno=-1
> Description: (null)
> ERROR socket() failed, Errno= 1
> Description: Operation not permitted

http://cygwin.com/ml/cygwin/2004-05/msg00191.html

Best regards,
Jacek.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



gethostname is thread-safe?

2004-05-07 Thread electa
i'm using gethostname in a multithreaded code ando sometimes i get error. i
think it's not a bug of my code (and i post it) because it does not happed
always, but sometimes.

maybe gethostname() thread-unsafe?

the code:

in_addr_t get_my_IP()

{

char name[255]; //store my hostname (hostname are limited to 255chars)

struct hostent * hostent_ptr = NULL;

in_addr_t iserror = 0;

int ret;

ret = gethostname (name, 255);

if(ret == -1) {

printf ("ERROR gethostname() failed, Errno=%d \nDescription: %s\n", errno,

strerror(errno));

iserror = 1;

}

hostent_ptr = gethostbyname(name);

if(hostent_ptr == NULL)

{

printf ("ERROR gethostbyname() failed, h_errno=%d \nDescription: %s\n",
h_errno, hstrerror(h_errno));

iserror = 1;

}

if (iserror == 0) {

//h_addr_list contains IPs of this host in network byte order

return ((struct in_addr *)hostent_ptr->h_addr_list[0])->s_addr;

//get the first IP.

} else { // use getsockname() technique

return get_my_ip_getsockname();

}

}



in_addr_t get_my_ip_getsockname()

{

int socketfd;

struct sockaddr_in local;

socklen_t socklen;

int ret;


/* get a datagram socket (UDP)) */

socketfd = socket(AF_INET, SOCK_DGRAM, 0);

if (socketfd == -1) {

printf("ERROR socket() failed, Errno= %d\nDescription: %s\n",errno,

strerror(errno));

return 0;

}


memset(&local, 0, sizeof(local));

socklen = sizeof(local);

ret = getsockname(socketfd, (struct sockaddr *)&local, &socklen);

if (ret == -1) {

printf("ERROR getsockname() failed, Errno=%d\nDescription: %s\n",

errno, strerror(errno));

return 0;

}

close(socketfd);

return local.sin_addr.s_addr;

}



THE ERROR IS:

ERROR gethostbyname() failed, h_errno=-1

Description: (null)

ERROR socket() failed, Errno= 1

Description: Operation not permitted

ERROR Aggregation: get_my_IP() failed






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [Patch] Fix gethwnd race

2004-05-07 Thread Jacek Trzmiel

(Redirected from cygwin-patches)
http://cygwin.com/ml/cygwin-patches/2004-q2/msg00082.html

>>> On Thu, May 06, 2004 at 07:18:39PM -0500, Brian Ford wrote:
Although not the complete rewrite you may have been hoping for, the
attached patch does appear to fix the: Winmain: Cannot register window
class, Win32 error 1410 portion of this bug:
http://www.cygwin.com/ml/cygwin/2004-05/msg00232.html

>>Christopher Faylor wrote:
>>>Thanks, but, I see that you're using busy loops.  I use those in places
>>>where I have no choice but to do so or when the potential for a race is
>>>unlikely.
>>>
>>>I don't think that this is really a situation that qualifies for
>>>either.  It seems like a muto is a cleaner choice here.

>On Fri, May 07, 2004 at 04:51:42PM +0200, Jacek Trzmiel wrote:
>>I can change it to use critical section.  I just have one question -
>>where would be good place to put InitializeCriticalSection call?

Christopher Faylor wrote:
> Please read what I said: "It seems like a muto is a cleaner choice
> here."  muto != critical section.

I've realized what you have meant by writing 'muto' just after sending
mail - found it in sync.h.

> I'm sure Brian can make the appropriate changes.  Let's give him the
> opportunity to do so.

I'm sure he can.  However I don't see anything wrong with with trying to
patch it myself.  Even if my patch won't be accepted, I can learn
something new by writing it.  Just need a little helping hand from
someone familiar with cygwin sources: where will be good place to put
new_muto() call?

BTW. Which list is more appropriate for such questions cygwin or
cygwin-patches?

Best regards,
Jacek.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: CRON problems

2004-05-07 Thread Igor Pechtchanski
On Fri, 7 May 2004, Andrew DeFaria wrote:

> Igor Pechtchanski wrote:
>
> > On Fri, 7 May 2004, Brian Dessent wrote:
> >
> >> Andrew DeFaria wrote:
> >>
> >>> # Install cron service:
> >>> cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e "[EMAIL 
> >>> PROTECTED]" -e "CYGWIN=ntsec"
> >>   
> >>   ^^
> >> As an aside, hasn't 'ntsec' been enabled by default for a long time
> >> now? Or am I just remembering incorrectly?
> >>
> >> Brian
> >
> > You are remembering correctly -- "ntsec" was enabled by default back
> > in the 1.3.* days. That makes the above redundant but harmless. Having
> > "ntsec" in your $CYGWIN also serves as reminder/documentation for the
> > actual option values (even if they are the default).
>
> CYGWIN=ntsec is not the default for inetd --install-as-service. Perhaps
> it should be...

Huh?  Do you mean "inetd --install-as-service" actually puts "nontsec" in
$CYGWIN?  Otherwise, if "ntsec" is not specified, it's on (which is what
Brian said, too).

> Then again, perhaps --install-as-service should be removed and users
> instructed to use cygrunsrv instead...

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

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: CRON problems

2004-05-07 Thread Andrew DeFaria
Igor Pechtchanski wrote:

On Fri, 7 May 2004, Brian Dessent wrote:

Andrew DeFaria wrote:

# Install cron service:
cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e 
"[EMAIL PROTECTED]" -e "CYGWIN=ntsec"
^^
As an aside, hasn't 'ntsec' been enabled by default for a long time
now? Or am I just remembering incorrectly?
Brian


You are remembering correctly -- "ntsec" was enabled by default back 
in the 1.3.* days. That makes the above redundant but harmless. Having 
"ntsec" in your $CYGWIN also serves as reminder/documentation for the 
actual option values (even if they are the default).
CYGWIN=ntsec is not the default for inetd --install-as-service. Perhaps 
it should be... Then again, perhaps --install-as-service should be 
removed and users instructed to use cygrunsrv instead...
--
What's another word for thesaurus?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


RE: CRON problems

2004-05-07 Thread Igor Pechtchanski
On Fri, 7 May 2004, Harig, Mark wrote:

> > Two places to look for the actual error are /var/log/cron.log and the
> > Windows event log.  Perhaps Mark can add this to the output of his
> > script...
> >   Igor
>
> I assume that what you are suggesting is that some
> text pointing the user to /var/log/cron.log be added,
> not actually displaying the log file.  Is this correct?

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

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: CRON problems

2004-05-07 Thread Andrew DeFaria
Brian Dessent wrote:

Andrew DeFaria wrote:

# Install cron service:
cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e
"[EMAIL PROTECTED]" -e "CYGWIN=ntsec"
^^

As an aside, hasn't 'ntsec' been enabled by default for a long time7 
now? Or am I just remembering incorrectly?
Not sure. I believe I developed this script either before it was or I 
simply didn't know for sure to I stuck it in.

I would also remove the MAILTO... @Salira.com.. :-)

--
Budget: A method for going broke methodically.
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


RE: CRON problems

2004-05-07 Thread Harig, Mark
Please delete respondents' email addresses
from any replies.  Spammers harvest
email addresses from mailing lists.

> -Original Message-
> From: Hank Statscewich
> Sent: Thursday, May 06, 2004 7:13 PM
> To: Harig, Mark
> cc: [EMAIL PROTECTED]
> Subject: RE: CRON problems
> 
> 
> Quoting "Harig, Mark" <[EMAIL PROTECTED]>:

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Bugs in nfs-server package. Att: package maintainers.

2004-05-07 Thread Igor Pechtchanski
On Fri, 7 May 2004, Silver, David (Contractor) wrote:

> Hi,
>
> I'm writing to report two bugs in the nfs-server package.  By my reading
> of the Cygwin docs, posting to this list is the correct procedure, so forgive
> me if that's not the case.

The correct place to report bugs in each Cygwin package should be stated
clearly in the announcement for the package (it's not always the Cygwin
list, BTW).  Googling for " announcement cygwin" usually
pulls up the right message.

> I have checked the mailing list archives and only seen an obtuse
> reference to problem (1) and a brief mention of problem (2) as something
> that fixes itself.  In my experience, and by examination of the current
> version of the script, I would say that is unlikely.
>
> The problems:
> (1) The sunrpc package should be listed as a dependency of nfs-server.

This is quite possibly correct.

> (2) nfs-server-config incorrectly complains about my mount
> configuration.  A transcript of output follows.

The next section should have followed the output, and been clearly marked
as a WAG (as that's exactly what it is).  See below.

> The reason for the error is that the script is written as a Bourne
> shell script (/bin/sh) but the following line:
>if ! /bin/mount -m | /bin/grep -q ' -s .*"/"'; then
> is Bash/Ksh syntax (the Bourne shell doesn't like "if !").
> Switching over to Bash would fix that nicely.

This is a red herring.  The following works just fine:

sh -c "! false && echo 'hey!'"  # prints "hey!"
sh -c "! true  || echo 'hey!'"  # prints "hey!"

The problem is not that '!' is not recognized by the shell (it is), but
that "sh" interprets "! a | b" differently than "bash".  In "sh", the pipe
takes priority over the negation, whereas in bash it doesn't.  Also, "sh"
treats '!' as just a modifier for a spawned command, but in bash, it's
treated specially.  So, for this to work in "sh" (but not in "bash",
incidentally), this needs to be

if /bin/mount -m | ! /bin/grep -q ' -s .*"/"'; then ...

For this to work in both "sh" and "bash", unambiguously, a subshell needs
to be spawned, either by

if ! (/bin/mount -m | /bin/grep -q ' -s .*"/"'); then ...

or by

if /bin/mount -m | (! /bin/grep -q ' -s .*"/"'); then ...

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

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: CRON problems

2004-05-07 Thread Harig, Mark
> 
> Two places to look for the actual error are /var/log/cron.log and the
> Windows event log.  Perhaps Mark can add this to the output of his
> script...
>   Igor
> -- 

I assume that what you are suggesting is that some
text pointing the user to /var/log/cron.log be added,
not actually displaying the log file.  Is this correct?

I am hesitant to display the contents of the log
file because it adds to the text displayed, and there
have been a number of problems reported simply
because users do not read the output of the
script carefully.  In addition, the log can get
long.

---

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: CRON problems

2004-05-07 Thread Harig, Mark
> 
> Hmm, seems to me like checking ownership and permissions of cron.pid
> would be something the cron_diagnose.sh should do.  What happened was
> that you ran it initially as your normal user account, and 
> the pid file
> was created.  Then when you tried to start it as a service, it was
> running as the SYSTEM account which didn't have permissions 
> to overwrite
> the file.  The solution would be to either just remove it and let cron
> recreate it, or "chown SYSTEM:SYSTEM /var/run/cron.pid".  
> Then you could
> give it more restrictive permissions than 777, perhaps 640 or 600.
> 

At present, the diagnostic script only checks for the existence of
/var/run/cron.pid and, if found, suggests that the user delete it
before reinstalling/restarting the cron service.

I agree that the script should check for SYSTEM.SYSTEM ownership
and 640 permissions, but I have not been able to find any
documentation specifying this.  Can anyone please point me to
some that specifies what the ownership and permissions of cron.pid
should be?  Of course, if users simply do what cron_diagnose.sh
suggests today, that should resolve this particular problem (i.e.,
not being able to write to the cron.pid file).

---

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: CRON problems

2004-05-07 Thread Igor Pechtchanski
On Fri, 7 May 2004, Brian Dessent wrote:

> Andrew DeFaria wrote:
>
> >   # Install cron service:
> >   cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e "[EMAIL 
> > PROTECTED]" -e "CYGWIN=ntsec"
>  
>   ^^
> As an aside, hasn't 'ntsec' been enabled by default for a long time
> now?  Or am I just remembering incorrectly?
>
> Brian

You are remembering correctly -- "ntsec" was enabled by default back in
the 1.3.* days.  That makes the above redundant but harmless.  Having
"ntsec" in your $CYGWIN also serves as reminder/documentation for the
actual option values (even if they are the default).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: GPL violation ?

2004-05-07 Thread Buchbinder, Barry (NIH/NIAID)
Though IANAL, I would suggest that the "exchange of something of value" is
the ability to have one's code included in in cygwin as distributed via
setup.  (Thus, the thing of value is a service, not an object.)  One might
reasonably suppose that the contributor wants cygwin to have the
functionality that s/he is contributing.  In this analysis, what one gives
(the code) is commensurate in scope with what gets (the inclusion of the
code).  And even if one is contributing functionality that one will not
oneself use, arguably the psychological rewards and practical benefits of
having code included in the standard release, as opposed to a private build,
to compensate for the transfer of copyright on the code.

-Original Message-
From: Dave Korn
Sent: Thursday, May 06, 2004 1:33 PM
To: [EMAIL PROTECTED]
Subject: RE: GPL violation ?

> -Original Message-
> From: cygwin-owner On Behalf Of Christopher Faylor
> Sent: 06 May 2004 16:56

> On Wed, May 05, 2004 at 07:08:59PM +0100, Vince Hoffman wrote:
> >This comes up on here every now and then and if i didnt 
> think it was a
> >possible issue i wouldnt have brought it up.  Mind you IANAL 

http://cygwin.com/acronyms/#YANALATEYHSMBSI :) lol!

  However, the real point I wanted to mention is that
http://cygwin.com/assign.txt seems almost certain to be invalid under UK
law, and quite possibly under US law too.

  You can't have a contract without an exchange of something of value.
Hence the line about "For good and valuable consideration, receipt of which
I acknowledge".  But *what* consideration?  AFAICS, since nobody's ever been
paid so much as a wooden nickel for their cygwin contributions, every claim
to have been in receipt of such consideration is false, and so every single
one of the supposed contracts is currently in breach and therefore none of
the assignments are valid.

  I'm slightly alarmed to notice this and wonder what the RH legal team have
to say about it?  I think the RH lawyers may need to spend some time sending
people peppercorns through the post, along with a letter apologising for the
late payment!

[  Here are some references for anyone who wants to research this themselves
a bit:

http://www.google.com/search?q=peppercorn+rent+contract+validity&hl=en&lr=&i
e=UTF-8&oe=UTF-8

http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=sufficiency+of+ex
change+contract+validity+peppercorn

http://www.encyclopedia4u.com/c/consideration.html
An illusory promise, or one which the promisor actually has no obligation to
keep, does not count as consideration. The promise must be real and
unconditional.

http://law.wustl.edu/Organizations/SBA/Outlines/Contracts%20-%20OUTLINEBIG.h
tm
b. Saying there is consideration is not consideration, neither is a seal.
Nominal consideration which means nothing is not consideration.  ]

cheers,
  DaveK
-- 
Can't think of a witty .sigline today

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: robots-2.0-4

2004-05-07 Thread Corinna Vinschen
I've updated the version of robots to 2.0-4.

This is a bug fix release which solves problems in reading/writing
the the score files.


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

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.

Note that we do not allow downloads from sources.redhat.com (aka
cygwin.com) due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.  You might have to wait as much
as 24 hours to find a mirror with the updated version of cygwin on it.
Be patient.

If you have questions or comments, please send them to the Cygwin  
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.

If you want to make a point or ask a question, the Cygwin mailing list   
is the appropriate place.  This includes ideas and comments about the
setup utility or Cygwin in general.

  *** 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 need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

I implore you to READ this information before sending email about how
you "tried everything" to unsubscribe.  In 100% of the cases where 
people were unable to unsubscribe, the problem was that they hadn't  
actually read and comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing
list, reading the instructions at the above URL is guaranteed to
provide you with the info that you need.

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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: inetutils-1.3.2-28

2004-05-07 Thread Corinna Vinschen
I've updated the version of inetutils to 1.3.2-28.

Changes in 1.3.2-28:

- Don't require *any* password for anonymous ftp account.  Use Cygwin's
  ability to switch user context w/o password for anonymous ftp instead.
  'ftp' user entry in /etc/passwd and real NT user account behind it
  still required.

=
  IMPORTANT NOTE:

- When updating inetutils, take care that inetd.exe and subsequent
  processes don't run anymore.

=

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.

Run setup and answer all of the questions.

Note that if this is the first time that you've run the new GUI version
of setup, it will currently download the whole cygwin net release again.
After this point it will only download what is needed.

If you have questions or comments, please send them to the Cygwin
mailing list at:  [EMAIL PROTECTED] .  I would appreciate
if you would use this mailing list rather than emailing me directly.
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 to 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]

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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: how to build php in cygwin?

2004-05-07 Thread Reini Urban
Andrew DeFaria schrieb:
Joshua Daniel Franklin wrote:
Well I went to that URL and downloaded 
http://apache.dev.wapme.net/support/cygwin-packages/apache-modules/mod_php4/apache-php-4.2.0-2.tar.bz2, 
bunzip2 and untarred it and ran the postinstall (after first commenting 
out the last line which is an rm which assumes that the preceeding line, 
the rebase, doesn't fail):

$ /etc/postinstall/apache-php.sh
[activating module `php4' in /etc/apache/httpd.conf]
cp libphp4.dll /usr/lib/apache/libphp4.dll
chmod 755 /usr/lib/apache/libphp4.dll
cp /etc/apache/httpd.conf /etc/apache/httpd.conf.bak
cp /etc/apache/httpd.conf.new /etc/apache/httpd.conf
rm /etc/apache/httpd.conf.new
usage: rebase -b BaseAddress [-Vdv] [-o Offset] [-T FileList | -] Files...
After this I cannot start Apache. Running a syntax check:

$ httpd -t
Syntax error on line 238 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 
126
stipe's postinstall.sh has a wrong rebase syntax, the required -b 
parameter is missing.
so before you run /etc/postinstall/apache-php.sh you have to fix it.

The commented line above is fine, but I removed postgres (pq.dll), since 
I don't need that.

my postinstall script looks like this:

#!/bin/sh
module=php4
module_dll=libphp4.dll
prefix=/usr
confdir=/etc
libdir=${prefix}/lib/apache
cd ${libdir}/new
if test -f ${module_dll}; then
  ${prefix}/sbin/apxs -i -a -n ${module} ${module_dll}
fi
rm -f ${libdir}/new/${module_dll}
# removed: ${prefix}/bin/pq.dll
# probably have to add: cygcrypt-0.dll and /usr/bin/cygcrypto-0.9.7.dll
rebase_dlls="${libdir}/${module_dll} /usr/bin/cygcrypto.dll 
/usr/bin/cygbz21.0.dll /usr/bin/cygintl-1.dll /usr/bin/cygxml2-2.dll 
/usr/bin/cygz.dll /usr/bin/cyggdbm.dll"
${prefix}/bin/rebase -v -d -b 0x6800 -o 0x1 ${rebase_dlls}; 
/usr/sbin/httpd
#${prefix}/bin/rebase -v -b 0x7000 ${rebase_dlls}; /usr/sbin/httpd

$ less /usr/share/doc/Cygwin/rebase-2.3.README

$ nano /etc/apache/http.conf
#change the Port 8080, since another apache instance already runs on 80
$ cygcheck /usr/sbin/httpd.exe
# see that some other dll's are also loaded, but they are loaded above 
0x7000

$ pg_ctl stop
# if you keep postgres, you have to shut it down, otherwise you cannot 
rebase it.

$ rebase -v -b 0x7000 ${rebase_dlls}; apachectl start
/usr/lib/apache/libphp4.dll: new base = 7000, new size = 1e
/usr/bin/cygbz21.0.dll: new base = 701e, new size = 2
/usr/bin/cygcrypto.dll: new base = 7020, new size = b
/usr/bin/cygintl-1.dll: new base = 702b, new size = 1
/usr/bin/pq.dll: new base = 702c, new size = 2
/usr/bin/cygxml2-2.dll: new base = 702e, new size = 13
/usr/bin/cygz.dll: new base = 7041, new size = 2
/usr/bin/cyggdbm.dll: new base = 7043, new size = 1
[Fri May  7 10:29:02 2004] [warn] Loaded DSO lib/apache/libphp4.dll uses 
plain Apache 1.3 API, this module might crash under EAPI! (please 
recompile it with -DEAPI)
f:\cygnus\usr\sbin\httpd.exe (3728): *** unable to remap 
f:\cygnus\bin\cygcrypto.dll to same address as parent(0x7020) != 
0x7021
/usr/sbin/apachectl start: httpd could not be started

you have to try to start apache and rebase it again until it works.
now trying downwards from 0x6800 on.
$ rebase -v -d -b 0x6800 ${rebase_dlls}; apachectl start

/usr/lib/apache/libphp4.dll: new base = 67e2, new size = 1e
/usr/bin/cygbz21.0.dll: new base = 67e0, new size = 2
/usr/bin/cygcrypto.dll: new base = 67d5, new size = b
/usr/bin/cygintl-1.dll: new base = 67d4, new size = 1
/usr/bin/pq.dll: new base = 67d2, new size = 2
/usr/bin/cygxml2-2.dll: new base = 67bf, new size = 13
/usr/bin/cygz.dll: new base = 67bd, new size = 2
/usr/bin/cyggdbm.dll: new base = 67bc, new size = 1
[Fri May  7 10:30:58 2004] [warn] Loaded DSO lib/apache/libphp4.dll uses 
plain Apache 1.3 API, this module might crash under EAPI! (please 
recompile it with -DEAPI)
f:\cygnus\usr\sbin\httpd.exe (2580): *** unable to remap 
f:\cygnus\bin\cygssl-0.9.7.dll to same address as parent(0xB6) != 
0xB7
/usr/sbin/apachectl start: httpd could not be started

And now we are at the same position as stipe. Looks like we have to 
recompile httpd without cygcrypt-0
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: GPL violation ?

2004-05-07 Thread Corinna Vinschen
On May  6 19:02, Dave Korn wrote:
> > -Original Message-
> > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] 
> > Sent: 06 May 2004 18:47
> 
> > You do get a T-shirt for filing the assignment, which is 
> > intended to cover
> > all of your subsequent contributions.
> 
>   Ah, that explains it.  Yep, a t-shirt is definitely a "material
> consideration"   
> 
> > In addition to the physical payment of a T-shirt, the 
> > developers get the
> > goodwill of the community, although I don't think this could 
> > be counted as
> > "consideration" under the above definition, no matter how good and
> > valuable it is.
> 
>   And indeed, since the goodwill of the community does not belong to RH, it
> isn't within their purview to give to anyone, and so can't be part of the
> exchange.
> 
>   But the T-shirt does the trick.  Hell, that's worth far more than a
> peppercorn!

Unfortunately only US contributors get the T-shirt these days.  I'll try
to get that straight again. 

Other than that, practically nobody of us IAL and I'm in contact with
our legal department about the Cygwin copyright assignment.  Let them
do their job, we just care for the code, ok?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Bugs in nfs-server package. Att: package maintainers.

2004-05-07 Thread Silver, David (Contractor)
Hi,

I'm writing to report two bugs in the nfs-server package.  By my reading
of the Cygwin docs, posting to this list is the correct procedure, so forgive
me if that's not the case.  I have checked the mailing list archives and only
seen an obtuse reference to problem (1) and a brief mention of problem (2)
as something that fixes itself.  In my experience, and by examination of the
current version of the script, I would say that is unlikely.

The problems:
(1) The sunrpc package should be listed as a dependency of nfs-server.
(2) nfs-server-config incorrectly complains about my mount configuration.  
A transcript of output follows.  The reason for the error is that the script
is written as a Bourne shell script (/bin/sh) but the following line:
if ! /bin/mount -m | /bin/grep -q ' -s .*"/"'; then
is Bash/Ksh syntax (the Bourne shell doesn't like "if !").  Switching over
to Bash would fix that nicely.

Installing portmap as 'Cygwin portmap'
Installing mountd as 'Cygwin mountd'
Installing nfsd as 'Cygwin nfsd'

mount(1) command did not return SYSTEM mount(s).

It looks like you have installed Cygwin for a single user.
Cygwin mount points will not be available to programs installed
as Windows services. This will keep portmap, mountd, and nfsd
from running as Windows services.

In order for portmap, mountd and nfsd to function properly,
you should establish global mount points using the /bin/mount
utility. You can change user-specific Cygwin mount points to
global mount points using the following command:

eval mount -f -s -b "C:/apps/cygwin/usr/X11R6/lib/X11/fonts" 
"/usr/X11R6/lib/X11/fonts";
mount -f -s -b "C:/apps/cygwin/bin" "/usr/bin";
mount -f -s -b "C:/apps/cygwin/lib" "/usr/lib";
mount -f -s -b "C:/apps/cygwin" "/";
mount -f -s -b "c:/home" "/home";
mount -s -b --change-cygdrive-prefix "/mnt";

You current mount -m  listing is:

mount -f -s -b "C:/apps/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts"
mount -f -s -b "C:/apps/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/apps/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/apps/cygwin" "/"
mount -f -s -b "c:/home" "/home"
mount -s -b --change-cygdrive-prefix "/mnt"

Regards,
David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: CRON problems

2004-05-07 Thread Brian Dessent
Andrew DeFaria wrote:

>   # Install cron service:
>   cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e
> "[EMAIL PROTECTED]" -e "CYGWIN=ntsec"
   ^^

As an aside, hasn't 'ntsec' been enabled by default for a long time
now?  Or am I just remembering incorrectly?

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/