tcl Questions

1

Solved

I wrote a small expect script to connect to multiple SSH Servers. However if I interact with the terminal after initializing the connection, the terminal window behaves very odd. For example, if I ...
Tsang asked 2/8, 2017 at 7:39

1

Evironment:debian8+vim8. filetype is on status both in .vimrc and vim/runtime/ftplugin/python.vim . cat .vimrc execute pathogen#infect() execute pathogen#helptags() syntax on filetype plugin inde...
Criminology asked 18/7, 2017 at 3:7

1

TCL_LIBRARY and TK_LIBRARY environment variables can be used to bind Tkinter with proper Tcl/Tk installation. How to get the location of Tcl/Tk from working Tkinter instance? (I'm running a fron...
Cap asked 18/4, 2017 at 5:35

5

Solved

I have a tcl script which 'exec' rpmbuild. When doing so, the 'topdir' used by rpmbuild is wrong. I have a .rpmmacros file in my home directory and if I call manually rpmbuild, it works fine, ie. t...
Spire asked 6/1, 2009 at 15:35

1

Solved

I have a following procedure: proc show_information {args} { set mandatory_args { -tftp_server -device ANY -interface ANY } set optional_args { -vlan ANY } parse_dashed_args -args $args -op...
Cheerio asked 4/4, 2017 at 4:50

3

Solved

I am new to TCL scripting and shell scripting. I want to invoke a TCL script from the shell script. I have tried as below. #!/bin/sh for i in {1..5} do my_script test_script done If I run the...
Lynseylynus asked 11/5, 2013 at 14:53

1

I want to ask a question about Xcode syntax coloring (highlighting). I am working with files all the time .tcl files all the time and Xcode does not know extension and as default it opens them with...
Ethiopic asked 31/1, 2017 at 16:0

1

Solved

I have not managed to find out how to negate booleans in TCL... I tried: set x true puts !$x #prints '!true' puts ![$x] #prints ! puts [!$x] #prints no event matches "true" puts !{$x} #prints !{tr...
Ene asked 23/1, 2017 at 18:34

3

Solved

I am using macOS 10.12.1 Sierra. I am using Python 2.7.12 installed with brew install python but the IDLE gives the warning WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visi...
Abbreviation asked 18/11, 2016 at 17:25

1

Solved

I am writing an EDA utility, relying on a TCL 8.6 compliant API. My challenge is as follows: My utility runs on transistors' models in the database, and does some analyisis, using an EDA vendors' T...
Charo asked 19/1, 2017 at 8:30

3

I am trying to uninstall Active TCL on my Mac and the provided code from the website does not work. I am receiving errors saying not a directory. When I look into the file path that the code gives ...
Gradygrae asked 18/2, 2014 at 2:41

1

Solved

I'm trying to address an issue with an Expect script that logs into a very large number of devices (thousands). The script is about 1500 lines and fairly involved; its job is to audit managed equip...
Elaina asked 4/11, 2013 at 17:56

1

Solved

I have a set of words, e.g. {6-31G*, 6-311G*, 6-31++G*, 6-311++G**}. As you may see, the common fragment is "6-31". What I need to do in Tcl now is to check whether string under $variable contains ...
Vortex asked 9/12, 2016 at 18:32

2

I've heard that threads in Python are not easy to handle and they become more tangled with tkinter. I have the following problem. I have two classes, one for the GUI and another for an infinite pr...
Copyist asked 2/11, 2014 at 19:39

6

Solved

I have a c++ server side project that I need to embed some sort of scripting into. It is part of an online MMO type of server. I have significant experience using TCL, and it seems like the natural...
Introduce asked 10/9, 2009 at 18:9

3

Solved

I want to have a large list of options in my script. The user is going to give input that will only match one of those options. I want to be able to have multiple different options run the same com...
tcl
Criminology asked 5/3, 2013 at 1:28

3

I am trying to construct a module file and I would like to include an if statement to check whether certain environment variables (e.g. PATH, LD_LIBRAY_PATH, PYTHON_PATH, ...) have already been set...
Marolda asked 7/5, 2016 at 6:42

1

I am writing a program in Python with a Tkinter UI. I want to have a small window with no title bar. This window must receive keyboard input. I am not picky whether this is in the form of an Entry ...
Transfiguration asked 3/1, 2016 at 23:2

3

Solved

I am writing a proc to create a header in an output file. Currently it needs to take an optional parameter, which is a possible comment for the header. I have ended up coding this as a single opt...
tcl
Gringo asked 26/2, 2010 at 12:14

4

How to remove duplicate element from Tcl list say: list is like [this,that,when,what,when,how] I have Googled and have found lsort unique but same is not working for me. I want to remove when fr...
tcl
Culp asked 4/12, 2013 at 10:35

3

Solved

If I want to match DEF_23 using the following regexp: expect { -re "DEF_\[0-9]*" set result $expect_out(1,string) } why does it say no such element in array? How does $expect_out work, and how...
Temperance asked 15/6, 2012 at 13:16

1

I want to call questa sim commands like add wave ,add list, write list from my SystemVerilog test bench task add_files_to_list(); add wave -position insertpoint sim:/top/clk add list sim:/top/clk...
Alvira asked 20/6, 2016 at 13:6

1

Solved

Exactly what the title says. Is there a way to use the matplotlib library without installing TCL? Please don't tell me to bite the bullet and install TCL - I know how to do it but for my own (ok ma...
Hufnagel asked 26/5, 2016 at 11:20

3

Solved

I'm looking for a way in tcl to pause the script (for example after some outputs with "puts") and wait for a key pressed from the user before continuing to output the remaining text.
Barrage asked 24/9, 2013 at 22:22

2

Solved

I am trying to compile a program (python2.7) but no matter what I do I keep getting this error: C:/Python27/tcl/tk8.5/tk.tcl: version conflict for package "Tk": have 8.5.2, need exactly 8.5.15 ver...
Hundred asked 3/11, 2014 at 0:10

© 2022 - 2024 — McMap. All rights reserved.