Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 12 Jun 2002 16:49:12 +0200
From: Thomas Baker <thomas.baker@bi.fhg.de>
To: David T-G <davidtg-cygwin@justpickone.org>
Cc: "CygWin Users' List" <cygwin@cygwin.com>
Subject: Re: The Korn Shell [was: Re: What's Up With That (KSH)?]
Message-ID: <20020612164912.A860@mail.gmd.de>
Mail-Followup-To: Thomas Baker <thomas.baker@bi.fhg.de>,
	David T-G <davidtg-cygwin@justpickone.org>,
	CygWin Users' List <cygwin@cygwin.com>
References: <Pine.GSO.4.10.10206121002110.13020-100000@twister.gmd.de> <20020612112823.5383.qmail@web21009.mail.yahoo.com> <20020612142852.A2056@mail.gmd.de> <20020612131516.GL12375@justpickone.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20020612131516.GL12375@justpickone.org>; from davidtg-cygwin@justpickone.org on Wed, Jun 12, 2002 at 08:15:16AM -0500

On Wed, Jun 12, 2002 at 08:15:16AM -0500, David T-G wrote:
> % Hmm.  I see versions of KSH there for linux, netbsd, openbsd,
> % unixware, etc -- but not cygwin...  Are you sure it is there?
> 
> If I read it right, you need to check the ast-ksh package instead of the
> bare ksh binary.

Yikes, I guess so!  I downloaded INIT and ast-ksh, unpacked
them with Power Archiver (and was prompted to rename some oddly
named files), and I don't really understand what it is and how
it is supposed to all be installed.  The readme says to run
"bin/package help intro".  But "help intro" is a two-page
discussion of environment variables.  It looks like a time
sink, and I'm not sure what lies at the end of the rainbow.
Is one supposed to install a package-management environment
just to install a package, and is this all compatible with
Cygwin?  I just want a Korn shell...

> % Because of KSH, I still also use MKS Toolkit, which has an older KSH.
> 
> Even though it's broken? :-)

I have a shell script that I rely on constantly, using it 10-20
times daily since I wrote (and published) it in 1994.  I used
the MKS version of KSH, so I guess that means it is the older
Korn shell?  The script uses some KSH-specific syntax (eg,
"print -u2" and "print -u3"), otherwise I would have ported
it to bash a long time ago.  Or if I were more than just an
amateur script writer I would long ago have ported it to perl.

Tom

-- 
Dr. Thomas Baker                                Thomas.Baker@bi.fhg.de
Institutszentrum Schloss Birlinghoven          mobile +49-171-408-5784
Fraunhofer-Gesellschaft                          work +49-30-8109-9027
53754 Sankt Augustin, Germany                     fax +49-2241-14-2619

--
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/

