Re: ldd in cygwin

2009-09-30 Thread Steven Woody
On Thu, Oct 1, 2009 at 2:02 PM, Dave Korn
 wrote:
> Steven Woody wrote:
>> Hi,
>>
>> In Linux, we can get a library dependency list by running of 'ldd'.
>> In windows, executable still depend on libraries, such as DLLs, but I
>> don't find a 'ldd' command in cygwin.  Is there any tool that will do
>> the job?
>
>  "cygcheck /path/to/exe"
>
>    cheers,
>      DaveK
>
>

Wonderful! It seems cygcheck can do many things.

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



-- 
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

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



Re: ldd in cygwin

2009-09-30 Thread Dave Korn
Steven Woody wrote:
> Hi,
> 
> In Linux, we can get a library dependency list by running of 'ldd'.
> In windows, executable still depend on libraries, such as DLLs, but I
> don't find a 'ldd' command in cygwin.  Is there any tool that will do
> the job?

  "cygcheck /path/to/exe"

cheers,
  DaveK


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



ldd in cygwin

2009-09-30 Thread Steven Woody
Hi,

In Linux, we can get a library dependency list by running of 'ldd'.
In windows, executable still depend on libraries, such as DLLs, but I
don't find a 'ldd' command in cygwin.  Is there any tool that will do
the job?

Thanks.


-- 
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

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



cppunit in 1.7

2009-09-30 Thread smoore
I'd like to admit up front that I know next to nothing about cppunit, so
it's very possible this is pilot error.

With that said, I can't seem to get cppunit working under 1.7. I checked the
archives and it looks like something similar happened in the past, with
older cygwin's. Back then it turned out cppunit simply needed to be rebuilt.
Currently I get a segfault exactly like the old reports. I even went and got
the hello.cpp to test with in the event my current test file was broken, but
I get the same segfault. 

http://www.mail-archive.com/cygwin@cygwin.com/msg83519.html

I downloaded the source and rebuilt but I get the segfault with my locally
built copy. To build I used a straight cygport and everything looked OK. I
did a make check and that looked OK. 

I also tried in 1.5 and cppunit over there works swimmingly.

Could someone check if cppunit works elsewhere and if not I'll try to run
this to ground here or send the usual info as attachments so someone smarter
than me can see something.

Stan




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



Re: List all installed pacakges

2009-09-30 Thread Dave Korn
Steven Woody wrote:
> Hi,
> 
> How can I list all the installed packages on my system? Thanks.
> 

  "cygcheck -cd" gets a full package listing.

cheers,
  DaveK


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



List all installed pacakges

2009-09-30 Thread Steven Woody
Hi,

How can I list all the installed packages on my system? Thanks.

-- 
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

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



Re: Apache2 on Cygwin 1.7 does not start (cygserver is running)

2009-09-30 Thread David Antliff
On Tue, Sep 29, 2009 at 17:01, David Antliff  wrote:
> So there must be something different with 1.7 that isn't covered by
> those instructions - does anyone know what this might be, please?

I still haven't made any progress with this - I suspect it's something
to do with cygserver. Perhaps a conflict with 1.5?

It would be great to get apache working in 1.7...

-- David.

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



Re: cygwin settings in cygwin.bat

2009-09-30 Thread Larry Hall (Cygwin)

On 09/30/2009 02:36 PM, CygwinUser wrote:

Thanks for your reply. It works. But just curious to know if I can change it
inside cygwin.bat file?.


I don't know of a way to do that.  You might find someone in a Windows forum
that knows a way to make that happen from a batch file.

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

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



Re: cygwin settings in cygwin.bat

2009-09-30 Thread CygwinUser

Hi,

Thanks for your reply. It works. But just curious to know if I can change it
inside cygwin.bat file?. 


