Re: HUGE is missing in math.h

2005-06-27 Thread Corinna Vinschen
On Jun 26 09:37, Humberto Bortolossi wrote:
> Hi!
> 
> I'm trying to port a C program written originally in
> Linux to the Microsoft Windows plataform.
> 
> I've realized that math.h under cygwin doesn't
> define the macro HUGE, that is defined in
> the math.h under linux:
> 
> /* Declarations for math functions.
>Copyright (C) 1991-1993,1995-1999,2001,2002 Free Software Foundation, Inc.
>This file is part of the GNU C Library.
>  */
> /* SVID mode specifies returning this large value instead of infinity.  */
> # define HUGE   3.40282347e+38F
> 
> I thought math.h should be quite portable ...

HUGE is not portable.  It's not defined in the standard, see
http://www.opengroup.org/onlinepubs/009695399/basedefs/math.h.html
Use HUGE_VAL instead. 

However, other definitions are missing in math.h, like HUGE_VALF,
HUGE_VALL, INFINITY and NAN.

Since math.h is part of newlib, I've redirect this posting to the
newlib mailing list.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
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/



bash and make are trapped in an endless loop

2005-06-27 Thread Christian Matuszewski
Hi,

if i start a fresh cygwin shell and I enter an asterisk at the prompt:
$ *
then nothing happens. That's OK, although one could expect a message like:
"bash: *: command not found".

But when i execute the following Makefile:
foo:
*

make will print the following lines to stderr:
PROJECT_NAME: not found
PROJECT_NUMBER: not found
OUTPUT_DIRECTORY: not found
CREATE_SUBDIRS: not found
OUTPUT_LANGUAGE: not found
USE_WINDOWS_ENCODING: not found
BRIEF_MEMBER_DESC: not found
REPEAT_BRIEF: not found
ABBREVIATE_BRIEF: not found
ALWAYS_DETAILED_SEC: not found
INLINE_INHERITED_MEMB: not found
FULL_PATH_NAMES: not found
STRIP_FROM_PATH: not found
STRIP_FROM_INC_PATH: not found
SHORT_NAMES: not found
JAVADOC_AUTOBRIEF: not found
MULTILINE_CPP_IS_BRIEF: not found
DETAILS_AT_TOP: not found
INHERIT_DOCS: not found
DISTRIBUTE_GROUP_DOC: not found
SEPARATE_MEMBER_PAGES: not found
TAB_SIZE: not found
ALIASES: not found
OPTIMIZE_OUTPUT_FOR_C: not found
OPTIMIZE_OUTPUT_JAVA: not found
SUBGROUPING: not found
EXTRACT_ALL: not found
EXTRACT_PRIVATE: not found
EXTRACT_STATIC: not found
EXTRACT_LOCAL_CLASSES: not found
EXTRACT_LOCAL_METHODS: not found
HIDE_UNDOC_MEMBERS: not found
HIDE_UNDOC_CLASSES: not found
HIDE_FRIEND_COMPOUNDS: not found
HIDE_IN_BODY_DOCS: not found
INTERNAL_DOCS: not found
CASE_SENSE_NAMES: not found
HIDE_SCOPE_NAMES: not found
SHOW_INCLUDE_FILES: not found
INLINE_INFO: not found
SORT_MEMBER_DOCS: not found
SORT_BRIEF_DOCS: not found
SORT_BY_SCOPE_NAME: not found
GENERATE_TODOLIST: not found
GENERATE_TESTLIST: not found
GENERATE_BUGLIST: not found

and then make stays in an endless loop which prints lines
y
y
y
...
to stdout

When i then kill make with Ctrl-C and enter the asterisk in the command
line, I have the same behaviour, i. e. executing '*' will give the same
messages and ends in an endless loop.


Best regards,

Christian Matuszewski

-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++

Makefile.bug
Description: Binary data


cygcheck.out
Description: Binary data
--
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: bash and make are trapped in an endless loop

2005-06-27 Thread Dave Korn
Original Message
>From: Christian Matuszewski
>Sent: 27 June 2005 12:42

> Hi,
> 
> if i start a fresh cygwin shell and I enter an asterisk at the prompt:
> $ *
> then nothing happens. That's OK, although one could expect a message like:
> "bash: *: command not found".
> 
> But when i execute the following Makefile:
> foo:
> *
> 
> make will print the following lines to stderr:
> PROJECT_NAME: not found
> PROJECT_NUMBER: not found
> OUTPUT_DIRECTORY: not found
> CREATE_SUBDIRS: not found
> OUTPUT_LANGUAGE: not found
> USE_WINDOWS_ENCODING: not found
> BRIEF_MEMBER_DESC: not found
> REPEAT_BRIEF: not found
> ABBREVIATE_BRIEF: not found
> ALWAYS_DETAILED_SEC: not found
> INLINE_INHERITED_MEMB: not found
> FULL_PATH_NAMES: not found
> STRIP_FROM_PATH: not found
> STRIP_FROM_INC_PATH: not found
> SHORT_NAMES: not found
> JAVADOC_AUTOBRIEF: not found
> MULTILINE_CPP_IS_BRIEF: not found
> DETAILS_AT_TOP: not found
> INHERIT_DOCS: not found
> DISTRIBUTE_GROUP_DOC: not found
> SEPARATE_MEMBER_PAGES: not found
> TAB_SIZE: not found
> ALIASES: not found
> OPTIMIZE_OUTPUT_FOR_C: not found
> OPTIMIZE_OUTPUT_JAVA: not found
> SUBGROUPING: not found
> EXTRACT_ALL: not found
> EXTRACT_PRIVATE: not found
> EXTRACT_STATIC: not found
> EXTRACT_LOCAL_CLASSES: not found
> EXTRACT_LOCAL_METHODS: not found
> HIDE_UNDOC_MEMBERS: not found
> HIDE_UNDOC_CLASSES: not found
> HIDE_FRIEND_COMPOUNDS: not found
> HIDE_IN_BODY_DOCS: not found
> INTERNAL_DOCS: not found
> CASE_SENSE_NAMES: not found
> HIDE_SCOPE_NAMES: not found
> SHOW_INCLUDE_FILES: not found
> INLINE_INFO: not found
> SORT_MEMBER_DOCS: not found
> SORT_BRIEF_DOCS: not found
> SORT_BY_SCOPE_NAME: not found
> GENERATE_TODOLIST: not found
> GENERATE_TESTLIST: not found
> GENERATE_BUGLIST: not found
> 
> and then make stays in an endless loop which prints lines
> y
> y
> y
> ...
> to stdout
> 
> When i then kill make with Ctrl-C and enter the asterisk in the command
> line, I have the same behaviour, i. e. executing '*' will give the same
> messages and ends in an endless loop.

  WDDTT! 

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/



Re: NFS errors

