Tcl Newbie: Call tk_* functions from Tcl application
First, I am completely new to Tcl/Tk.
I am learning Tcl in order to customize another application (Laker) on
Solaris 2.8. Tcl is embedded in this application, which has many
extensions to access the application database, but no support for Tk.
Instead, it provides its own set of Tcl GUI functions.
I would really like more flexibility than what the app provides, plus
I would like to use some of the pre-built Tk dialogs for selecting
files, for instance. I don't see why I should re-invent the wheel.
I have downloaded and installed ActiveTcl and have been able to run
the Tk functions ...tcl-pam: PAM authentication for Tcl (Tcl package)
This is an announcement for a relatively new Tcl project: tcl-pam
Tcl-pam is a Tcl interface to the PAM* service of Linux. It provides a
Tcl package that allows Tcl scripts to use PAM to authenticate users and
programs. It relies on linux-pam library:
* PAM (Pluggable Authentication Modules): A mechanism to integrate
multiple low−level authentication schemes into a high−level application
programming interface (API). This enables programs that rely on
authentication to be written independently of the underlying
Platform:...tcl-gaul: Genetic Algorithms for Tcl. (Tcl package)
This is an announcement for a relatively new Tcl project: tcl-gaul
Tcl-gaul is a Tcl extension for genetic/evolutionary algorithm
processing.It relies on the GAUL library: http://gaul.sourceforge.net/
* A genetic algorithm (GA) is a search technique used in computing
to find exact or approximate solutions to optimization and search
problems. Genetic algorithms are categorized as global search
heuristics. They are a particular class of evolutionary algorithms
that use techniques inspired by evolutionary biology such as
inheritance, mutation, selection, and crossover. For ...running other tcl from a tcl
Is that possible?
1 - sequentially to call two tcl files, like:
c:\> tclkit-8.4.7.exe first.tcl second.tcl
2 - from a tcl to call other one
# first.tcl content below
ps.: I'm not experience in Tcl.
Mauro Silva wrote:
> Is that possible?
> 1 - sequentially to call two tcl files, like:
> c:\> tclkit-8.4.7.exe first.tcl second.tcl
> 2 - from a tcl to call other one
> # first.tcl content below
> exec hello.tcl
> # end
> m...tcl-mq: POSIX Message Queues for Tcl. (Tcl package)
This is an announcement for a relatively new Tcl project: tcl-mp
Tcl-mp is a Tcl interface to POSIX Message Queues*. It provides a Tcl
package that allows scripts to create/open/close/unlink multiple
parallel message queues, and to send/receive messages synchronously and
asynchronously to/from them.
* A POSIX message queue is an Inter-Process Communication mechanism
available on Linux and some other POSIX-compliant operating systems. It
allows to or more processes (or threads) to communicate under the
same OS. The messages are buffered by the kernel, which gives them
kernel persis...tcl-mmap: A POSIX mmap interface for Tcl. (Tcl package)
This is an announcement for a relatively new Tcl project: tcl-mmap
Tcl-mmap is a Tcl interface to the POSIX mmap* system call. It provides
a Tcl package that allows Tcl scripts to: 1) Memory map files for
improved access efficiency; 2) Share memory between related processes;
3) Easily implement cyclic persistent log files.
* See the mmap(2) man page.
Home page: http://sourceforge.net/projects/tcl-mmap/
Man page: http://tcl-mmap.sourceforge.net/
Author: Alexandros Stergiakis
On Sep 3, 11:48=A0am, Alexandros Stergiakis <alst...@gmail.com> wrote:
> This is an ...tcl-syslog: Unix system logging for Tcl (Tcl package)
This is an announcement for a relatively new Tcl project: tcl-syslog
Tcl-syslog is a Tcl interface to the *nix syslog service. It provides a
Tcl package that allows Tcl scripts to log messages to syslog.
Home page: http://sourceforge.net/projects/tcl-syslog/
Man page: http://tcl-syslog.sourceforge.net/
Author: Alexandros Stergiakis
...Opening a TCL program from within another TCL program in ANSYS Tcl-Tk
I have been pulling my hair with this one for a couple of days and
still have not found a fix. I'm working within ANSYS Tcl-Tk
I created a Tcl-Tk script that generates a simple window with three
buttons. Each button opens another window which is created in a
separate Tcl file. The second window have a lot of text entries,
variables, procedures, etc. I can open the second Tcl file by itself
and everything works as supposed, but when I open it using the button
in the first window, it opens but any procedure called by the widgets
on the second window are not fou...tcl-snmptools: SNMP v1/v2/v3 operations for Tcl. (Tcl package)
This is an announcement for a relatively new Tcl project: tcl-snmptools
Tcl-snmptools is a Tcl interface to the Net-SNMP library which provides
operations for the management of remote SNMP agents. It supports all the
standard SNMP v1/v2/v3 operations: connect, close, get, set, getnext,
walk, bulkget, bulkwalk, trap, translate and others.
It is currently in a functional state, but more work and testing needs
to be done.
Home page: http://sourceforge.net/projects/tcl-snmptols/
Man page: http://tcl-snmptols.sourceforge.net/
Author: Alexandros Stergiakis
...How to compile tcl or encrypt tcl
I use TclPro1.5 to compile my tcl script with tixwish in the Solaris before.
But I cannot use the same method in Linux. Why?
Is there any utility for me to compile or encrypt the code by using tixwish?
The following is the simple code if I use the tixwish:
And after using procomp by the TclPro1.5
Error in startup script: The TclPro ByteCode Loader is not available or does not support the correct version
"error "The TclPro ByteCode Loader is not available or does not support the correct version""...How Tcl speaks for itself and how Tcl is not spoken for...
It's Friday and... well...
Two things about Tcl going through my mind this week, a nice anecdote
eyebrow-rising thing on Wikipedia:
Until three months ago I worked in a scientific institue where I wrote
software in Tcl, especially a big Build and Report System, some tools
automatic checking of coding style and other things. Tcl had a bad
there (not because of me... they dropped Tcl before I started there in
co-worker who appearantly writes some small Tcl-Scripts to...Extending TCL in C with tcl.h - Disabliing [<tcl-cmd>] feature
TCL has a command execution syntax like this:
Anything inside the 3rd bracket will be executed as a Tcl command by
the Tcl interprater.
Is there any way I can disable/delete this Tcl construct [ <tcl-cmd>]?
In other words, my Tcl interprator should print
for tcl command
It should not try to treat  as a special character.
Is this any way possible while extending Tcl in C with tcl.h?
| puts ""
| It should not try to treat  as a special character.
Check out ...Conversing with a tcl application...
I have written a small tcl app for my linux laptop that watches
/proc/interrupts. If the interrupt count for the keyboard, touchpad,
or mouse does not change within a specified ( currently hard coded)
interval, the program will do some house cleaning and then
"suspend" to memory. Subsequent keyboard or touchpad activity
will awake the computer from the sleep state. (If there was
an interrupt the "time to sleep" parameter is reset.)
The program is started at boot time and runs in the background.
It seems to work fine...
I would like to be able to control the "ti...Tcl application deployment
Now there are two main ways to deploy Tcl/Tk application
1. Provide user with bunch of script and dynamic library files
(possibly using some installer or package manager to simplify
2. Pack everything into one big fat executable using
starkit, prowrap or freewrap.
Both ways has some flaws. Flaws of first way are evident and I wouldn't
stop on them.
Flaws of second way are following:
1. Each application to be installed on user machine has to bring its own
Tcl interpretator and any packages it uses.
2. As far as I know, no OS provides way to load dynamic libraries using...