No such file, but it's right there

2002-11-17 Thread Shing-Fat Fred Ma
Hi, I'm using cygwin 1.3.15 in WinME: Cygwin DLL version info: DLL version: 1.3.15 DLL epoch: 19 When I try to ls a file I know to be there, I'm told it isn't: $ which ftp telnet /usr/bin/ftp /usr/bin/telnet $ cd /usr/bin $ ls -l ftp telnet

Re: No such file, but it's right there

2002-11-17 Thread Max Bowsher
Shing-Fat Fred Ma [EMAIL PROTECTED] wrote: When I try to ls a file I know to be there, I'm told it isn't: No, as you show below, ls works, less doesn't. $ cd /usr/bin $ ls -l ftp telnet -rwxr-xr-x 1 unknown unknown 57344 Jan 6 2002 ftp* -rwxr-xr-x 1 unknown unknown

Re: No such file, but it's right there

2002-11-17 Thread Randall R Schulz
Fred, Cygwin follows the Windows convention of using file file name suffix .exe for its binary executable files. While Cygwin will locate and execute files files given only the base name (sans suffix), other uses (cat, less, or more apropos nm, size or file) demand the full file name,

Re: No such file, but it's right there

2002-11-17 Thread Max Bowsher
Randall R Schulz [EMAIL PROTECTED] wrote: Cygwin follows the Windows convention of using file file name suffix .exe for its binary executable files. While Cygwin will locate and execute files files given only the base name (sans suffix), other uses (cat, less, or more apropos nm, size or

Re: No such file, but it's right there

2002-11-17 Thread Christopher Faylor
On Mon, Nov 18, 2002 at 12:35:57AM -, Max Bowsher wrote: Randall R Schulz [EMAIL PROTECTED] wrote: Cygwin follows the Windows convention of using file file name suffix .exe for its binary executable files. While Cygwin will locate and execute files files given only the base name (sans

Re: No such file, but it's right there

2002-11-17 Thread Max Bowsher
Christopher Faylor [EMAIL PROTECTED] wrote: On Mon, Nov 18, 2002 at 12:35:57AM -, Max Bowsher wrote: Randall R Schulz [EMAIL PROTECTED] wrote: Cygwin follows the Windows convention of using file file name suffix .exe for its binary executable files. While Cygwin will locate and execute

Re: No such file, but it's right there

2002-11-17 Thread Christopher Faylor
On Mon, Nov 18, 2002 at 01:05:10AM -, Max Bowsher wrote: Christopher Faylor [EMAIL PROTECTED] wrote: So, if you have a file called foo.exe 'ls -l foo' will work but 'cat foo.exe' won't work. You mean 'cat foo', don't you? Yes. cgf -- Unsubscribe info:

No such file, but it's right there

2002-11-17 Thread Shing-Fat Fred Ma
Well the files are, of course, ftp.exe and telnet.exe. Cygwin's automagical .exe workarounds seems to not be working when going through a mount where there is no underlying directory. Max. Cygwin follows the Windows convention of using file file name suffix .exe for its binary executable