futimes fails on file open for read

2005-11-06 Thread Yitzchak Scott-Thoennes
The following gives: futimes returned: -1 (Permission denied) I'm told it succeeds on linux; is it even possible for it to work on cygwin or am I SOL? #include #include #include #include #include #include int main(int argc,char **argv) { int fd, ret; struct timeval tv[2] = {{500

Re: how to make a cygwin ftp mirror?

2005-11-06 Thread Linsong
Brian: Anyway, thanks a lot! BR Linsong Brian Dessent wrote: Linsong wrote: Now I want to make a ftp mirror of cygwin, but I am not very clear how to do it. http://sourceware.org/cygwin-apps/package-server.html Is there any tools or script to make this process automatical

Re: how to make a cygwin ftp mirror?

2005-11-06 Thread Brian Dessent
Linsong wrote: >Now I want to make a ftp mirror of cygwin, but I am not very clear > how to do it. http://sourceware.org/cygwin-apps/package-server.html > Is there any tools or script to make this process automatically? rsync lftp -c mirror wget --mirror Brian -- Unsubscribe info: ht

how to make a cygwin ftp mirror?

2005-11-06 Thread Linsong
Hi, Now I want to make a ftp mirror of cygwin, but I am not very clear how to do it. Is there any tools or script to make this process automatically? And I think there should be some tools to make the mirror site up to date. I google for this but found nothing useful. Any hint will be welc

Re: where is setup.exe source?

2005-11-06 Thread Carl Karsten
[EMAIL PROTECTED]:/home/carl # man netselect ... For each host, netselect figures out the approximate ping time (though not as accurately as ping does), the number of network "hops" to reach the target, and the percentage of ping requests that got through sucâ cessfully.

Re: where is setup.exe source?