Larry Hall (Cygwin) wrote:
> 
> On 09/30/2009 01:37 PM, CygwinUser wrote:
>>
>> Hi,
>>
>> I would like to change the default settings for screen buffer size and
>> screen width. I would like to know which cygwin variable should be used
>> and
>> the syntax to set in cygwin.bat. Could you please let me know
>> Thanks in advance.
> 
> If you're talking about the console you get with cmd.exe (what you get if
> you
> double-click on 'cygwin.bat' to start it from explorer or your desktop for 
> example),
> then you are squarely in Windows-land, as this has nothing to do with
> Cygwin 
> (and
> as such is pretty-much off-topic for this list).  But, assuming you are 
> using cmd.exe,
> you'll want to go to the icon in the top left corner.  Bring up the
> context 
> menu by
> right mouse clicking on it, select "Properties" and pick the "Layout" tab. 
> What you
> want is there.  If you want this change to be the new default for all
> future 
> windows,
> select "Defaults" instead of "Properties" above.
> 
> -- 
> 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?
> 
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/cygwin-settings-in-cygwin.bat-tp25685444p25686570.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Installing previous versions of binutils

2009-09-30 Thread Christopher Faylor
On Wed, Sep 30, 2009 at 01:01:27PM +0100, Dave Korn wrote:
>Ian C wrote:
>
>> Sorry if this is a silly question (new to this), I know how to uninstall
>> the binutils 20080624-2 that comes with Cygwin 1.5.25-15. ...but can I use
>> the setup routine to install previous versions of binutils (such as version
>> 20060817-1), which should be compatible with the WxPython application. If I
>> uninstall the latest binutils, how do I get the Cygwin setup program to
>> recognize the 2006 version of binutils.
>
>  On the setup.exe package chooser page, where you click on binutils to set
>the selection to "Uninstall", you can keep clicking and it will cycle through
>all available versions.  Note that the definition of "available" is mode
>sensitive - if you're in "install from internet" or "download from internet"
>mode it'll show you any available versions on the mirror you're using, but if
>you're using "install from local directory" mode it'll only show you any
>versions that you've already downloaded, which might be why you didn't already
>notice this mechanism while you were uninstalling.
>
>  However it seems the only versions left on the mirrors are 20080624 and
>20080523, the 2006 versions have long since gone.  If you really need the old
>versions, you can get them from the "Cygwin time-machine":
>
>http://www.fruitbat.org/Cygwin/index.html#cygwintimemachine
>
>  But probably the best solution would be to download a recent snapshot
>tarball of binutils and build and install it yourself, since it's had a
>boatload of fixes put in earlier this year.  Binutils is fortunately always
>really simple to build, it's one of the packages where you really can just
>"./configure ; make ; make install" and it will reliably "just work".

Either that or move to Cygwin 1.7 which has a fairly recent version of
binutils.

cgf

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



Re: Cygwin 1.7 & mintty error - cannot run mintty more than once at a time

2009-09-30 Thread Christopher Faylor
On Wed, Sep 30, 2009 at 07:09:38AM +0100, Andy Koppe wrote:
>2009/9/30 David Antliff:
>>> From http://cygwin.com/problems.html: "Run 'cygcheck -s -v -r
cygcheck.out' and include that file as an attachment in your report.
>>
>> Done, although I've manually stripped out some company-specific info
>> I'd rather not publish on the Internet.
>
>Good idea.
>
>
>>> Also, which version of mintty are you using, and how exactly are you
>>> invoking it? And are you running 1.5 at the same time?
>>
>> According to the 'About' dialog, I am using 0.4.4, which came with
>> yesterday's Cygwin-1.7 fresh install.
>>
>> I'm invoking it from cygwin.bat like this (instead of bash --login -i):
>> cygstart mintty --size=88,30 -
>>
>> However I get the same problem if I simply run
>> c:\cygwin-1.7\bin\mintty.exe from a Windows cmd.exe prompt, when one
>> instance is already running.
>>
>> Yes, I am running various 1.5 processes (including mintty) at the same
>> time. I can try shutting down all 1.5 minttys if you like.
>
>Yes, I think that's worth trying. 1.5 and 1.7 should be able to run
>side-by-side, and it works for me, but who knows. Even better if you
>were able to shut down all Cygwin processes, or reboot.
>
>
>>  85  166760 [main] mintty 4336 fhandler_pipe::create_selectable:
>CreateNamedPipe: name \\.\pipe\cygwin-tty1-to-master, size 131072
>> 242  167002 [main] mintty 4336 fhandler_pipe::create_selectable: pipe busy
>
>The is a call to CreateNamedPipe in Cygwin's pty emulation failing
>with "ERROR_PIPE_BUSY". Helpfully, CreateNamedPipe's MSDN page makes
>no mention of it, but the code in pipe.cc has this:
>
>   case ERROR_PIPE_BUSY:
> /* The pipe is already open with compatible parameters.
>Pick a new name and retry.  */
> debug_printf ("pipe busy", name ? ", retrying" : "");
> break;
>
>In this case we don't retry because the name is fixed to
>"\\.\pipe\cygwin-tty1-to-master".
>
>This article suggests a call to WaitNamedPipe in case of
>ERROR_PIPE_BUSY:
>http://msdn.microsoft.com/en-us/library/aa365592%28VS.85%29.aspx. I've
>got no idea whether that would help here.
>
>cgf?

