<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN"
            "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">

<channel>
<title>ActiveTcl archive @ ASPN</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Browse/Threaded/ActiveTcl</link>
<description>Discussion of ActiveTcl, ActiveState's binary distribution of Tcl.</description>
<language>en-us</language>
<copyright>Copyright 2005, ActiveState</copyright>
<managingEditor>aspn-feedback@activestate.com</managingEditor>
<webMaster>aspn-feedback@activestate.com</webMaster>

<image>
<title>ActiveTcl @ ASPN Mail Archive</title>
<url>http://ASPN.ActiveState.com/ASPN/img/logo_78x25.gif</url>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Browse/Threaded/ActiveTcl</link>
</image>

<item>
<title>[Activetcl] Call For Papers: 13th Annual Tcl/Tk Conference,	Oct. 9-13, 2006</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3172201</link>
<description>&lt;PRE>Notice:
Paper submission deadline is June 30! If you have not sent your abstract/summary OR you
have not
recieved confirmation of reciept of your submission, please send your entry soon!

Tcl/Tk
 - radically simple  
 - radically flexible
 - radically powerful

Announcing the 13th Annual Tcl/Tk Conference

October 9-13, 2006
Naperville, Illinois USA

Learn from the experts, share your experience - the annual Tcl/Tk conference is 
your opportunity to engage with the Tcl/Tk core team and your fellow peers.

The conference program will include:
  * Presentations and tutorials
  * The (Active)State of Tcl talk by Tcl/Tk release manager Jeff Hobbs
  * Birds of a Feather (BOF) sessions
  * Invited key-note talks
  * Discussion forums with the Tcl/Tk core team

Call For Papers

You are invited and indeed encouraged to submit proposals for presentations and 
tutorials. The conference schedule will consist of 2 days of tutorials 
(Monday - Tuesday) and 3 days for the main conference (Wednesday - Friday).

The conference provides you an opportunity to report on original
research and applications of Tcl/Tk and related technology. The audience will 
consist of practitioners and researchers who are intermediate or experienced 
users of Tcl/Tk.  For this reason, reports on experiences and applications 
should draw out lessons for other Tcl/Tk developers.

Topics will include, but are not limited to:
  * Application of Tcl/Tk in industries as diverse as engineering,
      industrial controls, broadcasting, financial services,
      medical and electronic design
  * Networking with Tcl/Tk, including distributed applications and network
      management
  * New widgets and techniques for GUI design with Tk
  * Simulation and application steering with Tcl/Tk
  * Tcl/Tk on handheld and embedded devices
  * New Tcl extensions and add-ons, including Tcllib and Tklib
  * Tcl/Tk centric operating environments

Submission Guidelines

If you are interested in submitting a paper you should send an abstract of about
100 words and a summary of maximum two pages. Omit extraneous or redundant 
information. Length is not a direct factor in judging the quality of the 
submission.

If submitting a tutorial proposal you should send an outline of the tutorial and
a brief biography, and clearly indicate whether the tutorial is of half-day or 
full-day duration.

Send submissions as plain text to &lt;tcl2006@...	no later than June 30, 2006.

The primary author for each accepted paper will receive registration
to the Technical Sessions portion of the conference at a reduced rate.

The program committee will review and evaluate papers according to
the following criteria:
  * Quantity and quality of novel content
  * Relevance and interest to the Tcl/Tk community
  * Suitability of content for presentation at the conference

Proposals may report on commercial or non-commercial systems, but
those with only blatant marketing content will not be accepted.

Application and experience papers need to strike a balance between
background on the application domain and the relevance of Tcl/Tk to
the application.  Application and experience papers should clearly
explain how the application or experience illustrates a novel use of
Tcl/Tk, and what lessons the Tcl/Tk community can derive from the
application or experience to apply to their own development efforts.

