RE: PING Jan Nieuwenhuizen re libguile17

2008-03-25 Thread Dave Korn
Jan Nieuwenhuizen wrote on 25 March 2008 09:50:

 Brian Dessent:
 
  I rebuilt libguile with gcc 3.4.4-1 (without any PR24196 patches) and an
  autogen using it passes all tests.  So it seems this is simply an ABI
  incompatibility between 4.1 and 3.4.
 
 Thanks.  I'll start a test using gcc-4.0.4; with some luck that's new
 enough for LilyPond and still binary compatible Cygwin.
 
 Jan.

  The C ABI is meant to be the same between 3.x and 4.x, so since there's
apparently no C++ involved, I don't think this is necessarily simply an ABI
incompatibility, I think it's a real regression.

  Jan, please just to clarify: did you build the actual release version of
libguile with gcc4?  I couldn't tell from the context whether you were only
using it to try the --enable-fully-dynamic-string experiment.

  I don't recommend using gcc 4 series for production releases yet.  There
was a lot of instability after the change to tree-ssa infrastructure and
both 4.0 and 4.1 series had a big bunch of regressions.  (I think it's
starting to get there with the 4.2 and 4.3 series and that's why I'm 

  I would *strongly* recommend all maintainers stick with the official
release of the compiler when building packages for the distro.  It's the
same version the DLL is built with; we should use it for the apps too.  C is
/supposed/ to be ABI-compatible, but as we've discovered, it's not always as
simple as that.  Using the exact same compiler for the DLL and the packages
means we've got one less thing that can go wrong.

  Is there some specific problem in building lilypond that is resolved by
using gcc 4?  I *am* willing to do maintenance releases of the 3.4 compiler
if there are important bugs to fix, doubly so if it's needed to support a
package in the official distro.  (I'm also working in the background on an
experimental gcc 4 package).

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



RE: gmp-4.2.2-1 and and mpfr- for upload

2008-03-25 Thread Dave Korn
David Billinghurst wrote on 24 March 2008 03:43:

 The version number of libgmpxx was bumped in the upstream files to
 correct the shared library numbers.  I reverted this change in the
 cygwin build as the cygwin shared library is backwards compatible with
 gmp-4.2.1 - the 4.2.1 testsuite passes with the new cyggmpxx-3.dll.

  On the face of it, that sounds like a worryingly dubious idea.

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



Re: gmp-4.2.2-1 and and mpfr- for upload

2008-03-25 Thread Charles Wilson

Dave Korn wrote:

David Billinghurst wrote on 24 March 2008 03:43:


The version number of libgmpxx was bumped in the upstream files to
correct the shared library numbers.  I reverted this change in the
cygwin build as the cygwin shared library is backwards compatible with
gmp-4.2.1 - the 4.2.1 testsuite passes with the new cyggmpxx-3.dll.


  On the face of it, that sounds like a worryingly dubious idea.


Not necessarily. It is often the case that the version number of 
cygwin's library ports (I don't want to say cygwin DLL because that 
could be misconstrued) do not exactly follow the upstream versioning.


Most of the time, it's because there have been cygwin-specific changes 
that have forced our version number ahead of the upstream progression. 
Take ncurses, for instance: upstream so's are at version 5.0 or so, but 
our DLL number is 8.


In rare cases, we might fall behind the upstream numbers -- imagine if 
an ABI change occurred, but only #ifdef SOLARIS -- there'd be no reason 
(other than a desire for consistency) to bump the cygwin port's DLL number.


However, in the case of gmp, it is probably necessary to understand WHY 
the upstream maintainers bumped the DLL number. Did they make a 
back-wards incompatible change sometime early in the -3 sequence, but 
neglected to update the number until now? Or is the new version number 
merely cosmetic?


correct the shared library numbers just doesn't provide enough 
information.


--
Chuck




Some X programs won't start up

2008-03-25 Thread Robert Latest
Hello people,

I've recently installed cygwin-xfree and I'm loving it. Finally, my
beloved fvwm on my Windows PC at work!

Anyway, while some X apps start right up without trouble (fvwm, xcalc,
xterm...), others (xmgrace, for example) don't start at all. I type
xmgrace at the command prompt, and the prompt comes right back
without anything happening. ps afx shows nothing.

