Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <3.0.6.32.20020730173858.00a2ad40@phoenix.projtech.com> X-Sender: pablo AT phoenix DOT projtech DOT com Date: Tue, 30 Jul 2002 17:38:58 To: cygwin AT cygwin DOT com From: Paul Coltrin Subject: Re: Cygwin and ATT ksh, specific example In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Igor, Thanks for the suggestion. I will give pd_ksh another try. Paul At 02:57 PM 7/30/02 -0400, you wrote: >On Tue, 30 Jul 2002, Michael A Chase wrote: > >> On Mon, 29 Jul 2002 14:47:58 Paul Coltrin wrote: >> >> > I have been working to port scripts from MKS ksh to ATT ksh on Cygwin. >> > Here is a specific example of a problem I have run into. When I try to >> > execute an NT command script from ATTksh I get a permission error. For >> > example: >> > >> > $ksh >> > $ ./gen_file.cmd >> > ksh: ./pt_gen_file.cmd: cannot execute [Permission denied] >> > >> > However, I can run it just fine from Cygwin-bash and MKSksh. >> > >> > Any suggestions, please? >> >> Use bash? >> >> ATT ksh is practically another environment all to itself. It is nice of >> the ksh group to try to create a version that will work with Cygwin, but >> bash will probably always be better integrated with Cygwin and its view of >> MS Windows. >> >> I normally use the Bourne shell subset when I code shell scripts just to >> avoid portablility problems even when I expect to use ksh or bash to run >> them. > >I used pdksh v5.2.14 ( ftp://ftp.cs.mun.ca/pub/pdksh/ ) with no problems. >It compiled and ran on cygwin OOTB. > Igor >-- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu >ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > >It took the computational power of three Commodore 64s to fly to the moon. >It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/