Comment 3 for bug 679256

Revision history for this message
Josua Dietze (digidietze) wrote :

After some attempts with Python I realized that more and more additional extensions had to be loaded to do really simple stuff. It annoyed me.

I have decided to stick with Tcl, but I made the script work with JIMSH (known from Puppy Linux) which is a small and fast Tcl interpreter with a reduced subset of commands, still sufficient for what I'm doing. Not unlike Dash vs. Bash.

I will offer two source packages from now on. One will contain the jimsh source to be made and installed alongside the other utilities.

The compressed size of jimsh is 86 kB. All necessary components are integrated in the binary.

Sorry, I will not start doing all that string mangling in C. Neither will I give up the flexibility of scripting.
BTW, as I have stated elsewhere, space constraints are a valid argument - execution speed is not. The switching process is firmware dependent and may take one to 20 seconds. The startup time for the tool to initiate that process can be neglected.

Josua Dietze
(upstream)