It shouldn't be necessary.

The tty code is supposed to avoid setting up more than one tty server
for the same tty number.  If there is an ERROR_PIPE_BUSY problem when
setting up cygwin-tty1-to-master that might indicate that some other
Cygwin process has already established a tty but the process is somehow
not sharing Cygwin's shared memory pool where this information is kept.

This is probably one of those cases where 1.5 and 1.7 can't coexist.  If
you're running pty processes from each then you'll have this problem.

cgf

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



Re: cygwin settings in cygwin.bat

2009-09-30 Thread Larry Hall (Cygwin)

On 09/30/2009 01:37 PM, CygwinUser wrote:


Hi,

I would like to change the default settings for screen buffer size and
screen width. I would like to know which cygwin variable should be used and
the syntax to set in cygwin.bat. Could you please let me know
Thanks in advance.


If you're talking about the console you get with cmd.exe (what you get if you
double-click on 'cygwin.bat' to start it from explorer or your desktop for 
example),
then you are squarely in Windows-land, as this has nothing to do with Cygwin 
(and
as such is pretty-much off-topic for this list).  But, assuming you are 
using cmd.exe,
you'll want to go to the icon in the top left corner.  Bring up the context 
menu by
right mouse clicking on it, select "Properties" and pick the "Layout" tab. 
What you
want is there.  If you want this change to be the new default for all future 
windows,

select "Defaults" instead of "Properties" above.

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

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



cygwin settings in cygwin.bat

2009-09-30 Thread CygwinUser

Hi,

I would like to change the default settings for screen buffer size and
screen width. I would like to know which cygwin variable should be used and
the syntax to set in cygwin.bat. Could you please let me know
Thanks in advance.

CygwinUser
-- 
View this message in context: 
http://www.nabble.com/cygwin-settings-in-cygwin.bat-tp25685444p25685444.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: [ANNOUNCEMENT] [1.7] Updated: rsnapshot 1.3.1-1 -- A local and remote filesystem snapshot utility

2009-09-30 Thread David M. Besonen
thank you!


  -- david



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



Re: Tree command - Display Structure of Directory Hierarchy

2009-09-30 Thread Ehud Karni
On Wed, 30 Sep 2009 14:01:12 Dave Korn wrote:
>
> Ehud Karni wrote:
> > On Tue, 29 Sep 2009 21:52:02 Dave Korn wrote:
> >>   That is precisely why I asked for the source, and precisely the 
> >> advantage of
> >> open source over proprietary closed sources :-)
> >
> > I attach a source code for my own (simplified version) treed program
>
>   Thanks for trying to help, but I'm afraid you just aren't able to fulfill
> someone else's GPL obligations on their behalf; I want the actual source from
> which the actual binary that was distributed to me was compiled.

That's a misunderstanding, I did not intend to rectify the OP GPL violation,
I just wanted to provide a working directory tree listing program.

>   I'm quite curious to see how it uses the "system()" function.

My program does not use system, it uses dir operations and fstat.

Ehud.



--
 Ehud Karni   Tel: +972-3-7966-561  /"\
 Mivtach - Simon  Fax: +972-3-7976-561  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D Better Safe Than Sorry

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



Re: Email problem with local users

2009-09-30 Thread Dave Korn
Troy Bull wrote:
> I have cygwin 1.7 installed.  Exim is installed and configured and working.

  [ ... ]

> if I do this
> 
> ls -l | email bull
> 
> it complains that bull is an unknown user. Anyone have any ideas on
> how to "fix" this issue?  Is it a problem with exim or email?

  Dunno, but here's a WAG: is your hostname set correctly?  What does the
command-line "hostname" command show as output?

