comp.lang.tcl Google Group
tcl 8.4 to 8.5
I've been using tcl 8.4.19 for ages, but just got
moved to 8.5.11 at work, and now a lot of my scripts fail.
For instance, I use:
"package require aes"
but this gets thrown out by 8.5
I need an idiots guide to upgrading, anyone help please?
pop3 issues
file. It seems like I can connect and get the message list. But
whenever I try to extract the message body of it with mime, it gets
stuck and hangs there. The wish shell does not become responsive again
and I have to start over. It looks like instead of raising an error, it
Screen position of a transient window
Windows XP, I found a significant difference in default positioning of a
transient window over a top-level one.
Under Linux, the centre of the transient window is automatically positioned
over the centre of the top-level window, while under XP the transient aligns
Expect "timeout" not getting triggered (Random issue)
I am using expect version 5.40 (/bin/expect -version ) and I am encountering a very random issue (reproducibility 1 in 20).
Issue is: timeout is not getting triggered when flood of messages is received.
Code snippet as follows
============================== ========
exp_internal 1
System Menu of toplevel window - Windows XP, 7, ...
Thanks in advance!
Re: Advice on an approach to a problem
So you want a GUI to choose the pathnames from.
I second the proposal to make a wrapper approach, much more on Linux.
First, you should change the "C" program (let's call it foo-c) to accept
the output file names as command line args, such that you call it
Free on-line courses in computational music and functional programming are offered
Have you ever thought of you as a Computer Scientist contributing to flourish music and get benefited? And how if my second conjecture is that a person who knows dance can know programming better? Or to make the two together, “Computing could be taught and learned by using Music and Dance…”
foreach question
like an ssh command to find the ip
I can do ssh somebox "somecommnd"
if I put & done a the end of the loop, bash will run all 10,000 at same time, not 1 by 1
how can you do this in tcl?
in bash additionally, the results come back outa order...
can list operations be used to control the prfecision?
2.3
2.5
not
2.3345234534534534535
2.5234523233534535455
I remember there was some complex way to stop this but you had ot change ti back or something after each op...
smeeded dangerous for prod code
weird web log issue
thought I would ask here to see if anyone has any suggestions.
Part of my job is to review server logs from a website periodically.
The web site sees very low traffic and is publicly accessible for plain
web pages. If a user is registered and has a valid account and
How to handle weird strings with backslashes
I need to process strings like
ddXaXD@@K@@LB\b@wHPJB\c@{HPJBH c@pH`NB|b@
This string has \ and { so I can't do:
set str {ddXaXD@@K@@LB\b@wHPJB\c@{HPJB Hc@pH`NB|b@} cuz that
will complain about having an extra {
If I do
set str "ddXaXD@@K@@LB\b@wHPJB\c@{HPJB Hc@pH`NB|b@"
how to make multiple query by http package?
I'm learning to use http package.
I already have a web service running on my server, now I need tcl http client to setup connection to server, then query server, get response, again and again, finally, close the connection.
The all examples I found from internet is one query per connection. From manual:
what does this piece of code mean?
I found a piece of code like this:
puts "chk point1.2: pArr(value) is $pArr(value)";
eval "set pArr(value) \[$pArr(value)\]";
puts "chk point1.3: pArr(value) is $pArr(value)";
what does this eval "set pArr(value) \[$pArr(value)\]" mean? I have tried this code and got output as
ANNOUNCE: Tcl, Android, tclvfs, and .apk packaging work
I'd like to share some work I've been doing this week with you, the
early stages of what it'll take to make Tcl more useful in the Android
ecosystem.
TL;DR - I've been working on getting the bits in place to embed
native-compiled Tcl into Android .apk files and be able to access the
problem with bigfloat
I have a problem with bigfloat.
Anyone knows what i'm doing wrong?
Here's a snippet that shows the error
/// snippet
package require math::bigfloat
set content {8373;0;
8374;-6.9573623405856546;
8375;-6.9573623405856546;
8376;-6.9573263708472934;
8377;-6.9567882448929481;
8378;-6.9546613358259481;
tdbo - Tcl DataBase Object package
Tcl DataBase Object (tdbo) provides a simple object oriented interface to database layer of an application. It is written based on incrTcl extension of Tcl. Currently it supports sqlite3 database. However, tdbo package is written in a generic way to plugin support for other databases. We will add support for other databases such as MySQL, Oracle etc., in future releases.
ssl proxy server
logger appenders
The tcllib logger package by default provides only a)console and b)colorConsole appenders to be used in ::logger::utils::applyAppender command.
I want to know if there is a way to add more standard types of appenders (For e.g., FileAppender, RollingFileAppender etc. as in log4j) to this package so that the ::logger::utils::applyAppender command can be invoked to use other types of appenders?
Package
1: I cant get the value from an entry created: entry .naca -width 8 -textvariable nacaEdit
puts "Hello: $nacaEdit "
2: and also i am not able to merge two cells in the grid : I would like to have the two bottons under each other and the two labels left align and that the entry field spans between the label and the buttons.
Home
Wiki
Archive Center
Bug Tracker
E-Mail