2005-11-06 Thread Igor Pechtchanski
On Sun, 6 Nov 2005, Linda Walsh wrote: > Brian Dessent wrote: > > > This, however is going to be rather fruitless. > > [snip] > >Has "setup.exe" been modified to work from the local copy of the mirror > list if the cygwin main site is down or unreachable (as recent or future > network schisms

Re: where is setup.exe source?

2005-11-06 Thread Linda Walsh
Brian Dessent wrote: This, however is going to be rather fruitless. The list of mirrors is already checked frequently (at least daily) by automatic infrastructure on the cygwin.com machine, and any mirror that is offline or is more than 24 hours out of sync is automatically removed from the mi

Re: where is setup.exe source?

2005-11-06 Thread Christopher Faylor
On Sun, Nov 06, 2005 at 02:08:59PM -0800, Brian Dessent wrote: >Carl Karsten wrote: > >> I meant what compiler is used. I am used to things like InnoSetup, so I was >> expecting something of that nature. > >It's built with gcc, just like Cygwin itself and every Cygwin package. >It is however a mi

Re: BUG: alternatives

2005-11-06 Thread Christopher Faylor
On Sun, Nov 06, 2005 at 01:52:14PM -0500, Charles Wilson wrote: >Christopher Faylor wrote: > >>A signal shouldn't cause a truncated read when retrieving data from >>disk on cygwin or linux. > >ACK. > >>I think the only sane way to handle this is to put the read in a loop >>and realloc the buffer as

Re: where is setup.exe source?

2005-11-06 Thread Brian Dessent
Brian Dessent wrote: > Maybe a starting point would be a awk[1] script that lives in the > base-files package that grabs mirrors.lst and downloads some relatively > small package from every mirror, and generates a report. That way, we > could at least say "try running mirror-check.awk" when users

Re: where is setup.exe source?

2005-11-06 Thread Brian Dessent
Igor Pechtchanski wrote: > Well, yes, if you put it that way. However, there's a chicken-and-egg > problem here, right? As in "I want to download Cygwin fast" needs Cygwin > to figure it out[*]? Well, it's not hard to bootstrap yourself. The base cygwin install is currently 13.5MB to download,

ieeefp.h: C++ guards

2005-11-06 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The ieeefp.h header does not contain C++ guards. Is there a reason for this? This particularly affects C++ perl extensions, as perl.h includes ieeefp.h, although I just ran across another, non-perl case where it caused a compilation error. Yaakov -

Re: where is setup.exe source?

2005-11-06 Thread Igor Pechtchanski
On Sun, 6 Nov 2005, Brian Dessent wrote: > Igor Pechtchanski wrote: > > > I disagree. FWIW, keeping the local ping response time information for > > mirrors and re-pinging on demand has been on my TODO list for a while. > > The only thing I would strenuously object to is re-pinging the mirrors >

Re: where is setup.exe source?

2005-11-06 Thread Brian Dessent
Carl Karsten wrote: > I meant what compiler is used. I am used to things like InnoSetup, so I was > expecting something of that nature. It's built with gcc, just like Cygwin itself and every Cygwin package. It is however a mingw application, and does not depend on cygwin1.dll for obvious reason

Re: where is setup.exe source?

2005-11-06 Thread Brian Dessent
Igor Pechtchanski wrote: > I disagree. FWIW, keeping the local ping response time information for > mirrors and re-pinging on demand has been on my TODO list for a while. > The only thing I would strenuously object to is re-pinging the mirrors > automatically on every setup -- it's much better to

How to run cygwin sshd as a domain user?

2005-11-06 Thread Xing Qiu
Hi, I have successfully installed cygwin and its openssh package. I followed the instruction about setting up sshd and it works as expected. However this sshd service turns out to be a local service, which means I can't get access to the net printers and the net file folders in an ssh sessi

hosts.equiv rsh & SMB share access

2005-11-06 Thread Brian Ford
I know this isn't supposed to work unless the share is public. I'm not concerned about security and want to do exactly that. I have done it successfully under Samba by using share level security and setting guest_ok for the sahre. What I can't seem to figure out is how to do it under Windows XP

Re: where is setup.exe source?

2005-11-06 Thread Carl Karsten
Brian Dessent wrote: Carl Karsten wrote: What builds the setup.exe source? Anyone who wants to. If you mean who compiles the setup.exe binaries I meant what compiler is used. I am used to things like InnoSetup, so I was expecting something of that nature. As to the location of the

Re: where is setup.exe source?

2005-11-06 Thread Igor Pechtchanski
On Sun, 6 Nov 2005, Brian Dessent wrote: > Carl Karsten wrote: > > > What builds the setup.exe source? > > Anyone who wants to. If you mean who compiles the setup.exe binaries > that are on the mirrors, that would be the maintainers (currently Max > Bowser and myself, although Igor helps so much

Installer bug with symlinks

2005-11-06 Thread Joe Krahn
The installer can make a directory for new files even if there is already an existing directory symlink of the same name. I discovered the problem when upgrading where I had a custom X11 build. I moved /usr/X11R6 to /usr/X11R6.dist, and made the symlink /usr/X11R6 -> /usr/X11R6.build. When upd

Re: error while installing cygwin

2005-11-06 Thread Larry Hall (Cygwin)
Abhinav Varshney wrote: Hi, I have been trying to install cygwin on my windows xp, but while dowloading stuff from the website using setup file it gives me an error saying "cygwin1.dll not found" and then cygwin either doesnt work or starts wid bash shell..how can i make it work? Thanks in advanc

Re: where is setup.exe source?

2005-11-06 Thread Brian Dessent
Carl Karsten wrote: > What builds the setup.exe source? Anyone who wants to. If you mean who compiles the setup.exe binaries that are on the mirrors, that would be the maintainers (currently Max Bowser and myself, although Igor helps so much he's a de facto maintainer.) As to the location of th

Re: X Copy/Paste ?

2005-11-06 Thread Brian Dessent
Roy Wiseman wrote: > A quick question, and I have a feeling this is asked > regularly, but I couldn't find an answer on searching > the forum. > > How can I copy/paste to/from xterm to another xterm > windows and also how can I copy/paste to/from an xterm > window and a windows application like s

Re: bug report place

2005-11-06 Thread Brian Dessent
Carl Karsten wrote: > Where should bugs be reported? All discussion of the setup.exe program belongs on the cygwin-apps (at) cygwin.com mailing list, including bug reports. > Where should "potential" bugs be discussed? as in, is this a bug: > > setup-2.513-1-alpha.exe defaults the "Local Packa

Re: bug report place

2005-11-06 Thread Joe Smith
"Carl Karsten" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] report this as a bug http://cs.nyu.edu/~pechtcha/cygwin/setup-2.513-1-alpha.exe Where should bugs be reported? Please post bugs to this list, but be sure to read and follow the instructions found here: http://cy

Re: BUG: alternatives

2005-11-06 Thread Brian Dessent
Charles Wilson wrote: > Revised patch attached. I'm wondering, tho, about the advisability of > using alloca'ed (rather than malloc'ed) memory to hold the contents of a > file of unrestricted size. Aren't there limits on the available space > within a single stack frame? Does it make sense (is

where is setup.exe source?

2005-11-06 Thread Carl Karsten
What builds the setup.exe source? I am interested in an option to prob all the servers and disable the ones that are currently off line. Maybe even do a traceroute and sort by number of hops. Or at least export the list so that a seperate utility could be used to pick a server. ^Carl K --

bug report place

2005-11-06 Thread Carl Karsten
report this as a bug http://cs.nyu.edu/~pechtcha/cygwin/setup-2.513-1-alpha.exe Where should bugs be reported? Where should "potential" bugs be discussed? as in, is this a bug: setup-2.513-1-alpha.exe defaults the "Local Package Dir" to "C:\Program Files\Mozilla Firefox" ^Carl K -- Un

X Copy/Paste ?

2005-11-06 Thread Roy Wiseman
Hi, A quick question, and I have a feeling this is asked regularly, but I couldn't find an answer on searching the forum. How can I copy/paste to/from xterm to another xterm windows and also how can I copy/paste to/from an xterm window and a windows application like say notepad ? Thanks ! Roy.

Re: BUG: alternatives

2005-11-06 Thread Charles Wilson
It would help if I actually attached the patch. Charles Wilson wrote: Christopher Faylor wrote: A signal shouldn't cause a truncated read when retrieving data from disk on cygwin or linux. ACK. I think the only sane way to handle this is to put the read in a loop and realloc the buffer as

Re: BUG: alternatives

2005-11-06 Thread Charles Wilson
Christopher Faylor wrote: A signal shouldn't cause a truncated read when retrieving data from disk on cygwin or linux. ACK. I think the only sane way to handle this is to put the read in a loop and realloc the buffer as needed as long as the read continues to return '>0'. Ok. It's obviou

Re: Old versions of setup.exe

2005-11-06 Thread Igor Pechtchanski
On Sun, 6 Nov 2005, Scott Cegielski wrote: > Are older versions of setup.exe kept around? Last time I installed > cygwin, I also installed cygnome and it would crash setup using the > current version at the time. I had to finad version 2.340.2.5 of setup > and use that. Well, it stands to reaso

Re: Some new data regarding "fork: resource temporarily unavailable"

2005-11-06 Thread David Arnstein
On Sun, Nov 06, 2005 at 10:44:37AM -0500, Volker Quetschke wrote: > First of all, on this Win2k SP4 I don't see that behavior. Even when I start > several "normal" Windows programs that value doesn't increase. (It's at 132 > here.) Thank you for this data Mr. Quetschke. I will test two other machi

Re: Missing directories in @INC with perl 5.8.7 and cygwin 1.5.18-1

2005-11-06 Thread Yitzchak Scott-Thoennes
On Sat, Nov 05, 2005 at 04:43:03AM +0100, Gerrit P. Haase wrote: > [EMAIL PROTECTED] wrote: > > > > > > > >Hi, > > > >If PERL5LIB is set, perl searches for according version directories and > >architecture specific directories. > >If they are present they will be included in the @INC array. > > > >

Re: RXVT blurry fonts

2005-11-06 Thread Justin Grote
Brian Dessent wrote: If you want the 'bold' attribute to just affect a color change and not a font change, then you need to specify with -fb or rxvt*boldFont that the bold font face name is the same as the normal font face name, "Lucida Console-13" in your case. Great idea! I had actually thou

Old versions of setup.exe

2005-11-06 Thread Scott Cegielski
Are older versions of setup.exe kept around? Last time I installed cygwin, I also installed cygnome and it would crash setup using the current version at the time. I had to finad version 2.340.2.5 of setup and use that. Is there an archive of these versions somewhere? Thanks -- Unsubscribe

Re: Windows 98 + OpenSSH + cygwin

2005-11-06 Thread Brian Dessent
David Di Biase wrote: > Well I did notice an error, like I mentioned, that it couldn't setup > the service. What I'm worried about is if there was any process it > might have skipped after it returned the error. Although at the end it > did say "Configuration success, enjoy" or something like that

Re: Re: Windows 98 + OpenSSH + cygwin

2005-11-06 Thread David Di Biase
> Since 98 has no concept of a service or users you start sshd in the > normal way. After running ssh-host-config you should be able to just > run /usr/sbin/sshd from a prompt - it will daemonize itself, you > shouldn't have to use "&" or nohup etc. That's pretty much it. If you > want it to aut

Re: Some new data regarding "fork: resource temporarily unavailable"

2005-11-06 Thread Volker Quetschke
David Arnstein wrote: Synopsis: the "fork: resource temporarily unavailable" problem may be caused by a large number of obsolete process handles. Attached to this e-mail: 1. cygcheck.out: the output from "cygcheck -s -v -r" 2. tempor.sh: A bash shell script that causes the "fork: resource temp

Re: BUG: alternatives

2005-11-06 Thread Christopher Faylor
On Sun, Nov 06, 2005 at 12:50:11AM -0500, Charles Wilson wrote: >Gary R. Van Sickle wrote: >>I'm not sure the test is actually valid anyway. IIRC (and I may not, POSIX >>may prove me wrong here), there's no guarantee that read() will return the >>number of bytes you requested, so at a minium to ma