cheers,
  DaveK

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



Re: Tree command - Display Structure of Directory Hierarchy

2009-09-30 Thread Dave Korn
Eric Blake wrote:
> Furthermore:
> 
>>> This program is released under the GPL, so you can do any modification
>>> to it. If you do, please post your changes (and the reason behind it).
> 
> One of the freedoms guaranteed by the GPL is that you are free to make
> modifications without any requirement to push them back 'upstream'.  In
> other words, mandating that users return enhancements to you 

  He said "please", didn't he?  That's a polite (and implicitly optional)
request, not a mandate!

cheers,
  DaveK


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



Re: Tree command - Display Structure of Directory Hierarchy

2009-09-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Dave Korn on 9/30/2009 7:01 AM:
> Ehud Karni wrote:
>> On Tue, 29 Sep 2009 21:52:02 Dave Korn wrote:
>>>   That is precisely why I asked for the source, and precisely the advantage 
>>> of
>>> open source over proprietary closed sources :-)
>> I attach a source code for my own (simplified version) treed program
> 
>   Thanks for trying to help, but I'm afraid you just aren't able to fulfull
> someone else's GPL obligations on their behalf; I want the actual source from
> which the actual binary that was distributed to me was compiled.

I agree with Dave's concerns.  Furthermore:

>> This program is released under the GPL, so you can do any modification
>> to it. If you do, please post your changes (and the reason behind it).

One of the freedoms guaranteed by the GPL is that you are free to make
modifications without any requirement to push them back 'upstream'.  In
other words, mandating that users return enhancements to you violates the
very premise that you gave them by releasing under the GPL (of course,
most users will be civil enough to return enhancements as a favor, but it
is because they choose to, and not because you required it).

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

Eric Blake e...@byu.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrDVFUACgkQ84KuGfSFAYAs3wCgvd6qcPBkytvuYpn+GeYLW2X/
k8AAoJAuo1CibmwT6twc60zKLpTpwjJg
=mRMo
-END PGP SIGNATURE-

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



Re: Tree command - Display Structure of Directory Hierarchy

2009-09-30 Thread Dave Korn
Ehud Karni wrote:
> On Tue, 29 Sep 2009 21:52:02 Dave Korn wrote:
>>   That is precisely why I asked for the source, and precisely the advantage 
>> of
>> open source over proprietary closed sources :-)
> 
> I attach a source code for my own (simplified version) treed program

  Thanks for trying to help, but I'm afraid you just aren't able to fulfull
someone else's GPL obligations on their behalf; I want the actual source from
which the actual binary that was distributed to me was compiled.

  I'm quite curious to see how it uses the "system()" function.

cheers,
  DaveK


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



Email problem with local users

2009-09-30 Thread Troy Bull
I have cygwin 1.7 installed.  Exim is installed and configured and working.

If I email to troy.b...@gmail.com it goes right through.

If I email to b...@nik it hits the /etc/aliases and gets routed to
troy.b...@gmail.com (as desired)

if I do this

ls -l | email bull

it complains that bull is an unknown user. Anyone have any ideas on
how to "fix" this issue?  Is it a problem with exim or email?

Thanks
troy

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



Re: Tree command - Display Structure of Directory Hierarchy

2009-09-30 Thread Ehud Karni
On Tue, 29 Sep 2009 21:52:02 Dave Korn wrote:
>
>   That is precisely why I asked for the source, and precisely the advantage of
> open source over proprietary closed sources :-)

