r/Tcl • • Feb 21 '21

So, should this reddit be renamed?

0 Upvotes

Maybe Tcl/Tk ? TCL_ToolCommandLanguage

I dunno...


r/Tcl • • Sep 03 '15

DeepNut built with tcl/tk compresses video like handbrake but with a novel UI

Thumbnail
deepnut.com
2 Upvotes

r/Tcl • • Jun 27 '23

What Is Object-Oriented Programming? A Comprehensive Guide For Beginners...

Thumbnail
youtube.com
4 Upvotes

r/Tcl • • Dec 17 '23

General Interest Why tcl is stuck with this "fossil" thing?

4 Upvotes

Hi all,

I am frustrated, and I cannot really understand why tcl and its extensions do not use git as the whole world does!

I try to maintain a build system, that does nightly builds of tcl + some extensions.

And I am tired this to stop working, because "fossil" is not able to merge changes!

I just corrected 3 packages with errors in the configure scripts (!), and not the build stops with:

./generic/tdbcodbc.c:57:1: error: version control conflict marker in file
   57 | <<<<<<< BEGIN MERGE CONFLICT: local copy shown first <<<<<<<<<<<< (line 55)
      | ^~~~~~~

Why, why, why??????????????


r/Tcl • • Apr 18 '20

Regex Question

2 Upvotes

I have a var ( wait_for_line ) which will always include a trailer number from 1 - 16.
e.g. 041720081247, PIN: 10
041720081247, PIN: 1

When I do this: regexp {\d*$} "041720081247, PIN: 10" matchvar

matchvar contains '10'

When I do this: regexp {\d+$} $waitfor_line matchvar

matchvar is empty ( although it contains the same string as above.


r/Tcl • • Sep 13 '22

string handling

2 Upvotes

Hi all,

I have a line like this in a.txt file.

/a/lock/lock34/string1_blast_gh_4_0_1_string2_blast_fsr_t_6_0_string3_blast_rtpr_5_bilevel_8_6_string4_blast_lockt_mnt_ys_0_7

Now i want the same above line to be printed as below.

But when i give particular string from input file in the terminal as:

'string1_blast_gh_4_0_1' , then i have to get 1st line in expected output as output.

'string2_blast_fsr_t_6_0' , then i have to get 2nd line in expected output as output.

'string3_blast_rtpr_5_bilevel_8_6' , then i have to get 3rd line in expected output as output.

'string4_blast_lockt_mnt_ys_0_7` then i have to get 4th line in expected output as output.

Expected output:

/a/lock/lock34/string1_blast_gh_4_0_1_string2_blast_fsr_t_6_0_string3_blast_rtpr_5_bilevel_8_6_string4_blast_lockt_mnt_ys_0_7/ptr1

/a/lock/lock34/string1_blast_gh_4_0_1_string2_blast_fsr_t_6_0_string3_blast_rtpr_5_bilevel_8_6_string4_blast_lockt_mnt_ys_0_7/ptr2

/a/lock/lock34/string1_blast_gh_4_0_1_string2_blast_fsr_t_6_0_string3_blast_rtpr_5_bilevel_8_6_string4_blast_lockt_mnt_ys_0_7/ptr3

/a/lock/lock34/string1_blast_gh_4_0_1_string2_blast_fsr_t_6_0_string3_blast_rtpr_5_bilevel_8_6_string4_blast_lockt_mnt_ys_0_7/ptr4

Any input is appreciated. Thank you.


r/Tcl • • Mar 04 '14

How can I use tcl to continuously read a file and exit on finding a certain word

2 Upvotes

r/Tcl • • May 25 '10

Automation With Expect &mdash; ServerWatch.com

Thumbnail
serverwatch.com
0 Upvotes

r/Tcl • • Nov 05 '24

New Stuff [ANN] (preview) **NHI10** is the project to integrate the *Programming Language Microkernel* (PLMK) into Tcl.

Thumbnail reddit.com
0 Upvotes

r/Tcl • • Jun 02 '14

yurmamma comments on I think I need to write a simple XWindows GUI in C. Is there a simpler solution?

Thumbnail
reddit.com
0 Upvotes

r/Tcl • • Jul 05 '25

Where to learn TCL for VLSI (dft)

4 Upvotes

I need to learn tcl from scratch, to apply in DFT sector of vlsi. I have very very limited knowledge of programming. Please suggest me some resources. Thank you.


r/Tcl • • May 12 '22

Microphone input

1 Upvotes

I want to setup voice calls on my star topology network, but I can't find a package to get microphone input.

Or even better if there is a internet calling package?


r/Tcl • • Jul 12 '12

Tcl only?

1 Upvotes

How many of you use Tcl but not Tk?


r/Tcl • • Oct 24 '18

hide the tcl source code in linux

1 Upvotes

can you compile or otherwise make unreadable the tcl source code that is run on a linux machine?


r/Tcl • • Jul 12 '18

ERROR: MP4Box -hint -mtu 1024 -fps 30 -add bus_cif.m4v bus_cif.mp4

0 Upvotes

an help me?

ajn16lts@ajn16lts-p2-1350l:~/ns-allinone-2.35/ns-2.35/Evalvid in NS2/example$ MP4Box -hint -mtu 1024 -fps 30 -add bus_cif.m4v bus_cif.mp4

MP4Box: symbol lookup error: MP4Box: undefined symbol: gf_f64_open ajn16lts@ajn16lts-p2-1350l:~/ns-allinone-2.35/ns-2.35/Evalvid in NS2/example$

i try convert m4v to mp4, what mean error and solved this error?

Thanks.


r/Tcl • • Jul 08 '18

error ns2

1 Upvotes

dear all, please help my work in error in ns2/otcl

ajn16lts@ajn16lts-p2-1350l:~/NS-Test$ ns CDN.tcl

wrong # args: should be "while test command"

while executing

"while {

[eof $original_file_id] == 0} "

