I'm sponsoring this fast-track for Shivakumar GN and the SFW OpenSolaris
community. The timer for this case expires on 10/30/2007. The release
binding is Patch.
Summary
=======
Expect, a tcl extension is a very powerful and extensively used tool
for automating interactive commands and system administration
tasks. Many people build test harnesses around expect/tcl/tk provided
facilities. This proposal is to request inclusion of expect into the
SFW consolidation. Currently expect sources are present in the
Companion CD. This needs to be migrated into the SFW consolidation.
Solaris platform deployment being one of having considerable system
administration workflows involving command-line interfaces stand to
benefit by addressing this.
Expect 5.43 will be integrated into the SFW consolidation as part of
this proposal, and will be installed as SUNWexpect.
All interfaces included in the "Exported Interfaces" table below are
Uncommitted. All files under /usr/demo are not interfaces.
Dependencies
============
Versions of Tcl/Tk & expect must remain mutually compatible.
SUNWTcl(>=8.2) & SUNWTk(>=8.2) are expected to be available on
the system. Expect versions 5.38 and above (5.43 being latest
as of now) is compatible with Tcl & Tk versions 8.2 and above
(latest being 8.4.14)
Out of Scope
============
Removal of the expect sources from CompanionCD will be handled
independently. (discussed on the community mailing list)
Interfaces
==========
Stability classification Uncommitted for all exported interfaces. Man
pages are included in the case materials directory.
Exported Interfaces
-------------------
/usr/bin/expect Command
/usr/bin/expectk Command
/usr/include/expect.h Header
/usr/include/expect_comm.h Header
/usr/include/expect_tcl.h Header
/usr/include/tcldbg.h Header
/usr/lib/tcl8.4/expect5.43/pkgIndex.tcl
package loading script used to
make expect functionality
available(load) within a tcl
shell dynamically
/usr/lib/libexpect5.43.so Shared lib
/usr/share/man/man1/expect.1 Man page
/usr/share/man/man1/expectk.1 Man page
/usr/share/man/man3/libexpect.3 Man page
Imported Interfaces
-------------------
SUNWTcl/SUNWTk (Ref: PSARC/2007/317 Tcl/Tk upgrade to 8.4.14)
The following list of additional installed files are not interfaces.
Additional example scripts
--------------------------
/usr/demo/expect/autoexpect
/usr/demo/expect/autopasswd
/usr/demo/expect/cryptdir
/usr/demo/expect/decryptdir
/usr/demo/expect/dislocate
/usr/demo/expect/ftp-rfc
/usr/demo/expect/kibitz
/usr/demo/expect/lpunlock
/usr/demo/expect/mkpasswd
/usr/demo/expect/multixterm
/usr/demo/expect/passmass
/usr/demo/expect/rftp
/usr/demo/expect/rlogin-cwd
/usr/demo/expect/timed-read
/usr/demo/expect/timed-run
/usr/demo/expect/tknewsbiff
/usr/demo/expect/tkpasswd
/usr/demo/expect/unbuffer
/usr/demo/expect/weather
/usr/demo/expect/xkibitz
/usr/demo/expect/xpstat
/usr/demo/expect/man/man1/autoexpect.1
/usr/demo/expect/man/man1/cryptdir.1
/usr/demo/expect/man/man1/decryptdir.1
/usr/demo/expect/man/man1/dislocate.1
/usr/demo/expect/man/man1/kibitz.1
/usr/demo/expect/man/man1/mkpasswd.1
/usr/demo/expect/man/man1/multixterm.1
/usr/demo/expect/man/man1/passmass.1
/usr/demo/expect/man/man1/tknewsbiff.1
/usr/demo/expect/man/man1/unbuffer.1
/usr/demo/expect/man/man1/xkibitz.1
Reference Documents
===================
* RFE ID# 6608957
* Mail thread:
http://www.opensolaris.org/jive/thread.jspa?threadID=37586&tstart=0
OR
http://mail.opensolaris.org/pipermail/sfwnv-discuss ->
thread "[sfwnv-discuss] tcl/expect in SX"