home *** CD-ROM | disk | FTP | other *** search
- --------------------------------------------------------------------------------
- This is TkPerl, a programm which combines Perl with the graphic extension Tk.
-
- If you are already a user of the *great* Perl and you are seeking for a
- graphical user interface like Tk, you'll be right with this program.
-
- TkPerl is a normal Perl interpreter which additionally includes 33 new Tk
- commands for window creation, handling and so on. Within this distribution
- other widget sets are included as well as the SNMP support.
-
- --------------------------------------------------------------------------------
- Quick start:
-
- setenv DISPLAY <your_X_display>
- setenv TKPERLLIBDIR `pwd`/lib:`pwd`/lib/demos
- ./bin*/tkperl ./demos/widget
-
- Take a look into the ./lib/demos directory for some examples ...
- --------------------------------------------------------------------------------
- What if...
-
- Q: If it dumps a core ?
- A: Check the environment variables for including the startup scripts, or
- send an Email to smile@ira.uka.de
-
- Q: What is `SMILE' mentioned in the Makefile ?
- A: SMILE is the abbrevation for Secure network management in Large Environments,
- a project group which is the originator of this package. For some reasons
- it is NOT possible to give free access to the complete software packages
- - therefore the executable of the snmptkperl, which opens SNMP support is
- included in this distribution.
- --------------------------------------------------------------------------------
- Tell me...
-
- Q: What are the differences between the TkPerl executables within the
- ./bin* directories ?
- A: There are currently three executables named `tkperl', `tkperl+' ,`tkperl++'
- `tkperl+++' and `debugtkperl'. The first one is the basic TkPerl
- interpreter without any extensions, the second program includes
- additionally the Square widget add-on (which should be used to run the
- `square' application script). The third is a TkPerl interpreter which
- is combined with the Square widget and the Blt library (this last one is
- a pre-alpha version, sorry). The next one includes furthermore the "vuw"
- widgets bargraph, dial, pie and stripchart. The last one, `debugtkperl',
- is the same as the last executable but with some debugging code, which
- prints each statement activated from the Tk modules.
- Additionally the executable called `snmptkperl' supports the above
- mentioned SNMP extension (the main goal of our project group).
-
- Q: What are the new TkPerl commands ?
- A: First of all TkPerl recognizes two new commands named `Info' and `tkInit'.
- Unless calling this no differences to a normal Perl interpreter should
- occur. The `Info' command is used to show the already defined commands.
- The `tkInit' is used to initialize the Tk part and therefore creates
- 33 Tk commands:
- tk'after, tk'bind, tk'button, tk'canvas, tk'checkbutton, tk'destroy,
- tk'entry, tk'exit, tk'focus, tk'frame, tk'grab, tk'label, tk'listbox,
- tk'lower, tk'menu, tk'menubutton, tk'message, tk'option, tk'pack,
- tk'place, tk'radiobutton, tk'raise, tk'scale, tk'scrollbar,
- tk'selection, tk'send, tk'text, tk'tk, tk'tkwait, tk'toplevel,
- tk'update, tk'winfo and finally tk'wm
- For the details take a look into the manual pages coming from the Tk
- distribution.
-
- --------------------------------------------------------------------------------
- You need:
- - a C-compiler
- - the TCL library (version 7.3 or higher)
- - the Tk library (version 3.6 or higher)
- - the Perl program (version 4.0 or higher)
-
- Optionally you need:
- - the SMILE library (version 5.2 or higher) for SNMP-TkPerl
- - the BLT library (version 1.0beta or higher) for some widgets
-
- --------------------------------------------------------------------------------
- Installation:
-
- - Install all the needed software packages mentioned above (with configuring
- each of them) as base for this software.
- - Change to the `src' directory and edit the first section of the `Makefile'
- to correspond to your local enviroment
- - Call `make World` and see what happens.
-
- TkPerl is known to run on:
- SunOS 4.1.*
- Solaris 2.*
-
- --------------------------------------------------------------------------------
- Mail addresses
-
- Our working group is happy about any comments, improvements and so on.
- The mailing address is
-
- smile@ira.uka.de
-
- --------------------------------------------------------------------------------
- FTP addresses
-
- Try for example ftp.ira.uka.de(129.13.10.90):/pub/misc/tkperl-*.tar.z
-
- --------------------------------------------------------------------------------
- History and other interessing things:
-
- TkPerl got started in the midst of December, 1993. It was initially developed
- due to the *unusual* syntax of Tcl and the need to combine the *mighty* Perl
- with a graphical programming interface. The main goal was to prevent major
- modifications in the existing software packages so that there will be no more
- work with upcoming new releases of Tk (or widget extensions). Therefore TkPerl
- if bases on the following software architecture model:
-
- +-----------------------+---------------+
- | Tk library | Widget Extens.| widgetAddons/
- | +---------------+---------------+ libnewtk.a
- | | small parts of Tcl library | tcl*.o
- +-------+------------------+------------+
- | Tk-Tcl-adaption layer | Perl_Ext.o, tclstubs.o
- +------------------+-------+
- | Perl interpreter | Addon | uperl.o, userinit.o
- +------------------+-------+
-
- --------------------------------------------------------------------------------
- TODO:
-
- - Make tkperl compile `out of the box' via GNU autoconf.
-
- - for installation:
- When satisfied, call `make install` to install binary and manual.
-
- There will be a real README file later.
-
- The compiled executable is running under Solaris 2.3.
-
- --------------------------------------------------------------------------------
- TkPerl is Copyright (C) 1993, 1994 Guenther Schreiner.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation (version 2 of the License).
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- --------------------------------------------------------------------------------
- $Header: /home/irafs1/smile/application/tkperl/tkperl-0.010/RCS/README,v 1.1 1994/02/08 15:38:25 guenther Exp guenther $
- --------------------------------------------------------------------------------
-