Hi! ----
A new set of tarballs containing an OS/Net version of ksh93 [1] (based on ksh93s-_alpha_20060912 [2]) is now available from http://www.opensolaris.org/os/project/ksh93-integration/downloads/2006-09-12/ These tarballs are intended to be installed over an existing OpenSolaris i386/AMD64 or SPARC installation and provide ksh93s-_alpha_20060924 for testing and evaluation purposed ONLY. Please report [5] any problems/errors/bugs/comments to the ksh93-integration project bugzilla [5] or the ksh93-integration mailinglist [4] (please subscribe before posting). ** Install instructions: 1. Download the tarball: + i386/AMD64: http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20060914_snapshot_i386.tar.bz2 + SPARC: http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20060914_snapshot_sparc.tar.bz2 2. Verify the MD5 checksum: + i386/AMD64: MD5 (ksh93_integration_20060914_snapshot_i386.tar.bz2)= 2ac7ac192ed7eaca4f5375193ebcdab5 + SPARC: MD5 (ksh93_integration_20060914_snapshot_sparc.tar.bz2)= 174d9665795b5cfb8e1161af8b8f822c 3. Login as user "root": 4. Change directory to / and unpack the tarball with /usr/bin/tar using the "xvof" option ("o" is very important to set the file ownership to "root") Example for i386/AMD64: % cd /tmp % wget http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20060914_snapshot_i386.tar.bz2 % /usr/sfw/bin/openssl md5 ksh93_integration_20060914_snapshot_i386.tar.bz2 MD5(ksh93_integration_20060914_snapshot_i386.tar.bz2)= 2ac7ac192ed7eaca4f5375193ebcdab5 % cd / % sync ; sync % bzcat /tmp/ksh93_integration_20060914_snapshot_i386.tar.bz2 | tar -xvof - Example for SPARC: % cd /tmp % wget http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20060914_snapshot_sparc.tar.bz2 % /usr/sfw/bin/openssl md5 ksh93_integration_20060914_snapshot_sparc.tar.bz2 MD5(ksh93_integration_20060914_snapshot_sparc.tar.bz2)= 174d9665795b5cfb8e1161af8b8f822c % cd / % sync ; sync % bzcat /tmp/ksh93_integration_20060914_snapshot_sparc.tar.bz2 | tar -xvof - ** Notes: * This tarball marks a huge leap from ksh93r+ to ksh93s- with many many changes. Please test the binaries extensively. * A whole source diff between the AT&T ksh93r+/20060724 and ksh93s-/20060912 releases can be found in the project mailinglist [6]. * 64bit binaries and libraries are now included (and used by default if the hardware is 64bit capable) * If you wish to use ksh93 as login shell you have to create the file /etc/shells (see shells(4) manual page) to include it in the list of "allowed" system login shells: Example /etc/shells file (created using % cat lib/libc/port/gen /getusershell.c | egrep '.*".*bin.*".*' | sed 's/[",]//g' | sort -u #): /bin/bash /bin/csh /bin/jsh /bin/ksh /bin/ksh93 /bin/pfcsh /bin/pfksh /bin/pfksh93 /bin/pfsh /bin/rksh /bin/rksh93 /bin/sh /bin/tcsh /bin/zsh /sbin/jsh /sbin/ksh /sbin/ksh93 /sbin/pfksh93 /sbin/pfsh /sbin/rksh93 /sbin/sh /usr/bin/bash /usr/bin/csh /usr/bin/jsh /usr/bin/ksh /usr/bin/ksh93 /usr/bin/pfcsh /usr/bin/pfksh /usr/bin/pfksh93 /usr/bin/pfsh /usr/bin/rksh /usr/bin/rksh93 /usr/bin/sh /usr/bin/tcsh /usr/bin/zsh /usr/xpg4/bin/sh * libcmd.so is replaced with a version which includes both the ksh93 builtin commands and the private Solaris API of previous libcmd versions. * The tarball was simply created from an OS/Net B37 proto/ subdir via collecting the files listed by % find $ROOT '!' -type d | sed 's/.*\/root_sparc\///' | egrep "/(lib|llib-l)(cmd|ast|shell |dll)|/(ksh|rksh|pfksh)|include/ast" | egrep -v cmdutils #. * The tarballs do not provide a manual page for ksh93. Please use the manual page for ksh93r in the meantime [3]. * "multiline" input mode was temporary disabled in the default configuration due small issues. * The ksh93 binaries can be build from source like this: 1. Pull sources and extract closed bin stuff (files can be obtained from opensolaris.org): $ mkdir test_x86 ; cd test_x86 $ svn checkout -r 444 svn://svn.genunix.org/on/branches/ ksh93/gisburn/prototype002/m1_ast_ast_imported/usr $ bzcat ../download/on-closed-bins-b37.i386.tar.bz2 | tar -xf - $ cd .. 2. Create opensolaris.sh. This is the usual opensolaris.sh with the paths adjusted to match your location of the sources. Example for the changes applies to opensolaris.sh (for my workspace): -- snip -- --- ./test1_x86/usr/src/tools/env/opensolaris.sh Thu Sep 14 13:17:59 2006 +++ ./opensolaris.sh Sun Jul 30 00:50:08 2006 @@ -43,10 +43,10 @@ # This is a variable for the rest of the script - GATE doesn't matter to # nightly itself -GATE=testws; export GATE +GATE=test1_x86; export GATE # CODEMGR_WS - where is your workspace at (or what should nightly name it) -CODEMGR_WS="/export/$GATE"; export CODEMGR_WS +CODEMGR_WS="/home/test001/ksh93/on_build1/$GATE"; export CODEMGR_WS # Location of encumbered binaries. ON_CLOSED_BINS="$CODEMGR_WS/closed"; export ON_CLOSED_BINS -- snip -- 3. Run "bldenv": $ env - SHELL=$SHELL TERM=$TERM HOME=$HOME LOGNAME=$LOGNAME DISPLAY=$DISPLAY LANG=C LC_ALL=C PAGER=less MANPATH= $MANPATH /opt/onbld/bin/bldenv opensolaris.sh # 4. Build it (the quick way): $ cd test_x86/usr/src $ time nice make setup 2>&1 | tee -a buildlog_setup.log $ time nice dmake install >buildlog.log 2>&1 ** Links/References: [1]=ksh93-integration/migration project home page: http://www.opensolaris.org/os/project/ksh93-integration/ [2]=ksh93s-_alpha_20060912 release annoucement: https://mailman.research.att.com/pipermail/ast-users/2006q3/001364.html [3]=ksh93r manual page: http://www.opensolaris.org/os/project/ksh93-integration/docs/ksh93r/man/man1/sh/ [4]=ksh93-integration mailinglist: http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss/ ; please subscribe before posting (and please avoid flamewars) !! [5]=http://bugs.grommit.com/enter_bug.cgi?product=ksh93-integration [6]=http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2006-September/000897.html Happy testing! :-) ---- Bye, Roland P.S.: Reply-To: set to ksh93-integration-discuss at opensolaris.org (please subscribe before posting [4]) -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)