Re: Want to let variable pass to cygstart.

2009-03-11 Thread Hongyi Zhao
On Wed, 11 Mar 2009 04:37:46 +, Dave Korn wrote: > It's bash shell metacharacters. The '&' character terminates a command and >puts it into the background. The simplest way is to use single quotes ' ' >around the URL you want to cygstart. Thanks a lot. -- .: Hongyi Zhao [ hongyi.zhao AT

RE: Re: Want to let variable pass to cygstart.

2009-03-11 Thread Phil Betts
Hongyi Zhao wrote: > On Wed, 11 Mar 2009 04:37:46 +, Dave Korn > wrote: Please don't quote raw email addresses. It only feeds the spammers. > > It's bash shell metacharacters. The '&' character terminates a > command and > >puts it into the background. The simplest way is to use single q

Re: Re: Want to let variable pass to cygstart.

2009-03-11 Thread Mark J. Reed
On Wed, Mar 11, 2009 at 5:05 AM, Phil Betts wrote: > Except that single quotes will also prevent variable substitution.  If > you want to use metacharacters AND variables, you have to use the > backslash to escape the metacharacters. ...or just use double quotes instead, which allow variable subst

Re: Upgrade woes ("file in use")

2009-03-11 Thread Dave Korn
Nuzhna Pomoshch wrote: > "In-use files detected" > > "Unable to extract /etc/postinstall/bash.sh -- the file is > in use. This is thoroughly bizarre. Nothing should be opening that file except setup.exe itself (either when creating it or when invoking bash to run it after installation is com

Re: Want to let variable pass to cygstart.

2009-03-11 Thread Dave Korn
Phil Betts wrote: > Except that single quotes will also prevent variable substitution. Doh, yep, wasn't thinking straight. As Mark points out, double-quotes are probably the simplest alternative. cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pro

RE: Upgrade woes ("file in use")

2009-03-11 Thread Mike Marchywka
> Date: Wed, 11 Mar 2009 12:00:56 + > From: reliable sources > To: cygwin@cygwin.com > Subject: Re: Upgrade woes ("file in use") > > Nuzhna Pomoshch wrote: > >> "In-use files detected" >> >> "Unable to extract /etc/postinstall/bash.sh -- the file is >

Change properties of a device driver

2009-03-11 Thread Morten Kjærulff
Hi, Is there any tool in cygwin that allows me to change the properties of a device driver? I have TV tuner card, but have a camera plugged into the Composite port. After each reboot the driver switches back to use "TV tuner" as input, and I have to change it to use "Composite". I want to automate

[ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-43

2009-03-11 Thread Corinna Vinschen
Hi folks, I just uploaded a new Cygwin 1.7 test release, 1.7.0-43. Cygwin 1.7 is a major jump from Cygwin 1.5.x. The list with all changes related to Cygwin 1.5.25 is attached below. === If nothing goes overly wrong, the offic

Connecting to cygwin ssh is slow

2009-03-11 Thread UdiK
Hi. When I connect to our cygwin SSH machine (Windows 2003 server), it usually takes more than 5 seconds to get a prompt and be able to start working. This delay slows down many of our scripts which rely on SSH to connect to Windows. What causes this delay? What is SSH doing that is taking it so

Re: Upgrade woes ("file in use")

2009-03-11 Thread Dave Steenburgh
On Tue, Mar 10, 2009 at 5:24 PM, Tim McDaniel wrote: > > On Tue, 10 Mar 2009, Nuzhna Pomoshch > wrote: >> >> During a recent upgrade of about a dozen packages, I saw >> the  Cygwin setup window progress normally ("deleting >> package xyz..."), and then up popped a window that said: >> >> "In-use

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Dave Steenburgh
On Wed, Mar 11, 2009 at 10:05 AM, UdiK wrote: > When I connect to our cygwin SSH machine (Windows 2003 server), it usually > takes more than 5 seconds to get a prompt and be able to start working. This > delay slows down many of our scripts which rely on SSH to connect to > Windows. > > What cause

RE: Connecting to cygwin ssh is slow

2009-03-11 Thread Allan Schrum
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Dave Steenburgh > Sent: Wednesday, March 11, 2009 10:45 AM > To: cygwin@cygwin.com > Subject: Re: Connecting to cygwin ssh is slow > > On Wed, Mar 11, 2009 at 10:05 AM, UdiK wrote: > > Whe

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Dave Steenburgh
On Wed, Mar 11, 2009 at 10:53 AM, Allan Schrum wrote: >> -Original Message- >> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On >> Behalf Of Dave Steenburgh >> Sent: Wednesday, March 11, 2009 10:45 AM >> To: cygwin@cygwin.com >> Subject: Re: Connecting to cygwin ssh is slo

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread UdiK
Thanks for both of your ideas and quick reply. I tried your suggestions but that still doesn't improve the situation... I experience the same delays no matter how frequent I log in and out, and I always use the IP address anyways. Anything else we can try? Thanks. Udi. -- View this message in c

RE: Connecting to cygwin ssh is slow

2009-03-11 Thread Mike Marchywka
> Date: Wed, 11 Mar 2009 08:57:13 -0700 > From: u...@commtouch.com > To: cygwin@cygwin.com > Subject: Re: Connecting to cygwin ssh is slow > > > Thanks for both of your ideas and quick reply. I tried your suggestions but > that still doesn't improve the s

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Tom Schutter
Try setting UseDNS to no in /etc/sshd_config. On Wed 2009-03-11 11:07, Mike Marchywka wrote: > > > > > > Date: Wed, 11 Mar 2009 08:57:13 -0700 > > From: u...@commtouch.com > > To: cygwin@cygwin.com > > Subject: Re: Connecting to cygwin ssh is slow > > >

quoting issues spaces in $HOME with tcsh

2009-03-11 Thread Mark Charney
I had to add quotes around $f in lines 42 and 43 of /etc/profile.d/complete.tcsh before cygwin would successfully start up a tcsh window. The problem occurs if one has $HOME elements with spaces in them. You get a message about invalid "if" syntax. 37 38 if ($?_complete) then 3

Re: quoting issues spaces in $HOME with tcsh

2009-03-11 Thread Corinna Vinschen
On Mar 11 09:37, Mark Charney wrote: > I had to add quotes around $f in lines 42 and 43 of > /etc/profile.d/complete.tcsh before cygwin would successfully start up > a tcsh window. The problem occurs if one has $HOME elements with > spaces in them. You get a message about invalid "if" syntax. That

Re: setup.exe crashes

2009-03-11 Thread David Been
| What version of 'setup.exe' are you running? Perhaps it's a bad | 'bash.lst.gz' file in '/etc/setup'? If so, you could try moving | it out of the way and trying again. | |Larry Hall http://www.rfk.com |RFK Partners, Inc. (508) 893-9779 - RFK Off

Re: setup.exe crashing

2009-03-11 Thread David Been
I went to follow Larry and Dave Korn's advice and move out bash.lst.gz but it was in use. procexp showed a bunch of dead DrWtsn and setup's, so i rebooted renamed the file and start again (i have the latest setup.exe). Same thing, setup and DrWtsn quit unexpectedly. I can send the bash.lst.gz to

Resolved: setup.exe crash

2009-03-11 Thread David Been
Sorry, i renamed bash-files.lst.gz, not the correct bash.lst.gz file. Once i did the right file, my install went all the way through. I sent that file to dave, hopefully i unmangeled that email correctly. thanks so much all !!! i CAN'T live w/o cygwin :) dave -- Unsubscribe info: http://

IOCTL using

2009-03-11 Thread Bert
When compiled on Cygwin's gcc the code below (which asks the baud rate of a serial port) shows the error "Funtion Not Implemented". I tried several serial port ioctl functions in - all gave the same error. I hope I'm doing something really dumb, any tips? #include #include

[ANNOUNCEMENT] Updated: cygport-0.4.4-1, 0.9.5-1

2009-03-11 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 cygport has been updated to 0.4.4 for Cygwin 1.5, and 0.9.5 for 1.7, with similar changes to both: * SRC_URI accepts .tar.lzo archives. * postinstall: doesn't strip files which aren't PE-COFF despite their name. Fixed encodings.dir creation for font