2005-06-27 Thread Will Parsons
Larry Hall wrote:
> At 01:59 PM 6/24/2005, you wrote:
>>After an abortive attempt a few months back, I am trying once more to get
>>NFS working (Windows XP, cygwin 1.5.15).  The daemons (portmap, mountd, and
> 
> 
> Maybe you want to update to current (or snapshot) Cygwin (at least)?
> 
Since the nfs server version I am running is current, I wouldn't think it
would matter, but I updated to the current Cygwin anyway...

>>nfsd) start up without error.  I have a /etc/exports file that contains:
>>
>>/exports/c  rowan(rw)
> 
> 
> Don't you need something like "squash_uids" here to handle your Windows to
> *nix user ID mapping?
> 
OK - I changed the exports entry to:

/exports/c  rowan(rw,all_squash,anonuid=28803,anongid=10513)

More or less the same thing:  the mount of the exported filesystem
succeeds, but a "ls /xp" on the client machine hangs (unkillable) with
periodic messages:

nfs server l1422169:/exports/c: not responding

There are not new entries in /var/log/nfsd.log and the only entries in
/var/log/mountd.log show:

mountd[3604] 06/27/105 07:23 mountd.c 36 : NFS mount request completed 
(/exports/c, from 10.93.52.36)

Any other thoughts?

- Will


--
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: NFS errors

2005-06-27 Thread Will Parsons
Crump, Michael wrote:
> When I was trying to get NFS working a few months back I found that if
> you have more than one network connection on the server machine all of
> the connections have to be enabled and connected to a network.  After I
> did this nfs did work.

I am not sure what you mean by this - the XP server and FreeBSD client are
both connected to an office network via a single Ethernet interface.

- Will


--
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: bash and make are trapped in an endless loop

2005-06-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Christian Matuszewski on 6/27/2005 5:42 AM:
> Hi,
> 
> if i start a fresh cygwin shell and I enter an asterisk at the prompt:
> $ *
> then nothing happens. That's OK, although one could expect a message like:
> "bash: *: command not found".

Typing * as your command normally expands into a list of all the files in
that directory, then tries to execute the first file in that list (try
"echo *" to see what would happen).  Your desired error message will only
occur if filename expansion is disabled, such as by using "set -f".

Beyond that, the behavior that you get from typing * (or letting make type
it), depends on your current directory.  Based on your report, I'm
guessing that your first directory was empty, or started with a file that
was executable and did nothing; but when you switched to the directory
where your Makefile was, you happened to get a first filename listed that
was treated as a program and which entered into an infinite loop (the
infinite string of y's tends to imply that somewhere you invoked
/bin/yes).  But this behavior is not unique to cygwin.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCv/YG84KuGfSFAYARArPzAJ4l6wnWniptdsueqwN/wgRfzB8pxACdEbFG
CxStu2UEiJGCkhM04NKxKZE=
=oLZK
-END PGP SIGNATURE-

--
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: Bash 3.0-2 and kill

2005-06-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Angelo Graziosi on 6/24/2005 3:26 PM:
> I have noted that when one uses 
> 
>kill -9 
> 
> in bash 3.0-2 (test), the command kills the process but also bash (even
> if one uses /bin/kill...).
> 

I have gotten to the point where I am seeing reproducible crashes in a
plain debugging version of bash inside gdb, but that the problem appears
to be malloc'd memory corruption (I hate those bugs - they are so hard to
pinpoint).  I now have to attempt to build a malloc-debugging version of
bash, and see where bash is corrupting the heap.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
cygwin bash maintainer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCv/eG84KuGfSFAYARAmDAAJ93n5jZc4nYPDiC+iSQEa2enXTI0QCeLRtx
BQFprLBCY1F1EPUzdiCEong=
=JenQ
-END PGP SIGNATURE-

--
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: NFS errors

2005-06-27 Thread Igor Pechtchanski
On Mon, 27 Jun 2005, Will Parsons wrote:

> Crump, Michael wrote:
> > When I was trying to get NFS working a few months back I found that if
> > you have more than one network connection on the server machine all of
> > the connections have to be enabled and connected to a network.  After
> > I did this nfs did work.
>
> I am not sure what you mean by this - the XP server and FreeBSD client
> are both connected to an office network via a single Ethernet interface.

I think this may be a valid point, actually.  The XP server probably has
other network interfaces defined (dial-up, or wireless if you have a
laptop, or a VPN of some sort).  Most likely they aren't enabled.  Some
programs (notably X, but probably the NFS server as well) may latch on to
the wrong interface, which is disabled.  X has a -from parameter to
specify which interface to use.  Don't know if NFS has a similar
parameter, but it may be worth investigating.

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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: bash and make are trapped in an endless loop

2005-06-27 Thread Christian Matuszewski
> --- Ursprüngliche Nachricht ---
> Von: Eric Blake <[EMAIL PROTECTED]>
> An: Christian Matuszewski <[EMAIL PROTECTED]>
> Kopie: cygwin@cygwin.com
> Betreff: Re: bash and make are trapped in an endless loop
> Datum: Mon, 27 Jun 2005 06:50:14 -0600
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> According to Christian Matuszewski on 6/27/2005 5:42 AM:
> > Hi,
> > 
> > if i start a fresh cygwin shell and I enter an asterisk at the prompt:
> > $ *
> > then nothing happens. That's OK, although one could expect a message
> like:
> > "bash: *: command not found".
> 
> Typing * as your command normally expands into a list of all the files in
> that directory, then tries to execute the first file in that list (try
> "echo *" to see what would happen).  Your desired error message will only
> occur if filename expansion is disabled, such as by using "set -f".
> 
> Beyond that, the behavior that you get from typing * (or letting make type
> it), depends on your current directory.  Based on your report, I'm
> guessing that your first directory was empty, or started with a file that
> was executable and did nothing; but when you switched to the directory
> where your Makefile was, you happened to get a first filename listed that
> was treated as a program and which entered into an infinite loop (the
> infinite string of y's tends to imply that somewhere you invoked
> /bin/yes).  But this behavior is not unique to cygwin.
> 
OK, thank you very much, now I understand what's going on: In the current
directory is a Doxygen configuration file, which is executed. In this file
are some variables which are set to YES or NO. At some point this leads to
the execution of 'yes'...

Thank you for your time...

Christian Matuszewski

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

--
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: Numlock and java applications

2005-06-27 Thread Igor Pechtchanski
Wrong list.  Questions about Cygwin/X should be sent to the cygwin-xfree
list.  Redirecting.

On Mon, 27 Jun 2005, Casolaro, Didier wrote:

> Hello,
> I'm developping and testing java application under KDE (3.4.0)
> environment trough cygwing running on Windows XP. If numlock key is
> active, some keys of my keyboard (enter, arrows, numpad keys, backspace)
> don't work any more with any java application.
> Is there any patch anywhere to make java application working properly
> without having to unlock numlock key?
>
> Thanx for your answer...

AFAIK, no.  But you may get other answers on the cygwin-xfree list.
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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



ps/kill and windows processes

2005-06-27 Thread Jason Pyeron


All this bask/kill thread was making me think.


Is there a way to list and/or kill windows process from a bash prompt 
(over ssh)?



Jason Pyeron

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager 7 West 24th Street #100 -
- +1 (443) 921-0381 Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.


