Re: Request to add RFU to OLOCA
On Thu, 30 Aug 2007, Buchbinder, Barry (NIH/NIAID) [E] wrote: Please see the Subject. Thanks for your kind attention to this request. Done (also added ITA, for good measure). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Java under Cygwin and the installation of CaGe
or storage class /cygdrive/c/Programme/Java/jdk1.5.0_09/include/jni.h:736: error: parse error before '}' token make: *** [CaGe.dll] Error 1 - 'make' failure, aborting. This is a problem with the JDK headers -- they are not compatible with Cygwin. However, if you use the MinGW compiler, this error should not occur. I have searched with Google for quite a long time on the topic of Java and Cygwin and CaGe, but have hardly found more than http://cygwin.com/ml/cygwin/2003-02/msg00477.html und http://www.inonit.com/cygwin/ and all this does not help me. The hint to get acquainted with the cygpath command does not help me either. Well, the build system for CaGe may invoke Java in ways that would expect it to understand POSIX paths (which it won't). For that, you might want to use the Cygwin Java wrappers (from http://cygwin.com/cgi-bin/cvsweb.cgi/wrappers/java/?cvsroot=cygwin-apps), which would give you the java/javac, etc, commands that would understand POSIX paths. It seems that until now nobody with my problem (Windows, want to install CaGe, total beginner with Cygwin) has left his/her traces on the web. Can anybody help me? What is the problem? What do I have to do or learn, where to look next, in order to get CaGe running? At the moment I do not even know to look, especially on SUN's site. Could anyone adept at Cygwin just take a moment and install CaGe and describe what one has to do? If you would like me to post this to some other forum, please let me know, I am even grateful for help of this kind. You might also need to annotate the C function prototypes appropriately, as they may not be compiled with the right decorations otherwise. But all in all it should work, unless POSIX support not present in MinGW is used. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: permissions/owners seen on cygwin-client vs. server
On Fri, 17 Aug 2007, Linda Walsh wrote: Corinna Vinschen wrote: Larry is right, of course, but I make a wild guess, nevertheless: CYGWIN=nosmbntsec --- Assuming you mean having that string in the CYGWIN env var, unfortunately, this is not the case. See http://cygwin.com/cygwin-ug-net/using-cygwinenv.html -- nosmbntsec is the default. You need to turn it on to get ntsec functionality on remote drives. As for including cygcheck, I don't have a problem doing that when necessary, but I prefer to check that it's not some braino, or that it is a real problem before attaching a full cygdump. How will we know if it's a real problem unless you include the cygcheck output? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-'old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: rsync problems from Vista installed cygwin, ok on XP
On Mon, 20 Aug 2007, DaveB wrote: Corinna Vinschen-2 wrote: On Aug 18 21:06, DaveB wrote: So... two interesting followon points... 1. Why didn't the ACLs get set to something reasonable as opposed to 000 in the first place when I created this little test area in Vista? After all, I The directory has been created using native Windows tools. The permissions given using native Windows tools *are* strange and don't follow POSIX rules. It's perfectly valid that you can access a directory under Windows but get 000 POSIX permissions. You did see the '+' at the end of the permission in ls -l? OK, I now see this + and had no idea what it meant... but have now found the doc in cygwin by typing info ls, where it says... Following the file mode bits is a single character that specifies whether an alternate access method such as an access control list applies to the file. When the character following the file mode bits is a space, there is no alternate access method. When it is a printing character, then there is such a method. For a file with an extended access control list, a `+' character is listed. Basic access control lists are equivalent to the permissions listed, and are not considered an alternate access method. Interesting. So if it knows there is an ACL which overrides the -- permissions that were inherited from C:\ then why can't the cygwin port of rsync allow a Windows-friendly option for rsync'ing these files... even if it cannot directly read the ACL maybe it could allow you to invoke some special rsync permissions sync'ing flag? I looked in the man rsync doc, and found some flags that might be helpful ... namely -p -E and --chmod. But even chmod=XXX doesn't quite let you do automatically what would make sense, which is to create rsync'd files with rwx for the exe's and rw for the others. Not sure what the best way out of here is...??? I'm beginning to understand this a bit better, but it sure is a minefield... will generate ongoing problems for innocent future users. You misunderstand your problem. The problem is not that rsync on the source side cannot read the files (it can, since the ACLs allow it to). The problem is that the rsync on the destination side copies only the Unix permission bits from the source side (which are 000), and then it is unable to write to that directory (because the permissions are 000). What you want is some way of getting rsync to not copy permissions, or making rsync ACL-aware. I don't know of any way to do either, but then, I haven't used rsync extensively. Perhaps the documentation holds the answer. PS Can anyone point to a good article on ACL that explains the relationship to these ls -l permissions also? I'm sure MSDN has a lot of info on ACLs in general and on their use in Windows. If you want to know specifically how Cygwin maps ACLs to Unix permission bits, see http://cygwin.com/cygwin-ug-net/ntsec.html. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: rsync problems from Vista installed cygwin, ok on XP
/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: NFS + Cygwin + SSH + ssh keys = :(
On Thu, 16 Aug 2007, Gerry Steele wrote: Hi, I've been setting up some scripts to help port some stuff we do to windows. To make it work we need to integrate with NFS shared stuff, so we used the SFU from MS. Which i understand is a repackaged nfs client et al. from MKS. however we couldn't access NFS drives from the ssh shell. I found a workaround by running something like: c:/SFU/common/mount.exe 10.0.2.4:/Volumes/RAID/home X: in the cygwin bash shell right after login. This works perfectly. and could be put in the bashrc. However, when I logged in via SSH with keys enabled (needed to automate the process) and I try to map the drives, the mapping failed with an error. The error goes away if you use ssh ... -o PubkeyAuthentication=no ... and the drives map perfectly again. I vote that this is the most annoying bug i've ever seen. anyone know a workaround? There isn't one, unless you make the shares public. See http://cygwin.com/faq/faq.using.html#faq.using.shares for details. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: NFS + Cygwin + SSH + ssh keys = :(
On Thu, 16 Aug 2007, Gerry Steele wrote: There isn't one, unless you make the shares public. Clearly that is preferable. But i spend ~5 hours trying to do that before trying this. Define this and that... :-) when i try to run the sshd services as the windows user it won't start. I gave it permissions to run services but nothing. There could be many reasons for this. First off, we don't know anything about your system. Please read and follow Problem reports: http://cygwin.com/problems.html to provide us with that information. Second, if you've previously started sshd as SYSTEM (or sshd_server, if you used privilege separation), you will have log files and directories owned by that user, which are now inaccessible to the user you're trying to run sshd as. But the above is a WAG in the absense of any information about your setup. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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 Text mounts after updating using setup.exe
On Wed, 15 Aug 2007, Bart van der Werf wrote: After upgrading cygwin some of my textmode mount files started to have additional 0x0d characters. Example of problem. With a file test.txt $ od -t x1 test.txt 000 61 0d 0a 62 0d 0a 63 0d 0a 011 with dos style newlines. $ grep a test.txt test2.txt If i invoke grep on this file, i get the problem that it duplicates the 0x0d $ od -t x1 test2.txt 000 61 0d 0d 0a 004 I started getting this problem after running setup.exe this week. The version of cygwin before the upgrade was atleast a year old. What should i do ? Do i need to provide additional information ? I wouldn't expect an additional 0x0d even if the mount was in binmode. You won't get them on a binmode mount. Looks like grep opens the input and output in binmode. The shell redirection opens the output in the mode of the mount where the output is to be placed. Thus, grep prints out the full input string (including the CR) and the shell happily prepends another CR to the LF. A workaround would be to put the output file on a binmode mount. Another thing that *might* work is using input redirection as well as output (i.e., grep a test.txt test2.txt). FWIW, I can't reproduce this with grep-2.5.1a-2, which means this behavior was introduced in -4. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Fwd: Re: net use command works locally on the sytem where cygwin is installed but using rsh doesnt work
Jaimin, http://cygwin.com/acronyms/#PPIOSPE. I've set the Reply-To: accordingly; please make sure your mailer respects it. On Tue, 14 Aug 2007, jaimin bhavsar wrote: Hi Igor, I went through the link you had sent but no luck, can you please let me know how to enable the permissions to map the share remotly using rsh. Thanks Jaimin Note: forwarded message attached. That link does not contain instructions on *HOW* to make shares public. Please see the Microsoft documentation for that (MSDN Knowledgebase would be a good starting point). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert---BeginMessage--- Thanks Igor, Now, as you said after using quotes and extra shashs for I am able to get correct command on the system, but now I am getting another error : System Error 1223 has occured. The operation was canceled by user The share I am trying to access is a public share and I do not require a password to access it. When I checked Application event logs I get : The description for Event ID ( 0 ) in Source ( rshd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: rshd: PID 2600: [EMAIL PROTECTED] as Administrator: cmd='net use z: 10.8.121.42\\myshare'. Thanks Jaimin --- Igor Peshansky [EMAIL PROTECTED] wrote: On Mon, 6 Aug 2007, jaimin bhavsar wrote: Hi There, I am trying following command locally : net use z: ipaddress\\sharename works but the same thing if I try using rsh It does not work rsh -l Administrator ipaddress net use z: ipaddress\\sharename I get following message : The syntax of this command is: NET USE [snip] More help is available by typing NET HELPMSG 3506. Please help me out if executing net use command using rsh. I checked the mailing list and found the similar thread with ssh but I was not able to crack this down. The command you give will be sent to the remote shell and re-parsed. So, you have to escape the backslashes twice. Or, you could just put single quotes around the path to the share. Note that this does not guarantee that you'd be able to access the share, only that the remote end will see the right share name. See http://cygwin.com/faq/faq.using.html#faq.using.shares for details. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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/ ---End Message--- -- 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: running a GUI app as a service with cygrunsrv
On Tue, 14 Aug 2007, Rob Siklos wrote: Hi, I've searched google, but couldn't readily find an answer to this. What happens if I have a GUI application that I install as a service (and set the startup type to Auto) with cygrunsrv. Is this supported? I'm hoping that the window info will just be thrown away, but the app will still run fine. Unlikely. The app probably expects to be able to at least pop up a window... My problem is that I am trying to automate a connection to a VPN using the Cisco VPN Client. The client which I must use is a GUI application, but if the system reboots for some reason, I want the client to start even if nobody is there to log in. I think you want the --interactive/-i flag to cygrunsrv. Note that this requires you to run the service as SYSTEM, and, I believe, is no longer supported on Win2k3 and Vista... HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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 rename file case-sensitive?
On Mon, 13 Aug 2007, Ronald Fischer wrote: Is there an easy way to rename a file foo to Foo? mv foo Foo complains that they are the same file. From the FAQ I learned that this is due to the limitations of Windows which does not distinguish between case in file names. The FAQ also says that there is a highly experimental case-sensitive file system available. Not being prepared yet to live in a highly experimental way, I'm curious whether there is a simpler solution to the rename problem aside from the obvious hack mv foo bar; mv bar Foo I use the following (which is essentially a wrapper around the hack): $ cat /usr/local/bin/mvv #!/bin/sh /bin/mv ${1%%/} ${1%%/}-$$ mv ${1%%/}-$$ ${2%%/} HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Signal handler not executed
On Thu, 9 Aug 2007, Ernie Coskrey wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor Sent: Thursday, August 09, 2007 1:19 PM To: [EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Subject: Re: Signal handler not executed On Thu, Aug 09, 2007 at 01:09:48PM -0400, Ernie Coskrey wrote: There's a very small window of vulnerability in _sigbe, which can lead to signal handlers not being executed. In _sigbe, the _cygtls lock is released before incyg is decremented. If setup_handler acquires the lock just after _sigbe releases it, but before incyg is decremented, setup_handler will mistakenly believe that the thread is in Cygwin code, and will set up the interrupt using the tls stack. _sigbe should decrement incyg before releasing the lock. I'll apply this but are you saying that this actually fixes your problem or that you think it fixes your problem? Thanks for the patch. It's hard to say definitively that it fixes the problem, since the problem is so hard to reproduce. I've been running stress scripts for three days on six different systems, and haven't seen it occur. But I feel pretty sure that this fixes it - it certainly matches the symptoms we see when we do happen to encounter the problem. Ernie, I just wanted to say thanks for tracking this down. Nice bit of detective work. I'm somewhat relieved that the problem was not with pdksh code. If it were in my power, I'd give out a gold star for this. :-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert
RE: cygwin 1.5.20-1, spinning pdksh, 100% CPU
On Tue, 7 Aug 2007, Ernie Coskrey wrote: -Original Message- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: Monday, August 06, 2007 5:59 PM To: Ernie Coskrey Cc: [EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Subject: RE: cygwin 1.5.20-1, spinning pdksh, 100% CPU On Mon, 6 Aug 2007, Ernie Coskrey wrote: Quite possibly. There were changes to signal handling since 1.5.20, IIRC. Unless I'm mistaken, there's even a patch for a race condition in process handling code (though it's not in 1.5.24, I think). I just want to make sure I understand this - are you talking about a change that has been made since 1.5.24-2 was released, which is in the snapshot view now? Or did you mean a fix that was made sometime between 1.5.20-1 and 1.5.24-2. I meant the former, but I don't know if these changes have actually fixed your problem. I'll download the latest snapshot and look at what's changed. Do you remember where the changes might be located - I'd guess somewhere in sigproc.cc, exception.cc, and/or wait.cc. Or if you remember the date and/or subject of the email discussion that I could look at, that would be very helpful as well. You can look at the cygwin-cvs list archives... There may also be changes in fork.cc that are relevant. Any particulars about the machines on which this happens? Are they multi-core? I don't recall seeing a cygcheck output from an affected machine... Igor This happens on a variety of hardware - single-CPU is where it's the biggest problem since the system becomes nearly unusable. But we've seen it on multi-core and multi-physical-CPU systems as well. Here's cygcheck from one of the systems where it's happened a few times: [snip inline cygcheck output] In the future, please attach the cygcheck output instead of pasting it inline, as it messes with the search functionality of the list archives. Cygwin Configuration Diagnostics Current System Time: Tue Aug 07 09:01:03 2007 Windows 2003 Server Ver 5.2 Build 3790 Service Pack 2 Running in Terminal Service session Ah. The above two may be very relevant. I don't have Win2k3 Server to test with, especially not via Terminal Services. I wouldn't be surprised if such an environment was not heavily tested. Perhaps Corinna or CGF can suggest things to try in those cases. w: net NTFS 1402454Mb 34% CP CSPAcoskrey Wow, you have a 1.3TB disk? Cool. 1836k 2007/07/14 C:\LK\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.20 You really might want to try with a newer cygwin version... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Fwd: Permissions issue with managed mounts
On Thu, 2 Aug 2007, Andrew Kruse wrote: Hi, I'm trying to create a new managed mount point and am running into some problems. The exact command I am running: (after successfully creating both /usr/.managed/portage and /usr/portage as myself in the cygwin shell) mount -o managed `cygpath -m /usr/.managed/portage` /usr/portage Results in: mount: /usr/portage: Permission denied attached is the output of cygcheck -svr and also my /etc/passwd and /etc/group files. I don't know that I have a complete grasp of what the correct configuration for those files is, but don't understand why I can create a directory and not subsequently mount it as managed. Try mount -f -o managed `cygpath -m /usr/.managed/portage` /usr/portage. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: White screen can't amend buffer size
On Fri, 3 Aug 2007, gags_78 wrote: Hey folks, I installed cygwin on my local machine there recently. before when I used cygwin I got the black screen with green cygwin icon that denoted it in the taskbar. Now I get the following. http://www.nabble.com/file/p11979162/cygwin.gif It also means that i can't amend the vertical screen buffer size so I only have about 300 lines. Does anyone know how I can get around this? It's a second hand machine here in work. I've re-installed cygwin twice now. The icon says rxvt. Looking at the man page would be instructive. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: net use command works locally on the sytem where cygwin is installed but using rsh doesnt work
On Mon, 6 Aug 2007, jaimin bhavsar wrote: Hi There, I am trying following command locally : net use z: ipaddress\\sharename works but the same thing if I try using rsh It does not work rsh -l Administrator ipaddress net use z: ipaddress\\sharename I get following message : The syntax of this command is: NET USE [snip] More help is available by typing NET HELPMSG 3506. Please help me out if executing net use command using rsh. I checked the mailing list and found the similar thread with ssh but I was not able to crack this down. The command you give will be sent to the remote shell and re-parsed. So, you have to escape the backslashes twice. Or, you could just put single quotes around the path to the share. Note that this does not guarantee that you'd be able to access the share, only that the remote end will see the right share name. See http://cygwin.com/faq/faq.using.html#faq.using.shares for details. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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.20-1, spinning pdksh, 100% CPU
FYI, there is no need to Cc: me -- I read the list. I set my Reply-To: for a reason -- please make sure your mailer respects it. On Mon, 6 Aug 2007, Ernie Coskrey wrote: Quite possibly. There were changes to signal handling since 1.5.20, IIRC. Unless I'm mistaken, there's even a patch for a race condition in process handling code (though it's not in 1.5.24, I think). I just want to make sure I understand this - are you talking about a change that has been made since 1.5.24-2 was released, which is in the snapshot view now? Or did you mean a fix that was made sometime between 1.5.20-1 and 1.5.24-2. I meant the former, but I don't know if these changes have actually fixed your problem. Any suggestions would be appreciated! Posting a sequence of steps that reliably reproduces the problem for you would be great (but not necessarily easy). We've seen the issue happen with the following scripts. Run a few instances of tst.sh. Occasionally, one will become hung - if you terminate the other tst.sh with Ctrl-C, you'll see that there's a subtest.sh shell that is using up all the CPU. First - generate tstfile by running ls -l /bin tstfile tst.sh == while true do for ltr in a b c d e f g do out=`./subtest.sh $ltr` echo Found $out date done done subtest.sh == for i in `seq 1 100` do f=`awk '{if(NR == i)print}' i=$i tstfile` m=`/bin/echo $f | grep $1` if [ ! -z $m ] then echo $i: $m fi done I can't seem to reproduce this on my Core Duo Thinkpad with 2G RAM and WinXP Pro after 20 minutes or so. Any particulars about the machines on which this happens? Are they multi-core? I don't recall seeing a cygcheck output from an affected machine... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Simple patch to enable stereo visuals in XWin_GL
On Fri, 20 Jul 2007, DRC wrote: Hi. I was wondering who maintains the experimental accelerated GLX support in Cygwin/X. I have a simple patch which enables stereo visuals (necessary to support my project, VirtualGL) on systems that support stereo. I'd like to get this patch incorporated into the Cygwin distribution of XWin_GL, if possible. Darrell, Cygwin/X is basically the X.org tree built for Cygwin. So you can try sending your patch to the upstream X.org team. However, we are currently missing a maintainer for Cygwin/X. So there probably won't be a new release of Cygwin/X to pick up the fix, even if it's accepted into the upstream tree. Volunteer maintainers welcome. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Fw: feedback on a configuration package for X11/ctwm|twm
On Sun, 22 Jul 2007, John S. Urban wrote: I have had a good number of friends and associates ask for a copy of a directory that sets up and starts X11 with the ctwm or twm window manager for CygWin. Enough so, that I put a copy of the directory into a uuencoded file at cygstart http://home.comcast.net/~urbanjost/CYGWIN/index.html This does sound interesting... [snip] There are a lot of other goodies in the configuration that bring often-overlooked cygwin/X11/ctwm|twm features to your fingertips, such as ... under the menus left-mouse--Other Window Managers -- are options to start almost all the standard window managers in new server instances independently or via Xnest. I was looking for feedback on whether this is of enough general interest that I should spiff it up and turn it into a CygWin package. I believe most of the menu items are self-explanatory; but they introduce people new (or not so new) to CygWin to how cygstart(1), dialog(1), XNest(1) and other utilities can be integrated with CygWin/X11 features too often overlooked to create a very complete user environment. You should certainly feel free to propose a Cygwin package with your modifications (as long as it does not overwrite existing configuration). See http://cygwin.com/setup.html for instructions on packaging for Cygwin. Since you are already providing a web site with this information, you can also add a setup configuration (setup.ini and directory structure) to allow people to install and test your package directly off your site by adding it as a mirror in Cygwin setup. Another option is to try integrating it with the X-startup-scripts and X-start-menu-icons packages, though I don't recall who maintains them, and whether they are as maintainer-less as Cygwin/X itself. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: cygwin 1.5.20-1, spinning pdksh, 100% CPU
On Wed, 1 Aug 2007, Ernie Coskrey wrote: -Original Message- From: Igor Peshansky On Tue, 31 Jul 2007, Ernie Coskrey wrote: I've run into a problem with cygwin 1.5.20-1 and pdksh 5.2.14. We've got a pdksh.exe process that is spinning, using all the CPU. This scenario is very hard to reproduce, but has happened on our test systems occasionally. It occurred recently, and I currently have gdb attached to the process and have the symbols loaded. I assume you've rebuilt pdksh from source, since the packaged binary is stripped... Do you also have the symbols for the Cygwin DLL? Yes, I've built both pdksh and cygwin1.dll from source and have the symbols. Ok, great. I see that pdksh is continually calling sigsuspend(), which is immediately returning from cancelable_wait due to the fact that the signal_arrived event is set. Do you mean the sigpause() call? Can you see which signal it attempts to suspend? Can you email me (privately, if you wish) the stack dump from gdb? It's sigsuspend() in j_waitj - line 1191 in jobs.c. It calls sigsuspend(sm_default), and sm_default is 0 (no signals are blocked). This immediately returns, and I see that j-state is still PRUNNING every time. Hmm. That should be fine -- since it does not know the job terminated, the status reflects pdksh's current knowledge. And since sm_default is 0, sigsuspend ought to be the no-op it is. I also see that pdksh is waiting for a subprocess to complete, and has a handle to the PID of that process - however the process has long since terminated. That's normal (I think). Cygwin may not deliver SIGCHLD immediately after process termination. Until pdksh gets SIGCHLD, it'll keep the process handle. It appears that something went wrong during delivery of SIGCHLD. Does this happen before or after j_sigchld() gets invoked? I suspect that j_sigchld never got invoked, or didn't run properly, but can't definitvely prove that. It's set as a handler for SIGCHLD. If your theory is correct, and SIGCHLD delivery is interrupted, then it won't have executed. I've got two questions related to this: - have there been changes between 1.5.20-1 and 1.5.24-2, or the latest snapshot, that might have fixed this issue? We've done some limited testing with 1.5.24-2 and haven't seen this happen yet, but as I said the it only happens rarely. Quite possibly. There were changes to signal handling since 1.5.20, IIRC. Unless I'm mistaken, there's even a patch for a race condition in process handling code (though it's not in 1.5.24, I think). - is there anything I can look at in gdb to help identify what the issue is? Any suggestions would be appreciated! Posting a sequence of steps that reliably reproduces the problem for you would be great (but not necessarily easy). I wish I could supply this, but the problem happens very rarely. I've run many thousands of test shell iterations and haven't seen it reoccur yet. Right, which is why it's not necessarily easy. :-) As I said above, a stack dump (with full pdksh symbols) would help... That might mean that you'd need to build an unstripped pdksh and attempt to reproduce the problem again. Igor Here's a stack trace of the thread where the spin is occurring. The other threads in the process are quiet - the signal thread is is ReadFile as expected, and the other threads are all in stub routines doing WaitForSingleObject. (gdb) bt #0 handle_sigsuspend (tempmask=0) at ../../../../src/winsup/cygwin/exceptions.cc:694 #1 0x61094b93 in sigsuspend (set=0x42db80) at ../../../../src/winsup/cygwin/signal.cc:477 #2 0x610917b8 in _sigfe () at ../../../../src/winsup/cygwin/cygserver.h:82 #3 0x0022c588 in ?? () #4 0x600301dc in ?? () ^^ This frame is suspicious. It's some sort of a DLL, but not Cygwin1.dll. Can you use Process Explorer or something to find out what DLL is loaded in that range? It might be something injected by an antivirus/firewall on the list of dodgy apps... #5 0x006854d8 in ?? () #6 0x0003 in ?? () #7 0x0022c588 in ?? () #8 0x006874b8 in ?? () #9 0x006854d8 in ?? () #10 0x0003 in ?? () #11 0x0022c5a8 in ?? () #12 0x004126e0 in waitlast () at ../src/jobs.c:729 #13 0x004126e0 in waitlast () at ../src/jobs.c:729 #14 0x0040b160 in expand ( cp=0x6874b8 \001R\001M\001T\001I\001N\001S\001R\001E\001A\001S\001O\001N\001=\003$L KBIN/ins_list -d \$EQVRMTSYS\ -t \$EQVRMTTAG\ 2NUL: | cut -d\001 -f8, wp=0x22c6b0, f=32) at ../src/eval.c:533 #15 0x0040a654 in evalstr ( cp=0x6874b8 \001R\001M\001T\001I\001N\001S\001R\001E\001A\001S\001O\001N\001=\003$L KBIN/ins_list -d \$EQVRMTSYS\ -t \$EQVRMTTAG\ 2NUL: | cut -d\001 -f8, f=32) at ../src/eval.c:113 #16 0x0040d80a in comexec (t=0x6871e0, tp=0x0, ap=0x687350, flags=0) at ../src/exec.c:555 #17 0x0040cc7d in execute (t=0x6871e0, flags=0
Re: [RFU] vorbis-tools-1.1.1-6
On Tue, 31 Jul 2007, Corinna Vinschen wrote: On Jul 30 10:22, David Rothenberger wrote: wget -x -nH --cut-dirs=2 \ http://mysite.verizon.net/res00a7j/cygwin/vorbis-tools/vorbis-tools-1.1.1-6-src.tar.bz2 \ http://mysite.verizon.net/res00a7j/cygwin/vorbis-tools/vorbis-tools-1.1.1-6.tar.bz2 \ http://mysite.verizon.net/res00a7j/cygwin/vorbis-tools/setup.hint Uploaded. Thanks, Corinna How many stars does that make? :-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert
Re: [ANNOUNCEMENT] Updated: CMake 2.4.6-1
On Tue, 31 Jul 2007, dblazakis wrote: Bill Hoffman-3 wrote: CMake CMake 2.4.7-1 is now available on Cygwin mirrors. ... The CMake 2.4.7-1 binary install does not seem to work, while the 2.2.3-2 does. Looking at the tarballs, it looks like the sub directories (usr/, usr/bin/, ...) are excluded from the latest tarball while they are not in the older version. I have no idea why this should make a difference or even if this is the case -- it may give you a hint why the install fails to place cmake.exe or ccmake.exe into my /usr/bin. Let me know if you need more information, or if I am missing something. It's not the missing directories; it's the unexpected (for setup.exe) file magic number due to a slightly incompatible version of tar used to build the packages. This has been fixed in two ways -- updated packages have been uploaded (but may not have propagated to your mirror), and setup was taught to understand the other magic number (use the latest setup snapshot from http://cygwin.com/setup/snapshots/). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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.20-1, spinning pdksh, 100% CPU
On Tue, 31 Jul 2007, Ernie Coskrey wrote: I've run into a problem with cygwin 1.5.20-1 and pdksh 5.2.14. We've got a pdksh.exe process that is spinning, using all the CPU. This scenario is very hard to reproduce, but has happened on our test systems occasionally. It occurred recently, and I currently have gdb attached to the process and have the symbols loaded. I assume you've rebuilt pdksh from source, since the packaged binary is stripped... Do you also have the symbols for the Cygwin DLL? I see that pdksh is continually calling sigsuspend(), which is immediately returning from cancelable_wait due to the fact that the signal_arrived event is set. Do you mean the sigpause() call? Can you see which signal it attempts to suspend? Can you email me (privately, if you wish) the stack dump from gdb? I also see that pdksh is waiting for a subprocess to complete, and has a handle to the PID of that process - however the process has long since terminated. That's normal (I think). Cygwin may not deliver SIGCHLD immediately after process termination. Until pdksh gets SIGCHLD, it'll keep the process handle. It appears that something went wrong during delivery of SIGCHLD. Does this happen before or after j_sigchld() gets invoked? I've got two questions related to this: - have there been changes between 1.5.20-1 and 1.5.24-2, or the latest snapshot, that might have fixed this issue? We've done some limited testing with 1.5.24-2 and haven't seen this happen yet, but as I said the it only happens rarely. Quite possibly. There were changes to signal handling since 1.5.20, IIRC. Unless I'm mistaken, there's even a patch for a race condition in process handling code (though it's not in 1.5.24, I think). - is there anything I can look at in gdb to help identify what the issue is? Any suggestions would be appreciated! Posting a sequence of steps that reliably reproduces the problem for you would be great (but not necessarily easy). As I said above, a stack dump (with full pdksh symbols) would help... That might mean that you'd need to build an unstripped pdksh and attempt to reproduce the problem again. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: [RFU] libao
On Mon, 30 Jul 2007, Corinna Vinschen wrote: On Jul 29 18:32, David Rothenberger wrote: wget -x -nH --cut-dirs=2 \ http://mysite.verizon.net/res00a7j/cygwin/libao/libao-0.8.8-1-src.tar.bz2 \ http://mysite.verizon.net/res00a7j/cygwin/libao/libao-0.8.8-1.tar.bz2 \ http://mysite.verizon.net/res00a7j/cygwin/libao/setup.hint \ http://mysite.verizon.net/res00a7j/cygwin/libao/libao-devel/libao-devel-0.8.8-1.tar.bz2 \ http://mysite.verizon.net/res00a7j/cygwin/libao/libao-devel/setup.hint \ http://mysite.verizon.net/res00a7j/cygwin/libao/libao2/libao2-0.8.8-1.tar.bz2 \ http://mysite.verizon.net/res00a7j/cygwin/libao/libao2/setup.hint Packaging looks good to me. I've uploaded this package. Please send the announcement according to http://cygwin.com/setup.html#submitting, section 8. Igor, even though the xiph packages are not orphaned, I'd like to give a gold star to David. Updating these packages was overdue and I just didn't have the stamina to get on. Who am I to argue? :-) http://cygwin.com/goldstars/#DR Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert
Re: Xcensored
And since this thread is now discussing X-related stuff, it's being redirected to cygwin-xfree. Please remove the main list from replies. On Sun, 29 Jul 2007, Linda Walsh wrote: Eric Blake wrote: .Xdefaults can also affect non-X usage of rxvt. Yeah, I have entries for it in my X defaults file, for the non-X version. For some reason, the font setting, Lucida Console, that works in the non-X rxvt gives an error under the X version. sigh. Oh, that's because the non-X version uses Windows fonts, and the X version uses the fonts your X server is aware of. You can add truetype fonts to your X server -- google for instructions. You didn't look hard enough then. --- Ugh. I like the above reply style much better than these lines... Even though you are doing a better job with quoting than you used to. :-) I didn't feel I needed to look when subscription information is included at the bottom of every shiny cygwin email: Unsubscribe info: --- http://cygwin.com/ml/#unsubscribe-simple Hmm, good point. Maybe this ought to be changed to a pointer to a link on the lists.html page, which says something like click here to unsubscribe and redirects to the above anchor? On the other hand, clicking on the Mailing lists link on the main Cygwin page does take you to lists.html... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Xcensored
And since this thread is now discussing X-related stuff, it's being redirected to cygwin-xfree. Please remove the main list from replies. On Sun, 29 Jul 2007, Linda Walsh wrote: Eric Blake wrote: .Xdefaults can also affect non-X usage of rxvt. Yeah, I have entries for it in my X defaults file, for the non-X version. For some reason, the font setting, Lucida Console, that works in the non-X rxvt gives an error under the X version. sigh. Oh, that's because the non-X version uses Windows fonts, and the X version uses the fonts your X server is aware of. You can add truetype fonts to your X server -- google for instructions. You didn't look hard enough then. --- Ugh. I like the above reply style much better than these lines... Even though you are doing a better job with quoting than you used to. :-) I didn't feel I needed to look when subscription information is included at the bottom of every shiny cygwin email: Unsubscribe info: --- http://cygwin.com/ml/#unsubscribe-simple Hmm, good point. Maybe this ought to be changed to a pointer to a link on the lists.html page, which says something like click here to unsubscribe and redirects to the above anchor? On the other hand, clicking on the Mailing lists link on the main Cygwin page does take you to lists.html... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: CMake 2.4.7-1 ready
On Fri, 27 Jul 2007, Bill Hoffman wrote: Bill Hoffman wrote: I had some trouble myself when I tested the install. I had to unpack the tar file by hand. I must have messed something up. Any ideas what? Once unpacked by hand the cmake install was fine. -Bill I have tried again myself, and if I do a reinstall, the download part works fine. But the install stage happens really fast. I suspect there maybe an error flashing by, but I can't see it. Is there a way to debug setup or get more verbose output? Thanks. Look at /var/log/setup.log.full for a reasonably fine-grained trace of setup's activity. If there is an I/O error, it should show that. Also, it will contain the output your postinstall script produces. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert
Re: SOLUTION: Own Compiled Program Immediately Crashes on Startup
On Thu, 19 Jul 2007, Brian Dessent wrote: Hans Streibel wrote: Jove is an Emacs like editor. As such it uses the key sequence CONTROL-X CONTROL-C (^X^C) for leaving the editor. In Cygwin however ^C still sends the interrupt signal to the editor. However the keystroke ^C should have been changed to not sending that signal. On most platforms that works - but not in Cygwin. I can't tell right now what mechanism Jove is using for handling the terminal under Cygwin. There so many mechanisms: struct termio, struct termios, struct sgttyb. Jove under Cygwin follows BSD POSIX. Try adding 'tty' to the CYGWIN environment variable. Or use rxvt/xterm/etc. These are two different ways of achieving the same outcome, namely that the program will be attached to a unix-style pty instead of a Windows console. You know, I was sure this was an FAQ, and was about to reply pointing that out, but decided to check, and couldn't find any mention of the Ctrl-C problem and the CYGWIN=tty or non-console window solution, with or without emacs. Does someone want to rectify this omission by sending a patch against the FAQ sources? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: hacked package on server
Ugh, top-posting... Reformatted. On Mon, 16 Jul 2007, Brian Kelly wrote: -Original Message- From: Christopher Faylor [EMAIL PROTECTED] Sent: Jul 16, 2007 11:52 AM To: [EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Subject: Re: hacked package on server On Mon, Jul 16, 2007 at 10:30:52AM -0500, Louis Kruger wrote: I also have a complaint: the dialog that notifies the user of the failed MD5 is not well designed. The dialog asks Do you want to skip the package? and has a yes and no button. I read it quickly and pressed no before thinking about it, the package went ahead and tried to install. I think there should be a little more effort to restrain the user from performing a dangerous action such as installing a package with a wrong MD5. Good point. The message should probably be Do you want to not skip the package (No/Yes)? cgf This would be more helpful: Do you want to not skip the package (No/Yes/Maybe)? The Maybe can then consult a random number routine to decide whether or not to do the operation. Jeez, guys. Haven't you learned ANYTHING in a UI design course? The main purpose of the UI is to give the user a warm fuzzy feeling and to overwhelm him with critical information to the point of being incapable of making rash decisions like this. Therefore, the message should read thus: Do you not want to not skip the abovementioned package? And the buttons should read Yes, No, and I need more time to decide, the last one being in the middle and more prominent. It would also help to have a fake countdown running somewhere in the window, with large black digits. Guess which button the user will go for? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: hacked package on server
On Mon, 16 Jul 2007, Louis Kruger wrote: As the package installed, I saw some strange behavior, I'm worried it might have been some kind of trojan. Are you able to actually describe strange behaviour It crashed the setup program, which seemed to indicate it was installing strangely named files. It also corrupted the cygwin package directory. I could not run the setup program again even using a different mirror until I cleaned out the file /etc/setup/vim.lst.gz. Ah, now we're getting somewhere. Can you please attempt the installation again and save the copy of the vim.lst.gz (and post it as an attachment)? Setup should not crash on corrupted packages -- the fact that it did probably indicates a bug in the bzip2 library or in the setup package handling code. Your evidence seems to indicate that it is simple corruption rather than tampering. I am pleased to see that. Well, if it *were* some kind of trojan or virus, the corrupted executables would come into play when *invoking* vim, not when attempting to install it. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: hacked package on server
On Tue, 17 Jul 2007, Pedro Alves wrote: Bengt-Arne Fjellner wrote: Well in my opinion It could even be better to have an unchecked checkbox like: Wrong MD5 sum detected. This package look broken. Try another mirror. ( ) Yes I Really want to install this even if it looks broken. OK Or something like that. Then its two clicks or several keystrokes before one can continue. yes, and having something like: are you sure yes|no (user clicks yes) are you really sure? yes|no (user clicks yes again) are you really, really sure? yes|no ... also makes it several clicks. Indeed. The best solution, would be to replace the yes/no buttons with verbs/actions, like skip/'install anyway'/abort. I haven't looked at the code, but it is probably using MessageBox(Ex), which doesn't allow that. Coding an extended messagebox isn't *that* hard, but, it is still work that takes motivation to do. Yes, the code does use MessageBox. However, there already exists, in fact, a bit of code implementing a custom MessageBox (or, rather, overriding the button labels) for the Retry on in-use files functionality. Interested parties should look at lines 181-217 of install.cc (which adds an MB_RETRYCONTINUE message box type). The second best, and quickest, would be for a patch to show up implementing Thorsten's suggestion that cfg pointed out. Until someone steps up to do the work, this discussion is just going to fade out and die. That is exactly the right approach. http://cygwin.com/acronyms/#PTC drives the open-source world more than anything else. So, any volunteers? There isn't even a need to fill out a copyright assignment for setup contributions... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: source command horribly broken after Cygwin update
On Sun, 15 Jul 2007, Olivier Lefevre wrote: Current bash version is 3.2.17(15)-release. When I read an alias file with source weird results ensue. E.g., if the alias file is alias rm='rm -i' alias mv='mv -i' then 'source /etc/alias' followed by 'alias' shows 'lias mv='mv -i 'lias rm='rm -i A related problam exists with env file. E.g., after sourcing STUFF_HOME=c:\\aa\\bb\\cc CLASSPATH=c:\\dd\\ee;$STUFF_HOME\\ff\\gg $STUFF_HOME is fine but $CLASSPATH is now \ff\ggee;c:\aa\bb\cc alias and env assignment work fine from the command line, so this is a source issue. Does anyone have an idea of what is causing this nonsense? Yes. This nonsense is caused by CRLF line endings in your alias file. Run it through d2u (and read the bash release announcement[*] while you're at it). HTH, Igor [*] http://cygwin.com/ml/cygwin-announce/2007-05/msg3.html -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: New Berkeley DB 4.5.20 from Oracle Corporation
On Thu, 12 Jul 2007, Corinna Vinschen wrote: On Jul 12 18:12, Dr. Volker Zell wrote: Corinna Vinschen writes: Your packages are known to be well packed, but I think a quick ITP wouldn't hurt. Thanks for doing this, btw. In lack of public web space I have temporarily uploaded the packages to sourceware o sourceware.org:/home/vzell/db If everything looks good, you can move them to the release directory. Right now I'm using more or less the same build script as Gerrit. Looks good to me, except of the external-source entry in libdb4.5 and libdb4.5-devel, which point to db, rather than db4.5. As for Gerrit's db packages, would you be willing to take over maintainership of them? It would be good for the records to have Ok. Whohooo! Thank you! Igor! Can you throw a fat gold star in Volker's direction, please? You mean, like a shuriken? :-) I don't have a fat one. I do have a spinning one, which, unfortunately, is a GIF. I'm going with a PNG instead: http://cygwin.com/goldstars/#VZ. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert
Re: Cygwin tar1.16.1 - stdout/stdin behaviour on windows
On Tue, 10 Jul 2007, kavitha Bhasker -X (kbhasker - [EMAIL PROTECTED]) wrote: Hi, Iam using the Cygwin Tar version 1.16.1 on an Windows NT Server , I have the following dll's copied to the same path as the tar.exe From cygwin/1.5.24-2 : cygiconv-2.dll cygintl-8.dll cygwin1.dll Iam able to run the command : tar --forcelocal -cvf C:\\temp.tar C:\\temp successfully. However, the program I run , needs to do something more complicated like : 1) tar -cvf - C:\\temp + Use Maverick J2SSH library to SFTP files from stdout to stream the tar file to the SFTP location and to later restore the files: 2) Use Maverick J2SSH library to SFTP files to stdin the tar file from the SFTP location + tar -xv - This works in Linux RH4.0 , when I use the standard /bin/tar . However, just does not seem to work on Windows using the Cygwin Tar.exe Command 1) works and am able to see the tar getting created on the SFTP location. However, am not able to tar -tvf on the file.Just gives blank response. I cannot even open the .tar file created using winzip. Says Invalid Tar file Command 2) Just does not see to like stdin and refuses to extract the file to the local directory Please help.Is there any known issue with cygwin tar and stdout/stdin behaviour on windows? Everything Eric said about copying the DLLs being unsupported, the old version of tar, and about using Win32 paths stands. Expanding on that, however, you seem to have omitted the --forcelocal option in your two non-working examples, which may cause tar to look at a remote filesystem (and time out, I guess). I would first try POSIX paths. If that doesn't help, please look at http://cygwin.com/problems.html for guidelines on reporting Cygwin problems. In particular, you might want to clarify the Just does not see to like stdin part (i.e., what exactly happens?), and what the output looks like for the first command (you *are* running tar -cvf, after all). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: [ANNOUNCEMENT] New package: screen-4.0.3-1
On Wed, 11 Jul 2007, Christopher Faylor wrote: On Wed, Jul 11, 2007 at 08:02:32PM +0100, Thorsten Kampe wrote: * Andrew Schulman (Tue, 10 Jul 2007 14:34:13 -0400) The package 'screen' is now available in the Cygwin distribution. Well, if no one else is going to say what should be said: THANKS A BILLION! Good point. Can we get a gold star for Andrew? Absolutely. Thanks, Andrew! This has been a long time coming and his perseverence should be rewarded with all the pomp and circumstance we can muster here at cygwin at cygwin dot com. Indeed. http://www.geocities.com/Tokyo/Club/8420/pomp.mid. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: fyi - mirror prob
On Tue, 10 Jul 2007, Dave Korn wrote: On 10 July 2007 19:40, Linda Walsh wrote: Buchbinder, Barry (NIH/NIAID) [E] wrote: it also periodically gave a message saying it is no longer in the list of Cygwin mirrors, as report for mirrors.kernel.org by René Berber. --- Is the message that it is no longer in the list of Cygwin mirrors from setup.exe? How does it know/Where does it get it's information? It compares the live version of http://cygwin.com/mirrors.lst with the one it cached in /etc/setup/mirrors-lst last time it was running. Umm, not quite. The cached version is only used if the mirror list is not available -- otherwise it's simply overwritten. The stale mirror check happens only for the mirrors in /etc/setup/last-mirror (i.e., those you install stuff from). If one of the currently *selected* mirrors is not in the freshly downloaded (or cached) mirrors.lst, setup issues a warning. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Why the file in the mount (as system) directory can't be found?
Ugh, top-posting... Reformatted. On Sat, 7 Jul 2007, Liping Zeng wrote: -Original Message- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: 2007Äê7ÔÂ7ÈÕ 10:39 To: Liping Zeng Cc: [EMAIL PROTECTED] As Larry said, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Subject: Re: Problem: Why the file in the mount (as system) directory can't be found? On Sat, 7 Jul 2007, Liping Zeng wrote: I mount D:\tornado to /tornado with following: $ mount -s D:\tornado /tornado When I exectue command in /: $ wtxtcl /tornado/host/src/hutils/muntch.tcl with following result couldn't read file host/src/hutils/munch.tcl: no such file or directory but after I change my work directory to /tornao, and do it again, it work well. I don't know why, can anyone help me? Because most likely wtxtcl is not a Cygwin program, and thus does not understand Cygwin mounts (or Cygwin POSIX paths, for that matter). Igor Wtxtcl is not a Cygwin program, but as what I do, the environment are same for both executions. Sigh. I debated whether to include the explanation below in the original reply, but figured it'd be pretty obvious once you understood how Cygwin interacts with Windows. Anyway, here we go. The diffrence is the work directory. Exactly. More precisely, the difference is the working *drive* as Windows sees it. In /: $ wtxtcl /tornado/host/src/hutils/muntch.tcl couldn't read file host/src/hutils/munch.tcl: no such file or directory Absent information about your system (which you should have provided according to http://cygwin.com/problems.html), I can only guess that your root is on the C: drive (probably the default C:\cygwin). So, given that mounts are ignored and wtxtcl does not understand Cygwin's POSIX paths, the path you gave it will be interpreted as \tornado\host\src\hutils\muntch.tcl (note the absense of the drive letter). This will make Windows look on the *current* drive, which, for the root directory, is C: (and, of course, does not have a file at this path). In /tornado $ wtxtcl /tornado/host/src/hutils/muntch.tcl (OK) Since /tornado mounts D:\tornado, when you cd to that directory, the current drive is D:. So again, the path is interpreted as \tornado\host\src\hutils\muntch.tcl, but that file *does* exist on the D: drive. So it just *happens* to work (as Larry termed it, serendipity). To confirm this, remount D:\tornado as /mytornado, and give the path as /mytornado/host/src/hutils/muntch.tcl. You'll see that the file will not be found no matter what the current directory is (because Windows will look for \mytornado\host\src\hutils\muntch.tcl, which does not exist on any drive). The solution is to use $(cygpath -am /tornado/host/src/hutils/muntch.tcl), as Larry already indicated, which will create an absolute path, including the drive letter, that will be understood by all Windows programs. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Installing an old version of a package
On Fri, 6 Jul 2007, Patrcik Strasser wrote: Hello! I try to get python2.4 installed in my cygwin system, with no success. I need python2.4, my package (GNU Radio) does not work well with python2.5. I followed the directions at http://cygwin.com/faq/faq.setup.html#faq.setup.old-versions and got an old package from http://ftp.univie.ac.at/packages/cygwin/release/python/ Now I'n not quite shure how to install this package. I put it in my local package directory in the same directory as the current version (some 2.5.x), but I could not select it in the package list of setup.exe. Yes, because the setup.ini file does not list 2.4 as either 'prev', 'curr', or 'exp'. Those are the only three versions you can select in setup.exe when installing from the internet. Of course I could untar the file and put the files by hand in place, but I guess all the post-inst-script magic is missing then and I'll get in big trouble. Correct. You can, theoretically, just run the postinstall scripts manually, but there is a better way. Can anyone give me a hint how to install this package in a cygwin style? Any command line tool like dpkg or rpm for this? No command-line tools[*], but you can do the following: 1) Download the package to some subdirectory of your Cygwin package cache directory, e.g., C:\install\Cygwin\custom. 2) Setup should be smart enough to infer the version, but, just to make sure, you can create a custom setup.ini with that one package in it, setting 'curr' to the version you want (i.e., 2.4). See http://www.cygwin.com/ml/cygwin/2007-07/msg00134.html for an example of such a setup.ini (except you'd need one with a python package). 3) Tell setup to Install from local directory. That should let you select 2.4, and setup will install it. [*] You can also run setup in unattended mode (as described in the above link), but it may require more elaborate manipulation of setup.ini. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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 changes default directory of (fortran) code
On Fri, 6 Jul 2007, MVUKOVIC wrote: Hello, I am compiling a fortran program using intel's compiler, and use cygwin for the command-line interface (I will be switching to a linux machine soon, so I am staying away from MS's visual studio). When I invoke the executable from cygwin, it tries to find the input files in C:\windows\system32. If I invoke it from the windows command prompt, it finds the files ok. If I specify the full file path, than I don't have a problem in cygwin. I am a bit puzzled by this behavior because last time I did some fortran coding under the same environment (about a year ago), I do not remember having that issue. I could not find info on such behavior on the prior mailings. Any ideas/suggestions as to what may be going on? To implement POSIX functionality like allowing to remove the current directory, Cygwin changes the Win32 current working directory of a process to C:\WINDOWS\system32, while keeping its own notion of what the CWD is. This is transparent to the Cygwin file IO calls, but will confuse the Win32 calls. The CWD is inherited by child processes. When invoking non-Cygwin programs, Cygwin's exec() should change the cwd back to its real value. That doesn't seem to be happening in your case. A simple testcase (e.g., a Win32 program that invokes getpwd() and prints the value) which ought to demonstrate the discrepancy should be easy to produce. If that works as expected, you'll need to check what else is happening in your FORTRAN executable. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: Why the file in the mount (as system) directory can't be found?
On Sat, 7 Jul 2007, Liping Zeng wrote: I mount D:\tornado to /tornado with following: $ mount -s D:\tornado /tornado When I exectue command in /: $ wtxtcl /tornado/host/src/hutils/muntch.tcl with following result couldn't read file host/src/hutils/munch.tcl: no such file or directory but after I change my work directory to /tornao, and do it again, it work well. I don't know why, can anyone help me? Because most likely wtxtcl is not a Cygwin program, and thus does not understand Cygwin mounts (or Cygwin POSIX paths, for that matter). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: [ANNOUNCEMENT] Setup.exe updated to version 2.573.2.2
On Tue, 3 Jul 2007, fergus wrote: Thank you for all the improvements. Don't want to repeat the long description at http://cygwin.com/ml/cygwin/2007-06/msg00658.html so can I just comment: the new 2.573.2.2 fails to spot an up-to-date but unmounted Cygwin system so, instead of merely re-mounting it, attempts to download and install a new system. The previous version of setup coped with this circumstance. And ask: do you agree that this changed behaviour happens; and if so, that the previous behaviour was preferable; and if so, whether the previous behaviour can be recovered in a revised setup.exe? Sorry, and thank you. I think you'd have to go into more detail in describing this behavior. Knowing setup.exe as I do, I'm guessing (and this is only a guess) that you start setup on the system and manually specify the system root to be the root of your unmounted filesystem instead of the default 'C:\cygwin'. The old setup would first mount the filesystem, then go into /etc/setup on that filesystem to extract installed package information, while the new setup fails to do so. You also do not provide any details about the permissions of /etc/setup and the files in it on that filesystem with respect to the users on the machine that's running setup.exe. It would be great if you could reproduce this issue with a stock Cygwin system after umount -A (which would allow setup developers to do likewise). If not, there must be more variables in play here. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: [ANNOUNCEMENT] Setup.exe updated to version 2.573.2.2
On Tue, 3 Jul 2007, fergus wrote: Knowing setup.exe as I do, I'm guessing (and this is only a guess) that you start setup on the system and manually specify the system root to be the root of your unmounted filesystem instead of the default 'C:\cygwin'. You're absolutely right. My system is located at h:/ where h: is a mobile USB drive. Typically I run setup with the drive unmounted and so I have to type h:\ to replace the default offering C:\cygwin and put up with the warnings about the dangers of locating Cygwin at the root directory. The old setup would first mount the filesystem, then go into /etc/setup on that filesystem to extract installed package information, while the new setup fails to do so. Again, absolutely right (though I don't know whether here you are describing behaviour or still guessing it). Guessing. I'm just trying to ascertain what your symptoms are. It's the difference between what old setup used to do, and what new setup now fails to do, that has generated my post. Are you saying Yup, the behaviour has changed? You're saying the behavior has changed. I'm saying I'm not aware of such a change, and my guess would be that if it happened, it wasn't intentional. I was going to suggest that you could help narrow it down by trying the different setup snapshots (at http://cygwin.com/setup/snapshots/) to see which one introduced this behavior, but all snapshots prior to 2.573.2.2 seem to be gone. Oh, well... If so, at least we agree that it has, and it sounds as though you know the reason why (which distinguishes you from me). I don't know the reason, but I do have more experience debugging setup. I'm trying to ascertain that I can reproduce the problem, so that I can debug it and find the reason. You also do not provide any details about the permissions of /etc/setup and the files in it on that filesystem with respect to the users on the machine that's running setup.exe. The H: drive is FAT32 and I have never had any permissions issues to contend with. That's one bit of information. All my systems use NTFS. It would be great if you could reproduce this issue with a stock Cygwin system after umount -A (which would allow setup developers to do likewise). If not, there must be more variables in play here. Well, it sounds to me as though you have run the following experiment on a stock Cygwin system (by stock do you mean one mounted at c:\Cygwin?): (i) deliberately unmount it; (ii) run the new setup; (iii) come up against no problems. Is that the case? Yes, it is. I ran umount -A on a stock system; downloaded setup-2.573.2.2 from the Cygwin site, and ran Install from local directory. Setup then successfully recreated the mounts for me. However, that wasn't why I asked this. I asked was whether you could make a stock Cygwin system on *your* machine and reproduce the issue, just to figure out if this is an issue in setup because of the non-default Cygwin location, or there are other things different about your system. Which leaves me high and dry because my system is not stock? Ouch, it's worked like a dream for literally years, since I first ran Cygwin off a portable CD. Annoying to have lost this flexibility, just because setup has been updated. Well, let's not panic and try to get to the bottom of the issue instead. :-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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: ssh config
On Mon, 2 Jul 2007, Frederich, Eric P21322 wrote: Is there a way to enable X11 forwarding by default so that I don't have to run ssh -XY hostname and can just run ssh hostname? I found a way for me to do it via a ~/.ssh/config file but I'm looking for a way to do it globally. I have seen it (on Linux systems) in /etc/ssh/ssh_config before...I tried it on cygwin with no success. Does openssh on cygwin look for the global configuration file in another place or does it not support one at all? On Cygwin, the global SSH configuration is in /etc/ssh_config, which, I believe, is created for you by the ssh-user-config script. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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 updated lighttpd and upx
On Fri, 29 Jun 2007, Lapo Luchini wrote: They changed quite a bit, upgrading them is not straightforward and will take a few more time slots... unfortunately (or rather, fortunately ;-)) I no longer use Windows on my laptop, so they have to compete with free time at home ;-) Don't despair... Umm, VMware? Or is it a disk space issue? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin
RE: undefined reference to `__imp___iob'
On Tue, 26 Jun 2007, Frederich, Eric P21322 wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent Sent: Tuesday, June 26, 2007 12:22 PM To: [EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Subject: Re: undefined reference to `__imp___iob' Frederich, Eric P21322 wrote: Are there any tips to compile compatible libraries with msys / cygwin? Is it even possible? Am I missing a gcc option? No, it's not possible. Cygwin libraries use the Cygwin runtime. MinGW/MSYS libraries use the Microsoft (MSVCRT) runtime. These are two inherently different and incompatible implementations of a C runtime, so you can't link a program that uses both and expect it to work. It is technically possible if you are very sure of what you're doing, but this would involve making sure that all C functions are resolved to the correct library. For example, printf() in the MinGW code must go to MSVCRT, printf() in the Cygwin code must go to cygwin1.dll. The only way I can think to do this is with LoadLibrary()/GetProcAddress() and function pointers for everything. It also would mean that no C library data structures could be passed between the two, such as file descriptors, FILE *, struct stat, etc. It would be an extremely inconvent way to write code, and it would be much easier and cleaner to just compile all code as Cygwin code or all code as native (MSVCRT) code. Brian Thanks for your reply. Does everything you say hold true even if I compile with the -mno-cygwin option? Not everything, but how were we to know you were using -mno-cygwin? The program I was talking about linked to 4 libraries so I made a small main.c and just tried adding one library at a time. I wrote a small program to link against a single library and it worked. I was passing around FILE pointers and that worked okay too. From main.c I did the fopen and fclose and wrote to the file using the msys/mingw compiled library. Was I just lucky? When I tried adding in another library I got those errors again. Apparently I'm confused. I thought that when I compile with -mno-cygwin it was the same as using msys/mingw. It is, unless you explicitly inlcude a Cygwin header. Please provide the exact compiler invocation and the exact errors you get. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: undefined reference to `__imp___iob'
On Tue, 26 Jun 2007, Frederich, Eric P21322 wrote: From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 1:31 PM To: Frederich, Eric P21322 Cc: [EMAIL PROTECTED] Again, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Nobody wants more spam. Thanks. Subject: RE: undefined reference to `__imp___iob' Does everything you say hold true even if I compile with the -mno-cygwin option? Not everything, but how were we to know you were using -mno-cygwin? Apparently I'm confused. I thought that when I compile with -mno-cygwin it was the same as using msys/mingw. It is, unless you explicitly inlcude a Cygwin header. Please provide the exact compiler invocation and the exact errors you get. Igor I have been trying with and without -mno-cygwin just trying to get anything to work. If it (mixing msys/mingw and cygwin libraries) is not encouraged or not supported, then I just won't do it and I'll either start using Msys for everything or start keeping two copies of the Windows libraries around. Here is the output of make if this is helpful. Shouldn't matter but some search and replacing was done. gcc -O2 -I/mylibraries/libraries/include -c someProgram.c -o win/someProgram.o gcc -O2 -I/mylibraries/libraries/include -c autocad.c -o win/autocad.o gcc -O2 -I/mylibraries/libraries/include -c diagrams.c -o win/diagrams.o gcc -O2 -I/mylibraries/libraries/include -c dxf.c -o win/dxf.o gcc -O2 -I/mylibraries/libraries/include -c graph.c -o win/graph.o gcc -O2 -I/mylibraries/libraries/include -c heap.c -o win/heap.o gcc -O2 -I/mylibraries/libraries/include -c sort.c -o win/sort.o gcc -O2 -I/mylibraries/libraries/include -c swdconn.c -o win/swdconn.o gcc -O2 -I/mylibraries/libraries/include -c util.c -o win/util.o gcc -s -static -L/mylibraries/libraries/lib -o win/someProgram.exe win/someProgram.o win/autocad.o win/diagrams.o win/dxf.o win/graph.o win/heap.o win/sort.o win/swdconn.o win/util.o -lm -ldxfstd_win -lhdg_win -lvars_win /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x13): undefined reference to `__imp___iob' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x2e): undefined reference to `__imp___iob' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x3e): undefined reference to `__imp___iob' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x46): undefined reference to `__filbuf' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0xdf): undefined reference to `__imp___iob' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x118): undefined reference to `__imp___iob' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x138): undefined reference to `__imp___iob' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x168): undefined reference to `__imp___iob' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x192): undefined reference to `__imp___iob' /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x1d8): more undefined references to `__imp___iob' follow collect2: ld returned 1 exit status make: *** [someProgram.exe] Error 1 Where exactly are you using -mno-cygwin in the above? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash is broken wrt trap :(
On Tue, 26 Jun 2007, Richard A Nelson wrote: Cygwin bash is actually a newer version than Debian/RH ships - but has one flaw not shared by the other distributions. I have code that must run on AIX (bash/ksh93), Linux (bash/ksh93), and Cygwin (bash - pdksh is not sufficient and I couldn't find ksh93)... What's missing in pdksh? and trap handling is a large part of what the scripts do. Here is the main trap setup: - # Set a trap to catch non-zero return codes ERROR=*** ERROR *** ERROR *** ERROR ***; trap echo \$0:$ERROR\; ERR; if [ -n $BASH -a ${OS:0:6} != 'CYGWIN' ]; then This won't work -- OS is a variable set by Windows. On my WinXP, I get OS=Windows_NT, so ${OS:0:6} is 'Window'. You want something like $(uname -s | cut -c 1-6) instead, or use $(uname -o). UNWIND=trap 'false' RETURN;return 1; I'm not sure this does what you expect it to. It seems like this sets the RETURN trap *in the child*, which is executed, again in the child, as soon as you return. else UNWIND='return 1'; fi; trap echo \$0:$ERROR\;$UNWIND ERR; set -e; Each function sets its own trap handling: Parse_Options () { trap echo \$0/Options:$ERROR\;$UNWIND ERR; ... } Here is the test driver I'm working with - trap echo \$0: $ERROR\;exit 1 ERR QUIT ABRT ALRM TERM; do_a () { trap echo \$0/do_a: $ERROR\;$UNWIND ERR; echo 'do_a'; do_b; } do_b () { trap echo \$0/do_b: $ERROR\;$UNWIND ERR; echo 'do_b'; false; } echo 'main' do_a; -- ksh93 will propagate the error upwards via the 'return 1' clause. bash, however requires setting a RETURN trap and forcing an error in the function's caller :( And what is the output you expect from the above script? That every error handler up the call chain is triggered? Anyway this works everywhere except Cygwin, as you can see I've disabled the RETURN TRAP for Cygwin, as with it enabled, the script loops forever (or until it faults) - continually reissuing the trap in do_b ! -- + echo 'main' main + do_a + trap 'echo ./test/do_a: *** ERROR *** ERROR *** ERROR ***;trap '\''false'\ + echo 'do_a' do_a + do_b + trap 'echo ./test/do_b: *** ERROR *** ERROR *** ERROR ***;trap '\''false'\ + echo 'do_b' do_b + false ++ echo './test/do_b: *** ERROR *** ERROR *** ERROR ***' ./test/do_b: *** ERROR *** ERROR *** ERROR *** ++ trap false RETURN ++ return 1 +++ false echo './test/do_b: *** ERROR *** ERROR *** ERROR ***' ./test/do_b: *** ERROR *** ERROR *** ERROR *** trap false RETURN return 1 + false [snip] Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Reloaded Win XP, now need to reload cygwin - sorta
On Mon, 25 Jun 2007, Vidiot wrote: Larry responded: Both 'cron' and 'ssh' have config scripts that handle installing and starting the service for you, if you let them. They are documented in their README files in '/usr/share/doc/Cygwin'. 'cygrunsrv --help' gives you an overview of the command and it's available options. That is all fine and dandy if you know where to look. A new user isn't going to have a clue and I hadn't dealt with configuring cygwin in over a year, so I promptly forgot. So, new users are going to rely on the on-line documentation. In this case there is nothing. Would be be that difficult to document the configuration of programs like this on line? The web page did say that the user doc is comprehensive and it isn't. And, the FAQ is meant for queries like this and it too has nothing. What do you mean, nothing? What about this: http://cygwin.com/faq/faq.resources.html#faq.resources.documentation? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Running mysql as a service ...
On Tue, 19 Jun 2007, Igor Peshansky wrote: http://cygwin.com/acronyms/#PCYMTWLL. Thanks. On Sat, 16 Jun 2007, Tilman Schröder wrote: Hello everyone, I just spend some frunstrating hours on figuring out how to run a self-compiled cygwin mysql daemon as a service (win xp). first of all: using cygrunsrv.exe did not work for me, I do not know why, the problem is that there is no error log file for cygrunsrv or i am too stupid and did not found the log file Check the Windows Event Log (under My Computer-Manage, or whatever the Deutsche equivalent is). You did not tell us what command you are using to install mysql as service (with cygrunsrv). Also, you didn't provide the error you are getting from cygrunsrv on the console (you must be getting something, even if it's service not started). Another option is to install syslog-ng and run that as a service. Then all errors will be logged wherever you configure them to be (e.g., in /var/log/mysqld.log)... then i tried this: C:\Programme\cygwin\bin\bash.exe -login -i -c /usr/local/mysql/libexec/mysqlmanager.exe --run-as-service this command opens up 3 console windows which are being closed immediately again and after this, the mysql-server runs in the background! The console windows are the consequence of the implicit -mconsole. If you compile with -mwindows instead, you'll lose the ability to display messages on the console, so that's probably not a good option. it's not a very good solution because this is no real service but just a command which can be put into the Autostart folder ... and now we have got a problem when more than one real windows user is logged in ... Does anyone know how to start the cygwin mysql server as a windows service ??? Would be very nice if somebody knew the trick ... Sure -- use cygrunsrv. Beyond that, you need to check various permissions (cygrunsrv will run as SYSTEM), and make sure the paths are in order, etc (e.g., c:\cygwin\bin needs to be in the PATH unless mysqld is in /bin). Forgot to mention: cygrunsrv is a wrapper to run a non-service (console) program as a service. That means that you'll need to put mysqld in non-daemon mode. Either that, or explore the --pid option of cygrunsrv (read the man page and the description in the User's Guide). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Running mysql as a service ...
http://cygwin.com/acronyms/#PCYMTWLL. Thanks. On Sat, 16 Jun 2007, Tilman Schröder wrote: Hello everyone, I just spend some frunstrating hours on figuring out how to run a self-compiled cygwin mysql daemon as a service (win xp). first of all: using cygrunsrv.exe did not work for me, I do not know why, the problem is that there is no error log file for cygrunsrv or i am too stupid and did not found the log file Check the Windows Event Log (under My Computer-Manage, or whatever the Deutsche equivalent is). You did not tell us what command you are using to install mysql as service (with cygrunsrv). Also, you didn't provide the error you are getting from cygrunsrv on the console (you must be getting something, even if it's service not started). Another option is to install syslog-ng and run that as a service. Then all errors will be logged wherever you configure them to be (e.g., in /var/log/mysqld.log)... then i tried this: C:\Programme\cygwin\bin\bash.exe -login -i -c /usr/local/mysql/libexec/mysqlmanager.exe --run-as-service this command opens up 3 console windows which are being closed immediately again and after this, the mysql-server runs in the background! The console windows are the consequence of the implicit -mconsole. If you compile with -mwindows instead, you'll lose the ability to display messages on the console, so that's probably not a good option. it's not a very good solution because this is no real service but just a command which can be put into the Autostart folder ... and now we have got a problem when more than one real windows user is logged in ... Does anyone know how to start the cygwin mysql server as a windows service ??? Would be very nice if somebody knew the trick ... Sure -- use cygrunsrv. Beyond that, you need to check various permissions (cygrunsrv will run as SYSTEM), and make sure the paths are in order, etc (e.g., c:\cygwin\bin needs to be in the PATH unless mysqld is in /bin). BTW: no its not an option to use the precompiled windows mysql binaries because i need the php postscript extension on windows which needs pslib. and pslib can only be compiled within cygwin, not mingw or native windows. and if pslib only works in a cygwin environment, then the postscript extension and php have to be built within cygwin. but a cygwin php cannot be linked against windows binaries and therefor i need a cygwin version of mysql, too :( HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: 1.5.24-2 (locale.h): Compilation ERRORs ?!
On Mon, 18 Jun 2007, Dave Korn wrote: On 18 June 2007 16:35, Alexey Lyubimov wrote: Dave Korn wrote: You forgot to tell it to link against libintl. Try $ gcc -o gt -g main.c -lintl Thanks Dave! It works! But what do you think about this text from the gettext manual, I've taken the example from: Compile as usual with gcc -o hello hello.c. The program should be linked to the GNU libintl library, but as this is part of the GNU C library, THIS IS DONE AUTOMATICALLY for you under Linux, and OTHER SYSTEMS USING GLIBC. Cygwin is not Linux [ ... or ... ] other systems using glibc, so on cygwin it is not the case that this is done automatically. It might be worth patching the man page for Cygwin to indicate the necessity of -lintl. Or we could say WJM and point people to /usr/share/doc/Cygwin/gettext-*.README, once that contains the above information. :-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: GNU Make 3.81 installation problem
On Tue, 19 Jun 2007, dyZ Forever wrote: I can't seem to install GNU Make properly. I have searched the mailing lists and didnt find solution. This is the error i get. $ configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $MAKE... no checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See 'config.log' for more details So okay i know the C compiler is missing together with the gcc, cc and cl. But i am totally blank of what to do. I am new at this. Please do provide some help or link to a similar problem. Thanks! Umm, install it? http://cygwin.com/faq/faq.setup.html#faq.setup.what-packages Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Batch installation, possibly without setup.exe?
On Fri, 15 Jun 2007, fergus wrote: In particular: does setup.exe fiddle with the registry or other files that can't be just overwritten as a whole? Mainly (entirely?) setup sees to (a) location and (b) mounts. And (c) postinstall scripts, which may produce different results from machine to machine. Just FYI. After it's done you might want to fiddle with mkpasswd or mkgroup for individual users on their individual machines, but it's my experience* that you wouldn't actually need to. You wouldn't unless you plan to run anything that has to do with permissions and/or authentication. BTW, mkpasswd/mkgroup *are* built in a postinstall script. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: 1.5.24-2 (locale.h): Compilation ERRORs ?!
On Fri, 15 Jun 2007, Alexey Lyubimov wrote: Hello! When I try to compile very simple example from gettext's tutorial - I get compilation errors using gcc or g++. Here is the source code: - main.c or main.cc #include libintl.h #include locale.h #include stdio.h #include stdlib.h #define _(aString) gettext(aString) int main(void) { setlocale(LC_ALL, ); bindtextdomain(gt, /usr/share/locale); textdomain(gt); printf(_(Hello, world!\n)); exit(0); } -- 1) I CAN NOT build the test program with MinGW (-mno-cygwin): $ gcc -o gt -mno-cygwin -g main.c main.c:3:21: libintl.h: No such file or directory [snip] Not surpising, as there is no MinGW gettext visible to gcc on your system. 2) I CAN NOT build the test program as C-program (with gcc): You must mean a *Cygwin* C program. $ gcc -o gt -g main.c In file included from /usr/include/libintl.h:22, from main.c:3: /usr/include/locale.h:26: error: syntax error before struct I think it's because GCC doesn't understand _BEGIN_STD_C, _END_STD_C macros used inside locale.h Hmm, those ought to have been defined in _ansi.h. Try running gcc -E main.c and see what exactly is produced by the macro expansion. 3) I CAN NOT build the test program as C++-program (with g++): g++ -o gt -g main.cc In file included from /usr/include/sys/config.h:167, from /usr/include/_ansi.h:16, from /usr/include/locale.h:10, from /usr/include/libintl.h:22, from main.cc:3: /usr/include/cygwin/config.h:18: error: expected constructor, destructor, or type conversion before extern /usr/include/cygwin/config.h:18: error: expected `,' or `;' before extern What is wrong? What is the workaround? Not sure. Builds fine on my system, with both gcc and g++, with main.c or main.cc commented out... However, a WAG: when you say Here is the source code: - main.c or main.cc #include libintl.h Do you mean that the first line of your program is actually main.c or main.cc? If not, what is the first line? I get a similar message if I put something nonsensical there, like class. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Some notes on building gcc-4.3.0
On Wed, 13 Jun 2007, Charles Wilson wrote: It'd be nice if the archiving software would Do What I Mean and Not What I Say. It inlined all the patches. So, here's a tarball... The patches did come through as text attachments, though... And you can get the whole message from the archives in mbox format via the Raw text link. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-'old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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 compiling with gpc and Uses Crt statement in crtc.c
Ugh, top-posting... Reformatted. On Fri, 8 Jun 2007, Bruce Mahfood wrote: On 6/8/07, Dave Korn wrote: One last thing On 6/7/07, Dave Korn wrote: ^^^ http://cygwin.com/acronyms#PCYMTNQREAIYR: Can you fix your mailer's reply-header to only quote the full-text name, not the email address please? Posting someone's email address to a mailing list web archive results in spam harvesters grabbing it and then that person gets tons more spam that they wouldn't otherwise have received. (Oh, I see you're on gmail, I don't know if they provide that degree of customisation or not, but if you could remember to manually snip the raw email addys whenever possible it would be appreciated). Very sorry. Pretty new to the newsgroup thing. FYI, this is a mailing list. I will make sure to remove the email addresses from now on. I looked and cannot find anywhere where gmail gives that level of customization. It doesn't, but if enough people suggest this feature, perhaps someone at Google will work on it. :-) See http://mail.google.com/support/bin/request.py?contact_type=suggest (don't forget to also click Have Gmail do my laundry). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Java
On Mon, 11 Jun 2007, Brian D. McGrew wrote: Good morning all, I'm brand new to cygwin but a veteran Unix engineer so I do know my way around... I've successful compiled all of my C/C++ code in cygwin and it's all running good now. However, I need java. There is a higher level user interface that goes on top of our C/C++/X/Motif stuff that's all done in Java. On Solaris and Linux I've got /usr/java and we rely on jdk's and jre's from version 1.4.1 to 1.6. Of course with Solaris and Linux I just download the platform version I'm using and I'm done. Is there such a creature for cygwin? Can I get a Sun /usr/java package running under cygwin? Cygwin can run Win32 programs. Thus, the regular Win32 JDK will work from Cygwin. However, it will not understand Cygwin paths, etc. That can be somewhat alleviated by using my Java wrapper scripts[*], but they will not (cannot) work in all cases (e.g., when the filename is read from a stream, or passed in a compound command-line argument). As for JNI, unless you want to deal with Cygwin DLL initialization issues (possible, but not trivial), your best bet would be to build your DLLs using gcc -mno-cygwin. One final bit of advice is regarding the Windows linker and name mangling. First, if you don't provide a dll_entry() method, Windows will default to some weird behavior in a DLL (IIRC, things won't be initialized properly). Second, different JDKs use different JNI name mangling schemes for nested classes (yes, I know it's technically a bug, but the language spec leaves it unspecified). The latter will not affect you if you stick to one JDK and use its javah. To see how we got around these problems, see http://x10.cvs.sf.net/x10/x10.common/examples/Constructs/Extern/Makefile?view=markup, which will build a DLL that is loadable by all JDKs I've tested (IBM and Sun, at least) without having to recompile (it assumes that all JNI methods are prefixed with Java_ -- a convention we had to adopt to enable this technique). HTH, Igor [*] http://cygwin.com/cgi-bin/cvsweb.cgi/wrappers/java/?cvsroot=cygwin-apps -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: program compiled with gcc doesn't print; cygcheck -s shows ssh and vi are missing, how do I get them
On Thu, 7 Jun 2007, Ron Ratney wrote: Two questions: two very short C programs compiled OK by gcc but do not produce output. When I try to run a.exe I get the error message that the program can't be found. http://cygwin.com/faq/faq.using.html#faq.using.not-found. I ran cygcheck -s which found some missing components, most of which I was able to get through setup. But I can't find ssh or vi. http://cygwin.com/faq/faq.setup.html#faq.setup.what-packages. Will either of these help printf actually print? No. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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 NFS file size limit ?
On Thu, 7 Jun 2007, Pieter Donche wrote: Hi, Is there a limit as to the size of a single file that can be created on a Cygwin NFS exported directory ? I have Cygwin 1.5.24-1 on Windows2003 server, using NFS services. When using unix ufsdump command to dump a local unix file system (ufsdump writes into a single file) into a Cygwin NFS mounted directory, the ufsdump issues an error message: ... DUMP: 24.10% done, finished in 0:31 DUMP: Write error 7602060 blocks into volume 1 It wrote only 2 Gb (should also be 6.5 Gb) There is plenty of free space available on the server. When using standard unix cp: $ cp backup.dmp /mnt with backup.dmp the same 6,5 Gb file (this is the ufsdump created first into a file on the local disk), also after some 5 minutes, a message cp: /mnt/file.dmp: Invalid argument is given, the command aborted, and leaving no (part of) backup.dmp file in /mnt. I may be off the mark here, but IIRC, nfs-server is a pretty old package and hasn't been updated in a while, so it may still be compiled against the older versions of Cygwin that didn't have 64-bit IO. Running nm on the nfs-server executable (which I currently don't have installed, so can't do this myself) should show whether I'm right. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Installing Cygwin in restricted environment
On Tue, 5 Jun 2007, Sharuzzaman Ahmat Raslan wrote: Hi, My workstation in office is running Win2K. The environment is locked, but I have a folder named C:\Apps that is open and writeable to all user. The folder is being used to install non-standard apps. Standard apps is always installed in C:\Program Files It looks like Cygwin is not able to be installed in my environment, with the error message: This operation has been cancelled due to restriction in effect on this computer. Please contact your system administrator. Is there any other way to install Cygwin in this kind of environment? Besides writing the files to disk, Cygwin also needs to store its mount table in the registry. An environment like that very likely disallows writing to system registry, and that is probably what's tripping this error. I'd be surprised if the user registry hive were locked down as well, so you could try instructing setup to install for Just me. Without further information about your installation process (e.g., the attached /etc/setup/setup.log.full from that installation attempt) I cannot offer further guesses as to what went wrong. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin
Re: OCaml package hasn't updated for a while (Ping unison maintainer)
On Thu, 31 May 2007, Wei-Hao Lin wrote: On 5/23/07, Matthew Woehlke [EMAIL PROTECTED] wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Wei-Hao Lin wrote: OCaml 3.10 is just released. The Cygwin ocaml package generously contributed by Igor Pechtchanski in 2004, however, is still 3.08.1. Although OCaml can be compiled under Cygwin without any change, surely it will save some time if OCaml package is updated and made available via Cygwin distribution. Maintainers Thoughtfully Considered? :-) I don't mind maintaining the ocaml package, but I would like to ping again and see what the current maintainer, Igor Pechtchanski, thinks. Sorry, I meant to reply to your original message, but got bogged down with work... I'm still maintaining O'Caml. It builds OOTB, but lacks some interesting (and important) features. A few of the things I was playing with in my spare time were trying to make O'Caml 1) support dynamic linking/loading on Cygwin (mostly done for 3.08); 2) allow -mno-cygwin like other Cygwin compilers (probably superfluous now, but we may still want to try building a Cygwin-MinGW cross-compiler); and 3) support multiple side-by-side versions (due to binary incompatibility). I haven't had much chance to perfect the build, though (unison had problems with it, and I needed to invest some heavy debugging time I didn't have). In the meantime, 3.09 and 3.10 came out. One problem is that a major client of O'Caml is unison, and, because of binary incompatibility, the releases of O'Caml need to be coordinated with unison. I've added a ping, and we'll see what Andrew says. I'm not familiar enough with O'Caml program dependencies to know whether I can simply provide an older runtime DLL in a separate package or not. There was some discussion of this earlier -- perhaps I should dig in the archives. I'm also ok with transferring maintainership to someone more knowledgeable in O'Caml, provided we can get the level of functionality I originally intended (described above). I can provide a patch for the 3.08 build tree. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Build problems - unistd.h
On Thu, 31 May 2007, Scott Peterson wrote: Sorry about the large email: didn't realize how big it was when I cut and pasted. Line 108 is indeed: int _EXFUN(pipe, (int __fildes[2] )); I've greped around for define pipe and the only results I could find are /usr/include/glib-1.2/glib.h and /usr/include/glib-2.0/glib/gwin32.h. Both files define precisely the method you mention: #define pipe(phandles)_pipe (phandles, 4096, _O_BINARY) Here's the kicker: I commented out both instances of that #define and the build still fails with the same error. Is there anyway I can find out precisely where the preprocessor is getting that method? C really isn't my thing so when I have problems like this with prerequisite packages, I'm really at a loss. Thanks everyone for lending me a hand with this! You could try simply inserting '#undef pipe' before '#include unistd.h'. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: OCaml package hasn't updated for a while (Ping unison maintainer)
On Thu, 31 May 2007, Andrew Schulman wrote: One problem is that a major client of O'Caml is unison, and, because of binary incompatibility, the releases of O'Caml need to be coordinated with unison. I've added a ping, and we'll see what Andrew says. I'm not familiar enough with O'Caml program dependencies to know whether I can simply provide an older runtime DLL in a separate package or not. There was some discussion of this earlier -- perhaps I should dig in the archives. Igor, if you mean that releasing a new OCaml would mean that I'd have to rebuild and rerelease all of the Unison packages, I don't have any objection, assuming the packages will still build without trouble. If the current Unison packages won't run with the new OCaml runtime, then yes, we should coordinate the releases. Once a new OCaml compiler is built I can use it to rebuild Unison. I have to dig back into Unison soon anyway, because a new version is out. Okay, I'll build a new version soon (probably this weekend) and post it somewhere, so you can install it and use it to build unison. If it works out, ping me and we can coordinate the upload. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: echo with no line feed
On Sat, 26 May 2007, John wrote: I can't get: #! /bin/sh echo Type file name: \c read FNAME echo $FNAME # to work without the line feed (using or ' quotes in the echo). Any tips? '\c' is an escape sequence that prompts 'echo' to disable the trailing newline. However, you have to tell 'echo' to look for escape sequences, i.e., echo -e Type file name: \c (quotes don't matter). Alternatively, as Isaac said, both '/bin/echo' and the bash 'echo' builtin support the '-n' option to avoid the trailing newline, i.e., echo -n Type file name: (in which case you won't need the '\c'). HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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 Question?
On Sat, 19 May 2007, Dustin Ochoa wrote: Hello Igor, Hi. Questions about Cygwin should be directed to one of the Cygwin lists. See http://cygwin.com/acronyms/#PPIOSPE for details. Redirecting. Please follow up to the list. I understand that you are quite knowledgeable on Cygwin and thought maybe you could quickly answer my question. I'm attempting to run multiple csh scripts and after I start the third script, I get the following error message: Exception: STATUS_ACCESS_VIOLATION at eip=0022DAD0 eax= ebx=00218EA0 ecx=00218C28 edx=7C90EB94 esi=1000 edi= ebp=0021BED8 esp=00218D70 program=C:\cygwin\bin\tcsh.exe, pid 4300, thread main cs=001B ds=0023 es=0023 fs=003B gs= ss=0023 Stack trace: Frame Function Args 0021BED8 0022DAD0 (006D648A, 0021BEF9, 0001, 0040D830) 00220F08 0041117A (006D6488, , , ) 00224F68 00411259 (00442B1E, 00479050, 01A0, 006D1BA8) 00224F88 004117AC (006D1BA8, , 00225028, 61168030) 00224FC8 0041C289 (006E5AA8, 006D1BA8, 00479050, 0002) 00224FE8 0041C3CD (006E5AA8, 006D6488, 0002, 00441301) 00225028 0041DA51 (006E3008, 006E5B28, , ) 002278F8 0041B21A (006E5B28, , , ) 0022A1C8 0041AEFF (006E5A28, , , ) 0022ABC8 00401722 (0001, , 00479050, 0002) 0022CCE8 004038FA (0001, 61169728, 006D1008, 0022CC70) 0022CD98 61006148 (, 0022CDD0, 610054C0, 0022CDD0) 610054C0 61004416 (009C, A02404C7, E8611001, FF48) 3 [main] csh 4300 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) This looks like an error deep inside tcsh code, but you'd probably have to a) provide the exact steps you took to reproduce it (preferably by reducing your scripts to simple test cases), and/or b) build tcsh with debugging symbols and figure out where it crashes. Does Cygwin have a problem with running multiple scripts at the same time? If so, is there a way around this? If Cygwin had a problem with running multiple scripts at the same time, it would have been noticed already. This sounds like either your local configuration is broken (multiple cygwin1.dlls, known incompatible software, etc), or you've stumbled upon a tcsh bug. That said, I don't use tcsh, and can only offer some generic advice. Take a look at http://cygwin.com/problems.html and follow the guidelines for problem reporting (pay particular attention to the part that asks you to provide your system configuration details). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Can not turn off terminal beep for completion
On Tue, 15 May 2007, Ronald Fischer wrote: I have set my ~/.inputrc like this: set print-completions-horizontally on set show-all-if-ambiguous on set show-all-if-unmodified on set visible-stats on But still, when I, for example, enter ls TAB the terminal beeps. Even if I set in .inputrc: set bell-style none it beeps. This applies to rxvt and to the standard cygwin command line window. How can I turn off the beep? Make sure your .inputrc is read. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Can not turn off terminal beep for completion
On Tue, 15 May 2007, Ronald Fischer wrote: Make sure your .inputrc is read. Hmmm according to the Cygwin documentation page: .inputrc controls how programs using the readline library (including bash) behave. It is loaded automatically. So, as long as I stick with the default name ($HOME/.inputrc), it should be read without requiring me to do additional actions, isn't it? Theoretically, but there still could be a few things going wrong, one of which being that you and your Cygwin environment have different ideas of what $HOME is. Try running bind 'set bell-style none' from the bash command line... Also, I vaguely recall that there were problems with bell-style none. Try set bell-style visible instead. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Attn: Yaakov - gvim (Was: [ANNOUNCEMENT] Updated: vim-7.1-1)
On Tue, 15 May 2007, Gary Johnson wrote: On 2007-05-15, Michael Schaap wrote: On 14-May-2007 17:05, Corinna Vinschen wrote: I have updated the version of vim on cygwin.com to 7.1-1. Yaakov, if possible, could you perhaps release a corresponding gvim as well? (Upgrading to vim-7.1 breaks gvim-7.0, so there is some amount of urgency...) What breaks? As far as I know, 7.1 contains only bug fixes. Directory names. It's a packaging issue. FWIW, Corinna and Yaakov, can we change vim to use /usr/share/vim instead of the versioned directory? Since Cygwin only allows one version installed at a time, this might be a worthwhile deviation from the upstream vim packaging structure... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: [PATCH] Setup: adjust copyright and fix the installation finished behavior for download-only mode
On Fri, 4 May 2007, Brian Dessent wrote: Igor Peshansky wrote: Thanks, but it turns out the patch wasn't tested enough. Using the Back button from the final dialog in download-only mode and then going through setup again after changing the mode to Install would not change the final dialog back to its original state. The attached patch fixes that (and also makes sure no extra files are created in download-only mode). New ChangeLog below. Must have missed this before, please commit. Thanks, committed. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin
Re: Passwd for a specific nt group
On Fri, 4 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote: Hello all, I would like to run the mkpasswd only for a specific NT goup and for some specific users. In the man pages there is the -u option for specific users but this cammand returns The user name could not be found and I am usigin my login account is there something I am missing ? If it's a domain user, you need the -d flag. Also how to I run this command for a specifig NT group of peoples ? See mkgroup --help. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: 1.5.24: setup.exe segfault
On Sun, 8 Apr 2007, Igor Peshansky wrote: On Sun, 8 Apr 2007, Greg Chicares wrote: On 2007-4-8 14:45 UTC, Igor Peshansky wrote: On Sun, 8 Apr 2007, Greg Chicares wrote: I've run setup.exe numerous times this morning, and it segfaulted only once. I tried again, but couldn't reproduce the problem. [...] It doesn't look like you're running the latest snapshot of setup -- please try that (from http://cygwin.com/setup/snapshots/). [...] If you can reproduce the crash with the latest snapshot, we could get a more accurate diagnosis with addr2line. I followed the link you gave, and downloaded this file: http://cygwin.com/setup/snapshots/setup-2.562.exe It did not crash. It let me retrieve the package I wanted, then successfully updated that package: /cygdrive/c/cygwin-cache[0]$cygcheck -s -v -r |grep mingw-runtime mingw-runtime3.11-1 /cygdrive/c/cygwin-cache[0]$./setup-2.562.exe /cygdrive/c/cygwin-cache[0]$cygcheck -s -v -r |grep mingw-runtime mingw-runtime3.12-4 Let me point out two small things: (1) The initial screen says Copyright 2000-2006; should it say 2007 instead of 2006? Yep. Thanks. (2) When I did Download Without Installing as a separate step to fetch this package, setup-2.562.exe terminated without showing the Cygwin Setup Download Complete OK messagebox I've grown accustomed to seeing. Is the lack of that messagebox a new feature? I mistook it for an abend; but, running it under gdb, everything looked okay even though the messagebox did not appear: /cygdrive/c/cygwin-cache[0]$gdb ./setup-2.562.exe GNU gdb 6.5.50.20060706-cvs (cygwin-special) [big snip] warning: .ini setup_version is 2.510.2.2, our setup_version is 2.562 warning: LOG: 2 note: Download Complete warning: LOG: 2 Ending cygwin install Program exited normally. (gdb) q Ah, the message box was indeed removed, and the final message was folded into the screen that offered to create the desktop and start menu shortcuts. However, what I missed was the fact that this screen is not shown in download-only mode. Thanks for the report -- I'll fix this. Ok, just to follow up. This is now fixed in CVS. The next setup snapshot (2.568) will show installation status as part of the final dialog. Thanks again for testing. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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 username
Please do not commandeer an unrelated thread for a new topic. Changing the subject is not enough -- you have to post a new message altogether if you want to break the thread. On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote: Hello all, When you log into cygwin using a shell the username used is the windows user name. I have a setup where I would like 10 users from 10 diffrent PC to have one username and 10 other using 10 other pc have an other. This is because I only want to manage 2 user name in the passwd file. Is this possible ? And if yes how do I do that I don't believe it's possible. First off, entries in /etc/passwd contain an SID that identifies the associated Windows user, so you'd need to have one entry per Windows user anyway, or they will be unrecognized by Cygwin. You can have multiple entries in /etc/passwd with the same username, but when Cygwin looks up a username, it stops at the first one, so anyone trying to log in with that username will be treated as the first matching user (and will need to enter the password for that user). On the other hand, you can use the mkpasswd tool to manage your /etc/passwd file instead of doing it by hand. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Some Batch-Scripting-Problems under Windows
On Thu, 3 May 2007, Daniel Spannbauer wrote: Hello, we've build a Program for Cygwin to load some Firmware in some Hardware which is produced by us. The Firmwware is called file.tld. At the moment the USer has to open Cygwin, jumpd to the Path of the file.tld (for example: C:\Dokumente und Einstellungen\test\Eigene Dateien\tload) an run the program by tload -l /dev/ttyS0 file.tld. This is very uncomfortable. Now I try to write a simple Batch-Script to do this automaticly, so you have just to douible-klick on file.tld an the Firmware is loaded over a predefined serial Line. The batch-Script looks as follows: LINE=/dev/ttyS0 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1% But this won't work couse %1% is still C:\Dokumente und Einstellungen\test\Eigene Dateien\tload\file.tld which isn't a cygwin-Path. That's not even valid batch syntax. You want set LINE=/dev/ttyS0 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1 So I cahnged the script as follows: LINE=/dev/ttyS0 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% '/bin/cygpath -a -i %1%' But this also don't work. couse %1% has Double-Quots () at first and last place. I think it is just a quoting-Problem. Any Ideas out there? Yes. Use single quotes. For example, the below should work: set LINE=/dev/ttyS0 c:\cygwin\bin\bash -c '/bin/tload.exe -l %LINE% `/bin/cygpath -a -i %1`' (you need to quote the output of cygpath as well, as that may contain spaces). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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 username
Ugh, top-posting... Reformatted. On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote: -Original Message- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: 3 mai 2007 10:18 To: Boffin, Stephane (GE Infra, Aviation, Non-GE) Cc: [EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Subject: Re: Cygwin username On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote: Hello all, When you log into cygwin using a shell the username used is the windows user name. I have a setup where I would like 10 users from 10 diffrent PC to have one username and 10 other using 10 other pc have an other. This is because I only want to manage 2 user name in the passwd file. Is this possible ? And if yes how do I do that I don't believe it's possible. First off, entries in /etc/passwd contain an SID that identifies the associated Windows user, so you'd need to have one entry per Windows user anyway, or they will be unrecognized by Cygwin. You can have multiple entries in /etc/passwd with the same username, but when Cygwin looks up a username, it stops at the first one, so anyone trying to log in with that username will be treated as the first matching user (and will need to enter the password for that user). On the other hand, you can use the mkpasswd tool to manage your /etc/passwd file instead of doing it by hand. Igor I do not want to use the mkpasswd because I have 500 user on the network and only 6 - 10 will be using Cygwin. Then take a look at the -u option to mkpasswd, and write a script to only grab the users you want. Similarly for mkgroup (with -g). I tried to put only on entry in the /etc/passwd and cygwin uses this user name but I do not know if this is a bug or a feature. I would of expected cygwin to send a authentication error ...??? Huh? You'll need to expand on this. What do you mean by cygwin uses this user name? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Some Batch-Scripting-Problems under Windows
On Thu, 3 May 2007, Daniel Spannbauer wrote: Hello Igor, first of all Thanks for the answer. Igor Peshansky wrote: On Thu, 3 May 2007, Daniel Spannbauer wrote: Hello, we've build a Program for Cygwin to load some Firmware in some Hardware which is produced by us. The Firmwware is called file.tld. At the moment the USer has to open Cygwin, jumpd to the Path of the file.tld (for example: C:\Dokumente und Einstellungen\test\Eigene Dateien\tload) an run the program by tload -l /dev/ttyS0 file.tld. This is very uncomfortable. Now I try to write a simple Batch-Script to do this automaticly, so you have just to douible-klick on file.tld an the Firmware is loaded over a predefined serial Line. The batch-Script looks as follows: LINE=/dev/ttyS0 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1% But this won't work couse %1% is still C:\Dokumente und Einstellungen\test\Eigene Dateien\tload\file.tld which isn't a cygwin-Path. That's not even valid batch syntax. You want set LINE=/dev/ttyS0 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1 Thats clear, I simply don't wrote it. So I cahnged the script as follows: LINE=/dev/ttyS0 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% '/bin/cygpath -a -i %1%' But this also don't work. couse %1% has Double-Quots () at first and last place. I think it is just a quoting-Problem. Any Ideas out there? Yes. Use single quotes. For example, the below should work: set LINE=/dev/ttyS0 c:\cygwin\bin\bash -c '/bin/tload.exe -l %LINE% `/bin/cygpath -a -i %1`' (you need to quote the output of cygpath as well, as that may contain spaces). Ok, that works. But the Output of cygpath is /cygdrive/c/Dokumente und Einstellungen/test/Eigene Dateien/tload/file.tld. Seems that our Program, tload.exe, has a Problemwith Blanks in the File-Name :( Well, the above code runs /bin/tload, not your tload. FWIW, /bin/tload is a machine load visualizer from the procps package. If you didn't forget to put double quotes around the invocation of cygpath, your program should get the whole filename as one argument in argv. If even in that case your tload does not not like spaces in filenames, that's probably a bug in your code. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: CD doesn't work in script
On Thu, 3 May 2007, SCHLING wrote: Hi all, I have successfully installed Cygwin on XP SP2, and would like to run a script which includes a change directory command (cd \etc.) All the other lines of the script work except the one with cd. The same line works when input by hand. Searching on the net I found that line endings could be critical (Lf instead of CrLf) and ran the script through d2u. Still no success. Curiously, if the script tries a cd with a non-existing directory, I get a warning. Otherwise, the script runs withouth any problems, but the active directory does not change. Don't know what to do next... The first thing to do is to try the same script on Linux -- I suspect this is not a Cygwin-specific problem. One WAG is that the cd does happen, but in a subprocess (e.g., parenthesized command, or part of a pipe), so that the main bash process does not see the change in directory. If that is the case, see a bash scripting guide for possible fixes (this is the same problem as setting environment variables in subprocesses). Again, this is not Cygwin-specific. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Error isntalling from directory, 2.510.2.2 setup version
On Wed, 2 May 2007, Gallagher, Tim F (NE) wrote: I am tasked with installing Cygwin (The latest version) from an install directory (the computer does not have an internet connection). I run the setup.exe I select for all users, install from local directory and I get an error. The screen is at 9% install and the error is at /archive/mkinstalldirs,v. I am not sure what to do, we need this installed on the computer for development reasons. I am not able to find anything on this error when I do a Google search. Any idea's? And the exact error is?.. Igor P.S. You might also want to try a newer setup version, or even a snapshot from http://cygwin.com/setup/snapshots/. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: display ps command line parameters
On Tue, 1 May 2007, [EMAIL PROTECTED] wrote: All, Thanks for your replies. An alternative would be to parse /proc/PID/cmdline. I think I'll use Tony's solution, as I don't have pstree available on my development or live Cygwin installation. This would be quicker as I can use it straight out of the box. I was looking for exactly something like the cmdline file yesterday! http://cygwin.com/ml/cygwin/2007-04/msg00821.html Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Please review and upload cron-4.1-1
On Wed, 11 Apr 2007, Corinna Vinschen wrote: On Apr 10 10:33, Pierre A. Humblet wrote: http://mysite.verizon.net/phumblet/cron-4.1-1/setup.hint http://mysite.verizon.net/phumblet/cron-4.1-1/cron-4.1-1.tar.bz2 http://mysite.verizon.net/phumblet/cron-4.1-1/cron-4.1-1-src.tar.bz2 The packaging looks good to me. We talked about the details already in PM. I really like the `cronlog' idea. I've uploaded this package and removed 3.0.1-19. Thank you *very* much for taking over cron. Igor? Do you have a gold star for Pierre handy? Or better two? Yep: http://cygwin.com/goldstars/#PAH. Apologies for the delay -- I was on vacation. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin
Re: ImageMagick display and convert fail with a Visual C++ runtime error
On Wed, 25 Apr 2007, Dmitry Golovaty wrote: Thanks, Igor. PATH is usually processed left-to-right. As an alternative to what Brian suggested, simply prepending C:\cygwin\bin to the PATH should work. C:\cygwin\bin has been in the PATH all the time; the problem seems to have been that the PATH statement contained a MATLAB directory somewhere in the middle which caused some conflict between the libraries that loaded. Notice, I said prepend, which means put in the front. In your case, it was in the end of the path, and was overridden by the preceding MATLAB directory. FWIW, the above is already done in the standard shell startup scripts, so unless you're using custom .*rc scripts, you probably attempted to invoke ImageMagick from a Windows command prompt. One word of warning for working in that mode: some of the programs in /bin are symbolic links or scripts that Windows does not understand. You're better off invoking Cygwin programs from a Cygwin shell, unless you're sure they are .exe files. I am using standard rc scripts and was invoking ImageMagick from xterm ... I have added a path-modifying statement suggested by Brian to .profile that removed the win32 Matlab directory from the PATH and this solved the problem. This is weird. The /etc/profile that comes with the base-files package prepends /usr/bin to the PATH already. My only guess is that you started the xterm with bash as a non-login shell. Try running xterm -e bash -l instead. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Setup.exe Problems on Vista
On Sun, 29 Apr 2007, Michael D. Adams wrote: On 4/24/07, Larry Hall (Cygwin) wrote: Michael D. Adams wrote: On 4/23/07, Dave Korn dave.korn AT artimi DOT com wrote: On 24 April 2007 00:19, Michael D. Adams wrote: snip What's going on here could be related to security changes in the way Vista handles dll and executable search paths, perhaps, but that's fairly speculative. Which reminds me. Isn't it about time this conversation had some input from cygcheck on the various systems involved? Do you just want a 'cygcheck -c' or is there another option you'd like the output from? 'cygcheck -srv', attached, not included, please. Sorry for the delay in responding. Here are the files with the output. Let me know if there are any tweaks to how I run these that you would like to see (e.g. running setup.exe with C:\cygwin\bin already in the path, etc.). cygwin-510.txt: Fresh install with setup.exe version 2.510. C:\cygwin\bin is *not* added to the path beforehand. Ran cygcheck from the windows cmd.exe in the C:\cygwin\bin directory. Note that cygcheck also emits to stderr 'id' program not found twice. (Adding C:\cygwin\bin to the path while running cygcheck doesn't fix that message.) Michael, Can you also run one from a bash shell (invoking it explicitly as /bin/cygcheck)? Also, if you change the system PATH variable, you need to restart cmd.exe, otherwise the changes won't be picked up. If c:\cygwin\bin is in the PATH as cmd.exe sees it, cygcheck should be able to find 'id'. cygwin-562.txt: Same as cygwin-510.txt except that setup.exe version 2.562 was used. BTW, the version of setup doesn't seem to matter much. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-'old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: display ps command line parameters
On Mon, 30 Apr 2007, [EMAIL PROTECTED] wrote: Hi all, I'm trying to get parameters entered at the Cygwin command line to appear on my ps command, and failing miserably! i.e. I'm running the following process at the command line: program parameter1 In ps -s I get something like: PID TTYSTIME COMMAND 1234 con 09:00:00 /path/program ... but I'd like to be able to pick up the parameter1. So far as I can see it other ps commands on Unix have an -o args option. I've tried every option that seems to be available in Cygwin ps (v 1.11), but cannot get past this wall. Is there a way of doing this through ps (or an alternative) in Cygwin? Try 'procps'. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: setting cygwin PATH
Ugh, top-posting... Reformatted. On Mon, 30 Apr 2007, Fungazid wrote: --- John Morrison johnatmorrisondotminedotnu wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. On Mon, April 30, 2007 6:24 pm, Fungazid wrote: Hello to you the cygwin people, I'm working with cygwin. I added a directory /home/T-COFFEE/bin/ to PATH by: export PATH=/home/T-COFFEE/bin:`printenv PATH` $PATH is easier than the `printenv PATH` bit :) I typed it in the cygwin command line. after that 'printenv PATH' showed the new directory. But the new directory remained only temporarily (it disappeared after closing cygwin). How do I change it permanently ? (I tried to copy the .bashrc to my HOME directory, and messed up with it) echo 'export PATH=/home/T-COFFEE/bin:$PATH' .bashrc Hello John ;), I did the same thing with xemacs. The problem is that it is not enough if I want the path to stay permanently. How do cygwin knows to look at this file (.bashrc) in the HOME directory ? Cygwin doesn't. Bash does. See the INVOCATION section of the bash man page. This is in no way Cygwin-specific. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: ImageMagick display and convert fail with a Visual C++ runtime error
On Fri, 20 Apr 2007, Dmitry Golovaty wrote: Thanks - the culprit is the MATLAB entry /cygdrive/c/Program Files/MATLAB/R2007a/bin/win32 in the path; removing it fixes the problem ... is there way to pluck it out automatically (e.g. in .bashrc) when the path is imported from Windows at Cygwin start-up? Thanks again and sorry for starting another thread - I did not subscribe in time to get the original message. PATH is usually processed left-to-right. As an alternative to what Brian suggested, simply prepending C:\cygwin\bin to the PATH should work. FWIW, the above is already done in the standard shell startup scripts, so unless you're using custom .*rc scripts, you probably attempted to invoke ImageMagick from a Windows command prompt. One word of warning for working in that mode: some of the programs in /bin are symbolic links or scripts that Windows does not understand. You're better off invoking Cygwin programs from a Cygwin shell, unless you're sure they are .exe files. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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 run shell script
On Mon, 23 Apr 2007, Dave Korn wrote: On 23 April 2007 10:42, sg wrote: hi friends,, how to run shell script on cygwin in windows.. chmod a+x ./script-name ./script-name i.e. it has to have the executable bit set, and you need to specify the current directory as part of the path if you haven't got the current directory in your $PATH (which you probably don't, and probably shouldn't). ...Unless the trailing on windows really means from a windows command prompt, in which case the proper way to do this is c:/cygwin/bin/bash -l -c ./script-name (or pick your favorite shell with the appropriate options). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Cant start XFS font server
On Mon, 16 Apr 2007, Dell'Anna Michele (TERNA) wrote: I'd like to use a PC with Windows 2000 and Cygwin installed as a Font Server. I added the fonts path to /etc/X11/fs/config but when I try to start xfs service I receive the following message: FontTransmkdir: Owner of /tmp/.font-unix should be set to root I searched in mailing list but I didn't find nothing usefull. Anybody could help me? You might find the cygwin-xfree list more helpful for your problem. Redirected. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Cant start XFS font server
On Mon, 16 Apr 2007, Dell'Anna Michele (TERNA) wrote: I'd like to use a PC with Windows 2000 and Cygwin installed as a Font Server. I added the fonts path to /etc/X11/fs/config but when I try to start xfs service I receive the following message: FontTransmkdir: Owner of /tmp/.font-unix should be set to root I searched in mailing list but I didn't find nothing usefull. Anybody could help me? You might find the cygwin-xfree list more helpful for your problem. Redirected. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bash: tar: command not found
On Thu, 12 Apr 2007, Dave Korn wrote: [snip] This means that tar.exe has been unpacked into C:\cygwin\usr\bin. That's why setup thinks it's installed. Not quite. Setup only uses /etc/setup to find out what packages are installed. I suspect a corrupt package instead. That is not to say that WinZip should ever be used to install Cygwin packages, or course. The fix would be to go into your C:\cygwin\usr directory, using a DOS shell or windows explorer, and delete the bin dir. Or go to /cygdrive/c/cygwin/usr from a Cygwin shell and use Cygwin to do this. :-) Then re-run setup.exe, telling it to install from local directory, just click on ok to everything all the way through, and it should reinstall everything that you deleted to the correct place. To the OP: you will need to tell setup to reinstall the tar package (preferably from a different mirror than you've used in the past). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bash: tar: command not found
On Thu, 12 Apr 2007, Jeff Hawk wrote: -Original Message- From: On Behalf Of Thorsten Kampe Sent: Thursday, April 12, 2007 11:03 AM To: [EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Subject: RE: bash: tar: command not found \cygwin\usr\bin and \cygwin\usr\lib are /real/ directories created by the initial Cygwin installation routine. He shouldn't delete those directories - just keep them empty... Not true... I have Cygwin installed and there is NO c:\cygwin\usr\bin directory As has been mentioned before, /usr/bin is a *mount* point, not a real directory. 0 mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) Like that ^^^ Having a real /cygdrive/c/cygwin/usr/bin directory is harmless. Cygwin shadows it with a mount. Files in that directory do not break Cygwin -- they are simply ignored. It was useful to have it with older versions of Cygwin, to allow tab completion of .../bin and .../lib in /usr. I believe the newer Cygwin DLL versions manifest mounts and virtual filesystems as directory entries, and thus having the real /cygdrive/c/cygwin/usr/bin (and .../lib) is not necessary anymore. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bash: tar: command not found
On Thu, 12 Apr 2007, Dave Korn wrote: On 12 April 2007 17:49, Jeff Hawk wrote: -Original Message- From: Thorsten Kampe Sent: Thursday, April 12, 2007 11:03 AM \cygwin\usr\bin and \cygwin\usr\lib are /real/ directories created by the initial Cygwin installation routine. He shouldn't delete those directories - just keep them empty... Not true... I have Cygwin installed and there is NO c:\cygwin\usr\bin directory As has been mentioned before, /usr/bin is a *mount* point, not a real directory. 0 mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) Like that ^^^ Yeh, but it helps to create a real directory to back up a mountpoint, because that avoids a warning message. Only if you explicitly use mount. If you let setup create the mounts for you, there is no warning message. :-) And setup.exe is /supposed/ to create them: see do_install_thread in install.cc: for (i = 0; Installer::StandardDirs[i]; i++) { std::string p = cygpath (Installer::StandardDirs[i]); if (p.size()) io_stream::mkpath_p (PATH_TO_DIR, file:// + p); } const char * Installer::StandardDirs[] = { /bin, /etc, /lib, /tmp, /usr, /usr/bin, /usr/lib, /usr/src, /usr/local, /usr/local/bin, /usr/local/etc, /usr/local/lib, /usr/tmp, /var/run, /var/tmp, 0 }; Setup's io_stream uses Cygwin mounts. Thus, once file:///usr is created, mkdir_p(file:///usr/bin) is a no-op... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bash: tar: command not found
On Thu, 12 Apr 2007, Igor Peshansky wrote: On Thu, 12 Apr 2007, Dave Korn wrote: On 12 April 2007 17:49, Jeff Hawk wrote: -Original Message- From: Thorsten Kampe Sent: Thursday, April 12, 2007 11:03 AM \cygwin\usr\bin and \cygwin\usr\lib are /real/ directories created by the initial Cygwin installation routine. He shouldn't delete those directories - just keep them empty... Not true... I have Cygwin installed and there is NO c:\cygwin\usr\bin directory As has been mentioned before, /usr/bin is a *mount* point, not a real directory. 0 mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) Like that ^^^ Yeh, but it helps to create a real directory to back up a mountpoint, because that avoids a warning message. Only if you explicitly use mount. If you let setup create the mounts for you, there is no warning message. :-) And setup.exe is /supposed/ to create them: see do_install_thread in install.cc: for (i = 0; Installer::StandardDirs[i]; i++) { std::string p = cygpath (Installer::StandardDirs[i]); if (p.size()) io_stream::mkpath_p (PATH_TO_DIR, file:// + p); } const char * Installer::StandardDirs[] = { /bin, /etc, /lib, /tmp, /usr, /usr/bin, /usr/lib, /usr/src, /usr/local, /usr/local/bin, /usr/local/etc, /usr/local/lib, /usr/tmp, /var/run, /var/tmp, 0 }; Setup's io_stream uses Cygwin mounts. Thus, once file:///usr is file:///bin created, mkdir_p(file:///usr/bin) is a no-op... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bash: tar: command not found
On Thu, 12 Apr 2007, Cheney, Christian wrote: Are you by any chance running any of: Sonic Solutions burning software containing DLA component Norton/MacAffee/Symantec antivirus or antispyware Logitech webcam software with Logitech process monitor service Kerio, Agnitum or ZoneAlarm Personal Firewall Iolo System Mechanic/AntiVirus/Firewall LanDesk Windows Defender Embassy Trust Suite fingerprint reader software wxvault.dll By gum, I think you've got it. I disabled my McAfee VirusScan software, and a re-install of tar was successful. Thanks again to all who helped. This brings two things to mind: 1) Is anyone planning to work on getting some support for detecting the above into setup/cygcheck. 2) Does that mean that the current code in setup that is supposed to disable McAfee antivirus does not do its job? Christian, can you please post setup.log.full for a reinstallation of the tar package with McAfee enabled? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bash: tar: command not found
On Thu, 12 Apr 2007, Dave Korn wrote: On 12 April 2007 18:02, Igor Peshansky wrote: Setup's io_stream uses Cygwin mounts. Thus, once file:///usr is created, mkdir_p(file:///usr/bin) is a no-op... Not on the first ever install, I woulda thunk, since *these* create_mount (/, get_root_dir (), istext, issystem); create_mount (/usr/bin, cygpath (/bin), istext, issystem); create_mount (/usr/lib, cygpath (/lib), istext, issystem); lines appear about 20 lines *after* the bit I quoted previously. So it does. Sorry for the noise. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Copy and paste shortcut
On Wed, 11 Apr 2007, Buff Miner wrote: To whom it may concern, I read the following ad it all works; More precisely: Start up bash by doing Start - Programs - Cygwin - Cygwin Bash\ Shell. Right click on the icon in the upper left of the title bar and select properties Under Options, select 'QuickEdit Mode', hit ok Select 'Modify shortcut that started this window', hit ok To copy from a Cygwin Bash window, highlight the text by left clicking and dragging the mouse, then hit the enter key to copy the text. To paste into a Cygwin Bash window, click on the icon in the upper left of the window menu bar and then do edit - paste or do Alt-Space e p That is, hold down the Alt key, hit the space bar, let up on the Alt key, type an e and then a p. My question is, Is there a way to create a shortcut for Alt-space, e, then p? Can this be with fewer key strokes? Right-click. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: [PATCH] Setup: adjust copyright and fix the installation finished behavior for download-only mode
On Mon, 9 Apr 2007, Brian Dessent wrote: Igor Peshansky wrote: The attached patch fixes the seemingly abrupt exit in download-only mode reported in http://cygwin.com/ml/cygwin/2007-04/msg00251.html (and also adds 2007 to the copyright range). The ChangeLog is below. Comments welcome. Please let me know if it's ok to commit. Looks good, please commit. Thanks, but it turns out the patch wasn't tested enough. Using the Back button from the final dialog in download-only mode and then going through setup again after changing the mode to Install would not change the final dialog back to its original state. The attached patch fixes that (and also makes sure no extra files are created in download-only mode). New ChangeLog below. I knew that copyright year display stuff would come up again. I'm tempted to just remove it; I'm not really seeing what good it does to display that to the user. And according to the GNU coding standards, we're supposed to bump the copyright year in the header of any source file whenever we make changes to it, which I don't think any of us have been bothering with either. Sigh. Well, I've adjusted it on the splash screen anyway. And yes, I haven't really adjusted it in the headers of the sources... Sigh, indeed. Igor == ChangeLog: 2007-04-10 Igor Peshansky [EMAIL PROTECTED] * resource.h (IDC_STATIC_HEADER): New control id. * res.rc (IDD_SPLASH): Adjust copyright. (IDD_DESKTOP): Make header text accessible as a separate control. * desktop.cc (set_status): Use eset() instead of SetWindowText(). (header_string,message_string): New static variables. (load_dialog): Disable checkboxes and change dialog text in download-only mode. Save header and message text; restore it if mode changes back to install. (DesktopSetupPage::OnInit): Move functionality to DesktopSetupPage::OnActivate. (DesktopSetupPage::OnActivate): Disable checkboxes in download-only mode. (DesktopSetupPage::OnFinish): Avoid creating shortcuts in download-only mode. * desktop.h (DesktopSetupPage::OnActivate): Override virtual function. * threebar.cc (ThreeBarProgressPage::OnMessageApp): Deprecate the default fallthrough. * download.cc (do_download_thread): Explicitly return the next dialog. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis JoplinIndex: desktop.cc === RCS file: /cvs/cygwin-apps/setup/desktop.cc,v retrieving revision 2.47 diff -u -p -r2.47 desktop.cc --- desktop.cc 30 Mar 2007 22:18:34 - 2.47 +++ desktop.cc 10 Apr 2007 14:02:21 - @@ -245,15 +245,38 @@ set_status (HWND h) if (LoadString (hinstance, exit_msg, fmt, sizeof (fmt)) 0) { snprintf (buf, 1000, fmt, backslash(theLog-getFileName(LOG_BABBLE)).c_str()); - ::SetWindowText (GetDlgItem (h, IDC_STATUS), buf); + eset(h, IDC_STATUS, buf); } } +static char *header_string = NULL; +static char *message_string = NULL; static void load_dialog (HWND h) { - rbset (h, da, root_desktop); - rbset (h, ma, root_menu); + if (source == IDC_SOURCE_DOWNLOAD) +{ + // Don't need the checkboxes + EnableWindow (GetDlgItem (h, IDC_ROOT_DESKTOP), FALSE); + EnableWindow (GetDlgItem (h, IDC_ROOT_MENU), FALSE); + if (header_string == NULL) +header_string = eget (h, IDC_STATIC_HEADER_TITLE, header_string); + if (message_string == NULL) +message_string = eget (h, IDC_STATIC_HEADER, message_string); + eset (h, IDC_STATIC_HEADER_TITLE, Installation complete); + eset (h, IDC_STATIC_HEADER, Shows installation status in download-only mode.); +} + else +{ + EnableWindow (GetDlgItem (h, IDC_ROOT_DESKTOP), TRUE); + EnableWindow (GetDlgItem (h, IDC_ROOT_MENU), TRUE); + if (header_string != NULL) +eset (h, IDC_STATIC_HEADER_TITLE, header_string); + if (message_string != NULL) +eset (h, IDC_STATIC_HEADER, message_string); + rbset (h, da, root_desktop); + rbset (h, ma, root_menu); +} check_if_enable_next (h); set_status (h); } @@ -359,7 +382,13 @@ DesktopSetupPage::OnInit () // FIXME: This CoInitialize() feels like it could be moved to startup in main.cc. CoInitialize (NULL); - if (NoShortcutsOption) + SetDlgItemFont(IDC_STATUS_HEADER, MS Shell Dlg, 8, FW_BOLD); +} + +void +DesktopSetupPage::OnActivate
[PATCH] Setup: adjust copyright and fix the installation finished behavior for download-only mode
The attached patch fixes the seemingly abrupt exit in download-only mode reported in http://cygwin.com/ml/cygwin/2007-04/msg00251.html (and also adds 2007 to the copyright range). The ChangeLog is below. Comments welcome. Please let me know if it's ok to commit. Igor == ChangeLog: 2007-04-09 Igor Peshansky [EMAIL PROTECTED] * resource.h (IDC_STATIC_HEADER): New control id. * res.rc (IDD_SPLASH): Adjust the copyright. (IDD_DESKTOP): Make header text accessible as a separate control. * desktop.cc (set_status): Use eset() instead of SetWindowText(). (load_dialog): Disable checkboxes and change dialog text in download-only mode. (DesktopSetupPage::OnInit): Disable checkboxes in download-only mode. * threebar.cc (ThreeBarProgressPage::OnMessageApp): Deprecate the default fallthrough. * download.cc (do_download_thread): Explicitly return the next dialog. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis JoplinIndex: desktop.cc === RCS file: /cvs/cygwin-apps/setup/desktop.cc,v retrieving revision 2.47 diff -u -p -r2.47 desktop.cc --- desktop.cc 30 Mar 2007 22:18:34 - 2.47 +++ desktop.cc 9 Apr 2007 14:34:32 - @@ -245,15 +245,26 @@ set_status (HWND h) if (LoadString (hinstance, exit_msg, fmt, sizeof (fmt)) 0) { snprintf (buf, 1000, fmt, backslash(theLog-getFileName(LOG_BABBLE)).c_str()); - ::SetWindowText (GetDlgItem (h, IDC_STATUS), buf); + eset(h, IDC_STATUS, buf); } } static void load_dialog (HWND h) { - rbset (h, da, root_desktop); - rbset (h, ma, root_menu); + if (source == IDC_SOURCE_DOWNLOAD) +{ + // Don't need the checkboxes + EnableWindow (GetDlgItem (h, IDC_ROOT_DESKTOP), 0); + EnableWindow (GetDlgItem (h, IDC_ROOT_MENU), 0); + eset (h, IDC_STATIC_HEADER_TITLE, Installation complete); + eset (h, IDC_STATIC_HEADER, Shows installation status in download-only mode.); +} + else +{ + rbset (h, da, root_desktop); + rbset (h, ma, root_menu); +} check_if_enable_next (h); set_status (h); } @@ -359,7 +370,7 @@ DesktopSetupPage::OnInit () // FIXME: This CoInitialize() feels like it could be moved to startup in main.cc. CoInitialize (NULL); - if (NoShortcutsOption) + if (NoShortcutsOption || source == IDC_SOURCE_DOWNLOAD) { root_desktop = root_menu = 0; } Index: download.cc === RCS file: /cvs/cygwin-apps/setup/download.cc,v retrieving revision 2.48 diff -u -p -r2.48 download.cc --- download.cc 16 Apr 2006 15:37:49 - 2.48 +++ download.cc 9 Apr 2007 14:34:32 - @@ -287,7 +287,7 @@ do_download_thread (HINSTANCE h, HWND ow exit_msg = IDS_DOWNLOAD_INCOMPLETE; else if (!unattended_mode) exit_msg = IDS_DOWNLOAD_COMPLETE; - return 0; + return IDD_DESKTOP; } else return IDD_S_INSTALL; Index: res.rc === RCS file: /cvs/cygwin-apps/setup/res.rc,v retrieving revision 2.72 diff -u -p -r2.72 res.rc --- res.rc 30 Mar 2007 22:18:34 - 2.72 +++ res.rc 9 Apr 2007 14:34:33 - @@ -265,7 +265,7 @@ BEGIN necessary.,IDC_SPLASH_TEXT,115,25,195,90 ICONIDI_CYGWIN,IDC_SPLASH_ICON,114,114,21,20,WS_GROUP LTEXT Version (unknown),IDC_VERSION,115,137,195,10 -LTEXT Copyright 2000-2006,IDC_SPLASH_COPYR,115,150,195,8 +LTEXT Copyright 2000-2007,IDC_SPLASH_COPYR,115,150,195,8 LTEXT http://www.cygwin.com/,IDC_SPLASH_URL,115,162,90,8 END @@ -283,7 +283,7 @@ BEGIN CONTROL ,IDC_HEADSEPARATOR,Static,SS_BLACKFRAME | SS_SUNKEN,0,28, 317,1 LTEXT Tell setup if you want it to create a few icons for convenient access to the Cygwin environment., -IDC_STATIC,21,9,239,16,NOT WS_GROUP +IDC_STATIC_HEADER,21,9,239,16,NOT WS_GROUP LTEXT Create Icons,IDC_STATIC_HEADER_TITLE,7,0,258,8,NOT WS_GROUP CONTROL ,IDC_DESKTOP_SEPARATOR,Static,SS_BLACKFRAME | SS_SUNKEN, Index: resource.h === RCS file: /cvs/cygwin-apps/setup/resource.h,v retrieving revision 2.34 diff -u -p -r2.34 resource.h --- resource.h 30 Mar 2007 22:18:34
Re: 1.5.24: setup.exe segfault
On Sun, 8 Apr 2007, Greg Chicares wrote: I've run setup.exe numerous times this morning, and it segfaulted only once. I tried again, but couldn't reproduce the problem. I was trying to roll back mingw-runtime to the prior version, with the download without installing option IIRC. Not anticipating a crash, I didn't write down each event, but it said something like install failed, then took me back to the mirror-selection screen; I picked the same mirror I had been using; and that's when my just- in-time debugger popped up, giving the attached report. Searching the archives for similar reports, I gather that the backtrace is what might help. I didn't prune the rest of the report, just in case that's useful. I assume a 'cygcheck.out' isn't wanted, but please tell me if I guessed wrong. This copy of setup.exe was downloaded on 2007-03-11: /home/chicares[0]$ls -o /cygdrive/c/cygwin-cache/setup.exe -rwx--+ 1 chicares 304128 Mar 11 01:58 /cygdrive/c/cygwin-cache/setup.exe /home/chicares[0]$md5sum /cygdrive/c/cygwin-cache/setup.exe b31ddcef84f25919a5d3184167b4a90d */cygdrive/c/cygwin-cache/setup.exe It doesn't look like you're running the latest snapshot of setup -- please try that (from http://cygwin.com/setup/snapshots/). I guess it's stripped: /home/chicares[0]$addr2line -e /cygdrive/c/cygwin-cache/setup.exe 0026d86a ??:0 Well, yes, but even if it weren't, 0026d86a is outside of the address space of the application (my guess is somewhere within the kernel). The next addresses are more informative if you have the unstripped version, though. I suspect some string manipulation routine, just from the general address range. If you can reproduce the crash with the latest snapshot, we could get a more accurate diagnosis with addr2line. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: 1.5.24: setup.exe segfault
On Sun, 8 Apr 2007, Greg Chicares wrote: On 2007-4-8 14:45 UTC, Igor Peshansky wrote: On Sun, 8 Apr 2007, Greg Chicares wrote: I've run setup.exe numerous times this morning, and it segfaulted only once. I tried again, but couldn't reproduce the problem. [...] It doesn't look like you're running the latest snapshot of setup -- please try that (from http://cygwin.com/setup/snapshots/). [...] If you can reproduce the crash with the latest snapshot, we could get a more accurate diagnosis with addr2line. I followed the link you gave, and downloaded this file: http://cygwin.com/setup/snapshots/setup-2.562.exe It did not crash. It let me retrieve the package I wanted, then successfully updated that package: /cygdrive/c/cygwin-cache[0]$cygcheck -s -v -r |grep mingw-runtime mingw-runtime3.11-1 /cygdrive/c/cygwin-cache[0]$./setup-2.562.exe /cygdrive/c/cygwin-cache[0]$cygcheck -s -v -r |grep mingw-runtime mingw-runtime3.12-4 Let me point out two small things: (1) The initial screen says Copyright 2000-2006; should it say 2007 instead of 2006? Yep. Thanks. (2) When I did Download Without Installing as a separate step to fetch this package, setup-2.562.exe terminated without showing the Cygwin Setup Download Complete OK messagebox I've grown accustomed to seeing. Is the lack of that messagebox a new feature? I mistook it for an abend; but, running it under gdb, everything looked okay even though the messagebox did not appear: /cygdrive/c/cygwin-cache[0]$gdb ./setup-2.562.exe GNU gdb 6.5.50.20060706-cvs (cygwin-special) [big snip] warning: .ini setup_version is 2.510.2.2, our setup_version is 2.562 warning: LOG: 2 note: Download Complete warning: LOG: 2 Ending cygwin install Program exited normally. (gdb) q Ah, the message box was indeed removed, and the final message was folded into the screen that offered to create the desktop and start menu shortcuts. However, what I missed was the fact that this screen is not shown in download-only mode. Thanks for the report -- I'll fix this. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: Please Upload: mingw-runtime-3.12-2
On Fri, 6 Apr 2007, Christopher Faylor wrote: On Fri, Apr 06, 2007 at 04:18:39PM +0200, Dr. Volker Zell wrote: Christopher Faylor writes: On Thu, Apr 05, 2007 at 04:49:02PM -0400, Chris Sutcliffe wrote: As discussed, I've modified the man page locations as follows: $ tar jtvf mingw-runtime-3.12-2.tar.bz2 | grep man drwxr-xr-x csutclif/Administrators 0 2007-04-05 14:35:49 usr/share/man/ drwxr-xr-x csutclif/Administrators 0 2007-04-05 14:35:55 usr/share/man/mingw/ -rw-r--r-- csutclif/Administrators 8956 2007-04-05 14:35:55 usr/share/man/mingw/mingw-basename.mingw -rw-r--r-- csutclif/Administrators 8956 2007-04-05 14:35:55 usr/share/man/mingw/mingw-dirname.mingw With the newly released man-1.6e-1, I added mingw to MANSECT in man.conf. The naming should be /usr/share/man/manmingw/dirname.mingw /usr/share/man/manmingw/basename.mingw for man -S mingw manpage to find it. Sorry but I don't think we're there yet. If you're going to put these in their own section then I don't think they need the mingw- prefix. I was only thinking that would be necessary if the manpages were going to be living in /usr/share/man/man1. If they are going into their own section then I'd like the manpage maintainer to add mingw to the list of searchable sections. Thank you, Volker. Can I get a gold star over here for Chris and Volker for this nice coordination of efforts? Done. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin
Re: Please Upload: mingw-runtime-3.12-2 (gold stars for Volker and Chris)
On Fri, 6 Apr 2007, Christopher Faylor wrote: On Fri, Apr 06, 2007 at 04:13:13PM -0400, Chris Sutcliffe wrote: With the newly released man-1.6e-1, I added mingw to MANSECT in man.conf. The naming should be /usr/share/man/manmingw/dirname.mingw /usr/share/man/manmingw/basename.mingw Excellent, many thanx Volker! I've modified the manpages accordingly: $ tar jtvf mingw-runtime-3.12-2.tar.bz2 | grep man drwxr-xr-x ironhead/Administrators 0 2007-04-06 15:23:38 usr/share/man/ drwxr-xr-x ironhead/Administrators 0 2007-04-06 15:23:45 usr/share/man/mingw/ -rw-r--r-- ironhead/Administrators 8956 2007-04-06 15:23:45 usr/share/man/mingw/basename.mingw -rw-r--r-- ironhead/Administrators 8956 2007-04-06 15:23:45 usr/share/man/mingw/dirname.mingw Please upload: http://emergedesktop.org/cygwin/mingw-runtime-3.12-2-src.tar.bz2 http://emergedesktop.org/cygwin/mingw-runtime-3.12-2.tar.bz2 I've uploaded these files. Thanks again for being so accommodating. Igor, I hate to saturate the market but I think this kind of coordination and cooperation deserves gold stars. Could you see to that, please? So, just to confirm, they each get *2* gold stars for this? That is, those in addition to the ones you asked for before? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin