RE: path separator

2008-06-06 Thread Gary R. Van Sickle
> From: samitj > Subject: Re: path separator > > > hmm... i thought cygwin emulates a unix shell in windows. > $ echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOW > S/system32:/cygdri. > > anyway, if i use a windows separator (;), it doesnt work and > it considers

Re: path separator

2008-06-06 Thread samitj
hmm... i thought cygwin emulates a unix shell in windows. $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdri. anyway, if i use a windows separator (;), it doesnt work and it considers it the end of the command as per unix shell behavior. dont know i

Re: path separator

2008-06-06 Thread René Berber
samitj wrote: what is the path separator in Cygwin for paths, classpaths etc.. this works... $ java -cp lib/matrix/matrix.jar com.test.matrix.simulation.SimulationApplication this fails.. $ java -cp lib/matrix/matrix.jar:bin/ com.test.matrix.simulation.SimulationApplication Exception in thread

Re: path separator

2008-06-06 Thread Mark J. Reed
On Fri, Jun 6, 2008 at 9:17 PM, samitj <[EMAIL PROTECTED]> wrote: > > Hi, > what is the path separator in Cygwin for paths, classpaths etc.. > > this works... > $ java -cp lib/matrix/matrix.jar > com.test.matrix.simulation.SimulationApplication Java is not a Cygwin package. You must be running th

path separator

2008-06-06 Thread samitj
Hi, what is the path separator in Cygwin for paths, classpaths etc.. this works... $ java -cp lib/matrix/matrix.jar com.test.matrix.simulation.SimulationApplication this fails.. $ java -cp lib/matrix/matrix.jar:bin/ com.test.matrix.simulation.SimulationApplication Exception in thread "main" java

expat-2.0.1-2 "library"

2008-06-06 Thread wynfield
The "expat" lib (expat in the "lib" category in setup) does not get loaded when expat is selected. In fact no libary files get loaded. Why put it in the lib section if its not a library? Apparently, other files are the real library: libexpat1 is the expat 2.0.1-1 library, but it is not li

Re: Minimal deployment

2008-06-06 Thread Christopher Faylor
On Fri, Jun 06, 2008 at 05:31:51PM -0400, Bob Davis wrote: > Simon wrote: >> Hi, >> >> I hope this is the right place to ask; if not feel free to flame ;) >> >> I wish to deploy a minimal cygwin to allow the use of cygwin's version >> perl. What is the minimal fileset I need to deploy? >> >> Thank

Re: how can I stop Windows setting HOME?

2008-06-06 Thread anadem
Rick Rankin-3 wrote: > > IIRC, MKS installs a startup program in > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run > and/or > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run > that tries to 'fix' your environment on every time the machine is started. > It's been

Re: how can I stop Windows setting HOME?

2008-06-06 Thread Larry Hall (Cygwin)
Rick Rankin wrote: - Original Message From: Larry Hall (Cygwin) <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Friday, June 6, 2008 3:27:10 PM Subject: Re: how can I stop Windows setting HOME? anadem wrote: I didn't mean that %HOMEDRIVE% and %HOMEPATH% are not set (not sure if yo

Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-06 Thread Blair Sutton
Thanks again for your offer of help. However, I can say now that neither of your powershell solutions work (the inline one or the exec wrapper script). I'm not sure why you are so resistant to adding a simple but useful patch; perhaps it would have been easier to add the patch than waste everyone'

Re: how can I stop Windows setting HOME?

2008-06-06 Thread Rick Rankin
- Original Message > From: Larry Hall (Cygwin) <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Sent: Friday, June 6, 2008 3:27:10 PM > Subject: Re: how can I stop Windows setting HOME? > > anadem wrote: > > > > > I didn't mean that %HOMEDRIVE% and %HOMEPATH% are not set (not sure if you >

Windows CIFS share "ls: reading directory .: permission denied"

2008-06-06 Thread Ron Scruggs
All, We are using NAS gateways that serve out CIFS folder shares to our environment. I'm trying to use Cygwin to access directories and files within one of these shares, I am a domain admin and should have all the rights I need. The symptoms I'm encountering are that if I cd to a mount poin

Re: how can I stop Windows setting HOME?

2008-06-06 Thread Larry Hall (Cygwin)
anadem wrote: I didn't mean that %HOMEDRIVE% and %HOMEPATH% are not set (not sure if you think that's what I meant) -- those two plus %HOME% all show up in System->Advanced->Environment Variables. The first two are normal Windows vars, and it's only %HOME% I'm trying to eliminate. Yep, that

Re: how can I stop Windows setting HOME?

2008-06-06 Thread anadem
Larry Hall (Cygwin) wrote: > > anadem wrote: >> >> Larry Hall (Cygwin) wrote: >>> Adam Thompson wrote: 2008/6/6 Adam Thompson : > 2008/6/6 anadem : >> Is there any way to permanently unset the HOME env-var in Windows? I >> could >> run a batch file at startup but afaik tha

Re: Minimal deployment

2008-06-06 Thread Bob Davis
Simon wrote: Hi, I hope this is the right place to ask; if not feel free to flame ;) I wish to deploy a minimal cygwin to allow the use of cygwin's version perl. What is the minimal fileset I need to deploy? Thanks Simon -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple P

Re: cmake doesn't like gcc

2008-06-06 Thread Bill Hoffman
Brian Dessent wrote: Nathan Thern wrote: I've been using gcc extensively to compile scheme interpreters and to compile code generated by various scheme-to-C systems. Here's a simple check, though: --- $ echo -e '#include \nmain(){printf("Hello World\\n");}' > hw.c; cat hw.c; /usr/bin/gcc hw.c;

Re: siglongjmp bug

2008-06-06 Thread Christopher Faylor
On Fri, Jun 06, 2008 at 05:30:08PM +, Eric Blake wrote: >POSIX requires that siglongjmp() be provided as a linkable function, whether >or >not is also a macro (although sigsetjmp is allowed to be just a macro). Any >reason that cygwin.din exports longjmp/setjmp, but only provides >siglongj

Re: abort() bug

2008-06-06 Thread Christopher Faylor
On Fri, Jun 06, 2008 at 04:32:27PM +, Eric Blake wrote: >Any reason that cygwin abort() closes all stdio streams prior to issuing >SIGABRT? This is a difference from Linux, and makes it difficult to install a >cleanup handler that prints a nicer error message. POSIX states that "The >abnor

Re: how can I stop Windows setting HOME?

2008-06-06 Thread Larry Hall (Cygwin)
anadem wrote: Larry Hall (Cygwin) wrote: Adam Thompson wrote: 2008/6/6 Adam Thompson : 2008/6/6 anadem : Is there any way to permanently unset the HOME env-var in Windows? I could run a batch file at startup but afaik that would not be a systemwide removal of HOME. I do not think this is a

Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-06 Thread Linda Walsh
Christopher Faylor wrote: Mr. Vixie rightly assumed that cron was running in a UNIX-like environment where shells take the "-c" option. Ditto the authors of "make", "vim", and other packages which use the SHELL environment variable. Can we please put this to rest now? 012345678901234567890123

Re: how can I stop Windows setting HOME?

2008-06-06 Thread anadem
Larry Hall (Cygwin) wrote: > > Adam Thompson wrote: >> 2008/6/6 Adam Thompson <[EMAIL PROTECTED]>: >>> 2008/6/6 anadem <[EMAIL PROTECTED]>: Is there any way to permanently unset the HOME env-var in Windows? I could run a batch file at startup but afaik that would not be a systemwi

siglongjmp bug

2008-06-06 Thread Eric Blake
POSIX requires that siglongjmp() be provided as a linkable function, whether or not is also a macro (although sigsetjmp is allowed to be just a macro). Any reason that cygwin.din exports longjmp/setjmp, but only provides siglongjmp/sigsetjmp as macros? -- Eric Blake -- Unsubscribe info:

abort() bug

2008-06-06 Thread Eric Blake
Any reason that cygwin abort() closes all stdio streams prior to issuing SIGABRT? This is a difference from Linux, and makes it difficult to install a cleanup handler that prints a nicer error message. POSIX states that "The abnormal termination processing... may include an attempt to effect f

