Re: bash, filename completion and spaces in path components [was RE: SSH Environment]

2004-09-29 Thread Andrew DeFaria
Dave Korn wrote: I use the same trick myself because a lot of apps can't handle a filename with a space in it, not even if it gets correctly escaped and passed through to argv, but I've never known bash filename completion to have a problem: it escapes all the spaces and other metachars beautif

bash, filename completion and spaces in path components [was RE: SSH Environment]

2004-09-29 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Andrew DeFaria > Sent: 29 September 2004 16:16 > However, one trick that I do to more easily deal with the "Program > Files" think is: > > $ mount -bsf "/cydrive/c/Program Files" /apps > > Then it's simply /apps//. Much easier to d

Re: SSH Environment

2004-09-29 Thread Brian Dessent
Andrew DeFaria wrote: > Why would a home directory be under "Program Files"?!? "Program Files" > is a directory that contains a space in it so you might try escaping it. > Well further reading of this thread suggests that OpenSSH uses the home > directory in /etc/passwd anyway but still are ya gon

Re: SSH Environment

2004-09-29 Thread Andrew DeFaria
David E. Meier wrote: Hi, I try the running ssh client with only the required dll's from a .net application and without a full cygwin installation. Basically that works fine. However, I have a problem regarding the known_hosts file: It does not get written anywhere and therefore asks to add the

Re: SSH Environment

2004-09-29 Thread Corinna Vinschen
On Sep 29 14:21, David E. Meier wrote: > OK, I tested the app without any cygwin installation and then SSH uses > that HOME environment variable I set when starting it. So far so good. > > However, I would like to change the behaviour of SSH to first use that So you think it's easier to patch Ope

Re: SSH Environment

2004-09-29 Thread David E. Meier
OK, I tested the app without any cygwin installation and then SSH uses that HOME environment variable I set when starting it. So far so good. However, I would like to change the behaviour of SSH to first use that HOME variable. What and where are the relevant code elements? Or is this too dangerou

Re: SSH Environment

2004-09-29 Thread Corinna Vinschen
On Sep 29 02:17, Brian Dessent wrote: > "David E. Meier" wrote: > > > I try the running ssh client with only the required dll's from a .net > > application and without a full cygwin installation. Basically that works > > fine. > > SSH looks in /etc/passwd for the user's home directory, I believe.

Re: SSH Environment

2004-09-29 Thread Brian Dessent
"David E. Meier" wrote: > I try the running ssh client with only the required dll's from a .net > application and without a full cygwin installation. Basically that works > fine. SSH looks in /etc/passwd for the user's home directory, I believe. It uses the mount table to know where /etc is actu

SSH Environment

2004-09-29 Thread David E. Meier
Hi, I try the running ssh client with only the required dll's from a .net application and without a full cygwin installation. Basically that works fine. However, I have a problem regarding the known_hosts file: It does not get written anywhere and therefore asks to add the key each time the app r