(file "CDN.tcl" line 167)

ajn16lts@ajn16lts-p2-1350l:~/NS-Test$


r/Tcl • • Oct 19 '23

SOLVED TCP - TCL Server, Python client

1 Upvotes
proc accept {sock addr port} {
 global clientChannel
 set host "0.0.0.0"
 set clientChannel [socket -async $host $port]
 puts $clientChannel "Test" 
}

Server socket being created

set serverSocket [socket -server accept $port]

I use that to accept connections and I send something to the client, my Python script says it was connected successfully, however I get nothing in my python console.

with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
    s.connect((HOST, PORT))
    print("Ready to receive")
    while True:
        data = s.recv(1024)

        if not data:
            print("no data")
            break

        print("Received:", data.decode())

I get absolutely nothing in my Python script, just the "Ready to receive" when I connect. Yes both HOST and PORT are defined correctly.

Any ideas?

Solved:

changed

set clientChannel [socket -async $host $port]

to

set clientChannel $sock

r/Tcl • • Oct 08 '12

TCL & IRC, maybe you are interested?

Thumbnail ircfootball.com
1 Upvotes

r/Tcl • • Aug 03 '26

Still hand coding TCL?

0 Upvotes

Just wondering how many of you are still hand coding Tcl?

I Claude code all my tcl, bash and Python scripts. I store the Tcl doco in a rag sqllite vector database and put programming preferences in skill files. Vibe coding is literally 10 times faster. I cannot see myself ever going back to hand coding.

What about you?


r/Tcl • • Jul 28 '25

How to set up the Eclipse TCL IDE with debugger.

8 Upvotes

Down the Java development version of the Eclipse IDE from here: https://projects.eclipse.org/projects/technology.dltk/releases/6.4.1/review

Install the DLTK from files and not from Marketplace.

Down the Core Frameworks and TCL IDE files from here - https://download.eclipse.org/technology/dltk/downloads/drops/R6.2/R-6.2-202005020530/

Install Core Frameworks first using help, install new software, add, local.

Restart the IDE when the install is finished.

Then install the TCL IDE using help, install new software, add, local.

Set your path variable path to the TCL interpreter. E.G /opt/ActiveTcl-8.6/bin/tclsh

Check "echo $PATH".

Window, preferences, tcl, interpreters - /opt/ActiveTcl-8.6/bin/tclsh

Down the TCL debugger from this page: https://code.activestate.com/komodo/remotedebugging/

Set the paths up in the Eclipse config pages are follows:

Set the path for the debugger.

Create a TCL project, open the TCL perspective and add some files.

NB: Each top level script has to be set up as a debug configuration.

Then debug ==> run the configuration. Not debug ==> run as.


r/Tcl • • Oct 11 '12

Key Posts of the Tcl War

Thumbnail vanderburg.org
2 Upvotes

r/Tcl • • Aug 25 '15

How to create GUI in pure TCL (not for unix shell)

2 Upvotes

Hi and good day to all.