What's going on here?

Thanks,

robert

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



Re: Some X programs won't start up

2008-03-25 Thread Christopher Faylor
On Tue, Mar 25, 2008 at 12:17:47PM +0100, Robert Latest wrote:
Hello people,

I've recently installed cygwin-xfree and I'm loving it. Finally, my
beloved fvwm on my Windows PC at work!

Anyway, while some X apps start right up without trouble (fvwm, xcalc,
xterm...), others (xmgrace, for example) don't start at all. I type
xmgrace at the command prompt, and the prompt comes right back
without anything happening. ps afx shows nothing.

What's going on here?

Try running cygcheck on the full path of the program in question to see
if you're missing a DLL, e.g.:

  cygcheck /usr/bin/xmgrace

If you are missing a DLL you can find the package which contains it by
going to http://cygwin.com/packages/ .

cgf

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



Re: Some X programs won't start up

2008-03-25 Thread Robert Latest
On Tue, Mar 25, 2008 at 4:46 PM, Christopher Faylor
[EMAIL PROTECTED] wrote:
  Try running cygcheck on the full path of the program in question to see
  if you're missing a DLL, e.g.:

   cygcheck /usr/bin/xmgrace

This is what I get:

$ cygcheck /usr/bin/xmgrace
C:\cygwin/bin\xmgrace.exe
$

No error message or anything.

robert

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



RE:Some X programs won't start up

2008-03-25 Thread Rodrigo Medina
Hi,

On 25 Mar 2008 12:17:47 +0100 Robert Latest wrote:
Anyway, while some X apps start right up without trouble (fvwm, xcalc,
xterm...), others (xmgrace, for example) don't start at all. I type
xmgrace at the command prompt, and the prompt comes right back
without anything happening. ps afx shows nothing.

There are two problems with xmgace

1- For some unknown reason the .exe file is not in X11R6/bin/ as for all
other  X programs,
but in /usr/share/grace/bin.  In the first directory there only links
pointing to the actual file.
The problem is that non-cygwin programs do not understand such links.

2- xmgrace is known to require to run the cygwin command rebaseall.

I hope that this can be usefull

R.M.


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



Cygwin is saving my ass

2008-03-25 Thread Robert Latest
Hello friends,

Years ago, I heard of cygwin and installed it on a Windows PC that I
occasionally had to use -- just to have access to bash and find,
actually. Well, I liked it OK but viewed it as a more or less
superfluous toy. I mean, why use cygwin when you can have a native,
full-blown Linux system for free?

Which is what I had ever since. Never really used Windows much.

Enter corporate IT. For four weeks now I've been holding my first real
industry job. And I'm locked into a M$ Windows PC. God, I hadn't known
just how much Windows sucks. Everything around here is done with
Access and Excel and lots of ultra-slow VBA glue to hold it more or
less together. Lotus Notes for appointments and email. Well, that's
not going to change, but who helps ME to get MY work done?

Enter Cygwin. Finally, things flow again. What a relief. Thanks, guys.

Well, what cygwin is saving here isn't so much my ass as my mental health.

robert

--
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: Cygwin is saving my ass

2008-03-25 Thread Dave Korn
Robert Latest wrote on 25 March 2008 08:50:

 Enter corporate IT. For four weeks now I've been holding my first real
 industry job. And I'm locked into a M$ Windows PC. God, I hadn't known
 just how much Windows sucks. Everything around here is done with
 Access and Excel and lots of ultra-slow VBA glue to hold it more or
 less together. Lotus Notes for appointments and email. Well, that's
 not going to change, but who helps ME to get MY work done?
 
 Enter Cygwin. Finally, things flow again. What a relief. Thanks, guys.

  :)  I think you speak for quite a lot of people here when you say that.  I
couldn't function in my day-to-day work without a real shell, and grep and
sed, and all the gnu tools.  Cygwin makes windows worth using!


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/



Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Scott Wegner

Hello,

I am trying to create a wrapper Cygwin bash script to add 
functionality to an existing Windows batch script.  In my Cygwin script, 
I would like to call the batch file with something like:


...
cmd.exe /k batch-script.bat params
...