--
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: find -newer problem

2005-06-27 Thread Igor Pechtchanski
On Mon, 27 Jun 2005, Allan WIlkins wrote:

> I must apologise if this is an already known problem but I have been
> unable to locate any reference to it in the mail archives.
>
> Executing a find using the -newer parameter returns files that appear to
> be of the same age. e.g.
>
> $ find XXX -newer YYY
> XXX
> $ ls -l XXX YYY
> -r--r--r--  1 allanw Domain Users 10291 Jun 27 10:38 XXX
> -r--r--r--  1 allanw Domain Users  5865 Jun 27 10:38 YYY
> $ ls -lu XXX YYY
> -r--r--r--  1 allanw Domain Users 10291 Jun 27 00:00 XXX
> -r--r--r--  1 allanw Domain Users  5865 Jun 27 00:00 YYY
> $ ls -lc XXX YYY
> -r--r--r--  1 allanw Domain Users 10291 Jun 27 12:21 XXX
> -r--r--r--  1 allanw Domain Users  5865 Jun 27 12:21 YYY
>
> However:
> $ touch AAA BBB
> $ find AAA -newer BBB
> $ ls -l AAA BBB
> -rw-r--r--  1 allanw Domain Users 0 Jun 27 12:11 AAA
> -rw-r--r--  1 allanw Domain Users 0 Jun 27 12:11 BBB
> $ ls -lc AAA BBB
> -rw-r--r--  1 allanw Domain Users 0 Jun 27 12:11 AAA
> -rw-r--r--  1 allanw Domain Users 0 Jun 27 12:11 BBB
> $ ls -lu AAA BBB
> -rw-r--r--  1 allanw Domain Users 0 Jun 27 00:00 AAA
> -rw-r--r--  1 allanw Domain Users 0 Jun 27 00:00 BBB
> So if the files are created using touch the find does not return anything.
>
> I understand that ls -l displays the last modification time. Is the find
> using the same date?

find *is* using the same date, but you may be running into filesystem
granularity issues.  FAT, for example, stores dates with the granularity
of 2 seconds.  You may also want to try "test AAA -nt BBB" and "test BBB
-nt AAA", to see whether you get results that are consistent with "find".

> Thanks in advance
> Al
>
> The output of a cygcheck -s -v -r > cygcheck.out follows
> 
> [snip cygcheck output]
> [snip *another* cygcheck output]

In the future, please *attach* the output of "cygcheck -svr" instead of
including it in-line.  It cuts down on false positive matches in archive
searches.

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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: Emacs 21.3.50 problem on XP

2005-06-27 Thread Dharanyava
Sorry - running Cygwin 1.5.7-1 on XPSP2.  TERM=cygwin.  That was my first 
thought.  If it's useful, info seems to exit perfectly fine.  Will run cygcheck 
-s -v -r and post as soon as possible.

Igor Pechtchanski <[EMAIL PROTECTED]> wrote:

>On Sat, 25 Jun 2005, Dharanyava wrote:
>
>.  Thanks.
>
>> Okay, I searched & found nothing about this: somehow, on my
>> installation, C-x C-c doesn't quit-emacs-permanently; C-x functions
>> alright, but C-c is being caught and returning a beep instead of
>> actually executing quit-emacs-permanently. Does this have anything to do
>> with having to install leim?  (I saw that post, and had already started
>> downloading it for updated installation.)
>
>Not enough information (see  for problem
>reporting guidelines).  However, at a guess, you're running this from a
>console window and don't have "tty" in your CYGWIN variable (as indicated
>in the emacs README).  Try quitting all Cygwin processes; setting
>"CYGWIN=tty" (provided your CYGWIN variable was empty before); and then
>starting bash -- emacs should work from that shell.
>
>If that doesn't help, please review  and
>provide the requested information.
>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!
>
>"The Sun will pass between the Earth and the Moon tonight for a total
>Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
>

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

--
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: ps/kill and windows processes

2005-06-27 Thread Igor Pechtchanski
On Mon, 27 Jun 2005, Jason Pyeron wrote:

> All this bask/kill thread was making me think.
>
> Is there a way to list and/or kill windows process from a bash prompt
> (over ssh)?

Yes.  "/bin/ps -W" and "/bin/kill -f".  See "man ps" and "man kill".
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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: Emacs 21.3.50 problem on XP

2005-06-27 Thread Igor Pechtchanski
Ugh.  Top-posting.  Reformatted.

On Mon, 27 Jun 2005, Dharanyava wrote:

> Igor Pechtchanski <[EMAIL PROTECTED]> wrote:

.  Also, again,
.  Thanks.

> >On Sat, 25 Jun 2005, Dharanyava wrote:
> >
> >.  Thanks.
> >
> >> Okay, I searched & found nothing about this: somehow, on my
> >> installation, C-x C-c doesn't quit-emacs-permanently; C-x functions
> >> alright, but C-c is being caught and returning a beep instead of
> >> actually executing quit-emacs-permanently. Does this have anything to do
> >> with having to install leim?  (I saw that post, and had already started
> >> downloading it for updated installation.)
> >
> >Not enough information (see  for problem
> >reporting guidelines).  However, at a guess, you're running this from a
> >console window and don't have "tty" in your CYGWIN variable (as indicated
> >in the emacs README).  Try quitting all Cygwin processes; setting
> >"CYGWIN=tty" (provided your CYGWIN variable was empty before); and then
> >starting bash -- emacs should work from that shell.
> >
> >If that doesn't help, please review  and
> >provide the requested information.
>
> Sorry - running Cygwin 1.5.7-1 on XPSP2.  TERM=cygwin.  That was my
> first thought.

Still not enough information, but the "cygcheck -svr" output should
contain the missing bits.

Did you actually try the above advice of adding "tty" to your $CYGWIN?

> If it's useful, info seems to exit perfectly fine.

Nope, not useful (different technique -- info catches SIGINT, and emacs
actually uses the Ctrl-C key combination).

> Will run cygcheck -s -v -r and post as soon as possible.

Good, thanks.
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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



group IDs

2005-06-27 Thread Peter Green

I am new to the list - apologies if this has
all been sorted out before, but I couldn't find the
solution.

Files I create from within Cygwin (e.g. by touch or
the output of gcc) have numerical group ID 10545,
while those created in Windows applications (e.g. Thunderbird,
Notetab) get group ID 4294967295. 'mkgroup' gives
'Users' the ID of 545.
This is confusing me, and giving me problems
accessing my own file s- how do I get all these IDs to agree?

I am running XP professional, version 2002, sp2
I downloaded Cygwin on 23 June 2005.

--
 Professor Peter Green   tel: +44 (0)117 928 7967
 School of Mathematics   fax: +44 (0)117 928 7999
 University of Bristol   [EMAIL PROTECTED]
   Bristol BS8 1TW, UK   http://www.stats.bris.ac.uk/~peter 



--
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: ps/kill and windows processes