Papers accompanied by non-disclosure agreement forms will be returned
to the author(s) unread.  All submissions are held in the highest
confidentiality prior to publication in the Proceedings, both as a
matter of policy and in accord with the U. S. Copyright Act of 1976.

Registration Information

More information on the conference will be available in Spring 2006
at the conference web site (http://www.tcl.tk/community/tcl2006/)
and published on various Tcl/Tk related information channels.

To keep in touch with conference announcements and Tcl events in
general, subscribe to the tcl-announce list at:
   http://listserv.activestate.com/mailman/mysubs?show=announce
by entering your email and selecting Tcl-announce.

Conference Committee

Cyndy Lilagan	  Eolas Technologies		  Facilities Coordination
Clif Flynt	  Noumena Corp			  General Chair
Steve Redler IV   SR Technology 		  Program Chair
Steve Landers	  Digital Smarties		  Program Co-chair
Kevin Kenny	  GE Global Research Center
Jeffrey Hobbs	  ActiveState
Andreas Kupries   ActiveState
Mike Doyle	  Eolas Technologies
Ron Fox 	  NSCL Michigan State University
Donal Fellows	  University of Manchester
Gerald Lester	  HMS Software
Larry Virden	  Tcl FAQ Maintainer

Contact Information

tcl2006@...
http://www.tcl.tk/community/tcl2006/
_______________________________________________
ActiveTcl mailing list
ActiveTcl@...
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
&lt;/PRE></description>
</item>

<item>
<title>[Activetcl] how can I manage for text to have visible selection,	even if it h as no focus</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3172029</link>
<description>&lt;PRE>Please excuse newbie question, I did not find
an answer in docs.

Given following simple script:

pack [text .t]
pack [button .b -text btn]
.t insert end {foo bar fluffy}
.t tag add sel 1.5 1.9
focus .b

how can I manage for text to have visible selection, even if it has no focus?

When text widget loses its focus, disappearing of selected text looks frustrating to me, I
want to change this behaviour.

TIA,
Vadim. 
_______________________________________________
ActiveTcl mailing list
ActiveTcl@...
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
&lt;/PRE></description>
</item>

<item>
<title>[Activetcl] Machines that return wrong echo (with ? sign) and Expect</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3171539</link>
<description>&lt;PRE>Hi,

I am using active tcl version 8.4.9.0 and expect for windows version 5.3.

I am trying to connect to a Cisco Router machine using plink.exe (ssh
protocol) from my script in order to automate some procedures on it with
expect.

Sometimes I recieve a ? sign in the echo from the Cisco Router (I can see it
in the screen or in the expect log).

I read somewhere about it that it is related to the send rate and that I
should reconfigure the send_slow or send_human parameters.

Does anyone encounter with this problem? Do you have a better solution? It
is crucial since I cannot know in advanced that I will have this problem so
I execute the script and at the mean while it changes things not the way I
want because of the ?.

It seems that expect lost some characters at the way to the machine.

Is there a way to tell expect that if this the case it should fail and not
to send the characters?

For example:

Send: sending "username u1 password aaaBaaaa\r" to { exp4 }

 expect: does "username u1 p?\npassword  privilege  \n\n(config)#username u1
pasw?\n% Unrecognized command\n(config)#username u1 paswrd aaaaaaa\n"
(spawn_id exp4) match regular expression ...

See the ? sign in the echo from the machine and that the B is missing from
the password.

Thanks,

Tom
&lt;/PRE></description>
</item>

<item>
<title>[Activetcl] Is it a good policy to global the interpreter ....</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3169822</link>
<description>&lt;PRE>Hello,

My question is really a matter of style and performance.

I have extended ActiveTcl to incorporate a API the allows me to talk to a third 
party database.

I was wondering whether it is better to pass the interpreter through the 
function calls or better to make the interp global.

I so far have opted for the first example below. But, I have routines that are 
using three or four functions to retreive data and the code looks too busy.

Example

int a_function (Tcl_Interp *interp)
{
   char *string = "123";
   int number;
   Tcl_GetInt (interp, string, &amp;number);
   ......
   return TCL_OK;
}

OR

Tcl_Interp *a_interp;

int a_function ()
{
   char *string = "123";
   int number;
   Tcl_GetInt (a_interp, string, &amp;number);
   return TCL_OK;
}

Any examples or documents to explain would be great.

Michael Brooke
Director Development
Magstar Inc.
_______________________________________________
ActiveTcl mailing list
ActiveTcl@...
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
&lt;/PRE></description>
</item>

<item>
<title>[Activetcl] Renaming a namespace</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3156142</link>
<description>&lt;PRE>Is it possible to rename a namespace?

For example, if I have a namespace ::ns1 which has some variables
defined in it (such as ::ns1::ID), then I want to rename ::ns1 to ::ns2
and have all variables that were in ::ns1 be in ::ns2.

Thank you.
-- 
Kevin Partin
(281) 286-8959
mailto:Kevin.Partin@...

_______________________________________________
ActiveTcl mailing list
ActiveTcl@...
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
&lt;/PRE></description>
</item>

<item>
<title>RE: [Activetcl] Problem starting Tk on AIX.</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3155877</link>
<description>&lt;PRE>One of the reasons that ActiveTcl tries to use
native compilers on unix
variants is that you avoid the issues with gcc runtime library dependencies.
Your version seems to have that requirement, and you are trying to run on a
box without the gcc runtime libraries.	You can compile all the gcc bits in
statically.
 
Of course, the best recommendation for doing something like this is to use a
basekit and wrap your application so that it truly has no other dependencies.
The Tcl Dev Kit does support AIX.

  Jeff Hobbs, The Tcl Guy, http://www.ActiveState.com/ 

-----Original Message-----
From: activetcl-bounces@...
[mailto:activetcl-bounces@... On Behalf Of Nestor Patino
Sent: June 7, 2006 4:26 AM
To: activetcl@...
Subject: [Activetcl] Problem starting Tk on AIX.


Hi List,
 
I am having trouble starting a Tk application based on version 8.4.12 on an
AIX box that already had an older Tcl version installed. The application is
distributed and installed with its own Tcl-Tk version, which was compiled with
gcc on another computer, i.e. it doesn't rely on Tcl-Tk being formally
installed on the computer. To achieve this, users are requested to point
environmental variables to:
 
setenv LD_LIBRARY_PATH /basedir/app/aix/tcl-tk/lib
setenv TCL_LIBRARY /basedir/app/aix/tcl-tk/lib/tcl8.4
setenv TCLLIBPATH
"$TCL_LIBRARY;/basedir/app/aix/tcl-tk/lib/tcllib1.8;/basedir/app/aix/tcl-tk/li
b/tk8.4"
setenv LIBPATH $LD_LIBRARY_PATH 

The last setenv is because AIX uses a variable named LIBPATH instead of
LD_LIBRARY_PATH.
 
Now, this definition has worked correctly on other Unixes, e.g. Linux and
Solaris. But on this AIX, the user gets the following messages:
 
% exec(): 0509-036 Cannot load program
/basedir/app/aix/tcl-tk/bin/wish8.4 because of the following errors:
       0509-022 Cannot load module
/basedir/app/aix/tcl-tk/lib/libtcl8.4.so.
       0509-150   Dependent module libgcc_s.a(shr.o) could not be loaded.
       0509-022 Cannot load module libgcc_s.a(shr.o).
       0509-026 System error: A file or directory in the path name does not
exist.
       0509-022 Cannot load module wish8.4.
       0509-150   Dependent module
/basedir/app/aix/tcl-tk/lib/libtcl8.4.so could not be loaded.
       0509-022 Cannot load module .

which seems to indicate that some gcc libraries are missing. On other AIX
boxes where gcc installed, the same application starts without problem.
 
What is the problem here? Do I need to also install gcc on this computer? What
are the alternatives to circumvent this problem? The access to that box is
limited, so the less traumatic the solution, the better.
 
Thank you very much in advance.
 
Regards,
Nestor Patino
npatino@...
&lt;/PRE></description>
</item>

<item>
<title>RE: [Activetcl] Problem starting Tk on AIX.</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3154849</link>
<description>&lt;PRE>Steve Knodle
slk@...

Senior Systems Analyst
Office of Information Technology
Boston University
11 Cummington Street
Boston MA 02115
(617) 353-8016

On Wed, 7 Jun 2006, Droggitis, John D wrote:

> AIX has the most confusing shared library implementation of all unixes.

AIX also has the most powerful link editor of all unixes.  It it possible
to relink your executable to include a module statically or even replace
an existing object module by another one.  I suggest you take your
executable to a system where it runs, and relink the missing modules
statically. See the "ld" man page or check with your AIX sysadmin.
_______________________________________________
ActiveTcl mailing list
ActiveTcl@...
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
&lt;/PRE></description>
</item>

<item>
<title>RE: [Activetcl] Problem starting Tk on AIX.</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3154848</link>
<description>&lt;PRE>AIX has the most confusing shared library
implementation of all unixes.
Depending on how you compile and archive your libraries, they can
include or have dependencies on other libraries, shared or static.
Also, just because a library has a .a extension, you can not assume that
it's static, and frequently it is not.
 
In this case, it looks like libtcl8.4.so was compiled with an (implicit)
dependency on libgcc_s.a, a gcc _shared_ library.  I'm not sure whether
this is appropriate or not, just quickly I found a libtcl that I had on
an AIX box and mine does not have this dependency, so you can probably
recompile to avoid it.	To see what library dependencies a library has,
use ldd, same way as you would use it for an executable.
 
--John
 


________________________________

	From: activetcl-bounces@...
[mailto:activetcl-bounces@... On Behalf Of Nestor
Patino
	Sent: Wednesday, June 07, 2006 7:26 AM
	To: activetcl@...
	Subject: [Activetcl] Problem starting Tk on AIX.
	
	
	Hi List,
	 
	I am having trouble starting a Tk application based on version
8.4.12 on an AIX box that already had an older Tcl version installed.
The application is distributed and installed with its own Tcl-Tk
version, which was compiled with gcc on another computer, i.e. it
doesn't rely on Tcl-Tk being formally installed on the computer. To
achieve this, users are requested to point environmental variables to:
	 
	setenv LD_LIBRARY_PATH /basedir/app/aix/tcl-tk/lib
	setenv TCL_LIBRARY /basedir/app/aix/tcl-tk/lib/tcl8.4
	setenv TCLLIBPATH
"$TCL_LIBRARY;/basedir/app/aix/tcl-tk/lib/tcllib1.8;/basedir/app/aix/tcl
-tk/lib/tk8.4"
	setenv LIBPATH $LD_LIBRARY_PATH 
	
	The last setenv is because AIX uses a variable named LIBPATH
instead of LD_LIBRARY_PATH.
	 
	Now, this definition has worked correctly on other Unixes, e.g.
Linux and Solaris. But on this AIX, the user gets the following
messages:
	 
	% exec(): 0509-036 Cannot load program
	/basedir/app/aix/tcl-tk/bin/wish8.4 because of the following
errors:
	       0509-022 Cannot load module
	/basedir/app/aix/tcl-tk/lib/libtcl8.4.so.
	       0509-150   Dependent module libgcc_s.a(shr.o) could not
be loaded.
	       0509-022 Cannot load module libgcc_s.a(shr.o).
	       0509-026 System error: A file or directory in the path
name does not exist.
	       0509-022 Cannot load module wish8.4.
	       0509-150   Dependent module
	/basedir/app/aix/tcl-tk/lib/libtcl8.4.so could not be loaded.
	       0509-022 Cannot load module .
	
	which seems to indicate that some gcc libraries are missing. On
other AIX boxes where gcc installed, the same application starts without
problem.
	 
	What is the problem here? Do I need to also install gcc on this
computer? What are the alternatives to circumvent this problem? The
access to that box is limited, so the less traumatic the solution, the
better.
	 
	Thank you very much in advance.
	 
	Regards,
	Nestor Patino
	npatino@...
&lt;/PRE></description>
</item>

<item>
<title>[Activetcl] Problem starting Tk on AIX.</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3154847</link>
<description>&lt;PRE>Hi List,

I am having trouble starting a Tk application based on version 8.4.12 on an AIX box that
already had an older Tcl version installed. The application is distributed and installed
with its own Tcl-Tk version, which was compiled with gcc on another computer, i.e. it
doesn't rely on Tcl-Tk being formally installed on the computer. To achieve this, users are
requested to point environmental variables to:

setenv LD_LIBRARY_PATH /basedir/app/aix/tcl-tk/lib
setenv TCL_LIBRARY /basedir/app/aix/tcl-tk/lib/tcl8.4
setenv TCLLIBPATH
"$TCL_LIBRARY;/basedir/app/aix/tcl-tk/lib/tcllib1.8;/basedir/app/aix/tcl-tk/lib/tk8.4"
setenv LIBPATH $LD_LIBRARY_PATH 

The last setenv is because AIX uses a variable named LIBPATH instead of LD_LIBRARY_PATH.

Now, this definition has worked correctly on other Unixes, e.g. Linux and Solaris. But on
this AIX, the user gets the following messages:

% exec(): 0509-036 Cannot load program
/basedir/app/aix/tcl-tk/bin/wish8.4 because of the following errors:
       0509-022 Cannot load module
/basedir/app/aix/tcl-tk/lib/libtcl8.4.so.
       0509-150   Dependent module libgcc_s.a(shr.o) could not be loaded.
       0509-022 Cannot load module libgcc_s.a(shr.o).
       0509-026 System error: A file or directory in the path name does not exist.
       0509-022 Cannot load module wish8.4.
       0509-150   Dependent module
/basedir/app/aix/tcl-tk/lib/libtcl8.4.so could not be loaded.
       0509-022 Cannot load module .

which seems to indicate that some gcc libraries are missing. On other AIX boxes where gcc
installed, the same application starts without problem.

What is the problem here? Do I need to also install gcc on this computer? What are the
alternatives to circumvent this problem? The access to that box is limited, so the less
traumatic the solution, the better.

Thank you very much in advance.

Regards,
Nestor Patino
npatino@...
&lt;/PRE></description>
</item>

<item>
<title>Re: [Activetcl] Deliver script that contains additional files required	by externa l system</title>
<link>http://ASPN.ActiveState.com/ASPN/Mail/Message/ActiveTcl/3153510</link>
<description>&lt;PRE>Talvo Hornblower wrote:
> Hi Bob,
> 
> I might be mistaken, but I think I've read before that once you have a
> VFS mounted you can refer to files in it with the regular [file]
> commands just the same as if it were a real directory, so
> 
> file copy /path/to/wrapped.vfs/myfile ~/myfile
> 
> or something like that would work. (I've not used Tcl's VFSs myself, so
> I might be wrong, but I'm fairly sure I've read that in the past when
> this has been asked.)
> 
> Regards,
> Mike

Hi Talvo,

You're 100% correct -- I should have been more clear that the demo I
linked to shows how to locate a file in the VFS, and from there you can
pretty much do what you want with it.

I'll try to be more clear next time, but thanks for picking up on this
one for me!

Cheers,

kjw
_______________________________________________
ActiveTcl mailing list
ActiveTcl@...
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
&lt;/PRE></description>
</item>

</channel>
</rss>