Re: Problem passing file names with embedded space to Windows executable via bash function

2015-06-26 Thread ncokwqc02
[ This is meant to be a reply to the response post by Ernie Rael, which I managed to lose so there is no referencing. ] On 6/26/2015 12:50 PM, Ernie Rael wrote: >I use something similar to this, perhaps it would meet your needs. You may >want to use >different option to cygpath. > > #!/usr/bi

RE: detecting program invocation from a symbolic link

2009-04-23 Thread ncokwqc02
The result is apparently compiler dependent. Here's some simple test code: #include int main(int, const char** argv) { using namespace std; cout << "Hello World, I was called from " << argv[0] << endl; return 0; } I

detecting program invocation from a symbolic link

2009-04-23 Thread ncokwqc02
I have some C++ code that runs from the command line in a console shell. It is designed to behave differently depending on whether it was called directly by name or by a differently named symbolic link. This is easy to check under Unix because argv[0] contains the name of the first command line

RE: can't achieve password-less ssh authentication when my home directory is on a network file server

2004-03-01 Thread ncokwqc02
> > [snip] > > > > - Create a local home directory (e.g. /home/john); mount the remote > > > directory (//Filer) onto it; then mount c:\cygwin\home\john\.ssh onto > > > /home/john/.ssh. > > > > I want to make sure I understand your suggestion. Does it > amount to doing > > the following on 'Alpha'

RE: can't achieve password-less ssh authentication when my home directory is on a network file server

2004-02-28 Thread ncokwqc02
Thanks for the quick response. > > John, > > Please configure your mailer to wrap long lines. Thanks. More below. Sorry about that. My mail anonymizer (Sneakemail) strips returns from messages composed in its text body input box. You have reformatted the message correctly. > > On Fri, 28 Feb 2

can't achieve password-less ssh authentication when my home directory is on a network file server

2004-02-27 Thread ncokwqc02
Here's the scenario: I have Cygwin installed and the OpenSSH daemon running on a PC (let's call it 'Alpha') and I have an account in the Windows NT domain of which 'Alpha' is a member. I log onto 'Alpha' and all the other workstations in this domain with the same password. 'Alpha' can access