Re: how can I stop Windows setting HOME?

2008-06-06 Thread Christopher Faylor
On Fri, Jun 06, 2008 at 08:14:57AM -0700, Karl M wrote: >Perhaps Cygwin should give first priority to /etc/passwd (reversing 1 >and two). This would put things more in the hands of the Cygwin user. > >If Cygwin did not have so many defaults (with the change to 1.7.x) then >it would be less useful

Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-06 Thread Pierre A. Humblet
- Original Message - From: "Blair Sutton" <> To: Sent: Friday, June 06, 2008 4:16 AM Subject: Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe | On further investigation, it appears powershell does alias "-c" for | "-command" hence no changes would be re

RE: how can I stop Windows setting HOME?

2008-06-06 Thread Karl M
> From: g.r.vansickle > To: cygwin > Subject: RE: how can I stop Windows setting HOME? > Date: Thu, 5 Jun 2008 23:11:11 -0500 > >> From: Adam Thompson >> Subject: Re: how can I stop Windows setting HOME? >> >> 2008/6/6 anadem <>: >>> >>> Each time I boot my pc Windows sets the HOME environment

Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-06 Thread Christopher Faylor
On Fri, Jun 06, 2008 at 09:16:41AM +0100, Blair Sutton wrote: >On further investigation, it appears powershell does alias "-c" for >"-command" hence no changes would be required for cron to support it. >However, the change would still be useful for other shells or perhaps >interpreters like Perl. >

[ANNOUNCEMENT] New package: {glpk,libglpk-devel,libglpk0}-4.25-1

2008-06-06 Thread Marco Atzeri
Hi, The package glpk is now available with the Cygwin distribution: http://www.gnu.org/software/glpk/ (Homepage) It is one of the package needed to fully compile Octave DESCRIPTION The GLPK (GNU Linear Programming Kit) package is intended for solving large-scale linear programming (LP), mixed

[ANNOUNCEMENT] New package: {SuiteSparse,libSuiteSparse-devel}-3.1.0-1

2008-06-06 Thread Marco Atzeri
Hi The package SuiteSparse is now available with the Cygwin distribution: o http://www.cise.ufl.edu/research/sparse/SuiteSparse/ (Homepage) it is one of the package needed to fully compile Octave. DESCRIPTION SuiteSparse is a single archive that contains o AMD: symmetric approximate minim

[ANNOUNCEMENT] New package: {qhull, libqhull-devel,libqhull}-2003.1-1

2008-06-06 Thread Marco Atzeri
Hi The package qhull is now available with the Cygwin distribution: o http://www.qhull.org (Homepage) It is one of the package needed to fully compile Octave DESCRIPTION Qhull is a general dimension convex hull program that reads a set of points from stdin, and outputs the smallest co

[ANNOUNCEMENT] New package: {hdf5,libhdf5_0, libhdf5-deve}-1.6.7-1

2008-06-06 Thread Marco Atzeri
Hi, the package hdf5 is now available with the Cygwin distribution: http://www.hdfgroup.org/HDF5/ (homepage) HDF5 is one of the package needed to fully compile Octave HDF5 is a unique technology suite that makes possible the management of extremely large and complex data collections. The HDF5

Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-06 Thread Blair Sutton
On further investigation, it appears powershell does alias "-c" for "-command" hence no changes would be required for cron to support it. However, the change would still be useful for other shells or perhaps interpreters like Perl. On Pierre's offered solution: I now do recall how exec works and i

bash shells not terminating

2008-06-06 Thread Tim Cook
Most of our users login remotely to Cygwin and I've noticed that if they don't logout correctly (if their connection is terminated unexpectedly) then the bash shell process is still there. Over a period of time these processes build up. I've written a script to detect and kill them but I wa

Re: SSHD Problems

2008-06-06 Thread Thorsten Kampe
* (Thu, 5 Jun 2008 19:38:04 -0400) > Hi, I'm having problems setting up sshd using cygwin on my windows xp > machine. I've run out of ideas, so if anyone can suggest troubleshooting > tips or any other kind of help, I'd really appreciate it. > > I've installed sshd to run as a windows service. I