Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <37277C41.96C20C6A@cityweb.de> Date: Wed, 28 Apr 1999 23:23:13 +0200 From: Corinna Vinschen X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: [Fwd: tcsh.exe] References: <37261861 DOT 3EEF6AEA AT cg DOT NRCan DOT gc DOT ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Jim, I really don't know, what happens on your pc. I have checked it out with different CYGWIN settings. My test script: #!/bin/csh echo hello It worked under any circumstances. I have to say, that I don't use the original B20.1 version but my own version with tape support and newer snapshots (990303 with own extensions at the moment). Would you like to try it with a newer snapshot? The 19990115 version should be a good choice. Regards, Corinna Jim Craven wrote: > > Here is a bit more info on my last email. > > The first example is a fine run of the csh mt_plot script. The first line in > the script is #!/bin/csh -f which is located as C:\bin\csh.exe (and csh.exe is a > copy of tsch.exe). I have tried it with the #!/bin/tcsh in the first line > too. > > ag-148>cd /usr/local/bin > ag-149>./mt_plot -h > USAGE: mt_plot -b -s -t > USAGE: mt_plot alt015.dat -b > -b : work in batch mode > -s : scale apparent resisitivities > -t : scale period > > The first example works fine but the script must be in the pwd. > This second example tries to execute the same script by picking it > off somewehere else on the PATH. > > ag-149>mt_plot > /usr/local/bin/mt_plot: Permission denied. > > The problem occurs no matter whether the shell I use to invoke > the script is bash or the tcsh. I have done the chmod a+x > 'til I am blue in teh face :-) > > Thanks for any help, > > Jim > -------- Original Message -------- > From: Jim Craven > Subject: tcsh.exe > To: corinna DOT vinschen AT cityweb DOT de > > Hello, > > Thanks for providing tcsh.exe to the world or at least porting it > to cygwin. I am running B20.1 yet I find I can only run scripts if the > script is in my current directory. Is this what I should expect? > The following note *seems* to indicate scripts should run, presumably > without restriction, from anywhere on the path for B20.1 users: > > --------- The following note is withdrawn since B20.1 --------- > - At the moment, tcsh is only useful as login shell, because of an > error in cygwin1.dll, which will be fixed in the next release. > > (extracted from: ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Hirmke_Michael/GNUWin32.txt) > > Do you find this problem also or can you run a script that is anywhere > in your path? > > Regards, > > Jim > -- > Love is like the ozone layer, |Jim Craven craven AT cg DOT NRCan DOT gc DOT ca| > You don't miss it until it's gone. | Geological Survey of Canada | > ---Frank Drebbin, Police Squad| 615 Booth St., Rm 211, Ottawa | > --------------------------------------| K1A 0E9 (613) 996-9935---------| -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com