[itp] Coda filesystem
Hello, This is a request for feedback on whether adding the packages that make up the Coda filesystem would be something that would be supported. I haven't taken the time to produce the packages yet, but would like to know whether it would be worth my time to do so. Current state: Coda is a distributed file system (http://coda.cs.cmu.edu) that has run on UNIX-like systems for a long time. There is currently active support for Linux and NetBSD with some moderate support for FreeBSD.Over the past few years, there has been development of a kernel module for Windows that has now reached a point of stability that makes Coda run well in Windows. Coda for Windows would not work without Cygwin because the kernel module passes requests to get files from the file server to a user space daemon, venus. While there are some changes to venus for the Windows environment, venus still can not run without cygwin. The same is true for most of the user-land binaries that support the Coda filesystem. CMU currently runs a private mirror of the cygwin distribution that includes two local packages, coda-base and coda-devel. coda-base is all the cygwin binaries required and coda-devel is a meta package that just exists to provide the prerequisites to rebuild the coda-base package.There is also special built .exe that is distributed on the Coda ftp site that provides for the kernel module installation and configuration of a Coda client. (coda-base is part of base in this private mirror since the sole reason for the mirror is to support Coda.) Proposal: Several people have suggested that Coda should be distributed completely as a standard Cygwin package. Given that a postinstall.sh script could install the Coda .sys files and the required registry entries and configure a standard installation, I think it is possible to build such a package(s). Coda source has is available for all but one small part of the kernel module. Most of the source is under GPL v2. Some files are distributed under the BSD or CMU licenses. The Kernel is composed of two parts, a propritary File System Development Kit done by OSR (Open Systems Resources, Inc.) and a CMU written Coda specific file system driver. The FSDK part is available as a Coda-specific .sys file that is free of charge to Coda users. The CMU part is available with full source code under the GPL V2. There is an arrangement with OSR that allows Coda users to obtain free of charge the required files from OSR to be able to rebuild (and develop) the Coda kernel module. Other uses of the FSDK are expressly forbidden unless you purchase rights to use it from OSR. To support Coda as a standard part of Cygwin I would propose the following packages: lwp (Libs) -- A Coda specific light weight process library. rvm (Libs) -- A recoverable virtual memory library that allows persistant memory based data structures with a transaction system for consistency in the face of crashes. rpc2 (Libs) -- A remote procedure call package used by Coda (depends on lwp) codafsd(net) --The Coda file system driver, the kernel module required to make Coda work. coda (net) -- Coda binaries including venus, the client cache manager, and vice, the coda server. This package would do a standard setup for client. Would require knowledge and work to finish building a Coda server. (depends on lwp, rvm, rpc2, and coda-fsd.) This would require the coda-fsd for a server.Coda servers do not need the codafsd. An alternate package list could be lwp, rvm, rpc2, codafsd and then split coda into: coda-client (net) -- The client binaries. coda-server (net) -- The server binaries. The problem with this is that both server and client are compiled from the same source tree. It would make the coda-client and coda-server packages have the same source tar file and the source tar file would not be called either coda-client nor coda-server but just coda. The vote ... (not GTG votes, just concept votes ...) I would like to have two questions answered: 1) Is there support for adding Coda packages to Cygwin so any mirror has Coda ready to install? 2) If yes on 1, which package set, coda single package (client and server) or coda-client and coda-server packages? Thanks for taking your time to look at this. --Phil p.s. The private mirror is updated with the most current cygwin and coda packages. It is located at http://coda.cs.cmu.edu/mirrors/cygwin. The current install .exe is located at ftp://coda.cs.cmu.edu/pub/coda/winnt. (ntcoda-b4.exe)
Re: [itp] Coda filesystem
I am not an expert of current distributed files systems, but for cygwin wouldn't MogileFS be easier to implement (even though its not a fs in and of itslef). From my understanding it only requires perl and mysql I believe. Ref: http://www.danga.com/mogilefs/ Phil Nelson [EMAIL PROTECTED] wrote: Hello, This is a request for feedback on whether adding the packages that make up the Coda filesystem would be something that would be supported. I haven't taken the time to produce the packages yet, but would like to know whether it would be worth my time to do so. Regards, Darel Henman
Re: [itp] Coda filesystem
On Tuesday 04 September 2007 3:53:17 pm d.henman wrote: I am not an expert of current distributed files systems, but for cygwin wouldn't MogileFS be easier to implement (even though its not a fs in and of itslef). From my understanding it only requires perl and mysql I believe. Ref: http://www.danga.com/mogilefs/ The real intent of my questions was more like: We are already managing cygwin packages in a private cygwin mirror for Coda. We would like to make the packages be on all cygwin mirrors. I wasn't asking just to bring in a distributed file system. And Coda and MogileFS are not really similar file systems. From the web site: you don't run regular Unix applications or databases against MogileFS. It's meant for archiving write-once files and doing only sequential reads. While you can't have a database file in Coda either, Coda is a full R/W distributed file system with disconnected operation. But I don't want to end up in a discussion of Coda vs any other FS, I just wanted a discussion of inclusion of Coda or not. --Phil -- Phil Nelson ([EMAIL PROTECTED]) http://www.cs.wwu.edu/nelson NetBSD: http://www.NetBSD.org Coda: http://www.coda.cs.cmu.edu signature.asc Description: This is a digitally signed message part.
Re: [itp] Coda filesystem
Phil Nelson schrieb: ... To support Coda as a standard part of Cygwin I would propose the following packages: lwp (Libs) -- A Coda specific light weight process library. rvm (Libs) -- A recoverable virtual memory library that allows persistant memory based data structures with a transaction system for consistency in the face of crashes. rpc2 (Libs) -- A remote procedure call package used by Coda (depends on lwp) codafsd(net) --The Coda file system driver, the kernel module required to make Coda work. coda (net) -- Coda binaries including venus, the client cache manager, and vice, the coda server. This package would do a standard setup for client. Would require knowledge and work to finish building a Coda server. (depends on lwp, rvm, rpc2, and coda-fsd.) This would require the coda-fsd for a server.Coda servers do not need the codafsd. An alternate package list could be lwp, rvm, rpc2, codafsd and then split coda into: coda-client (net) -- The client binaries. coda-server (net) -- The server binaries. The problem with this is that both server and client are compiled from the same source tree. It would make the coda-client and coda-server packages have the same source tar file and the source tar file would not be called either coda-client nor coda-server but just coda. This is technically easy to solve. coda-client, with external-source: coda-server in its hint. The src tar would be coda-server. This is what I would prefer. Should I prepare some cygport and hint files for you? Then you only need the postinstall.sh The vote ... (not GTG votes, just concept votes ...) I would like to have two questions answered: 1) Is there support for adding Coda packages to Cygwin so any mirror has Coda ready to install? 2) If yes on 1, which package set, coda single package (client and server) or coda-client and coda-server packages? Thanks for taking your time to look at this. --Phil p.s. The private mirror is updated with the most current cygwin and coda packages. It is located at http://coda.cs.cmu.edu/mirrors/cygwin. The current install .exe is located at ftp://coda.cs.cmu.edu/pub/coda/winnt. (ntcoda-b4.exe) -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/
Re: [itp] Coda filesystem
On Tuesday 04 September 2007 10:08:52 pm Reini Urban wrote: Should I prepare some cygport and hint files for you? I would appreciate that. Thanks. --Phil -- Phil Nelson (phil at cs.wwu.edu) http://www.cs.wwu.edu/nelson NetBSD: http://www.NetBSD.org Coda: http://www.coda.cs.cmu.edu signature.asc Description: This is a digitally signed message part.
Xdmcp too slow with SOME Linux accounts.
Hello. Please, I need some help with the following problem. My PC has Windows XP and is part of a WorkGroup with a Debian Linux network. I installed Cygwin, and XDMCP properly works when I login on a remote machine to ONE Linux account. But when I login to ANOTHER account with the same privileges, the connection is very slow. What could it be wrong with the second account? I know nothing about Linux, and I'd appreciate your advice. Thank you very much. Sincerely yours, Mario Scheble -- 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: Xdmcp too slow with SOME Linux accounts.
I have a similar problem, but it is not limited to a specific account. In fact, it is fairly random. Sometimes I get pretty good performance, and then it just dies. In my case, it seems to get pretty bad when I launch Eclipse, but I have to admit that Eclipse is the only GUI app that I use, so it may be gui apps in general. What I see (reported in another message) is that mouse click and keyboard seem to be very responsive, but mouse move is non-responsive. If I open a menu and move the mouse, the menu items are not highlighted. If I move the mouse several more times over the menu, ultimately a menu item is highlighted. Once it is highlighted, I can click to select the item. From a pretty uninformed perspective, it appears that mouse move events are not being forwared from my server to the client, but I'm not sure how to determine that. I am pretty confident that the problem is limited to mouse move events, and that keyboard and mouse click events are being forwarded immediately. I've seen nothing on my other post. On 9/4/07, Mario Scheble [EMAIL PROTECTED] wrote: Hello. Please, I need some help with the following problem. My PC has Windows XP and is part of a WorkGroup with a Debian Linux network. I installed Cygwin, and XDMCP properly works when I login on a remote machine to ONE Linux account. But when I login to ANOTHER account with the same privileges, the connection is very slow. What could it be wrong with the second account? I know nothing about Linux, and I'd appreciate your advice. Thank you very much. Sincerely yours, Mario Scheble -- 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/ -- 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: XWIN performance
More info. If I open a terminal session in the x window, it is very responsive. I can enter any number of shell commands and the response is great. However, when I start Eclipse, my x server seems to hang. While I am seeing poor response on my x server, I can open a simple telnet session to the remote Linux box and get great response. From this I know that the problem is not cpu or memory. From everything I see, it appears that mouse move events are not being sent from my x server window on my pc to the remote system, but that is only a guess based on observation. I have no traces to prove that. What I have seen is that I can open a terminal window in the x environment and get excellent response. But as soon as I open Eclipse, the response dies. Is anyone aware of incompatabilities between the Eclipse SWT runtime and Cygwin X ? -- 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/
date reports wrong date/time with DST 2007 on windows 2003 in timezone
Hi, I just installed cygwin 1.5.24-2 on windows 2003. To test some timezone issue, I set system time to Nov 2, 2007.Then if I set TZ to PST8PDT, date command reports one hour behind the correct time. but if I unset TZ, date works well. And it looks like date can work with PST8PDT correctly in 2006 instead of 2007. Where can I find a list which cygwin can recognize ? When I tried to set TZ to America/Los_Angeles, date simply didn't recognize it and disply GMT time. Thanks, Mike -- 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/
FW: Help with mount..
On 04 September 2007 06:45, Steve Holden wrote: gms5002 wrote: Hi - I am having a problem getting mount to work in cygwin. Here is what I am trying to do: any ideas? Well you could start by explaining what you think those mounts should have done. Are you trying for the equivalent of a loopback mount? Remember that mount is one of the utilities that differs substantially from its Linux/Unix counterpart. The man page starts: mount [OPTION] [win32path posixpath] but it doesn't give any specifics of what a win32path is supposed to be It's a win32 (i.e. windows) path - i.e. a standard dos-style path beginning with a drive letter and a colon. The user guide has more docs than the man page: http://cygwin.com/cygwin-ug-net/using-utils.html#mount http://cygwin.com/cygwin-ug-net/using.html#mount-table 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: php5 on cygwin
It seems that it doesn't work at all. -- View this message in context: http://www.nabble.com/Re%3A-php5-on-cygwin-tf660732.html#a12475528 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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-1.5.24-2 serious shell execution performance degradation on WinXP x64 SP2
Carlo Florendo wrote: Szymon Lapinski wrote: Recently I found a serious performance degradation in my gawk scripts while running on WinXP x64 SP2, it appears that this is not only gawk problem, but spawning child processes in a subshell at all. (...) Child processes failing means that there could be apps running on your machine as a result of the software updates you had. (...) Is there some chance you are running any of them? Thank you very much for your reply. Unfortunately it's not a reason. Those systems are clean Windows installations. There are no other applications running in a background. Hard disk is almost not fragmented and have a lot of free space. -- Regards, Szymon Lapinski -- 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/
Regarding the new rxvt builds (rxvt-20050409-6 and -7)
Hello, long term user of Cygwin and lurker here. I have a small problem with the new builds of rxvt that I think nobody else has already reported (after a check of the cygwin and cygwin-apps archives). I am not able anymore to get to the system menu using the Alt-Spacebar keybord combination. As i like to work with maximized windows, I was used to press Alt-Spacebar and then n as the first thing after bringing up a new terminal. I understand that there have been some work on the handling of the alt key by Corinna Vinschen a couple of weeks ago, so I think that maybe the Alt-Spacebar was some kind of special case that has been removed from the code. Do you think that it should be possible to get the old behavior back ? Thanks, DD -- 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: Vista/cygwin tar problem - file changed as we read it
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Aaron Gray on 9/2/2007 7:48 AM: On doing a 'tar -czf ...' I am getting the following message for each subdirectory - file changed as we read it Anyone know whats going on ? I know in the past this has been a problem with remote shares that don't have stable inode numbers, but as you haven't posted cygcheck output, I can't say for sure that it is your problem: Problem reports: http://cygwin.com/problems.html - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG3Upx84KuGfSFAYARAmsSAJ44B7jCtG30MDjPLn/ELmM1aAehvgCfec81 cAfVkrJzUaqZENcvvsR6RZI= =ambG -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: FW: Help with mount..
Dave Korn wrote: On 04 September 2007 06:45, Steve Holden wrote: [...] but it doesn't give any specifics of what a win32path is supposed to be It's a win32 (i.e. windows) path - i.e. a standard dos-style path beginning with a drive letter and a colon. The user guide has more docs than the man page: http://cygwin.com/cygwin-ug-net/using-utils.html#mount http://cygwin.com/cygwin-ug-net/using.html#mount-table Figured as much (but don't like to sound authoritative when not so). Thanks, Dave. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden --- Asciimercial -- Get on the web: Blog, lens and tag the Internet Many services currently offer free registration --- Thank You for Reading - -- 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: Help with mount..
Thanks for the reply Steve. What I am actually trying to achieve here is to be able to access a certain folder (say C:\foo\bar) by typing cd /bar at the command prompt. Steve Holden wrote: gms5002 wrote: Hi - I am having a problem getting mount to work in cygwin. Here is what I am trying to do: [EMAIL PROTECTED] ~/test $ pwd /home/Greg/test [EMAIL PROTECTED] ~/test $ mkdir foo [EMAIL PROTECTED] ~/test $ mkdir bar [EMAIL PROTECTED] ~/test $ vi bar/test [EMAIL PROTECTED] ~/test $ ls -l bar total 0 -rw-r--r-- 1 Greg None 0 Sep 3 23:48 test [EMAIL PROTECTED] ~/test $ mount bar foo mount: foo: Invalid argument [EMAIL PROTECTED] ~/test $ mount /home/Greg/test/bar/ /home/Greg/test/foo/ mount: /home/Greg/test/foo/: Invalid argument any ideas? Well you could start by explaining what you think those mounts should have done. Are you trying for the equivalent of a loopback mount? Remember that mount is one of the utilities that differs substantially from its Linux/Unix counterpart. The man page starts: NAME mount - Display information about mounted filesystems, or mount a filesystem SYNOPSIS mount [OPTION] [win32path posixpath] but it doesn't give any specifics of what a win32path is supposed to be and whether relative paths constitute acceptable win32 paths. In particular the section that reads Limitations: there is a hard-coded limit of 30 mount points. Also, although you can mount to pathnames that do not start with /, there is no way to make use of such mount points. should give you some clue that what you are trying to achieve should probably be done some way other than what you have tried so far. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden --- Asciimercial -- Get on the web: Blog, lens and tag the Internet Many services currently offer free registration --- Thank You for Reading - -- 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/ -- View this message in context: http://www.nabble.com/Help-with-mount..-tf4375300.html#a12478754 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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: Help with mount..
gms5002 wrote: Thanks for the reply Steve. What I am actually trying to achieve here is to be able to access a certain folder (say C:\foo\bar) by typing cd /bar at the command prompt. mount -f c:/foo/bar /bar 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: Help with mount..
Ah I got it now, thanks! I was trying to use /cygdrive/c/ instead of just putting c: Brian Dessent wrote: gms5002 wrote: Thanks for the reply Steve. What I am actually trying to achieve here is to be able to access a certain folder (say C:\foo\bar) by typing cd /bar at the command prompt. mount -f c:/foo/bar /bar 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/ -- View this message in context: http://www.nabble.com/Help-with-mount..-tf4375300.html#a12479055 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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: Help with mount..
echo 'alias cdbar=cd /cygdrive/foo/bar' .bashrc On Tue, 2007-09-04 at 07:03 -0700, gms5002 wrote: Thanks for the reply Steve. What I am actually trying to achieve here is to be able to access a certain folder (say C:\foo\bar) by typing cd /bar at the command prompt. Steve Holden wrote: gms5002 wrote: Hi - I am having a problem getting mount to work in cygwin. Here is what I am trying to do: [EMAIL PROTECTED] ~/test $ pwd /home/Greg/test [EMAIL PROTECTED] ~/test $ mkdir foo [EMAIL PROTECTED] ~/test $ mkdir bar [EMAIL PROTECTED] ~/test $ vi bar/test [EMAIL PROTECTED] ~/test $ ls -l bar total 0 -rw-r--r-- 1 Greg None 0 Sep 3 23:48 test [EMAIL PROTECTED] ~/test $ mount bar foo mount: foo: Invalid argument [EMAIL PROTECTED] ~/test $ mount /home/Greg/test/bar/ /home/Greg/test/foo/ mount: /home/Greg/test/foo/: Invalid argument any ideas? Well you could start by explaining what you think those mounts should have done. Are you trying for the equivalent of a loopback mount? Remember that mount is one of the utilities that differs substantially from its Linux/Unix counterpart. The man page starts: NAME mount - Display information about mounted filesystems, or mount a filesystem SYNOPSIS mount [OPTION] [win32path posixpath] but it doesn't give any specifics of what a win32path is supposed to be and whether relative paths constitute acceptable win32 paths. In particular the section that reads Limitations: there is a hard-coded limit of 30 mount points. Also, although you can mount to pathnames that do not start with /, there is no way to make use of such mount points. should give you some clue that what you are trying to achieve should probably be done some way other than what you have tried so far. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden --- Asciimercial -- Get on the web: Blog, lens and tag the Internet Many services currently offer free registration --- Thank You for Reading - -- 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: Help with mount..
On 04 September 2007 15:34, Reid Thompson wrote: On Tue, 2007-09-04 at 07:03 -0700, gms5002 wrote: Thanks for the reply Steve. What I am actually trying to achieve here is to be able to access a certain folder (say C:\foo\bar) by typing cd /bar at the command prompt. echo 'alias cdbar=cd /cygdrive/foo/bar' .bashrc Ok, that does literally what he asked for (except not quite literally, since cdbar and cd /bar aren't literally the same, and also you meant to say /cygdrive/c/foo/bar, not /cygdrive/foo/bar), but I think we can assume that he also wants to be able to write ls /bar and pushd /bar and touch /bar/baz/quux and have them all work. It's a very limited solution. The most meaningful other solution would have been something like ln -s /cygdrive/c/foo/bar /bar 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: git: Tralining whitespace error during commit
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 8/9/2007 11:07 AM: And yet another, which I have been considering doing the next time I package git (right now, I'm kind of waiting for git 1.5.3 to come out), 1.5.3 is out, so I'm in the middle of packaging it. is to override the upstream git's decision that on cygwin, the templates installed in /usr/share/git-core/templates are installed with executable permissions; whereas on Linux, they are installed without. In other words, _somebody_ (not me) thought that because windows permissions can't be relied on, that ALL git hooks should be enabled by default; And that somebody is setup.exe. The tar file has the correct non-executable permissions, but setup.exe insists on giving the files full executable permissions, perhaps because they start with #!. So I'm adding a postinstall that undoes the damage. snip I thought that this was just a Windows-ism. Windows likes files to be executable so that you can invoke the application that is associated with a file just by typing the name at a command line (or other method for invoking CreateProcess()). 'setup.exe' uses the Windows permission model to untar files. Until/if 'setup.exe' gains support for Cygwin's ntsec abilities, resetting the permissions after the fact makes sense. -- 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: date reports wrong date/time with DST 2007 on windows 2003 in timezone
lei chao wrote: Hi, I just installed cygwin 1.5.24-2 on windows 2003. To test some timezone issue, I set system time to Nov 2, 2007.Then if I set TZ to PST8PDT, date command reports one hour behind the correct time. but if I unset TZ, date works well. And it looks like date can work with PST8PDT correctly in 2006 instead of 2007. snip Try setting the date to 11/21 and try again. IIRC, DST extends an extra 3 weeks this year in the US. Don't know why it would work without TZ set though. Sounds like a Windows problem. Is your system up-to-date with patches. -- 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: date reports wrong date/time with DST 2007 on windows 2003 in timezone
On 9/4/07, Larry Hall (Cygwin) [EMAIL PROTECTED] wrote: lei chao wrote: Hi, I just installed cygwin 1.5.24-2 on windows 2003. To test some timezone issue, I set system time to Nov 2, 2007.Then if I set TZ to PST8PDT, date command reports one hour behind the correct time. but if I unset TZ, date works well. And it looks like date can work with PST8PDT correctly in 2006 instead of 2007. snip Try setting the date to 11/21 and try again. IIRC, DST extends an extra 3 weeks this year in the US. Don't know why it would work without TZ set though. Sounds like a Windows problem. Is your system up-to-date with patches. Nov 2 is chosen on purpose because it's still Daylight Saving time in 2007. 11/21 is not DST. it's not a windows problem as windows reports the date/time correctly. And if I unset TZ, date command of cygwin also reports data/time correctly. Only when I set TZ=PST8PDT, it reports incorrectly. - Mike -- 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/ -- 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: date reports wrong date/time with DST 2007 on windows 2003 in timezone
On 04 September 2007 16:03, Larry Hall (Cygwin) wrote: lei chao wrote: Hi, I just installed cygwin 1.5.24-2 on windows 2003. To test some timezone issue, I set system time to Nov 2, 2007.Then if I set TZ to PST8PDT, date command reports one hour behind the correct time. but if I unset TZ, date works well. And it looks like date can work with PST8PDT correctly in 2006 instead of 2007. snip Try setting the date to 11/21 and try again. IIRC, DST extends an extra 3 weeks this year in the US. Don't know why it would work without TZ set though. Sounds like a Windows problem. 'doze plays incredibly silly games with DST. It actually realigns the epoch by an hour when you enter or leave DST, so all your file creation/modified times shift by an hour. While this could even be helpful in the case of running a 'make' job over a DST change, it's pretty much in line with the POMS. 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/
detect daemon from failing using c on cygwin?
Hi there, If you write a daemon under cygwin using C, how can you detect if from failing? Does cygwin has an API that should allow you to write cross-platform apps? Any help is much appreciated. 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/
Issue with newest snapshot (2007-08-31)
Hi, with the newest snapshot a similar issue occurred as described in http://sourceware.org/ml/cygwin/2007-08/msg00186.html and fixed in http://sourceware.org/ml/cygwin/2007-08/msg00339.html The error is now (lots of these): rsync: readlink /cygdrive/f/cygwin/bin/cygXp-6.dll failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/bin/pydoc failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/etc/lynx.cfg failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/etc/profile.d/zshell.zsh failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/etc/xdg/menus/kde- screensavers.menu failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/home/thorsten/.screenrc failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/home/thorsten/pyreadlineconfig.ini failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/home/thorsten/.bashrc failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/home/thorsten/Desktop failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/home/thorsten/.fonts.cache-1 failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/home/thorsten/python/modules/util.pyc failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/home/thorsten/.weechat/python/autoload/pyexec.py failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/home/thorsten/.kde/share/apps/konsole/shell.deskto p failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/lib/lighttpd/mod_dirlisting.dll failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/lib/lighttpd/mod_flv_streaming.dll failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/lib/kde3/plugins/styles/highcontrast.la failed: Bad address (14) rsync: readlink /cygdrive/f/cygwin/lib/perl5/5.8/CGI/eg/javascript.cgi failed: Bad address (14) -- 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: Issue with newest snapshot (2007-08-31)
* Thorsten Kampe (Tue, 4 Sep 2007 22:11:05 +0100) Hi, with the newest snapshot a similar issue occurred as described in http://sourceware.org/ml/cygwin/2007-08/msg00186.html and fixed in http://sourceware.org/ml/cygwin/2007-08/msg00339.html The error is now (lots of these): [...] Some more information: this error starts (contrary to the one mentioned above) already when rsync starts building the file list (and not when deleting on the target or copying to the target). The error starts after rsync counts up until about 7000 files (from about 8 - which was no problem for the snapshot from 2007-08-13) Thorsten -- 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: Vista/cygwin tar problem - file changed as we read it
According to Aaron Gray on 9/2/2007 7:48 AM: On doing a 'tar -czf ...' I am getting the following message for each subdirectory - file changed as we read it Anyone know whats going on ? I know in the past this has been a problem with remote shares that don't have stable inode numbers, but as you haven't posted cygcheck output, I can't say for sure that it is your problem: Eric, Cygcheck results attached. Also cygcheck came up with :- 'id' program not found 'id' program not found Many thanks in advance, Aaron 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/
How to install cygwin new if there was an old installation or something like that
Hi! I had to delete some old cygwin installations and now I want to get a new one from scratch. How can I do that? When I delete all what I know, and start setup.exe, it finishes in a blink and nothing was done. So there must be some information I do not know ... Can You help me? Dani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to install cygwin new if there was an old installation or something like that
Daniela Duerbeck wrote: Hi! I had to delete some old cygwin installations and now I want to get a new one from scratch. How can I do that? When I delete all what I know, and start setup.exe, it finishes in a blink and nothing was done. So there must be some information I do not know ... Can You help me? http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all -- 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/
Slowness problem due to sjlj-exceptions for Octave
Dear sirs I'm Tatsuro MATSUOKA. This is the first time to post cygwin-app ML. I'm now using cygwin for octave, gnuplot and shell command etc. For the Octave society, it is very famous that building octave current standard gcc slows the octave because the cygwin treats the silj-exceptions very slowly. I am purchasing the fast octave on cygwin and now trying to buid octave with GCC Ver. 4 and GCC Ver. 3 but built with '--disable-sjlj-exceptions'.The latter trial was partly successful. There remains bugs but works well for most cases. I am now distributing the octave binary built with the GCC configured with '--disable-sjlj-exceptions'. The URL is here http://www.geocities.jp/tmacchant/ GCC on cygwin is updated to 3.4.4-3. That is good for most cases. I can build the stable Octave with it unlkie GCC 3.4.4-2 or 3.4.4-1. However slowness of Octave due to sjlj-exceptions still exits as the mail copy that was posted octave-maintainers ML. (That was placed at the end of the this mail.) In the mail JWE (Prof. John W. Eaton's) comments is written. I do not entirely agree with his opinion, but I also have a question on sjlj-problem on cygwin. This problem has been famous for a long time in the Octave society. I suppose it has been also disscussed in cygwin ML. My question is why the cygwin uses the slow sjlj exceptions instead of dwarf2 which was used in old cygwin at the time gcc-3.2 was used. Recetly the Octave can be built with the mingw. The mingw GCC also uses sjlj exceptions but the slowness problem never be occured. I wonder why the sjlj exceptions slows the octave on cygwin. In other platforms including mingw, such phenomea does not happen. I would like to use normally prepared GCC for the octave building. If the slowness proglem is solved, I can contribute the octave 2.9.13 to be in the cygwin package. Pherhaps this problem is quite difficult to solve but it should be solved for the cygwin system. Tatsuro MATSUOKA * The mail posted to the octave-maintainers ML *** Hello Previously jwe wrote: *** http://www.cae.wisc.edu/pipermail/octave-maintainers/2007-August/ 003745.html Given that Cygwin has its own packaging and distribution system, perhaps the Cygwin binary should be dropped from the Octave Forge site? Doesn't it just cause trouble to have a Cygwin binary that is separate from the Cygwin package system? I think that is especially true if the separate binary is not even compiled with the normal Cygwin compiler. I think it would be much better to work with the Cygwin people and find a way to fix the GCC problems on Cygwin systems. If that can't be done, then maybe it's time to give up on Cygwin (at least as far as Octave is concerned). I don't see why that would be a problem if we have a native Windows binary that works better anyway. * I have building a binary of octave 2.9.13 by gcc-3.4.4-3 binary that was distrubuted in cygwin package. Using Oregonator ODE (source was placed at the end of the mail), we compare the solving time octave 2.9.13 built with gcc-3.4.4-3 in cygwin package octave:1 testOregoB ans = 9.2500 octave 2.1.73 binary in cygwin package octave:1 testOregoB ans = 7.0930 my testing binary built specially confgiured gcc. octave:1 testOregoB ans = 2.7030 To tell the truth I have not yet tested the speed of octave built by normaly prepared gcc-3.4.4-3 For the gcc-3.4.4-3, the slowness problem concerning sjlj exceptions has not been solved. I do not know reason why. Anyway I will throw the problem to the cygwin ML. The cygwin is useful tool for me. I cannot give up easily for the possibilty the octave on cygwin. At first I have to take part in the Cygwin ML.^^; Sincerely, Tatsuro Matsuoka testOregoB.m ** clear; function dx = oregonator_m (x, t) dx=zeros (3, 1); dx(1)=77.27*(x(2)-x(1)*x(2)+ x(1)-8.375e-06*x(1)^2); dx(2)=(x(3)-x(1)*x(2)-x(2))/77.27; dx(3)=0.161*(x(1)-x(3)); end % The test of `oregonator'. x0 = [ 4; 1.1; 4 ]; %t = [0, logspace (-1, log10(303), 150), logspace (log10(304), log10(500), 150)]; %t=linspace(0,500,1000); t=0:0.5:500; ts=cputime(); y = lsode ('oregonator_m', x0, t); cputime()-ts plot (t',y(:,1),,t',y(:,2),,t',y(:,3)); -- 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: Slowness problem due to sjlj-exceptions for Octave
Matsuoka-san, Ohayougozaimasu :) I'm Tatsuro MATSUOKA. This is the first time to post cygwin-app ML. Great! I'm now using cygwin for octave, gnuplot and shell command etc. For the Octave society, it is very famous that building octave current standard gcc slows the octave because the cygwin treats the silj-exceptions very slowly. Could you please expound (or point to a link) on what sjlj or sjlj- exceptions do? AFAIK, it's probably the first time the octave sjlj exception issue has appeared in this list. As far as I've seen, this is a gcc issue. I do not entirely agree with his opinion, but I also have a question on sjlj-problem on cygwin. This problem has been famous for a long time in the Octave society. I suppose it has been also disscussed in cygwin ML. My question is why the cygwin uses the slow sjlj exceptions instead of dwarf2 which was used in old cygwin at the time gcc-3.2 was used. The cygwin octave maintainer (if [s]he is still there) must know more about this. However, Cygwin's octave is 2.1.72 but mainline is 2.9.13. Recetly the Octave can be built with the mingw. The mingw GCC also uses sjlj exceptions but the slowness problem never be occured. I wonder why the sjlj exceptions slows the octave on cygwin. In other platforms including mingw, such phenomea does not happen. Would it be possible for you to send corresponding straces of the cases you posted below? Using Oregonator ODE (source was placed at the end of the mail), we compare the solving time octave 2.9.13 built with gcc-3.4.4-3 in cygwin package octave:1 testOregoB ans = 9.2500 octave 2.1.73 binary in cygwin package octave:1 testOregoB ans = 7.0930 my testing binary built specially confgiured gcc. octave:1 testOregoB ans = 2.7030 Regarding these testing binary and specially configured gcc, what versions are these and what options did you use to build gcc? Thank you very much! Best Regards, Carlo -- Carlo Florendo Software Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, UP Campus Diliman 1101 Quezon City, Philippines http://www.astra.ph -- The Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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: Regarding the new rxvt builds (rxvt-20050409-6 and -7)
Davide Dente wrote: Hello, long term user of Cygwin and lurker here. I have a small problem with the new builds of rxvt that I think nobody else has already reported (after a check of the cygwin and cygwin-apps archives). I am not able anymore to get to the system menu using the Alt-Spacebar keybord combination. As i like to work with maximized windows, I was used to press Alt-Spacebar and then n as the first thing after bringing up a new terminal. I understand that there have been some work on the handling of the alt key by Corinna Vinschen a couple of weeks ago, so I think that maybe the Alt-Spacebar was some kind of special case that has been removed from the code. Do you think that it should be possible to get the old behavior back ? Should be. I'll look into when I get a chance, but it won't be this week. For now, you can reinstall the 20070409-4 version using setup.exe. Thanks for the report. -- Chuck -- 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: Problem with urxvt and alternatives
David Rothenberger wrote: For some reason, alternatives won't work for urxvt for me. % alternatives --display urxvt path to alternate expected in /var/lib/alternatives/urxvt I tried moving /var/lib/alternatives/urxvt away and rerunning the update-alternatives command from /etc/postinstall/rxvt-unicode-X.sh.done, but it produced an identical file. This is a bug in the postinstall script. It used to work, so I'm not sure what changed -- but the postinstall SHOULD read: ${sbindir}/update-alternatives \ --install ${bindir}/urxvt urxvt ${bindir}/urxvt-X.exe 30 \ --slave ${bindir}/urxvtc urxvtc ${bindir}/urxvtc-X.exe \ --slave ${bindir}/urxvtd urxvtd ${bindir}/urxvtd-X.exe Note that the actual targets need .exe. I'll fix this in the next release. Thanks for the report. -- Chuck -- 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: Slowness problem due to sjlj-exceptions for Octave
Tatsuro MATSUOKA wrote: My question is why the cygwin uses the slow sjlj exceptions instead of dwarf2 which was used in old cygwin at the time gcc-3.2 was used. The choice to ship gcc configured for SJLJ is because it is the only way to guarantee correct behavior in all cases. The Dwarf unwinder can't unwind through a foreign frame. This means for example if you try to throw an exception from a function that was called from a Win32 callback such as the WindProc, it will fail because the frame that exists inside user32.dll or kernel32.dll (or whatever) has no data in the Dwarf2 tables. This scenario is not all that far fetched for Windows GUI programming, so the choice was made to ship gcc safe-but-correct, rather than fast-but-broken. There is a patch that has been contributed to 4.3 to fix this, and Danny Smith includes a backport of it in his 4.2 packages, which is why he is able to offer both SJLJ and Dwarf2 flavors. But moving to 4.x has its own problems, mainly that exception handling across DLLs only works for shared libgcc, and shared libgcc/libstdc++/etc aren't supported by upstream gcc on PE. Danny uses a local patch/hack to build shared target libs but it's kind of ugly and still quite experimental based on the bug reports. For Cygwin we have it a little better because we can enable shared target libraries by default like *nix distros since we have a packaging system, so we don't have to worry so much about the command line mechanics of switching between static/shared libgcc et al. But the w32sharedptr method used in cygming 3.4.x for suporting EH with static libgcc is not applicable to gcc 4.x, which means EH across shared libraries will always be broken in the case of static libgcc et al. (The same is true on other platforms like Linux, so it's not a unique situation. But MinGW is kind of unique as its users expect to build standalone apps that don't require DLLs like cygwin1.dll or libgcc.dll.) 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/
gcc linking issues with MQSeries library
Hello folks, I am trying to use cygwin´s gcc to compile and link a library (.dll) that is supposed to use certain funciton bundled on an IBM provided library, from the MQSeries software (messaging middleware). I am getting a very strange error, that I could not find a single hit on google. The token is: Cannot export MQM_NULL_THUNK_DATA: symbol not found See the compiler cmdline and output below... $ uname -a CYGWIN_NT-5.1 w2691361 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin $ gcc --version gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) (inside Eclipse´s CDT...) Build of configuration Debug for project MQExit make -k all Building file: ../MQExit.c Invoking: GCC C Compiler gcc -IC:\Arquivos de programas\IBM\WebSphere MQ\Tools\c\include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MFMQExit.d -MTMQExit.d -oMQExit.o ../MQExit.c (several warnings go here, but compile seems successfull.) Finished building: ../MQExit.c Building target: MQExit.dll Invoking: GCC C Linker gcc -LC:\Arquivos de programas\IBM\WebSphere MQ\Tools\Lib -shared -oMQExit.dll ./MQExit.o -lmqm Cannot export MQM_NULL_THUNK_DATA: symbol not found collect2: ld returned 1 exit status make: *** [MQExit.dll] Error 1 make: Target `all' not remade because of errors. Build complete for project MQExit - Is this some sort of incompatibility between the gcc linker and the provided mqm.lib? Would it only accept if compiled with VC++ from MS? Regards, Henrique Seganfredo -- 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/