I'm trying to find information, book, examples on "HOW TO" build pure tcl GUI.

more info :

  1. i want to build a GUI.tcl

  2. run "tcl" in unix shell to enter "tcl shell"

  3. run the GUI.tcl

and to see the result ( the opened gui ).

PLEASE HELP!!!!!!! I really tried to find the right words in the search, i every example i find dont seem to work :(


r/Tcl • • Apr 20 '22

question about handles style

2 Upvotes

I've just started to implement custom sqlite3 module using C API (I need some non-standard capabilities) and I've got a question: what's the best method to trait handles from TCL perspective? Is the good way to create custom commands with pseudo-random identifier and return them? Are there another good-style ways to accomplish this task? Early code fragment is included below.

set conn_cmd [::sqlite3::open_cmd ":memory:"]
set stmt_cmd [$conn_cmd prepare "SELECT 2 + 2 * 2 AS val UNION SELECT 42"]
puts [$stmt_cmd step]
puts [$stmt_cmd step -pairs]
rename stmt_cmd {}
rename conn_cmd {}

r/Tcl • • Jan 14 '15

Job Posting - Telecommute - Ruby Lane - Software Engineer, Operations

2 Upvotes

I didn't find any rules against job posts, but I didn't find any job posts either... so I'm not sure if this is ok. My intentions are good.

Ruby Lane is an exciting company to work for with benefits that rival any start-up. We're financially stable and continue to show steady growth. Additionally, we have never taken outside investment. We're looking for long-term employees who want rewarding work and also time to focus on their personal lives.

You should probably do some basic research on us to see if you're interested. I'll let you do that instead of feeding you statistics. First, Ruby Lane is almost exclusively telecommute. Our main office is in San Francisco. We have employees working from all over the US, Europe, Africa, and Asia. If you'd like to relocate--this might be the job for you. If you prefer to work from home, we're a great place to be. We provide a company laptop--Apple or Lenovo--but your work environment is up to you. I live in Asia and we have software engineers in South Africa and the UK, so we really do mean work from anywhere. Telecommuting is great, but it requires discipline to be reliable and productive.

Our codebase is over 18 years old, but we regularly modernize our toolset to take advantage of new innovations. Right now our main webapp is written in TCL using the Naviserver web server. We use Percona MySQL for our database and Bootstrap/jQuery for UI design. We use git. We're also entirely hosted on Amazon's Cloud. We've adopted some of Amazon's technologies, but sometimes prefer to do things ourselves like our upcoming rollout of elasticsearch. All of our images are stored on S3 and we're refactoring code to scale out instead of scale up. If you want to chat with one of our programmers to answer questions, that's not a problem.

We’re looking for someone to provide dedicated support to our customer support and marketing and sales teams. You would help them with site updates and bug fixes. This would be a very visible position within the company and take you all over our code base and systems. Expect enough day-to-day variety to never be bored.

We write a webapp--you're going to need to know some HTML and CSS. We deploy servers using Puppet and we deploy our software onto them using Capistrano. Your code will be visible to end users, so a little design knowledge is a great thing.

We have an official company culture--mostly to be honest and straightforward with each other and our clients. To be good to each other. You'll communicate with your co-workers mostly via Skype, email, and sometimes phone. Most of the time you won't deal with our customers directly, but its not out of the question. If we have to work with a customer to diagnose and fix an issue, we will.

I love working for Ruby Lane because I'm treated like a professional. We'll have eyes on you early on to make sure you're fitting in with the company, but as you prove yourself you'll get latitude. Because you’ll be working with other groups internally, we’d prefer something close to US Eastern hours. We’re usually more open with the hours, but this is a unique position.

So, our growth prospects are good and we need more developers to keep up with the projects and to help serve our customers. If you think you'd like to be on our team, I'd love to hear from you. I need a resume (txt or PDF are best), and I'd appreciate a cover letter that tells me something about you and your personality. We are not opposed to hiring mature programmers--we'd love to have your experience on our team if you've kept your skills fresh. Self-taughts are also encouraged--you had the motivation to learn it on your own and that is respectable.

Your submissions will be read directly by me and need to be sent to [email protected].

I will ask for references, and I do check them.

About Ruby Lane

Founded in 1998, Ruby Lane Inc is a closely held established California Corporation and offers flexible work hours and location, competitive salary, company paid medical insurance, 401(K) matching, profit sharing, and paid vacation/holidays/sick days. Ruby Lane is an equal opportunity employer.