2005-06-27 Thread Jason Pyeron
my man path was wrong, whoops pulling up a non cygwin version would never 
of noticed otherwise. thanks

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager 7 West 24th Street #100 -
- +1 (443) 921-0381 Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.

--
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: group IDs

2005-06-27 Thread Igor Pechtchanski
On Mon, 27 Jun 2005, Peter Green wrote:

> I am new to the list - apologies if this has
> all been sorted out before, but I couldn't find the
> solution.
>
> Files I create from within Cygwin (e.g. by touch or the output of gcc)
> have numerical group ID 10545, while those created in Windows
> applications (e.g. Thunderbird, Notetab) get group ID 4294967295.
> 'mkgroup' gives 'Users' the ID of 545.
> This is confusing me, and giving me problems accessing my own file s-
> how do I get all these IDs to agree?

10545 is usually "Domain Users" (the domain user and group ids are offset
by 1 by default).  545 is local "Users".  4294967295 is really "-1" --
see  for an
explanation.  "getfacl" (or NT's "cacls") should give you the actual
owner/group.

To get the domain groups into /etc/group, use "mkgroup -d >> /etc/group"
(warning -- may take a *long* time in large domains).  You can give the
"-g" flag to mkgroup to extract specific domain groups.  Similarly, for
domain users, use "mkpasswd -d >> /etc/passwd" (same warning applies).
See "man mkpasswd" and "man mkgroup" for more information.

> I am running XP professional, version 2002, sp2
> I downloaded Cygwin on 23 June 2005.

See  for guidelines on including relevant
information in your problem reports.
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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: group IDs

2005-06-27 Thread Dave Korn
Original Message
>From: Peter Green
>Sent: 27 June 2005 15:05

> I am new to the list - apologies if this has
> all been sorted out before, but I couldn't find the
> solution.
> 
> Files I create from within Cygwin (e.g. by touch or
> the output of gcc) have numerical group ID 10545,
> while those created in Windows applications (e.g. Thunderbird,
> Notetab) get group ID 4294967295. 'mkgroup' gives
> 'Users' the ID of 545.
> This is confusing me, and giving me problems
> accessing my own file s- how do I get all these IDs to agree?

  4294967295 is -1, which is an error return, not a gid.  Have you set up
your /etc/group file correctly?


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/



Re: NFS errors

2005-06-27 Thread Will Parsons
Igor Pechtchanski wrote:
> On Mon, 27 Jun 2005, Will Parsons wrote:
> 
>> Crump, Michael wrote:
>> > When I was trying to get NFS working a few months back I found that if
>> > you have more than one network connection on the server machine all of
>> > the connections have to be enabled and connected to a network.  After
>> > I did this nfs did work.
>>
>> I am not sure what you mean by this - the XP server and FreeBSD client
>> are both connected to an office network via a single Ethernet interface.
> 
> I think this may be a valid point, actually.  The XP server probably has
> other network interfaces defined (dial-up, or wireless if you have a
> laptop, or a VPN of some sort).  Most likely they aren't enabled.  Some
> programs (notably X, but probably the NFS server as well) may latch on to
> the wrong interface, which is disabled.  X has a -from parameter to
> specify which interface to use.  Don't know if NFS has a similar
> parameter, but it may be worth investigating.

I don't think this is the issue - looking under "Network Connections", I
see only "Local Area Connection", Type "LAN or High-Speed Internet", Status
"Enabled".

However, after some more experimentation, I see the "ls /xp" eventually
does return, after about 17 minutes.  So it appears as though NFS kind of
works, but so slowly as to be useless.  There is no problem with other
types of network access, e.g., I am logged on to the client machine vai ssh
without problems.

- Will



--
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: ls slow on top-level directory (was: NFS errors)

2005-06-27 Thread Will Parsons

> However, after some more experimentation, I see the "ls /xp" eventually
> does return, after about 17 minutes.  So it appears as though NFS kind of
> works, but so slowly as to be useless.  There is no problem with other
> types of network access, e.g., I am logged on to the client machine vai ssh
> without problems.

It looks like NFS is not completely to blame.  It turns out that doing an
"ls" on the directory "/c" or "/exports/c" (both mount points for c:) is
also unusually slow, though it takes a mere 45 seconds rather than 17
minutes to return.  If I export and mount a subdirectory of c:, however,
NFS seems to work satisfactorily.  I notice that "ls" reports:

/bin/ls: hiberfil.sys: No such file or directory
/bin/ls: pagefile.sys: No such file or directory

"ls hi" completes to "ls hiberfil.sys", and shows the same message.

Could this have something to do with the slow response?  Although if I do
an "ls h*", the above response comes back immediately, not after a wait.

- Will


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



Trouble finding the package the command "watch" is in

2005-06-27 Thread John Petritis
I am looking for the command named "watch"

I am trying to find the package it is located in.
I haven't had any luck finding it through various search strategies.
My trouble is probably due to it being such a common word.
So I have 2 questions?

1) Which package do I need to install to get the "watch" command
2) Is there some sort of way I can list what is in packages to find
which package it is in?

(I really don't want to have to download the source and grep through it)

Thank You,

John Petritis

--
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: Trouble finding the package the command "watch" is in

2005-06-27 Thread thomas . revell
[snip]
>1) Which package do I need to install to get the "watch" command

procps

>2) Is there some sort of way I can list what is in packages to find
>which package it is in?

http://cygwin.com/packages/


--
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: Trouble finding the package the command "watch" is in

2005-06-27 Thread Dave Korn
Original Message
>From: John Petritis
>Sent: 27 June 2005 16:11

> I am looking for the command named "watch"
> 
> I am trying to find the package it is located in.
>
> I haven't had any luck finding it through various search strategies.
> My trouble is probably due to it being such a common word.
> So I have 2 questions?
> 
> 1) Which package do I need to install to get the "watch" command
>
> 2) Is there some sort of way I can list what is in packages to find
> which package it is in?

  Go to http://cygwin.com/packages/ and enter the name of the file you're
seeking.  It'll tell you which package contains it.

  If you get too many matches, and you know that what you're looking for is
the name of the main executable, you can cut down the false matches by
explicitly appending the '.exe' suffix.  Take a look at

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=watch.exe

and you'll see there's only two possibilities left.  I'll leave it for you
from there!

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/



Re: Trouble finding the package the command "watch" is in

2005-06-27 Thread Mark Paulus
Generally you can find a certain file by going to the cygwin
website, and then selecting Setup Package Search under
the Software heading from the main menu on the left hand side.

In this particular case, watch is connected to many packages,
so from experience, I'll tell you that it is included with the 
procps package.

On Mon, 27 Jun 2005 11:10:47 -0400, John Petritis wrote:

>I am looking for the command named "watch"

>I am trying to find the package it is located in.
>I haven't had any luck finding it through various search strategies.
>My trouble is probably due to it being such a common word.
>So I have 2 questions?

>1) Which package do I need to install to get the "watch" command
>2) Is there some sort of way I can list what is in packages to find
>which package it is in?

