This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: astksh review


On Wed, May 21, 2003 at 11:00:18PM -0400, Charles Wilson wrote:
> <begin quote>
> 
> Because both pdksh and ast-ksh provide ksh-like functionality, each 
> package creates a link so that /usr/bin/ksh points to the "real" binary, 
> whether pdksh.exe or ast-ksh.exe.  However, the two packages are 
> well-behaved -- they will NOT overwrite a pre-existing link. SO, if you 
> install both packages,  you should MANUALLY check that /usr/bin/ksh 
> points to the binary you wish to use as the default ksh.  If not, you'll 
> need to correct that MANUALLY.   To make ast-ksh the 'default' ksh, do this:
> 
>   cd /usr/bin/
>   rm -f ksh
>   ln -fs ast-ksh.exe ksh
> 
> To make pdksh the 'default' ksh, do this
> 
>   cd /usr/bin/
>   rm -f ksh
>   ln -fs pdksh.exe ksh
> <end quote>
> 
> And perhaps the pdksh maintainer could include similar text each time 
> s/he releases a new version?

Yeah, that's the whole point.  Karsten's package is fine with a ksh93.exe
and an appropriate postinstall script in the same style as the pdksh
postinstall script.  That's about it.  And yes, both packages should
announce the above circumstances.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]