I attach a source code for my own (simplified version) treed program
(do your own compilation, my gcc command is in the source).
This program is not related to the previous attached binary of `tree'.

This program is released under the GPL, so you can do any modification
to it. If you do, please post your changes (and the reason behind it).

Ehud.


--
 Ehud Karni   Tel: +972-3-7966-561  /"\
 Mivtach - Simon  Fax: +972-3-7976-561  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D Better Safe Than Sorry
/* TREED: list all directories from given node
Copyright (C) 1994-2009 Ehud karni 

   Compile command: gcc treed.c -O2 -o treed -static -Wall

command call:  treed [-] [-n] [-s] [-x] [dir]
   - = max depth of branching
   -s= follow symbolic links
   -x= cross mount point
   -n= print net size (bytes not including unused block parts)
   -m= print size in Megabytes (1024*1024) instead of Kilobytes (1024)

   RCS: $Id: treed.c,v 1.112 2009/01/15 17:02:19 ehud Exp ehud $

   $Log: treed.c,v $
   Revision 1.112  2009/01/15 17:02:19  ehud
   Add -m switch for printing sizes in Megabytes

   Revision 1.111  2006/05/21 16:10:37  ehud
   Added net size option: -n. Added struct blksiz (blocks & char size)
   used instead of blocks.  Changed total_dir () to struct blksiz,

   Revision 1.110  2005/04/18 10:52:54  ehud
   Remove kvv, kvh, kvnx - use kvchars instead, set it according to
   terminal type - NPC? (pc graphics) characters or textual (any other).

   Revision 1.109  2003/05/15 12:02:31  ehud
   Use 64 bit file ops (LFS) - just added defines.
   Change size (750 ents) and fix check for directory "realoc".

   Revision 1.108  2001/07/04 11:17:38  ehud
   Change the allocation of the directories list

   Revision 1.107  2001/06/05 16:17:14  ehud
   Delete inode hashing altogether

   Revision 1.106  2001/06/05 12:44:35  ehud
   Adjustments for W32, changes in ino hash schem (no good).

   Revision 1.105  1997/01/14 16:23:01  ehud
   Changes to ttywrt_, detecting q on page wait

   Revision 1.104  1996/04/15  11:51:05  ehud
   Changes for SGI compatibilty

   Revision 1.103  1994/11/30  14:17:46  ehud
   Fix bug (different devices) and deal with mount crossing

   Revision 1.100  1994/11/08  11:01:42  ehud
   Initial version control use


This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You can find a copy of the GNU General Public License and some
more information at:  http://www.gnu.org/copyleft/gpl.html


   Ehud  Karni */

#define DEBUG  0   /* debug prints ON / OFF */

#define _FILE_OFFSET_BITS 64   /* use 64 bit file length */
#define _LARGEFILE64_SOURCE 1  /* LFS support needed */

#ifdef __MSDOS__
#define  __DOS_W32__   1   /* dos (DJGPP) or W32 (mingw) */
#endif /* __MSDOS__ */
#ifdef __MINGW__
#define  __DOS_W32__   1   /* dos (DJGPP) or W32 (mingw) */
#endif /* __MINGW__ */

#include /* standard string library */
#include  /* standard I/O library */
#include /* standard library */
#include  /* UNIX sys types */
#include /* standard signal library */
#include   /* date/time structers */
#include /* directory entry */
#include   /* File status entry */

#ifndef __DOS_W32__/* include for REAL unix only */
#include /* UNIX non standard library */

#define RE_ALOC(pntr,count)/* reallocate table (pntr) to count entries */ \
   { register void *tmpp ; /* tmp pointer */   \
   while ( ( ( tmpp = realloc ( pntr, count * sizeof ( pntr[0] ) ) ) == NULL ) \
   && ( count != 0 ) ) \
   {  

Re: Installing previous versions of binutils

2009-09-30 Thread Dave Korn
Ian C wrote:

> Sorry if this is a silly question (new to this), I know how to uninstall
> the binutils 20080624-2 that comes with Cygwin 1.5.25-15. ...but can I use
> the setup routine to install previous versions of binutils (such as version
> 20060817-1), which should be compatible with the WxPython application. If I
> uninstall the latest binutils, how do I get the Cygwin setup program to
> recognize the 2006 version of binutils.

  On the setup.exe package chooser page, where you click on binutils to set
the selection to "Uninstall", you can keep clicking and it will cycle through
all available versions.  Note that the definition of "available" is mode
sensitive - if you're in "install from internet" or "download from internet"
mode it'll show you any available versions on the mirror you're using, but if
you're using "install from local directory" mode it'll only show you any
versions that you've already downloaded, which might be why you didn't already
notice this mechanism while you were uninstalling.

  However it seems the only versions left on the mirrors are 20080624 and
20080523, the 2006 versions have long since gone.  If you really need the old
versions, you can get them from the "Cygwin time-machine":

http://www.fruitbat.org/Cygwin/index.html#cygwintimemachine

  But probably the best solution would be to download a recent snapshot
tarball of binutils and build and install it yourself, since it's had a
boatload of fixes put in earlier this year.  Binutils is fortunately always
really simple to build, it's one of the packages where you really can just
"./configure ; make ; make install" and it will reliably "just work".

cheers,
  DaveK

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



Installing previous versions of binutils

2009-09-30 Thread Ian C
Hi guys,
 
Sorry new to this.
 
I just installed Cygwin 1.5.25-15 using the setup program, to ultimately 
build a GNU radio application under Windows XP.
http://gnuradio.org/trac/wiki/CygwinGettingStarted
 
This version of Cygwin installs: binutils version: 20080624-2
...  (and the previous version is binutils version: 20080523-1)
 
Under the Windows Tips page: 
http://gnuradio.org/trac/wiki/WindowsTips
 
There are several 'broken packages' in Cygwin which do not work when building 
the 3rd party WxPython application in GNU Radio: 
 
binutils version: 20060709-1 (obsolete); causes "Permission denied" errors on 
wxPython 
binutils version: 20080523-1; causes build errors in wxPython and Numpy 
 
The "simplest workaround is to reinstall Cygwin binutils 20060817-1". 
 
Sorry if this is a silly question (new to this), I know how to uninstall the 
binutils 20080624-2 that comes with Cygwin 1.5.25-15.
...but can I use the setup routine to install previous versions of binutils 
(such as version 20060817-1), which should be compatible with the WxPython 
application. If I uninstall the latest binutils, how do I get the Cygwin setup 
program to recognize the 2006 version of binutils.
 
Thanks for any help.
Ian





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



Re: XWin not working on vista?

2009-09-30 Thread Marc Girod

Hi,

I saw Larry's reply to go to the cygwin-xfree list,
and I am OK with that, but you didn't yet, did you?

Then just to tell that at least I do successfully use XWin on Vista.


Mike Eggleston-2 wrote:
> 
> Suggestions on what to try next?
> 

Well, comparing our respective logs:
- I use: Release: 1.6.3.0 (20090902)
- my startup command is: /usr/bin/X :0 -multiwindow -clipboard -auth 
- I use a larger screen with less depth (16 bits)
- My mouse pretends to have 5 buttons
- Your log has the shutdown in progress as the last line, but my session is
still running

Given your nice shutdown, I don't think you need to clean up the lock and
the socket:

/tmp/.X0-lock
/tmp/.X11-unix/X0

I would believe that your problem is in fact not with the X server (looks
fine), but with the application
you try to run as the main session.
So, look for an other log to find the reason for its failure.

The next option is to run the startup command from the cygwin shell.
You'll get the errors in the transcript.

Marc

-- 
View this message in context: 
http://www.nabble.com/XWin-not-working-on-vista--tp25648247p25677893.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Cygwin Set up - Migrate to new machine

2009-09-30 Thread Alexey Borzenkov
On Mon, Sep 28, 2009 at 11:42 PM, Kevin Holleran  wrote:
> I am building a new laptop and was wondering if there was a way I
> could copy some ini or setup file from cygwin to the new one so that
> the cygwin installer would install the same packages as opposed to
> having to go through and tweak the install to get it the way I want it
> again.

Assuming you are using Cygwin 1.7 I've created a script for myself,
that allows me to make a stripped down install cmd that would
reinstall all packages that I had installed, see:

http://kitsu.ru/cygwin-reinstall-cmd.py

It has mirror and cygwin directory names hard coded (change them to
what you use), and prints out commands that you can redirect to e.g.
cygwin-reinstall.cmd. Unless you have way too many packages it should
also fit into Windows command line limit...

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



[ANNOUNCEMENT] [1.7] Updated: rsnapshot 1.3.1-1 -- A local and remote filesystem snapshot utility

2009-09-30 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://www.rsnapshot.org
License : GPL

Progam takes incremental snapshots of local and remote filesystems for
any number of machines. rsnapshot makes extensive use of hard links.
This is efficient only on NTFS in Cygwin.

CHANGES SINCE LAST RELEASE
==

See /usr/share/doc/rsnapshot-*/ChangeLog

INSTALL OR UPGRADE NOTES


Edit /etc/rsnapshot.conf

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

If you have questions or comments, please send them to the Cygwin
mailing list at .

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

More information on unsubscribing can be found:

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

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

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