. . . . . . . Interpreters / Scripting Languages |
Welcome to the Skunkware '98 Interpreters section. The programs in this section contain extra scripting languages, both for use from a shell and for embedding within applications. Some of these tools, like Perl and TCL, should almost be a standard part of UNIX, as they are that common and entrenched.
Name | Description | Version | OSR5 | UnixWare |
---|---|---|---|---|
perl | Perl 5 Scripting Language | 5.004_04 | Yes | Yes |
tcl | Tool Command Language (TCL) | 8.0 | Yes | Yes |
tclx | Extended TCL | 8.0.2 | Yes | Yes |
tk | Tk - an X11 Toolkit for TCL | 8.0 | Yes | Yes |
tix | Tk 4.2 based Tix widget set | 4.1 | No | Yes |
tix8 | Tk 8.0 based Tix widget set | 8.0 | No | Yes |
expect | Expect - a TCL Extension | 5.25 | Yes | Yes |
python | Python - an object orient scripting tool | 1.5 | Yes | Yes |
PERL is a scripting language in use in many sites today. It combines the best features of sed, awk, shell scripts and even a little BASIC. It is commonly used for administrative tasks, and for WWW CGI scripts. Many tools depend on perl, and no system is complete without it.
This page provides links to Perl 5 binary distributions for SCO platforms and the Perl source archive as well as more info on Perl 5.
In addition to the custom installable Perl 5.004_04 for OpenServer 5 on Skunkware 98, there is a gzip'd tar archive of Perl 5.005 pre-compiled for use on SCO OpenServer 5. Manual installation of this release of Perl can be accomplished by issuing the following commands (as root):
# cd / # gzcat /mount-point/osr5/interp/perl-5.005/perl-5.005.tar.gz | tar xf -where mount-point refers to the directory path on which the Skunkware 98 CD-ROM is mounted.
http://skunkware.dev/skunkware/osr5/interp/perl/
TCL is an embeddable scripting language and shell tool. This means you can write applications and link in the TCL interpreter into your applications in order to give them a scripting capability. TCL also comes with a shell version of the interpreter, in which you can write programs in much the same way as you can with perl or python.
One of the best features of TCL is the sheer number of extensions available for it. There are many of them, and most of them will be found on Skunkware in time. Keep an eye out on the on-line version of Skunk for updates to TCL.
This page provides links to the Tcl 8.0 distribution and more info on TCL 8.0.
http://skunkware.dev/skunkware/uw7/interp/
Extended TCL is a set of extra TCL commands and functions designed to make standard UNIX features more accessible in TCL. A most useful tool to have around if you are using TCL.
http://skunkware.dev/skunkware/osr5/interp/tclX/
http://skunkware.dev/skunkware/uw7/interp/
Tk is an official TCL companion. It allows TCL script writers to create pretty GUI programs from within their scripts. There are many extensions to Tk as well, and many will be coming to Skunkware soon.
This page provides links to the Tk 8.0 distribution and more info on Tk 8.0.
http://skunkware.dev/skunkware/osr5/interp/
Tix is a set of mega widgets based on the standard Tk widgets. If you are planning only to use Tix with the standard Tk widget set, you can use the program tixwish(1) to interpret your TCL scripts.
This page provides links to the Tk 4.2 based Tix 4.1 distribution. SCO Skunkware also contains a Tk 8.0 based Tix 4.1 distribution.
Tix is a set of mega widgets based on the standard Tk widgets. If you are planning only to use Tix with the standard Tk widget set, you can use the program tixwish(1) to interpret your TCL scripts.
This page provides links to the Tk 8.0 based Tix 4.1 distribution. SCO Skunkware also contains a Tk 4.2 based Tix 4.1 distribution.
expect is an extension to TCL that allows a script to drive any aapplication that normally requires human interaction (e.g ftp, telnet, fsck, rlogin, passwd..). Obvious application areas include testing, automation and stress-testing or exercising.. In addition such programs can be wrapped with an X GUI using expectk
(It also has the distinction of being the first (and oldest) Tcl extension created).
There is more documentation availible on Expect, with links to other TCL resources.
http://skunkware.dev/skunkware/uw7/interp/expect/
Python is an object oriented embed-able scripting language and shell scripting language. It comes with many very useful function libraries and is very well tested and stable. Python is a good alternative to TCL or Perl, for those who prefer object oriented programming.
Python also comes with an extremely comprehensive manual, both for the language itself, as well as the library functions provided with it.
http://skunkware.dev/skunkware/uw7/interp/
http://skunkware.dev/skunkware/osr5/interp/python/
© Copyright 1997 The Santa Cruz Operation, Inc. All rights reserved.