Questions tagged [tcl]

Tcl (originally from "Tool Command Language", but conventionally rendered as "Tcl" rather than "TCL"; is a scripting language.

It is commonly used for rapid prototyping, scripted applications, GUIs and testing. Tcl is used on embedded systems platforms, both in its full form and in several other small-footprint versions.

The combination of Tcl and the Tk GUI toolkit is referred to as Tcl/Tk.

40 questions
8
votes
2 answers

Where can I find tclConfig?

I'm trying to install something that uses Tcl and it requires the config file tclConfig. I've installed tcl via sudo apt-get install tcl8.5 but after doing a search there isn't such a file. Did I miss a step somewhere?
tom
  • 81
3
votes
1 answer

wish missing but tk is installed

I was wanting to tinker around with TCL/TK programming. I tried to invoke the wish shell, but got this error: $ wish The program 'wish' is currently not installed. You can install it by typing: sudo apt-get install tk So, I tried to apt-get install…
kj4ohh
  • 143
3
votes
1 answer

Tcl: installing package starkit?

(just wanted to document this; self-answer to follow) I just found Visual REGEXP : a graphical explorer for your regexps, which is a Tck/Tk application, so I wanted to try it on Ubuntu 11.04 natty. First I tried that 3.0 version: $ wget…
sdaau
  • 3,056
1
vote
0 answers

Problem with using Tclx

The installed version of Tcl is Tcl 8.5. The installed version of Tclx is 8.4. The incompatibility between the two versions creates problems. Any remedy?
Denis
  • 11
1
vote
1 answer

How to use the left and right arrow keys in the tclsh interactive shell?

Why can't I use the left and right arrow keys (actually, the same goes for the up and down keys as well) to move about the line I'm currently on in the tclsh interactive shell? If I try to press either one, I get a bunch of abracadabra instead of…
misha
  • 952
1
vote
3 answers

Tcl/Tk not being installed correctly on my computer

I am currently trying to install xgrafix from PTSG's website. Running configure within xgrafix folders I am running into a problem. It is stating that I must make sure Tcl/Tk is installed correctly and rerun the configure. I have tried remove and…
cgnick
  • 11
0
votes
1 answer

tcl no such file or directory

I am running this script nmrCube.tcl for generating 3D box from NMR data. I initially had problem with Library before which is now sorted While running the script I get this, (even though it is indeed there): Error in startup script: couldn't read…
0
votes
0 answers

TCL version conflict with bltwish

I am installing blt2.4z onto my desktop to use with an older plotting tool and am having trouble getting bltwish to run without throwing an "application-specific initialization failed: version conflict for package "Tcl": have 8.6.10, need exactly…
0
votes
1 answer

Which package provides Tcl's fileutil::magic::mimetype?

I'm attempting to run a Tcl program, Sguil server, on Ubuntu 18.04.4 LTS. After modifying the configuration files as per the instructions I ran the program: sudo ./sguild I received the following error: 2020-05-10 15:13:29 Error: Failed to load…
cherdt
  • 167
  • 10
0
votes
2 answers

grepping array elements from a tcl file

I have something like below in a tcl file. array set myports { a b c d e } array set myports { g h i j K l } How to do a simple grep on the file and print the elements in the array ?
-1
votes
1 answer

.tcl file not running

I have installed ns2 on ubuntu 12.04. when I am trying to run .tcl file following error is showing up: ajay@ajay-Inspiron-535s:~$ cd ajay ajay@ajay-Inspiron-535s:~/ajay$ ns old.tcl couldn't read file "old.tcl": no such file or directory
-2
votes
1 answer

How to install TCL packages: uuid,Itcl, html, tdom, tdom, tepam, math::bignum

I need help to install the following TCL packages: uuid Itcl html tdom tdom tepam math::bignum