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.
Platform: Linux/Unix
Home page: http://sourceforge.net/projects/tcl-syslog/
Man page: http://tcl-syslog.sourceforge.net/
Author: Alexandros Stergiakis
alsterg
...
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.
Platform: Linux/Unix
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-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
alsterg
...
Opening a TCL program from within another TCL program in ANSYS Tcl-TkHi everyone,
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
implementation.
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 found...
Here's the deal... Since I'm working within the ANSYS implementation
of Tcl-Tk, I'm actually using an ANSYS command to open the second
window. The command I use is:
###
ans_sendcommand ~eui,'source O:/mad_projects_2/ANSYS/Macros/
IBR_CAS.tcl'
###
It actually sends a command back to ANSYS telling it to execute a Tcl
command... I know this is not pretty but its the only way i was able
to make it at least show the window.
##############################
#Main Tcl (excerpt):
##############################
namespace eval Tools {
proc IBRCambpell {} {
#source O:/mad_projects_2/ANSYS/Macros/IBR_CAS.tcl
ans_sendcommand ~eui,'source O:/mad_projects_2/ANSYS/Macros/
IBR_CAS.tcl'
}
proc viewManager {} {
ans_sendcommand ~eui,'source O:/mad_projects_2/ANSYS/Macros/
ViewManager.tcl'
}
proc powerAnnotation {} {
ans_sendcommand ~eui,'source ...
How to compile tcl or encrypt tclI 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:
#!/home/albertl/local/bin/tixwish
puts "haha"
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
while executing
"error "The TclPro ByteCode Loader is not available or does not support the correct version""...
tcl application with tcl applicationHere is another question, I have one tcl-based application A, my co-
worker has a tcl-based application B. Now I want to integrate my
application A into the application B.
After integration, I want to be able to run A's tcl command in B.
Assume I can only change A's code, is there any way to do this?
On 17 Dez., 07:03, teacupfull business <teacupfull.busin...@gmail.com>
wrote:
> Here is another question, I have one tcl-based application A, my co-
> worker has a tcl-based application B. Now I want to integrate my
> application A into the application B.
>...
How Tcl speaks for itself and how Tcl is not spoken for...Hello
It's Friday and... well...
Two things about Tcl going through my mind this week, a nice anecdote
and a
eyebrow-rising thing on Wikipedia:
Anecdote:
Until three months ago I worked in a scientific institue where I wrote
much
software in Tcl, especially a big Build and Report System, some tools
for
automatic checking of coding style and other things. Tcl had a bad
reputation
there (not because of me... they dropped Tcl before I started there in
favour of
Joy, then JavaScript and now Python) and besides me, there was only
one
co-worker who appearantly writes some small Tcl-Scripts to...
Extending TCL in C with tcl.h - Disabliing [<tcl-cmd>] featureHi,
TCL has a command execution syntax like this:
[<tcl cmd>]
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
"[32]"
for tcl command
puts "[32]"
It should not try to treat [] as a special character.
Is this any way possible while extending Tcl in C with tcl.h?
Thank you,
Arijit
* arijit79@gmail.com
| puts "[32]"
|
| It should not try to treat [] as a special character.
Check out the TCL quoting rules.
http://www.tcl.tk/man/tcl8.4/TclCmd/Tcl.htm
http://www.tcl.tk/man/tcl8.4/TclCmd/Tcl.htm#M10
http://www.tcl.tk/man/tcl8.4/TclCmd/Tcl.htm#M15
Any of
puts {[32]}
puts "\[32\]"
will do the trick.
R'
On May 8, 3:14 am, ariji...@gmail.com wrote:
> Is there any way I can disable/delete this Tcl construct [ <tcl-cmd>]?
By doing this, you would disable the primary functionality of Tcl.
I'm certain you could go into the tcl source and stop it - but why not
talk about what you are really trying to do. Perhaps someone can give
you a better way of doing what you are wanting to do.
...
TclHello all.
I found on hobbes the afaik latest Tcl for Os/2 v8.35
Is there any newer port, cause i try to update the eggdrop and that
says:
Your Tcl version is much too old for Eggdrop to use. You should
download and compile a more recent version. The most reliable
current version is 8.5.X and can be downloaded from
ftp://tcl.activestate.com/pub/tcl/tcl8_5/.
--
With the best regards from the Netherlands,
Tu, "Tellerbop" <Tellerbop@wint.nl>, hai scritto questo in data Wed,
14 Jan 2009 19:11:18 UTC:
> Hello all.
>
> I found on hobbes the afaik latest Tcl for Os/2...
TCLHello,
i would like to build TCL/TK as a separate DLL-Library. Can anyone tell me
how this can be done
with VC 6.0?
Best regards,
Reinhold
"Reinhold.kwauka" <bernd-reinhold.kwauka@t-online.de> wrote:
>Hello,
>
>i would like to build TCL/TK as a separate DLL-Library. Can anyone tell me
>how this can be done
>with VC 6.0?
>
>Best regards,
>Reinhold
>
1) get the source from http://tcl.sourceforge.net/
2) open a command prompt
3) cd to the win/ subdirectory
4) call vcvars32.bat located in ??\vc98\bin\ of vc6 for wherever you
installed it.
5) type @ the prompt:
nmake -f makefile.vc
--
David Gravereaux <davygrvy@pobox.com>
[species: human; planet: earth,milkyway(western spiral arm),alpha sector]
Reinhold.kwauka wrote:
> Hello,
>
> i would like to build TCL/TK as a separate DLL-Library. Can anyone tell me
> how this can be done
> with VC 6.0?
>
> Best regards,
> Reinhold
>
>
Its already done. Just download a binary release for windows and check
\Program Files\Tcl\lib for the DLLs and static libraries.
...
TclHello,
where can I see for tcl syntacs and how-to run a tcl
test?
Thank You
Vittore
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: ptolemy-hackers-request@ptolemy.eecs.berkeley.edu
...
Tcl extension: check Tcl version?Is there a recommended way to check if a (binary) Tcl extension
is loaded to the same Tcl version that was used for linking
the extension?
Currently I'm encountering a problem with an extension that
I have built (and linked) with libtk8.3.so and that can be
loaded under wish8.5 as well (without re-bulding, using
package require). A number of newly provided commands work
well in spite of the version mixture, but others don't, and
wish8.5 crashes when these commands are used.
Is this behavior normal, i.e. should I check that compile-time
version and run-time version are identical? Or ...
[TCL] multi-threaded tcl appsHi,
Where can one find complete documentation on the ttrace package to the
Thread package? I'd like to know what commands are available in ttrace
and how to use them.
---------------------------------------------
Andrew R. Falanga (a non-HP employee)
Hewlett-Packard Company
11311 Chinden Blvd.
Boise, Idaho
---------------------------------------------
Please note: The e-mail address is purposely
mangled. I do not wish my account at HP to
become a spam haven. If you wish to e-mail
me, the address consists of a dot between
my first and last names (excluding my middle
initial). The rest...
MS Dictation and TCLI'm trying to use the MS dictation tool while in TCL 8.5 program. The text
starts to appear, but then the program crashes.
It would be great to find a way to make this work.
Thanks!
Barney
Tcl 8.5 (wish 8.5)
makeindex (12/14/2007)
MSWinXP sp3
plenty of ram and storage
...
Inline::Tcl vs. Inline::TclThe readme for CPAN's Inline::Tcl says this:
> This module is not related to the Inline::Tcl module, but it might be
> valuable to have some compatibility between the two.
>
This sentence seems to suggest that there is another module
named Inline::Tcl somewhere. Is this true, and if so, where
can I find it?
Mumia W. wrote:
> The readme for CPAN's Inline::Tcl says this:
>
> > This module is not related to the Inline::Tcl module, but it might be
> > valuable to have some compatibility between the two.
> >
>
> This sentence seems to suggest ...
[TCL] diff type operations in TCLI didn't see anything in tcllib and thus far haven't turned up anything
that looks like it will work. I would like to know if there is a TCL
package, or already written procedure, that will do a simple diff of two
files and tell me if they're the same or if they have differences.
Is there anything like this?
---------------------------------------------
Andrew R. Falanga (a non-HP employee)
Hewlett-Packard Company
11311 Chinden Blvd.
Boise, Idaho
---------------------------------------------
Please note: The e-mail address is purposely
mangled. I do not wish my account at HP to...
How Tcl source finds init.tcl???Hi,
I have one question about how Tcl finds init.tcl.
What environment variable does Tcl source use to get the search path for
init.tcl?
Is there any way to specifically use init.tcl from a certain path?
Thanks a lot in advance!
Lihong
lihong pei wrote:
> I have one question about how Tcl finds init.tcl.
> What environment variable does Tcl source use to get the search path for
> init.tcl?
If the environment variable TCL_LIBRARY exists, it's value is assumed
to be a single directory which is added to the search path for init.tcl.
Note that this is offered mostly as a way for...
Tcl Book that explains tcl C API?Hi!
I am looking for material that explains the tcl C API in order to:
- Embed Tcl into a C application.
- Extend Tcl to add new commands in C.
Does Tcl and Tk Toolkit (2nd Edition) by Ken Jones and John Ousterhout do a good job explain these topics in depth?
Thanks!
Asif wrote:
> Hi!
>
> I am looking for material that explains the tcl C API in order to:
>
> - Embed Tcl into a C application.
> - Extend Tcl to add new commands in C.
>
> Does Tcl and Tk Toolkit (2nd Edition) by Ken Jones and John Ousterhout do
> a good job explain these topics in depth?
>
> Thanks!
can help you cheap:;
http://freecomputerbooks.com/langTclBooks.html
--
--
--
What's on Shortwave guide: choose an hour, go!
http://shortwave.tk
700+ Radio Stations on SW http://swstations.tk
300+ languages on SW http://radiolanguages.tk
marc wrote:
> Asif wrote:
>
>> Hi!
>>
>> I am looking for material that explains the tcl C API in order to:
>>
>> - Embed Tcl into a C application.
>> - Extend Tcl to add new commands in C.
>>
>> Does Tcl and Tk Toolkit (2nd Edition) by Ken Jones and John Ousterhout do
>> a good job explain these topics in depth?
>>
>> Thanks!
>
>
> can help you cheap:;
> http://freecomputerbooks.com/langTclBooks.html
Would you really trust a site which *PRESUMES* the whole world uses
their preferred settings and the heck with the visually imperfect.
The resu...
Possible bug in Tcl or Windows or Tcl on WindowsHi,
There seems to be a bug in the way numbers are compared in Tcl.
Consider the below script for calculating Pythagorean triplets.
For hypotenuse upto a value of 100, there should have been 63
unique triplets.
On Windows XP the script detects only 62. The script doesn't detect
the case where c=99, b=20 ==> a=101.
However running the same script under Tcl 8.4.1 in Cygwin detects
63 triplets.
I don't have a Linux machine at hand to test it there.
Following is the script and relevant output. Could anyone shed some
light
on the cause of this. Maybe it has something to do with how the
numbers
are represented internally?
Running the script for N>100 shows up many more such missed values.
An equivalent program in C runs correctly on the same machine. C code
was compiled using both gcc and VC++6.0.
#########################################################################
# a^2 = b^2 + c^2
proc pythag {MAX} {
set i 0
for {set c 2} {$c <= $MAX} {incr c} {
for {set b 1} {$b < $c} {incr b} {
set a [expr hypot($c, $b)] ;# Calc. Hypot
if { ($c == 99) && ($b == 20)} { ;# <<<<<<<<
puts ">> [expr round($a)] == $a"
}
if {[expr round($a)] == $a} {
puts "$a : $b : $c"
incr i
}
}
}
return $i
}
if {$argc == 1} {
set MAX [lindex $argv 0]
} else {
puts stderr "Usage: tclsh $argv0 N"
exit
}
puts [pythag $MAX]
############# OUTPUT ################
Tcl 8.4.1 (Cygwi...
Incr Tcl /Tk for Tcl 8.4Hi,
I am trying to download incr Tcl and incr Tk for Tcl/Tk 8.4.19.
I looked at:
http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-source/3.4.1/
But only itcl seems to be there. And the CVS doesn't have the 3.4.1
tag.
Do you know where I can get incr Tk and hopefully a corresponding
iwidgets?
Thanks,
Andres
On 5 Okt., 11:16, Andres Garcia <tclc...@gmail.com> wrote:
> Hi,
>
> I am trying to download incr Tcl and incr Tk for Tcl/Tk 8.4.19.
>
> I looked at:
>
> http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-sou...
>
> But only itcl seems to be there. And the CVS doesn't have the 3.4.1
> tag.
There is no tag for this version. But you can use a date.
cvs -d :pserver:anonymous@incrtcl.cvs.sourceforge.net:/cvsroot/incrtcl
-z3 co -P -D 2010-10-28 incrTcl
>
> Do you know where I can get incr Tk and hopefully a corresponding
> iwidgets?
Itk is inside itcl sources.
cvs -d :pserver:anonymous@incrtcl.cvs.sourceforge.net:/cvsroot/incrtcl
-z3 co -P -D 2010-10-28 iwidgets
HTH
rene
Thanks.
Andres
>> I am trying to download incr Tcl and incr Tk for Tcl/Tk 8.4.19.
>>
>> I looked at:
>>
>> http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-sou...
>>
>> But only itcl seems to be there. And the CVS doesn't have the 3.4.1
>> tag.
The released sources for Itcl 3.4.1 were not developed in SF CVS.
SF CVS got abandoned during the January...
Sourcing a TCL file from within a tcl fileI am a newbie which I am sure I don't need to state :)
I am trying to create a variable with a TCL file that will source
another tcl file when I type the variable name
something like this
if I enter A through my keyboard then source a.tcl
Can someone show me how to do this
thanks
guy
On Dec 10, 1:15=A0pm, guy <gcoletta2...@gmail.com> wrote:
> I am a newbie which I am sure I don't need to state :)
>
> I am trying to create a variable with a TCL file that will source
> another tcl file when I type the variable name
>
> something like this
>
> if I e...
Why TCL?Hi,
2 weeks ago I found out about TCL for the first time, and I've fallen
for it since. It turned out to be very easy to learn, and seems to do
what I want it to do so far.
I have to hold a speech on any arbitrary technical subject soon for a
room of techies and I've thought about introducing them to TCL, since
many have heard of Expect, but don't realize it's built on top of TCL.
Since 2 weeks has not been enough for me to know all ins and outs, I
wonder how I can convince them of the benefits of TCL. By testing the
waters, the first responses I got were:
"Why yet ano...
Tcl Web Service with Authorization kills TclHi!
I am trying to use web services with authorization using wsdl on
tclhttpd 3.5.1, ActiveTcl8.4.18, WS::Server/Utils/Client 1.0.8. tls
1.50, tdom 0.8.2, SuSE Linux 10.0.
Are there any known issues using WSDL and authorization?
Server side is exactly the example in
http://members.cox.net/~gerald.lester/WebServices/Tcl%20Web%20Service%20Example.html
As client side is using authorization http headers are appended to
client commands. Reading the definitions of the offered services is fine.
::WS::Client::GetAndParseWsdl\
http://localhost:8015/service/wsExamples/wsdl\
{"A...
Tcl-2004 Update: More food and Tcl jobsGerald just finished some negotiating with the hotel, and we've
increased the meals at Tcl-2004. There will be free breakfast,
lunch and breaks on all days, and free dinner on Wed and Thur.
We'll have an open bar a couple of the conference nights also.
Just the food is worth more than the registration fee! Add in
the technical talks, panels, camaraderie and social networking,
and this conference is a bargain you won't see again.
At least two groups that are looking for Tcl/Tk developers will
be present, so bring a resume if you're on the prowl.
Online registration will cl...