OpenSolaris

You are not signed in. Sign in or register.

OpenSolaris Project: Korn Shell 93 integration/migration project

View the leaders for this project
Project Observers

Endorsing communities

OS/Net (ON)

What are we are doing ?

The ksh93-integration project should investigate and execute the integration of the Korn Shell version 93 (ksh93) and related features, including:

  • Introduction of ksh93 (/usr/bin/nksh and /usr/bin/ksh93 were proposed until /usr/bin/ksh will be updated to ksh93)
  • Introduction of libshell.so (see below)
  • Investigate the migration of /usr/bin/ksh to the standard version of ksh93
  • Investigate changes required for ksh93 to replace the standard POSIX shell /usr/xpg4/bin/sh.
  • Discussion/bugfixing of Solaris-specific ksh93 bugs+fixes
  • Enhancement of Solaris tools to use libshell instead of homegrown commandline parsers (like zfs, xauth etc.)
  • Ensure backwards compatibility (for example via keeping the old version of Solaris ksh around as /usr/bin/oksh)
  • Replacement of duplicate ksh versions in various Sun products with libshell.so (which is ksh93 as a shared library), including dbx and dtksh

Why are we doing this ?

  • Because customers have been asking for it for years
  • Customers have requested ksh93 integration and ksh93 features in Solaris for many years. RFEs supporting this including 4113420, 6332421, 1215363, 4201349, 4448701, 4827484, 4877415, 5034853 etc.)
  • Lower the maintaince burden of Sun engineers by delivering an almost unmodified version of ksh93 instead of the current /bin/ksh codebase which is highly Solaris-specific
  • Lower the burden of developers and site adminstrators and improve interoperability between versions of Unix via upgrading /bin/ksh to ksh93 level
  • Provide a unified shell parser backend (libshell.so) for existing value-add (dbx/dtksh/tksh) and other Solaris components such as zfs.
  • Improve the user-friendliness for ksh users, via enhancements of editing modes, history, builtins etc

Current Status

Phase I, the integration of ksh93 as /usr/bin/ksh93 has been completed; ksh93 is now available as /usr/bin/ksh93 in Solaris ≥ build 72.
We're currently working on Phase II which will provide additional features (like the shell script compiler shcomp), improvements and bugfixes.

Filing bugs/RFEs

Submit a bug or RFE or view the list of open bugs.

Screenshots

(More screenshots can be found on the Screenshots page)
ksh93 i18n demo 1 ksh93 calculating Pi using the Wallis product
ksh93 associate array demo1 ksh93 mandelbrot demo1

References/Links

Announcements

28 Dec 2008 ksh93-integration update1 integrated into OS/Net build 106
02 Dec 2008 ksh93-integration update1 entered code review
30 Nov 2008 ksh93-integration update1 2008-11-14 tarballs for Solaris Nevada >= B84+Indiana
14 Nov 2008 |libc::wordexp()| updated, distributions please check whether inetd still works
10 Nov 2008 ksh93 version 't' (ast-ksh.2008-11-04) released
23 Aug 2008 We moved (the tree) ...
12 Aug 2008 ksh93-integration update1 2008-08-10 tarballs for Solaris Nevada >= B84+Indiana
25 Jul 2008 ksh93 version 't' (ast-ksh.2008-07-25) released
24 Jun 2008 ksh93-integration update1 tarballs for Solaris Nevada >= B84+Indiana
17 Jun 2008 ksh93 update tarballs for Solaris Nevada+Indiana

Blogs

gisburn - ksh93-integration update1 integrated into OS/Net build 106

Dec 28, 2:02 PM

The putback of: PSARC/2008/094 Korn Shell 93 Integration project update 1 ARC case PSARC/2008/344 ksh93 Integration Update 1 Amendments 1 6619428 RFE: Update ksh93 in Solaris to ast-ksh.2007-10-15 ...

Sun Search - +keyword +ksh93 - Bug ID: 6789247 [ku1] libast/ksh93 1-digit hexfloat base conversion rounds incorrectly

Dec 27, 12:00 AM

... ku1] libast/ksh93 1-digit hexfloat base conversion ... http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2008-December/006737 ... 0x1p+1 0x1p+1 -- snip -- ksh93 has the same ...

Sun Search - +keyword +ksh93 - Bug ID: 6788408 GLDv3 WiFi test suite needs to use ksh-style function to avoid local- ...

Dec 23, 12:00 AM

... Synopsis GLDv3 WiFi test suite needs to use ksh-style function to avoid local-variable problem for ksh93 State 1-Dispatched (Default State) Category:Subcategory driver:net-wifi Keywords ...

Sun Search - +keyword +ksh93 - Bug ID: 6788375 opensolaris::nfscorrupt script syntax error

Dec 23, 12:00 AM

... Last Update Date 23-DEC-2008 Description xxxxx@xxxxx :/opt/SUNWstc-nicdrv/tools/nfscorrupt/amd64# ksh93 -n Corrupt.auto Corrupt.auto: warning: line 70: `` obsolete, use $) Corrupt.auto: warning: ...

Sun Search - +keyword +korn93 - Bug ID: 6788659 RFE: Update libpp in Solaris to ast-open.2008-07-25

Dec 23, 12:00 AM

... 2008-07-25 State 7-Fix in Progress (Fix is in progress) Category:Subcategory shell:korn93 Keywords oss-request | oss-sponsor Sponsor April Chin Submitter mainz Responsible Engineer April Chin ...