Calling the script in this fashion seems to generally work (in that the 
script executes).  However, I have trouble because the Cygwin path is 
prepended to the Windows path in the batch script.  As a result, trying 
to use the Windows find use Cygwin's instead.


My question is, whether there is a way to easily strip the Cygwin 
entries from the path for the batch call.  Hopefully the solution would 
be portable, and not affect the environment outside of the bash script.


Thanks,
Scott Wegner

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



MD Cygwin mirror

2008-03-25 Thread Chelban Vasile

Good day,

How can someone become public Cygwin mirror (listed at 
http://cygwin.com/mirrors.html) ?


Currently FedoraMD.org has Cygwin mirror at 
http://repo.fedoramd.org/mirrors/cygwin/

Country: Moldova
Country code: MD
City: Chişinău



Chelban Vasile
FedoraMD.org site administrator

--
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: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Greg Chicares
On 2008-03-25 13:30Z, Scott Wegner wrote:
 
 I am trying to create a wrapper Cygwin bash script to add 
 functionality to an existing Windows batch script.  In my Cygwin script, 
 I would like to call the batch file with something like:
 
 ...
 cmd.exe /k batch-script.bat params
 ...
 
 Calling the script in this fashion seems to generally work (in that the 
 script executes).  However, I have trouble because the Cygwin path is 
 prepended to the Windows path in the batch script.  As a result, trying 
 to use the Windows find use Cygwin's instead.

If you write
  %SystemRoot%\system32\find
in the batch file, then you'll get the msw find whether or not
any Cygwin directory is on your path.


--
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: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Scott Wegner

Greg Chicares wrote:

On 2008-03-25 13:30Z, Scott Wegner wrote:
I am trying to create a wrapper Cygwin bash script to add 
functionality to an existing Windows batch script.  In my Cygwin script, 
I would like to call the batch file with something like:


...
cmd.exe /k batch-script.bat params
...

Calling the script in this fashion seems to generally work (in that the 
script executes).  However, I have trouble because the Cygwin path is 
prepended to the Windows path in the batch script.  As a result, trying 
to use the Windows find use Cygwin's instead.


If you write
  %SystemRoot%\system32\find
in the batch file, then you'll get the msw find whether or not
any Cygwin directory is on your path.


Hi Greg,

Thanks for the quick reply.  This is a feasible solution.  However, I'd 
rather find a solution where the batch script can remain unaware of 
its Cygwin context.  Once I get things working, I plan on creating bash 
script wrappers for many Windows batch scripts, so I'd like to make the 
changes in the Cygwin environment, rather than editing each batch script 
individually.


I'll keep looking at let you know if I find anything.

Scott

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



Wrong links?

2008-03-25 Thread Angelo Graziosi

I have noticed that if I do 'ls -l /bin'

I get the following wrong links:

X11 - ../X11R6/bin

pnmnoraw - pnmtoplainpnm.exe   [1]

rcs2log - ../share/cvs/contrib/rcs2log
webcheck - ../share/webcheck/webcheck.py


If I do 'ls -l /usr/bin', only [1] is still wrong, the remaining links 
are OK.


Regarding [1], 'pnmtoplainpnm.exe' does not exist, only 'pnmtoplainpnm' 
is there, without '.exe'!


Is this different behaviour ('ls -l /bin' / 'ls -l /usr/bin') to be 
expected?


Cheers,
   Angelo.

---
  ...da cui vergine nacque

Venere, e fea quelle isole feconde
col suo primo sorriso,...
-
 Ugo FOSCOLO, A Zacinto

--
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: Wrong links?

2008-03-25 Thread Dave Korn
Angelo Graziosi wrote on 25 March 2008 14:38:

 I have noticed that if I do 'ls -l /bin'
 
 I get the following wrong links:
 
 X11 - ../X11R6/bin

  In what sense is that wrong?

 pnmnoraw - pnmtoplainpnm.exe   [1]
 
 rcs2log - ../share/cvs/contrib/rcs2log
 webcheck - ../share/webcheck/webcheck.py
 
 
 If I do 'ls -l /usr/bin', only [1] is still wrong, the
 remaining links are OK.

  What do you mean by wrong?  Soft-links are text strings, they cannot be
inherently wrong or right unless you have some extra criterion to apply.

 Regarding [1], 'pnmtoplainpnm.exe' does not exist, only 'pnmtoplainpnm'
 is there, without '.exe'!
 
 Is this different behaviour ('ls -l /bin' / 'ls -l /usr/bin') to be
 expected? 

  It's an interaction between two things:

1.  /bin and /usr/bin are the same physical directory, /usr/bin being a
mount point for /bin.

2.  exe magic only works on links when they can be resolved.


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: Wrong links? (Attn: netpbm, cvs, and webcheck maintainers)

2008-03-25 Thread Igor Peshansky
On Tue, 25 Mar 2008, Angelo Graziosi wrote:

 I have noticed that if I do 'ls -l /bin'

 I get the following wrong links:

 X11 - ../X11R6/bin

 pnmnoraw - pnmtoplainpnm.exe   [1]

 rcs2log - ../share/cvs/contrib/rcs2log
 webcheck - ../share/webcheck/webcheck.py


 If I do 'ls -l /usr/bin', only [1] is still wrong, the remaining links
 are OK.

 Regarding [1], 'pnmtoplainpnm.exe' does not exist, only 'pnmtoplainpnm' is
 there, without '.exe'!

[1] is a packaging error.  pnmtoplainpnm is a bash script, and the link is
in this form in the binary tarball.

 Is this different behaviour ('ls -l /bin' / 'ls -l /usr/bin') to be
 expected?

Well, yes.  Since the links are relative, doing ls -l /bin will attempt
to find the files in /share, which doesn't exist.

These are also packaging errors because, again, the links exist in the
relative form in the binary tarballs (I've only checked the cvs tarball,
but I assume webcheck has the same issue).

This may be a cygport bug as well.

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

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel

--
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: Wrong links? (Attn: netpbm, cvs, terminfo, and webcheck maintainers)

2008-03-25 Thread Angelo Graziosi

Igor Peshansky ha scritto:

On Tue, 25 Mar 2008, Angelo Graziosi wrote:


I have noticed that if I do 'ls -l /bin'

I get the following wrong links:

X11 - ../X11R6/bin

pnmnoraw - pnmtoplainpnm.exe   [1]

rcs2log - ../share/cvs/contrib/rcs2log
webcheck - ../share/webcheck/webcheck.py


If I do 'ls -l /usr/bin', only [1] is still wrong, the remaining links
are OK.

Regarding [1], 'pnmtoplainpnm.exe' does not exist, only 'pnmtoplainpnm' is
there, without '.exe'!


[1] is a packaging error.  pnmtoplainpnm is a bash script, and the link is
in this form in the binary tarball.


Is this different behaviour ('ls -l /bin' / 'ls -l /usr/bin') to be
expected?


Well, yes.  Since the links are relative, doing ls -l /bin will attempt
to find the files in /share, which doesn't exist.

These are also packaging errors because, again, the links exist in the
relative form in the binary tarballs (I've only checked the cvs tarball,
but I assume webcheck has the same issue).

This may be a cygport bug as well.

Good catch.
Igor


Also 'ls -l /lib' / 'ls -l /usr/lib' shows something similar with:

X11 - ../X11R6/lib/X11
terminfo - ../share/terminfo


Angelo.


--
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: Wrong links?

2008-03-25 Thread Angelo Graziosi

Dave Korn ha scritto:

 What do you mean by wrong?

'ls -l /bin' shows them in RED (as if they were unresolved), instead
'ls -l /usr/bin' shows them in CYAN, i.e. pointing to the right files.


Cheers,
   Angelo.

---
Physics is like sex: sure it may give some pratical results, but
that's not why we do it.
-
  Richard Philips FEYNMAN

--
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: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Michael Kairys
Scott Wegner [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
...  However, I'd rather find a solution where the batch script can remain 
unaware of its Cygwin context.  Once I get things working, I plan on 
creating bash script wrappers for many Windows batch scripts, so I'd like 
to make the changes in the Cygwin environment, rather than editing each 
batch script individually.


What I do is have a batch file I call before executing any dos commands 
(sort of a .dosrc), and in that I set my dos path. So for example I have a 
bash function dos that looks like this:


function dos() { local s=/c; if [ $1 ==  ]; then s=/k; fi; cmd $s 
%ETC%\login  $*; }


... where %ETC%\login.bat is my .dosrc file. This enables me to say to 
bash, dos and get a dos prompt, or dos foo and execute foo in a dos 
context. LIkewise for things such as shortcuts to cmd.exe, I use cmd.exe /k 
%ETC%\login.


I know this is not exactly what you're looking to do but perhaps something 
similar might work in your case. 




--
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: Using curses with -mno-cygwin

2008-03-25 Thread Stepp, Charles
I'd bet a shiny new quarter that cygwin supports linking to the ncurses
library. Both aalib (aafire) and mc (Midnight Commander) work just fine,
which indicates that curses is a go.



ncurses(3X)
ncurses(3X)

NAME
   ncurses - CRT screen handling and optimization package

SYNOPSIS
   #include curses.h

DESCRIPTION
   The  ncurses  library  routines  give  the  user a
terminal-independent
   method of updating  character  screens  with  reasonable
optimization.
   This  implementation  is  ``new  curses'' (ncurses) and is the
approved
   replacement for 4.4BSD classic curses,  which  has  been
discontinued.
   This describes ncurses version 5.5 (patch 20061104).


Charles Stepp
Meskimen's Law:
There's never time to do it rite, but there's always time to do it over.
-Original Message-
From: Christopher Faylor
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2008 8:58 AM
To: cygwin@cygwin.com
Subject: Re: Using curses with -mno-cygwin

On Mon, Mar 24, 2008 at 10:41:41AM +0100, Public Mailing Lists wrote:
I'd like to compile an old unix program that uses curses as a windows
standalone application.  Is it possible to do this with Cygwin?

MinGW supports curses, and Cygwin supports MinGW.  It looks like curses
is gone once I pass -mno-cygwin to gcc.  Is this intentional?

To generalize your question, you're asking if the cygwin version of
something is unavailable when you use an option called -mno-cygwin.
I'd think that the option would be self-documenting in this case but,
the answer is Yes, it's intentional.

If MinGW supports curses then you probably should be using MinGW if
you don't want to have your application rely on the Cygwin DLL.

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: Using curses with -mno-cygwin

2008-03-25 Thread Dave Korn
Stepp, Charles wrote on 25 March 2008 17:33:

 I'd bet a shiny new quarter that cygwin supports linking to
 the ncurses library.

  Well, if that was germane to the point, you'd be up a quarter, but as it
stands, nobody said cygwin doesn't!

  Perhaps http://cygwin.com/acronyms#YSHFRTT?

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: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Brian Dessent
Scott Wegner wrote:

 My question is, whether there is a way to easily strip the Cygwin
 entries from the path for the batch call.  Hopefully the solution would
 be portable, and not affect the environment outside of the bash script.

PATH is just a regular variable like any other.  If you want to remove
something from it, use whatever text processing tool you like.  The
shell lets you set environment variables only for the command being
executed using the syntax var=value command arg ..., so:

PATH=$(perl -e 'print join(:, grep([EMAIL PROTECTED]/(usr/)?bin@, 
   split(:, $ENV{PATH})))') cmd.exe /k batch-script.bat params

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/



Re: Using curses with -mno-cygwin

2008-03-25 Thread Christopher Faylor
On Tue, Mar 25, 2008 at 10:33:14AM -0700, Stepp, Charles wrote:
I'd bet a shiny new quarter that cygwin supports linking to the ncurses
library. Both aalib (aafire) and mc (Midnight Commander) work just fine,
which indicates that curses is a go.

Uh, no one said that cygwin did not support linking to ncurses.

We're talking about -mno-cygwin.  Read the subject.

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: GNU M4 diversion error

2008-03-25 Thread Eric Blake

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please post to an appropriate mailing list, rather than to an individual
developer - your question will likely be answered faster, because more
people can contribute, and the answer will be archived in case someone
else comes across the same issue.

According to Kaarlo Räihä on 3/25/2008 8:05 AM:
| Hi. I am sorry if I bother you with silly question, but I have issue
| with m4 which I can't resolve.
|
| I am trying to build VLC media player from sources and during
| ./bootstrap I get following error:
| /usr/bin/m4:configure.ac:1607: cannot create temporary file for
| diversion: Permission denied
|
| number after /usr/bin/m4:configure.ac: changes between different runs. I
| run cygwin environment and m4 is m4 (GNU M4) 1.4.10b.

The fact that the number changes implies that it is not something in your
input file, but something in your environment.  I suspect
http://cygwin.com/acronyms/#BLODA.

|
| I managed to ./bootstrap it earlier with same TMPDIR settings but now it
| just doesn't work. I even run cygwin with Admin rights (Vista) but now
| it doesn't make a difference (earlier this made it work).
|
| So can you give me some advice or is this some Cygwin/Windows related
| issue? And are there any ways to go around this issue?
|
| Here are getfacl fro TMPDIR
|
| $ getfacl /cygdrive/c/temp/ $TMPDIR
| # file: /cygdrive/c/temp/
| # owner: Raiska
| # group: None
| user::rwx
| group::rwx
| group:root:rwx
| group:SYSTEM:rwx
| group:Users:r-x
| mask:rwx
| other:rwx
| default:group:root:rwx
| default:group:SYSTEM:rwx
| default:group:Users:r-x
| default:mask:rwx
|
| # file: /cygdrive/c/temp
| # owner: Raiska
| # group: None
| user::rwx
| group::rwx
| group:root:rwx
| group:SYSTEM:rwx
| group:Users:r-x
| mask:rwx
| other:rwx
| default:group:root:rwx
| default:group:SYSTEM:rwx
| default:group:Users:r-x
| default:mask:rwx
|
|

- --
Don't work too hard, make some time for fun as well!

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

iEYEARECAAYFAkfpTgAACgkQ84KuGfSFAYAMjACgtBFU0Onkp1NmYrxHEYXYlcp3
68sAnjGqMIJp1VW1gJuzpRWFJZ/7b+RY
=J0mR
-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: GNU M4 diversion error [SOLVED] [attn FAQ maintainer]

2008-03-25 Thread Eric Blake

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Kaarlo Räihä on 3/25/2008 10:42 AM:
| I found the issue. It is called Avira AntiVir. When enabled, it causes
| issues for m4. Sorry that I bothered you.

Just as I suspected.  I guess we have another BLODA entry to check for.

- --
Don't work too hard, make some time for fun as well!

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

iEYEARECAAYFAkfpTkAACgkQ84KuGfSFAYArtACfdNWLInh/wUmfUHttNiTxqvc9
1HUAn2Sa31GSJT84IClKtK/scI18gaD+
=UPQx
-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: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Tatsuro MATSUOKA
Hello

$ cygpath --help

Is this infomation useful for you?  

Rerads

Tatsuro

--- Scott Wegner [EMAIL PROTECTED] wrote:

 Greg Chicares wrote:
  On 2008-03-25 13:30Z, Scott Wegner wrote:
  I am trying to create a wrapper Cygwin bash script to add 
  functionality to an existing Windows batch script.  In my Cygwin script, 
  I would like to call the batch file with something like:
 
  ...
  cmd.exe /k batch-script.bat params
  ...
 
  Calling the script in this fashion seems to generally work (in that the 
  script executes).  However, I have trouble because the Cygwin path is 
  prepended to the Windows path in the batch script.  As a result, trying 
  to use the Windows find use Cygwin's instead.
  
  If you write
%SystemRoot%\system32\find
  in the batch file, then you'll get the msw find whether or not
  any Cygwin directory is on your path.
 
 Hi Greg,
 
 Thanks for the quick reply.  This is a feasible solution.  However, I'd 
 rather find a solution where the batch script can remain unaware of 
 its Cygwin context.  Once I get things working, I plan on creating bash 
 script wrappers for many Windows batch scripts, so I'd like to make the 
 changes in the Cygwin environment, rather than editing each batch script 
 individually.
 
 I'll keep looking at let you know if I find anything.
 
 Scott
 
 --
 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/
 
 


--
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/

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



1.5.24-2: Applications automatically restart on crash

2008-03-25 Thread Christopher Morlier

Hi Everyone,
For a couple of years I have noticed that when I run programs from 
within Cygwin (currently 1.5.24-2), if the program crashes (ie segfault) 
then the program gets automatically restarted.  This is primarily a 
problem when compiling/testing a windows program I am developing 
(compiled with MSVC), as I have to wait for the program to restart so I 
can shut it down. It seems like this hasn't always been the behavior, 
although it has been for several years (in the past, it just didn't 
effect me as much).


I was wondering, is this a bug or a feature? And if it is a feature is 
there a way to prevent it from happening?


Thanks,
Chris

--
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: MD Cygwin mirror

2008-03-25 Thread Larry Hall (Cygwin)

Chelban Vasile wrote:

Good day,

How can someone become public Cygwin mirror (listed at 
http://cygwin.com/mirrors.html) ?


http://cygwin.com/mirrors.html

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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Cygwin is saving my ass

2008-03-25 Thread Reini Urban
2008/3/25, Dave Korn:
 Robert Latest wrote on 25 March 2008 08:50:
   Enter corporate IT. For four weeks now I've been holding my first real
   industry job. And I'm locked into a M$ Windows PC. God, I hadn't known
   just how much Windows sucks. Everything around here is done with
   Access and Excel and lots of ultra-slow VBA glue to hold it more or
   less together. Lotus Notes for appointments and email. Well, that's
   not going to change, but who helps ME to get MY work done?
  
   Enter Cygwin. Finally, things flow again. What a relief. Thanks, guys.


   :)  I think you speak for quite a lot of people here when you say that.  I
  couldn't function in my day-to-day work without a real shell, and grep and
  sed, and all the gnu tools.  Cygwin makes windows worth using!

Best is that I'm in a high-tech, high-profile SW-HW company which is
now doing windows only, and that I'm one of three of 2500 who knows
a shell, emacs, coreutils, ... At least we have 3 other perl people.
Not that the Windows tools are crap. They are GUI-wise by far superior.
You cannot just automate them.
Cygwin saved my deadlines a lot of times so far, even if I have to convert
the prototypes to MSWin32 sometimes.
And the real hairy stuff is still happening on secret Linux, RTLinux or VAX
boxes or even weirder self-written transputer or Shark or StrongArm firmware.
My latest server had to be protoyped on cygwin for two years, until I got
permission for a real linux server.

When we just could have valgrind's memchecker for windows/newlib at least ...

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



announcing allmydata.org Tahoe, the Least-Authority Filesystem, v1.0

2008-03-25 Thread zooko

Folks:

I relied on cygwin extensively while developing this project.   
Nowadays the end-user customers who use this product use the Native- 
Windows build, but I continue to maintain the cygwin version, both to  
keep our options open in the future and because I have a special  
fondness for cygwin.


Regards,

Zooko

ANNOUNCING Allmydata.org Tahoe, the Least-Authority Filesystem, v1.0

We are pleased to announce the release of version 1.0 of the Tahoe
Least Authority Filesystem.

The Tahoe Least Authority Filesystem is a secure, decentralized,
fault-tolerant filesystem.  All of the source code is available under
a Free Software, Open Source licence (or two).

This filesystem is encrypted and distributed over multiple peers in
such a way it continues to function even when some of the peers are
unavailable, malfunctioning, or malicious.

A one-page explanation of the security and fault-tolerance properties
that it offers is visible at:

http://allmydata.org/source/tahoe/trunk/docs/about.html


We believe that this version of Tahoe is stable enough to rely on as a
permanent store of valuable data.  The version 1 branch of Tahoe will
be actively supported and maintained for the forseeable future, and
future versions of Tahoe will retain the ability to read files and
directories produced by Tahoe v1.0 for the forseeable future.

This release of Tahoe will form the basis of the new consumer backup
product from Allmydata, Inc. -- http://allmydata.com .


This is the successor to Allmydata.org Tahoe Least Authority
Filesystem v0.9, which was released March 13, 2008 [1].  Since v0.9
we've made the following changes:

 * Use an added secret for convergent encryption to better protect the
   confidentiality of immutable files, and remove the publically
   readable hash of the plaintext (ticket #365).

 * Add a mkdir-p feature to the WAPI (ticket #357).

 * Many updates to the Windows installer and Windows filesystem
   integration.


Tahoe v1.0 produces files which can't be read by older versions of
Tahoe, although files produced by Tahoe = 0.8 can be read by Tahoe
1.0.  The reason that older versions of Tahoe can't read files
produced by Tahoe 1.0 is that those older versions require the file to
come with a publically-readable hash of the plaintext, but exposing
such a hash is a confidentiality leak, so Tahoe 1.0 does not do it.


WHAT IS IT GOOD FOR?

With Tahoe, you can distribute your filesystem across a set of
computers, such that if some of the computers fail or turn out to be
malicious, the filesystem continues to work from the remaining
computers.  You can also share your files with other users, using a
strongly encrypted, capability-based access control scheme.

Because this software is the product of less than a year and a half of
active development, we do not categorically recommend it for the
storage of data which is extremely confidential or precious.  However,
we believe that the combination of erasure coding, strong encryption,
and careful engineering makes the use of this software a much safer
alternative than common alternatives, such as RAID, or traditional
backup onto a remote server, removable drive, or tape.

This software comes with extensive unit tests [2], and there are no
known security flaws which would compromise confidentiality or data
integrity.  (For all currently known security issues please see the
Security web page: [3].)

This release of Tahoe is suitable for the friendnet use case [4] --
it is easy to create a filesystem spread over the computers of you and
your friends so that you can share files and disk space with one
another.


LICENCE

You may use this package under the GNU General Public License, version
2 or, at your option, any later version.  See the file COPYING.GPL
for the terms of the GNU General Public License, version 2.

You may use this package under the Transitive Grace Period Public
Licence, version 1.0.  The Transitive Grace Period Public Licence says
that you may distribute proprietary derived works of Tahoe without
releasing the source code of that derived work for up to twelve
months, after which time you are obligated to release the source code
of the derived work under the Transitive Grace Period Public Licence.
See the file COPYING.TGPPL.html for the terms of the Transitive
Grace Period Public Licence, version 1.0.

(You may choose to use this package under the terms of either licence,
at your option.)


INSTALLATION

Tahoe works on Linux, Mac OS X, Windows, Cygwin, and Solaris.  For
installation instructions please see docs/install.html [5].


HACKING AND COMMUNITY

Please join us on the mailing list [6] to discuss uses of Tahoe.
Patches that extend and improve Tahoe are gratefully accepted -- the
RoadMap page [7] shows the next improvements that we plan to make and
CREDITS [8] lists the names of people who've contributed to the
project.  The wiki Dev page [9] contains resources for hackers.


SPONSORSHIP

Tahoe is sponsored by Allmydata, Inc. [10], a 

where is `getopt` ?

2008-03-25 Thread PRC

I want to update the `getopt` utility in my cygwin, since the current
version cannot support `-a` option. But I don't know which package this
utility is in. I check `setup.ini` file in the `release` diretory. There
is only a little informatation about `getopt`, like
-
@ libpopt0
sdesc: Library for parsing cmdline parameters - runtime
ldesc: Popt is a C library for parsing command line parameters.  Popt was
heavily influenced by the getopt() and getopt_long() functions, but it
improves on them by allowing more powerful argument expansion.  Popt
can parse arbitrary argv[] style arrays and automatically set
variables based on command line arguments.  Popt allows command line
arguments to be aliased via configuration files and includes utility
functions for parsing arbitrary strings into argv[] arrays using
shell-like rules.
category: Libs
requires: cygwin
version: 1.6.4-4
install: release/popt/libpopt0/libpopt0-1.6.4-4.tar.bz2 11627 
c43b5d83506a27373cc240cc561209bb
source: release/popt/popt-1.6.4-4-src.tar.bz2 757890 
e0b48ada5a020076fdc63917d35b29d6
-
where can I find the newest `getopt` utility then?


Best Regards

PRC
Mar 26  2008


--
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: where is `getopt` ?

2008-03-25 Thread Brian Dessent
PRC wrote:

 I want to update the `getopt` utility in my cygwin, since the current
 version cannot support `-a` option. But I don't know which package this
 utility is in. I check `setup.ini` file in the `release` diretory. There
 is only a little informatation about `getopt`, like

$ cygcheck -f /usr/bin/getopt
util-linux-2.13.1-2

$ cygcheck -p bin/getopt
Found 3 matches for bin/getopt.
util-linux/util-linux-2.12r-2   Random collection of Linux utilities
util-linux/util-linux-2.13.1-1  Random collection of Linux utilities
util-linux/util-linux-2.13.1-2  Random collection of Linux utilities

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/