PtCon (pronounced P-T-Con) stands for Palm Tcl Console. Palm Tcl, developed by Ashok Nadkarni, is the port of Tcl 7.6p2 to PDA's (personal digital assistants) that run Palm Incorporated's operating system (Palm OS). PtCon enables the creation and execution of Palm Tcl scripts interactively within a Palm-enabled PDA. The scripts are stored within PtCon's database between sessions. As Palm Tcl scripts are evaluated, the results are retained and displayed individually. Each evaluation result generated during the current PtCon session can be redisplayed at any time.
PtCon is developed using the Toucan IDE for Palm Tcl on either the GNU/Linux or Microsoft Windows platform. The user interface of PtCon consists of Palm resource elements, such as forms, menus, strings, and bitmaps. The internal functionality is implemented via Palm Tcl scripts that are embedded in the PtCon resource file (ptcon.prc) and auxillary scripts stored in the PtCon database file (PtConDB.pdb).
In order to run PtCon, a PDA that has Palm OS 3.0 or later must be used. In addition, a computer must be available with which to install the PtCon program into the PDA. Instructions for installing PtCon into a PDA are included in the PtCon User Manual, which is in the distribution.
This project will serve as a means of refining the initial release of PtCon. It is hoped that PtCon will become the preferred tool for experimenting with Palm Tcl scripts in a mobile environment.
PtCon is licensed under the same license as Tcl (BSD). Details can be found in the distribution.
![]() |
![]() |
![]() |
Script pulldown. | Results pulldown. | Help pulldown. |
![]() |
![]() |
![]() |
![]() |
Script selection for evaluation. | Resulting evaluation. | Evaluation results selection. | Redisplayed results. |
![]() |
![]() |
![]() |
![]() |
Script pulldown. | Edit pulldown. | Insert pulldown. | Move pulldown. |
![]() |
![]() |
Editing of the new script, example, prior to save. | After the save (unique ID assigned). |
© 2002 Mac A. Cody
Last updated Friday, December 20, 2002