Abridged summary of comp.lang.tcl@googlegroups.com - 22 updates in 6 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 22 updates in 6 topics

comp.lang.tcl mailing list
Aldo Buratti <[hidden email]>: Mar 09 02:38PM -0800

At the end of a long computation, I need to show all the results (several files) in a given folder.
On Windows I can do something like this
exec {*}[auto_execok start] c:/tmp
or ...more
Christian Gollwitzer <[hidden email]>: Mar 10 06:22AM +0100

Am 09.03.17 um 23:38 schrieb Aldo Buratti:
> or
> exec cmd /C start c:/tmp
 
> What are the equivalent commands for Linux and Mac ?
 
Linux: xdg-open
OS X: open
 
These are the command line ...more
Paul Obermeier <[hidden email]>: Mar 10 08:29AM +0100

I have this proc in my Tcl swiss-knife:
 
proc StartFileBrowser { dir } {
if { $::tcl_platform(platform) eq "windows" } {
set browserProg "explorer"
} elseif { ...more
Ralf Fassel <[hidden email]>: Mar 10 02:08PM +0100

* Paul Obermeier <[hidden email]>
| I have this proc in my Tcl swiss-knife:
 
| proc StartFileBrowser { dir } {
--<snip-snip>--
| } else {
| set browserProg "xterm -e ...more
Rich <[hidden email]>: Mar 10 01:07PM

> eval exec $browserProg [list [file nativename $dir]] &
> }
> }
 
And as an FYI, it would fail on my Slackware systems as there is no
"konqueror" (I purposefully do not ...more
Rich <[hidden email]>: Mar 10 01:53PM

> useful?
 
> On my Linux system an xterm appears and disappears instantly -
> too short for my human eyes to grok... :-)
 
The -e option tells xterm to execute the command, and when the command ...more
Christian Gollwitzer <[hidden email]>: Mar 10 07:59PM +0100

Am 10.03.17 um 14:07 schrieb Rich:
>> }
 
> And as an FYI, it would fail on my Slackware systems as there is no
> "konqueror" (I purposefully do not install KDE).
 
This is why I proposed ...more
[hidden email]: Mar 09 09:56PM -0800

I have the source to Plotchart, in a single directory. It has a pkgIndex.tcl file plus another 6 or so tcl source files.
 
How do I install this on my raspberry pi raspbian system so a "package ...more
Arjen Markus <[hidden email]>: Mar 10 02:37AM -0800


> and this didn't croak, but then after a few lines the program aborted when I tried to use the package. So, I suspect I need to install this somewhere. I tried apt-get install Plotchart but that ...more
[hidden email]: Mar 10 09:25AM -0800

On Friday, March 10, 2017 at 2:37:11 AM UTC-8, Arjen Markus wrote:
 
> I know nothing about raspbian, but what were the messages? Or did the program simply stop? Does it run on other ...more
Luc Moulinier <[hidden email]>: Mar 10 06:51AM -0800

Hello,
 
I'm wondering if there is a problem with memory releasing in "array unset". The example below shows that ~130 Mb are still allocated after [array unset].
This is a real problem for me. ...more
Rich <[hidden email]>: Mar 10 02:55PM

> done, although I unset/array unset ALL variables. As I have 3000
> jobs to do, the computer memory crashes...
 
> Is this a bug ?
 
Not likely. Tcl follows the traditional C style that once it ...more
Luc Moulinier <[hidden email]>: Mar 10 08:19AM -0800


> The real indicator of a problem is if your memory usage continues to
> climb rather than reaching some plateau where it levels off.
 
This is what is happening when I send my jobs ! If I ...more
Rich <[hidden email]>: Mar 10 05:19PM


> So , if the process is not re-using the memory it allocates in
> previous allocations, ... there is nothing to do at Tcl level ?
 
> Thanks for your explanation !!!
 
One more thought. ...more
Luc Moulinier <[hidden email]>: Mar 10 06:04AM -0800

Hello,
 
I wanted to check memory using threads. I compiled Tcl/Tk 8.6.4 with -g -DTCL_MEM_DEBUG in order to use [memory info]
 
But :
ena_Agents_> ~/tcl8.6.4/luinst/bin/tclsh
% package require ...more
Don Porter <[hidden email]>: Mar 10 09:56AM -0500

On 03/10/2017 09:04 AM, Luc Moulinier wrote:
> I wanted to check memory using threads. I compiled Tcl/Tk 8.6.4 with
> -g -DTCL_MEM_DEBUG in order to use [memory info]
 
Get the current release, ...more
Juge <[hidden email]>: Mar 09 10:54PM -0800

I am trying to get a list of keys with array names.
My keys have a format p1w1 p1w2 p2w1 p2w22
actually p stands for page and the integer after the letter p is a number of page
w stands for window ...more
Dave <[hidden email]>: Mar 10 01:27AM -0600

On 3/10/2017 12:54 AM, Juge wrote:
> this I could sort with lsort.
 
> Is there a way of putting this in a one liner - I imagined that using regexp and inline option I might get there, but so far I ...more
Rich <[hidden email]>: Mar 10 01:10PM

> regexp and inline option I might get there, but so far I got nowhere.
 
> Of course I can use foreach and make a new list but I assume there
> might be a more elegant way?
 
lsort offers an ...more
Dave <[hidden email]>: Mar 09 11:22PM -0600

What am I missing?
 
Running Ubuntu with ActiveState's Tcl 8.6.6 under VirtualBox on a
Win7x64 system:
 
% frame .f -width 300 -height 300
% pack .f
% bind .f <MouseWheel> { puts "<MouseWheel> ...more
Christian Gollwitzer <[hidden email]>: Mar 10 06:32AM +0100

Am 10.03.17 um 06:22 schrieb Dave:
 
> On Win7x64, I get:
 
> <MouseWheel> .f
 
> How can I bind <MouseWheel> on unix?
 
MouseWheel on Unix maps to the mouse buttons <4> and <5>. So in addition ...more
Dave <[hidden email]>: Mar 10 12:18AM -0600

On 3/9/2017 11:32 PM, Christian Gollwitzer wrote:
 
 
> MouseWheel on Unix maps to the mouse buttons <4> and <5>. So in addition
> to MouseWheel bind to those buttons.
 
> Christian
...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].