>(I really don't want to have to download the source and grep through it)

>Thank You,

>John Petritis

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





--
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: Trouble finding the package the command "watch" is in

2005-06-27 Thread Igor Pechtchanski
On Mon, 27 Jun 2005, Dave Korn wrote:

> Original Message
> >From: John Petritis
> >Sent: 27 June 2005 16:11
>
> > I am looking for the command named "watch"
> >
> > I am trying to find the package it is located in.
> >
> > I haven't had any luck finding it through various search strategies.
> > My trouble is probably due to it being such a common word.
> > So I have 2 questions?
> >
> > 1) Which package do I need to install to get the "watch" command
> >
> > 2) Is there some sort of way I can list what is in packages to find
> > which package it is in?
>
>   Go to http://cygwin.com/packages/ and enter the name of the file you're
> seeking.  It'll tell you which package contains it.
>
>   If you get too many matches, and you know that what you're looking for is
> the name of the main executable, you can cut down the false matches by
> explicitly appending the '.exe' suffix.  Take a look at
>
> http://cygwin.com/cgi-bin2/package-grep.cgi?grep=watch.exe
>
> and you'll see there's only two possibilities left.  I'll leave it for you
> from there!

1) It's usually better to use "bin/watch\b" (or even
"bin/watch(\.exe|\s|$)"), which will take care of symlinks and non-exe
scripts as well...

2) Once Brian's patch is applied, the latest snapshots (and later Cygwin
releases) should allow one to simply run the "cygcheck -p 'bin/watch\b'"
to get the results listed on the console (ping CGF)...
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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: ls slow on top-level directory (was: NFS errors)

2005-06-27 Thread Corinna Vinschen
On Jun 27 14:50, Will Parsons wrote:
>   I notice that "ls" reports:
> 
> /bin/ls: hiberfil.sys: No such file or directory
> /bin/ls: pagefile.sys: No such file or directory
> 
> "ls hi" completes to "ls hiberfil.sys", and shows the same message.
> 
> Could this have something to do with the slow response?

No, that's entirely unrelated.  In recent Cygwin snapshots the message
from ls has changed to "Device or resource busy" and you get an ls
output for these files.  It's just an open() on exclusively locked files
which fails in the above cases.

Along these lines, we had a short discussion on the developers list
and we're wondering if it's necessary that ls prints this error message
at all.  The message is generated after a stat() already succeeded and
a follow up acl() call returns -1.  To say it with Dave Korn's words:

ISTM that ls has all the information it should need to DTRT - a successful
call to stat(), a return value of -1 from acl() and (I would hope that)
errno has EACCES(*) from the ERROR_SHARING_VIOLATION return should let it
deduce 'the file exists but is locked', shouldn't it?

Eric?


Corinna

(*) actually EBUSY.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
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/



ImageMagick: 6.0.4-1 offset in -crop option of convert doesn't work

2005-06-27 Thread Pascal COURTOIS


Hi,

when using convert with an offset in crop option the image returned is 
broken:


convert foobar.gif -crop "100x150+20+30" result.gif

should return a 100x150 picture positioned at 20,30 in the original picture

any non zero values for position makes a picture of width and height 
requested (100x150
in above example) but positioned at 0,0 with a top border of  "y 
position" height (30 in the
above example) and a left border of "x position" width (20 in the above 
example)


same command works fine on unix

Thanks


Cygwin Configuration Diagnostics
Current System Time: Mon Jun 27 18:15:40 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\ATI Technologies\ATI Control Panel
c:\Program Files\Intel\Wireless\Bin\
c:\Program Files\Intel\Wireless\Bin\

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(moi)   GID: 513(Aucun)
0(root)  513(Aucun)   544(Administrateurs)
545(Utilisateurs)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(moi)   GID: 513(Aucun)
0(root)  513(Aucun)   544(Administrateurs)
545(Utilisateurs)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = `moi'
PWD = `/home/moi/branie'
HOME = `/home/moi'
MAKE_MODE = `unix'

HOMEPATH = `\Documents and Settings\moi'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
APPDATA = `C:\Documents and Settings\moi\Application Data'
HOSTNAME = `moi-pm81f7y1c11'
TERM = `cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 13 Stepping 8, GenuineIntel'
WINDIR = `C:\WINDOWS'
OLDPWD = `/home/moi'
USERDOMAIN = `MOI-PM81F7Y1C11'
OS = `Windows_NT'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
TEMP = `/cygdrive/c/DOCUME~1/moi/LOCALS~1/Temp'
COMMONPROGRAMFILES = `C:\Program Files\Fichiers communs'
USERNAME = `moi'
PROCESSOR_LEVEL = `6'
FP_NO_HOST_CHECK = `NO'
SYSTEMDRIVE = `C:'
USERPROFILE = `C:\Documents and Settings\moi'
PS1 = `\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = `\\MOI-PM81F7Y1C11'
PROCESSOR_ARCHITECTURE = `x86'
!C: = `C:\cygwin\bin'
SHLVL = `1'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = `C:'
PROMPT = `$P$G'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
LESS = `-X'
TMP = `/cygdrive/c/DOCUME~1/moi/LOCALS~1/Temp'
SYSTEMROOT = `C:\WINDOWS'
PRINTER = `Samsung ML-1200 Series'
CVS_RSH = `/bin/ssh'
PROCESSOR_REVISION = `0d08'
LESSOPEN = `|lesspipe.sh %s'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
PROGRAMFILES = `C:\Program Files'
NUMBER_OF_PROCESSORS = `1'
SESSIONNAME = `Console'
COMPUTERNAME = `MOI-PM81F7Y1C11'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS 35000Mb  49% CP CS UN PA FC 
d:  hd  NTFS 41307Mb   1% CP CS UN PA FC 
e:  cd N/AN/A
f:  fd N/AN/A

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

   55k 2004/09/14 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
  "cygbz2-1.dll" v0.0 ts=2004/9/14 6:16
   18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
  "cygcharset-1.dll" v0.0 ts=2004/7/6 20:09
  858k 2005/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
  "cygcrypto-0.9.7.dll" v0.0 ts=2005/4/11 20:21
  174k 2004/10/14 C:\c

Re: rxvt 2.7.10-6: bash Control-C exits all backgrounded children rxvt processes as well as foreground process/command

2005-06-27 Thread Wayne Willcox
HOw about using a trap on sig TERM?  Have it do something harmless
or ignore it

