[cron] 4.1 and w/XP

2007-04-22 Thread Richard A Nelson
I run cygwin on a variety of systems (Vista, 2k3, XP). With the update to cron 4.1, my XP system now fails to process /etc/crontab due to 'WRONG FILE OWNER', where it was working fine. I have tried changing ownership to the following, all with the same results: root:root root:sy

Re: libusb-win32 auto-install?

2007-04-22 Thread Samuel Thibault
Dave Korn, le Mon 23 Apr 2007 02:43:41 +0100, a écrit : > Or you could follow the model of the ioperm package, which requires you to > manually run "ioperm -i" to install the .sys file. > Brian Dessent, le Sun 22 Apr 2007 18:44:50 -0700, a écrit : > I think it would be very bad to install a (ker

Re: libusb-win32 auto-install?

2007-04-22 Thread Brian Dessent
Samuel Thibault wrote: > Yes of course (I actually call the uninstallation script at preremove). > But the question is "do we dare installing a driver just because the > user asked for package installation?". > > The problem is that libusb-win32 might be pulled as a dependency of > another packag

RE: libusb-win32 auto-install?

2007-04-22 Thread Dave Korn
On 23 April 2007 02:33, Samuel Thibault wrote: > Yes of course (I actually call the uninstallation script at preremove). > But the question is "do we dare installing a driver just because the > user asked for package installation?". > > The problem is that libusb-win32 might be pulled as a depend

Re: libusb-win32 auto-install?

2007-04-22 Thread Samuel Thibault
Hi, Larry Hall (Cygwin), le Sun 22 Apr 2007 21:25:50 -0400, a écrit : > The final decision is, of course, yours but I would say that if it's > really just an installation step, there's nothing technically stopping > you from performing the step automatically through a postinstall script, > for exa

Re: Setup.exe Problems on Vista

2007-04-22 Thread Brian Dessent
Brian Dessent wrote: > > The workaround for this problem that I have found is to set the > > *Windows* path to include C:\cygwin\bin before running setup.exe. So > > for example this sequence works: > > > > set PATH=C:\cygwin\bin;%PATH% > > setup.exe > > > > Then /bin/sh is actually created, the

Re: libusb-win32 auto-install?

2007-04-22 Thread Larry Hall (Cygwin)
Samuel Thibault wrote: > Hi, > > Larry Hall (Cygwin), le Sun 22 Apr 2007 11:14:07 -0400, a écrit : >> A good reason for this division is to allow for user input during the >> configuration step, which "setup.exe" doesn't have support for. > > It doesn't need user input. > >> If running your libu

Re: \r in variables and test

2007-04-22 Thread Michael Hoffman
[Samuel Thibault] In a ./configure script, I call a test program (native python, actually) that outputs "True\r\n" and I put this result in variable foo. The problem is that [ "$foo" = True ] doesn't return true because foo actually contains True\r, not True. [Michael Hoffman] * [ ${foo/%$'\r'

RE: libusb-win32 auto-install?

2007-04-22 Thread Dave Korn
On 23 April 2007 00:16, Morgan Gangwere wrote: > On 4/22/07, Samuel Thibault wrote: On 22 April 2007 14:49, Morgan Gangwere wrote: > On 4/22/07, Brian Dessent wrote: On 22 April 2007 15:45, Morgan Gangwere wrote: > On 4/22/07, Samuel Thibault ens-lyon.org> wrote: :-) Thank you Morgan!

Re: libusb-win32 auto-install?

2007-04-22 Thread Morgan Gangwere
On 4/22/07, Samuel Thibault wrote: Hi, Larry Hall (Cygwin), le Sun 22 Apr 2007 11:14:07 -0400, a écrit : > A good reason for this division is to allow for user input during the > configuration step, which "setup.exe" doesn't have support for. It doesn't need user input. > If running your libu

RE: zsh on Vista

2007-04-22 Thread Dave Korn
On 22 April 2007 23:32, sethk wrote: > I've had some success using a different version of zsh on vista. > > In the UnxUtils package, there is a version of zsh, named sh. (Not copied > or linked to zsh, for whatever reason, and, I should say, named sh.exe.) > > I created a shortcut for this exec

Re: zsh on Vista

2007-04-22 Thread sethk
I've had some success using a different version of zsh on vista. In the UnxUtils package, there is a version of zsh, named sh. (Not copied or linked to zsh, for whatever reason, and, I should say, named sh.exe.) I created a shortcut for this executable. It mostly works. I'm having some issues

Re: \r in variables and test

2007-04-22 Thread Christopher Faylor
On Sun, Apr 22, 2007 at 06:40:29PM +0100, Michael Hoffman wrote: >Samuel Thibault wrote: >>Hi, >> >>In a ./configure script, I call a test program (native python, actually) >>that outputs "True\r\n" and I put this result in variable foo. The >>problem is that [ "$foo" = True ] doesn't return true b

Re: \r in variables and test

2007-04-22 Thread Brian Dessent
Samuel Thibault wrote: > In a ./configure script, I call a test program (native python, actually) > that outputs "True\r\n" and I put this result in variable foo. The > problem is that [ "$foo" = True ] doesn't return true because foo > actually contains True\r, not True. $foo=$(python command |

Re: Setup.exe Problems on Vista

2007-04-22 Thread Brian Dessent
"Michael D. Adams" wrote: > > Please try the latest setup.exe snapshot, if you can. And even better > > would be to debug the problem. I don't have access to a Vista system > > but if I did I think I would start by running it under gdb/insight and > > putting a breakpoint at script.cc:run() righ

Re: \r in variables and test

2007-04-22 Thread Samuel Thibault
Michael Hoffman, le Sun 22 Apr 2007 18:40:29 +0100, a écrit : > >In a ./configure script, I call a test program (native python, actually) > >that outputs "True\r\n" and I put this result in variable foo. The > >problem is that [ "$foo" = True ] doesn't return true because foo > >actually contains T

Re: \r in variables and test

2007-04-22 Thread Michael Hoffman
Samuel Thibault wrote: Hi, In a ./configure script, I call a test program (native python, actually) that outputs "True\r\n" and I put this result in variable foo. The problem is that [ "$foo" = True ] doesn't return true because foo actually contains True\r, not True. Is there a nice way around

\r in variables and test

2007-04-22 Thread Samuel Thibault
Hi, In a ./configure script, I call a test program (native python, actually) that outputs "True\r\n" and I put this result in variable foo. The problem is that [ "$foo" = True ] doesn't return true because foo actually contains True\r, not True. Is there a nice way around this? Samuel -- Unsubs

Re: libusb-win32 auto-install?

2007-04-22 Thread Larry Hall (Cygwin)
Samuel Thibault wrote: > Hi, > > Installing my libusb-win32 package doesn't automatically install the USB > driver, the user has to run /usr/sbin/libusb-install. I preferred to go > this way for safety. > > However, some user reported that it would be better that the > installation is automatica

Re: Setup.exe Problems on Vista

2007-04-22 Thread Michael D. Adams
On 4/22/07, Brian Dessent <[EMAIL PROTECTED]> wrote: "Michael D. Adams" wrote: > The workaround for this problem that I have found is to set the > *Windows* path to include C:\cygwin\bin before running setup.exe. So > for example this sequence works: > > set PATH=C:\cygwin\bin;%PATH% > setup.ex

Re: Setup.exe Problems on Vista

2007-04-22 Thread Jim Kleckner
Brian Dessent wrote: "Michael D. Adams" wrote: he workaround for this problem that I have found is to set the *Windows* path to include C:\cygwin\bin before running setup.exe. So for example this sequence works: set PATH=C:\cygwin\bin;%PATH% setup.exe Then /bin/sh is actually created, the pro

Re: Setup.exe Problems on Vista

2007-04-22 Thread Michael D. Adams
On 4/22/07, Michael D. Adams <[EMAIL PROTECTED]> wrote: On 4/22/07, Brian Dessent <[EMAIL PROTECTED]> wrote: > "Michael D. Adams" wrote: > > > The workaround for this problem that I have found is to set the > > *Windows* path to include C:\cygwin\bin before running setup.exe. So > > for example

Re: Setup.exe Problems on Vista

2007-04-22 Thread Morgan Gangwere
On 4/22/07, Brian Dessent wrote: "Michael D. Adams" wrote: > The workaround for this problem that I have found is to set the > *Windows* path to include C:\cygwin\bin before running setup.exe. So > for example this sequence works: > > set PATH=C:\cygwin\bin;%PATH% > setup.exe [Snip] That wou

libusb-win32 auto-install?

2007-04-22 Thread Samuel Thibault
Hi, Installing my libusb-win32 package doesn't automatically install the USB driver, the user has to run /usr/sbin/libusb-install. I preferred to go this way for safety. However, some user reported that it would be better that the installation is automatically performed (since if one installs li

Re: libusb-win32 auto-install?

2007-04-22 Thread Samuel Thibault
Hi, Larry Hall (Cygwin), le Sun 22 Apr 2007 11:14:07 -0400, a écrit : > A good reason for this division is to allow for user input during the > configuration step, which "setup.exe" doesn't have support for. It doesn't need user input. > If running your libusb-install is more like a configuratio

Re: Setup.exe Problems on Vista

2007-04-22 Thread Greg Chicares
On 2007-04-22 14:38Z, Michael D. Adams wrote: > On 4/22/07, Brian Dessent [raw email address removed] > wrote: >> >> Please try the latest setup.exe snapshot, if you can. And even better >> would be to debug the problem. [...] > Where are those snapshots located? A quick google didn't turn them

Re: libusb-win32 auto-install?

2007-04-22 Thread Samuel Thibault
Hi, Morgan Gangwere, le Sun 22 Apr 2007 08:44:55 -0600, a écrit : > On 4/22/07, Samuel Thibault ens-lyon.org> wrote: > >Installing my libusb-win32 package doesn't automatically install the USB > >driver, the user has to run /usr/sbin/libusb-install. I preferred to go > >this way for safety. > > >

Re: libusb-win32 auto-install?

2007-04-22 Thread Morgan Gangwere
On 4/22/07, Samuel Thibault ens-lyon.org> wrote: Hi, Installing my libusb-win32 package doesn't automatically install the USB driver, the user has to run /usr/sbin/libusb-install. I preferred to go this way for safety. However, some user reported that it would be better that the installation i