On Mon, Jun 27, 2005 at 11:47:38AM -0700, [EMAIL PROTECTED] wrote:
> 
> 
> 
> 
> I have some wrappers to invoke a telnet or an ssh within an rxvt window so
> that I can label it with the host I'm connecting to.  I love rxvt because
> it has real vt emulation, and also gives me X-like middle mouse cut and
> paste operations that I'm used to from my Sun environment, but all without
> the overhead of running X.  However, a really annoying and quite hazardous
> artifact of rxvt in cygwin is that it will grab the control-Cs sent from
> the parent bash session and close down.  Unfortunately, pings, by default
> are unlimited in iteration and so must be killed when you're done with it
> and also, I'm in the habit of using control-C to quit a command line in
> progress to get back to a prompt.
> 
> Unless I remember to to start a new bash window to do anything where I
> might send a Control-C, I end up clobbering the 20 odd telnet/ssh sessions
> I have up, some of which could contain important processes that are
> difficult to recover from being terminated.
> 
> Any advice on
> 
> 1)  Whether this is an issue with bash or rxvt or both?
> 2)  Any workarounds i.e.- application flags for rxvt or bash that I can
> code in to avoid this behavior.
> 
> Thanks in advance.
> 
> Jackson Shea
> [EMAIL PROTECTED]
> 
> ==
> ==  wrapper scripts ==
> ==
> 
> telnet script:
> 
> #!/usr/bin/bash
> echo "telnet $1" > /tmp/cmdfile.$$
> chmod a+x /tmp/cmdfile.$$
> rxvt -sl 2000 -fn 9x18 -fg yellow -bg black -title $1 -e /tmp/cmdfile.$$ &
> sleep 5
> rm /tmp/cmdfile.$$
> 
> ssh script:
> 
> #!/usr/bin/bash
> echo "telnet $1" > /tmp/cmdfile.$$
> chmod a+x /tmp/cmdfile.$$
> rxvt -sl 2000 -fn 9x18 -fg yellow -bg black -title $1 -e /tmp/cmdfile.$$ &
> sleep 5
> rm /tmp/cmdfile.$$
> 
> (See attached file: cygcheck.out)
> ==
> IMPORTANT NOTICE: This communication, including any attachment, contains 
> information that may be confidential or privileged, and is intended solely 
> for the entity or individual to whom it is addressed.  If you are not the 
> intended recipient, you should delete this message and are hereby notified 
> that any disclosure, copying, or distribution of this message is strictly 
> prohibited.  Nothing in this email, including any attachment, is intended to 
> be a legally binding signature.
> ==


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

-- 
Slowly and surely the unix crept up on the Nintendo user ...
Wayne Willcox  I will not eat green eggs and ham
[EMAIL PROTECTED] I will not eat them Sam I Am!!
A wise person makes his own decisions, a weak one obeys public opinion.
-- Chinese proverb

--
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: rxvt 2.7.10-6: bash Control-C exits all backgrounded children rxvt processes as well as foreground process/command

2005-06-27 Thread Christopher Faylor
On Mon, Jun 27, 2005 at 11:47:38AM -0700, [EMAIL PROTECTED] wrote:
>..  a really annoying and quite hazardous artifact of rxvt in cygwin is
>that it will grab the control-Cs sent from the parent bash session and
>close down.
>[snip]
>Any advice on
>
>1) Whether this is an issue with bash or rxvt or both?

It seems like it is a cygwin DLL issue.  I'll look into fixing it for 1.5.18.

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: HUGE is missing in math.h

2005-06-27 Thread Yitzchak Scott-Thoennes
On Mon, Jun 27, 2005 at 09:43:19AM +0200, Corinna Vinschen wrote:
> On Jun 26 09:37, Humberto Bortolossi wrote:
> > Hi!
> > 
> > I'm trying to port a C program written originally in
> > Linux to the Microsoft Windows plataform.
> > 
> > I've realized that math.h under cygwin doesn't
> > define the macro HUGE, that is defined in
> > the math.h under linux:
> > 
> > /* Declarations for math functions.
> >Copyright (C) 1991-1993,1995-1999,2001,2002 Free Software Foundation, 
> > Inc.
> >This file is part of the GNU C Library.
> >  */
> > /* SVID mode specifies returning this large value instead of infinity.  */
> > # define HUGE   3.40282347e+38F
> > 
> > I thought math.h should be quite portable ...
> 
> HUGE is not portable.  It's not defined in the standard, see
> http://www.opengroup.org/onlinepubs/009695399/basedefs/math.h.html
> Use HUGE_VAL instead.

Or maybe he wants MAXFLOAT (largest finite value representable in
smallest size float).

--
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: rxvt 2.7.10-6: bash Control-C exits all backgrounded children rxvt processes as well as foreground process/command

2005-06-27 Thread Reid Thompson
[EMAIL PROTECTED] wrote:
> I have some wrappers to invoke a telnet or an ssh within an
> rxvt window so that I can label it with the host I'm
> connecting to.  I love rxvt because it has real vt emulation,
> and also gives me X-like middle mouse cut and paste
> operations that I'm used to from my Sun environment, but all
> without the overhead of running X.  However, a really
> annoying and quite hazardous artifact of rxvt in cygwin is
> that it will grab the control-Cs sent from the parent bash
> session and close down.  Unfortunately, pings, by default are
> unlimited in iteration and so must be killed when you're done
> with it and also, I'm in the habit of using control-C to quit
> a command line in progress to get back to a prompt.
> 
> Unless I remember to to start a new bash window to do
> anything where I might send a Control-C, I end up clobbering
> the 20 odd telnet/ssh sessions I have up, some of which could
> contain important processes that are difficult to recover from being
> terminated. 
> 
> Any advice on
> 
> 1)  Whether this is an issue with bash or rxvt or both?
> 2)  Any workarounds i.e.- application flags for rxvt or bash
> that I can code in to avoid this behavior.
> 
> Thanks in advance.
> 
> Jackson Shea
> [EMAIL PROTECTED]
> 
> ==
> ==  wrapper scripts ==
> ==
> 
> telnet script:
> 
> #!/usr/bin/bash
> echo "telnet $1" > /tmp/cmdfile.$$
> chmod a+x /tmp/cmdfile.$$
> rxvt -sl 2000 -fn 9x18 -fg yellow -bg black -title $1 -e
> /tmp/cmdfile.$$ & sleep 5 rm /tmp/cmdfile.$$
> 
> ssh script:
> 
> #!/usr/bin/bash
> echo "telnet $1" > /tmp/cmdfile.$$
> chmod a+x /tmp/cmdfile.$$
> rxvt -sl 2000 -fn 9x18 -fg yellow -bg black -title $1 -e
> /tmp/cmdfile.$$ & sleep 5 rm /tmp/cmdfile.$$
> 

I do not see this effect for either of the above wrappers...


reid

--
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: IPv6 Libaries for Cygwin

2005-06-27 Thread Ross MacGillivray
Brian Dessent  dessent.net> writes:

> 
> Ross MacGillivray wrote:
> 
> > > No, there is no IPv6 support.  The mailing list archives have details.
> 
> ^^^ 
> > ...
> > I found the following unofficial IPv6 extension to Cygwin.
> > Is there any plans to incorporate this library into Cygwin?
> > 
> > Any other comments about this library?
> > 
> > http://win6.jp/Cygwin/
> 
> Please read the previous threads where this has already been covered.
> 
> Brian
> 
> 

As requested I searched the archive to get into 'synch' with the current
discussion on support for (or lack of support for) IPv6 in Cygwin.   The most
relevant post in the archive seemed to be from June 17, 2005:

 On Jun 17 10:39, Christopher Faylor wrote:
> On Fri, Jun 17, 2005 at 10:36:29AM -0400, Fernando Barsoba wrote:
> >Ok, thanks.. It seems it might happen soon..(the implementation, not the 
> >heat death of the universe, I guess..)
> >
> >I'll hold tight until then..!
> 
> I haven't seen any indication that this is going to happen soon.  There has
> been zero activity on this since Corinna's message, referenced below.

I got no reply from Jun-ya, but he's still keeping his page in sync
with the latest Cygwin release.  I'll ask him again if and when he's
going to contribute code.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc."

Has anyone heard from the folks in Japan about contributing their IPv6 to the
Cygwin environment.   I did try installing their dll, and resolved some of the
compile problems that I am having, but not quite all of them.

/Ross




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



make fails always on invalid path "C:cygwinusrinclude"

2005-06-27 Thread Patrick Graebel

Where does this weird include path come from? Is there something
misconfigured in my Cygwin environment? Here is the line that is printed
by various makefiles:

gcc: C:cygwinusrinclude: No such file or directory

-Patrick


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



kermit for cygwin?

2005-06-27 Thread mwang
Is kermit, or any serial port communication software (tip, cu)
available for cygwin? Thanks.

--
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: make fails always on invalid path "C:cygwinusrinclude"

2005-06-27 Thread Ross Smith

Patrick Graebel wrote:

Where does this weird include path come from? Is there something
misconfigured in my Cygwin environment? Here is the line that is printed
by various makefiles:

gcc: C:cygwinusrinclude: No such file or directory


I'd bet that, somewhere in your setup, you've got 
"C:\cygwin\usr\include" where it should be either 
"C:\\cygwin\\usr\\include" or "C:/cygwin/usr/include".


--
Ross Smith .. Pharos Systems, Auckland, New Zealand
"Carelessly planned projects take three times longer to complete than
expected. Carefully planned projects take four times longer to
complete than expected, mostly because the planners expect their
planning to reduce the time it takes." -- Anon.


--
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: make fails always on invalid path "C:cygwinusrinclude"

2005-06-27 Thread Larry Hall

At 04:39 PM 6/27/2005, you wrote:

>Where does this weird include path come from? Is there something
>misconfigured in my Cygwin environment? Here is the line that is printed
>by various makefiles:
>
>gcc: C:cygwinusrinclude: No such file or directory


Please read and follow the problem reporting guidelines at:


>Problem reports:   http://cygwin.com/problems.html


As a WAG though, I'd say you're using DOS paths with a Cygwin shell.




--
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: kermit for cygwin?

2005-06-27 Thread Larry Hall
At 04:41 PM 6/27/2005, you wrote:
>Is kermit, or any serial port communication software (tip, cu)
>available for cygwin? Thanks. 


Please visit  for answers to questions 
like this.  If you don't find something there, you can be assured that 
if such a package exists, it's not available via 'setup.exe'.  Googling
is likely your best bet then.


--
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: HUGE is missing in math.h

2005-06-27 Thread Jeff Johnston

Corinna Vinschen wrote:

On Jun 26 09:37, Humberto Bortolossi wrote:


Hi!

I'm trying to port a C program written originally in
Linux to the Microsoft Windows plataform.

I've realized that math.h under cygwin doesn't
define the macro HUGE, that is defined in
the math.h under linux:

/* Declarations for math functions.
  Copyright (C) 1991-1993,1995-1999,2001,2002 Free Software Foundation, Inc.
  This file is part of the GNU C Library.
*/
/* SVID mode specifies returning this large value instead of infinity.  */
# define HUGE   3.40282347e+38F

I thought math.h should be quite portable ...



HUGE is not portable.  It's not defined in the standard, see
http://www.opengroup.org/onlinepubs/009695399/basedefs/math.h.html
Use HUGE_VAL instead. 


However, other definitions are missing in math.h, like HUGE_VALF,
HUGE_VALL, INFINITY and NAN.



I'll take a look at adding these unless you want to.  HUGE_VALL is the 
only one that is difficult.



Since math.h is part of newlib, I've redirect this posting to the
newlib mailing list.


Corinna




--
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: Emacs 21.3.50 problem on XP

2005-06-27 Thread Dharanyava
Igor Pechtchanski wrote:

>Ugh.  Top-posting.  Reformatted.
>
>On Mon, 27 Jun 2005, Dharanyava wrote:
>
>> Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
>
>.  Also, again,
>.  Thanks.
>
>> >On Sat, 25 Jun 2005, Dharanyava wrote:
>> >
>> >.  Thanks.
>> >
>> >> Okay, I searched & found nothing about this: somehow, on my
>> >> installation, C-x C-c doesn't quit-emacs-permanently; C-x functions
>> >> alright, but C-c is being caught and returning a beep instead of
>> >> actually executing quit-emacs-permanently. Does this have anything to do
>> >> with having to install leim?  (I saw that post, and had already started
>> >> downloading it for updated installation.)
>> >
>> >Not enough information (see  for problem
>> >reporting guidelines).  However, at a guess, you're running this from a
>> >console window and don't have "tty" in your CYGWIN variable (as indicated
>> >in the emacs README).  Try quitting all Cygwin processes; setting
>> >"CYGWIN=tty" (provided your CYGWIN variable was empty before); and then
>> >starting bash -- emacs should work from that shell.
>> >
>> >If that doesn't help, please review  and
>> >provide the requested information.
>>
>> Sorry - running Cygwin 1.5.7-1 on XPSP2.  TERM=cygwin.  That was my
>> first thought.
>
>Still not enough information, but the "cygcheck -svr" output should
>contain the missing bits.
>
>Did you actually try the above advice of adding "tty" to your $CYGWIN?
>
>> If it's useful, info seems to exit perfectly fine.
>
>Nope, not useful (different technique -- info catches SIGINT, and emacs
>actually uses the Ctrl-C key combination).
>
>> Will run cygcheck -s -v -r and post as soon as possible.
>
>Good, thanks.
>Igor
>-- 

Sorry - totally missed the CYGWIN var.  This worked as expected.  Confused
because previous to 1.5.17 I didn't have this set, AFAIK.

Tx for the boot to the head. ;)

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

--
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: Build/Compile problems with ApachPHP on Cygwin MS-XP

2005-06-27 Thread Gerrit P. Haase

Chris Oxenreider wrote:


Hi,

I have been trying to compile Apache and PHP on XP.  I have been using
the instructions on http://httpd.apache.org/docs/cygwin.html.  I have
freshly re-installed my cygwin on XP as of 2005-06-17 which should be
the latest Cygwin (from Kernel.org).  My ld version is "GNU ld version
2.16.91 20050608".  I have verified that it understands '
--enable-auto-import ' from the help section.  I have also run in to
this problem when attempting to compile PHP 4.0.2 - 5.x as well.

The configure command I used is (apache):

LDFLAGS_SHLIB="--enable-auto-import" ./configure --enable-shared=max \
  --enable-module=most --with-layout=Cygwin



When I attempt to compile apache the make process throws the errors:

<=== src/modules
gcc -c  -I./os/cygwin -I./include   -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE 
`./apa

ci` modules.c
gcc -c  -I./os/cygwin -I./include   -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE 
`./apa

ci` buildmark.c
dllwrap --enable-auto-import -o libhttpd.dll buildmark.o modules.o 
modules/stand
ard/libstandard.a main/libmain.a ./os/cygwin/libos.a ap/libap.a 
regex/libregex.a

   -lcrypt -lgdbm
dllwrap: no export definition file provided.
Creating one, but that may not be what you want
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
gcc  -I./os/cygwin -I./include   -DCYGWIN -DUSE_HSREGEX  -DSHARED_CORE 
`./apaci`

\
  -o libhttpd.ep -DSHARED_CORE_TIESTATIC main/http_main.c \
  -L. -lhttpd  -lcrypt -lgdbm -lexpat
gcc  -I./os/cygwin -I./include   -DCYGWIN -DUSE_HSREGEX  -DSHARED_CORE 
`./apaci`

\
  -o httpd -DSHARED_CORE_BOOTSTRAP main/http_main.c \
  ap/libap.a  -lcrypt -lgdbm -lexpat libhttpd.dll


and

gcc  -DCYGWIN -DUSE_HSREGEX  -DSHARED_CORE `../apaci` -o logresolve 
-L../os/cygwin -L../ap logresolve.o -lm -lap -los  -lcrypt -lgdbm -lexpat
gcc -c  -I../os/cygwin -I../include   -DCYGWIN -DUSE_HSREGEX 
-DSHARED_CORE `../apaci` ab.c
gcc  -DCYGWIN -DUSE_HSREGEX  -DSHARED_CORE `../apaci` -o ab 
-L../os/cygwin -L.

../ap ab.o -lm -lap -los  -lcrypt -lgdbm -lexpat
Info: resolving _optind by linking to __imp__optind (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
sed apxs \
-e '[EMAIL PROTECTED]@%httpd%g' \
-e '[EMAIL PROTECTED]@%gcc%g' \
-e '[EMAIL PROTECTED]@% -DCYGWIN -DUSE_HSREGEX  -DSHARED_CORE `../apaci`%g' 
\
-e '[EMAIL PROTECTED]@%-DSHARED_MODULE%g' \
-e '[EMAIL PROTECTED]@%dllwrap%g' \
-e '[EMAIL PROTECTED]@%--export-all%g' \
-e '[EMAIL PROTECTED]@%%g' && chmod a+x apxs
gcc -c  -I../os/cygwin -I../include   -DCYGWIN -DUSE_HSREGEX 
-DSHARED_CORE `../

apaci` checkgid.c



I see no errors, and I see no warnings.



Subsequent executions of make give these errors:

===> src/modules/standard
gcc --shared -o mod_env.dll mod_env.lo ../../libhttpd.dll -lcrypt -lgdbm 
-lexpat


mod_env.lo:mod_env.c:(.text+0x2e0): undefined reference to `_ap_pstrcat'
collect2: ld returned 1 exit status
make[4]: *** [mod_env.dll] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/foo/working/phpstuff/apache_1.3.33/s
rc'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/foo/working/phpstuff/apache_1.3.33'
make: *** [build] Error 2



Have you applied the Cygwin specific patch as it was used to build
apache 1.3.33 for the Cygwin releaseof Apache: 
http://cygwin.com/packages/apache/ ?


Rebuilding from source with the Cygwin Apache source package should
work.



Using google to search for this problem only gave me some answers from
2002 and 2004 about ld and auto import.  No recent information is
available (or at least indexed).  I receive similar issues when
attempting to compile PHP V 4.2.0 - 5.x.You help is greatly
appreciated.  Thanks!



Gerrit
--
=^..^=

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



ls when acl() is busy [was: ls slow on top-level directory]

2005-06-27 Thread Eric Blake
[bug-coreutils: posting this cygwin question upstream]

> On Jun 27 14:50, Will Parsons wrote:
> >   I notice that "ls" reports:
> > 
> > /bin/ls: hiberfil.sys: No such file or directory
> > /bin/ls: pagefile.sys: No such file or directory
> > 
> > "ls hi" completes to "ls hiberfil.sys", and shows the same message.
> > 
> > Could this have something to do with the slow response?
> 
> No, that's entirely unrelated.  In recent Cygwin snapshots the message
> from ls has changed to "Device or resource busy" and you get an ls
> output for these files.  It's just an open() on exclusively locked files
> which fails in the above cases.
> 
> Along these lines, we had a short discussion on the developers list
> and we're wondering if it's necessary that ls prints this error message
> at all.  The message is generated after a stat() already succeeded and
> a follow up acl() call returns -1.  To say it with Dave Korn's words:
> 
> ISTM that ls has all the information it should need to DTRT - a successful
> call to stat(), a return value of -1 from acl() and (I would hope that)
> errno has EACCES(*) from the ERROR_SHARING_VIOLATION return should let it
> deduce 'the file exists but is locked', shouldn't it?
>
> (*) actually EBUSY.
> 
> 
> Eric?

Hmm - murky waters here.  It would be a simple one-line fix to
coreutils/lib/acl.c to ignore EBUSY as a non-error, and POSIX has
no requirements per se that a failure of acl() should imply a failure
of ls(1).  Should a busy file be conservatively treated as having an
ACL (designated with '+' in the mode string) or left alone without
one (designated with ' ' in the mode string) when cygwin is unable
to query Windows without blocking for an undue length of time?
Right now, I'm almost leaning for a third option, and displaying '?'
or some other character to mean unable to determine, but that
would be more work (the gnulib library file_has_acl already returns
-1 on failure, 0 on no ACL, and 1 on ACL; perhaps make it return
2 on indeterminate).  Should such a change be propagated to
coreutils and gnulib, or left as a cygwin-local patch?

--
Eric Blake



--
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: alternatives-1.3.20a-1

2005-06-27 Thread Charles Wilson

This package provides mechanisms for maintaining a database of, and
managing, other packages which might be in conflict with each other.
The end user can easily switch between the desired versions.

This implementation was adapted from the version included in Red 
Hat/Fedora's 'chkconfig' package.  It has been autoconfiscated, 
chkconfig/ntsysv removed, and adapted for the cygwin packaging standard.


It is not typical for an end user to directly use these tools, UNLESS 
the maintainer(s) of conflicting packages have 'alternativized' them. 
(e.g. 'alternatives' relies on cooperating packages in order to 
successfully manage their conflicts.)  At present, there are no cygwin 
packages which have been alternativized, but the five automake1.X 
packages will soon be released in alternativized form.


From the man page:
--
alternatives creates, removes, maintains and displays information about
the symbolic links comprising the alternatives system. The alternatives
system is a reimplementation of the Debian alternatives system. It  was
rewritten primarily to remove the dependence on perl; it is intended to
be a drop in replacement for Debian's update-dependencies script.  This
man page is a slightly modified version of the man page from the Debian
project.


--
Charles Wilson


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.



*** 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 the above URL.

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