Abridged summary of comp.lang.tcl@googlegroups.com - 11 updates in 4 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 - 11 updates in 4 topics

comp.lang.tcl mailing list
Cecil Westerhof <[hidden email]>: Dec 04 07:33PM +0100

I have the following to open a process:
set vmstat [open {|vmstat -n 60}]
 
I want to read the values with:
set values [gets $vmstat]
 
This gives for example:
1 0 0 611788 ...more
Cecil Westerhof <[hidden email]>: Dec 04 02:07PM +0100

I am writing an application to store system statistics in a database.
But I do not want to have the database hard coded in the script. What
is the best way to store the database to use in a ...more
Gerald Lester <[hidden email]>: Dec 04 08:56AM -0600

On 12/04/2017 07:07 AM, Cecil Westerhof wrote:
> I am writing an application to store system statistics in a database.
> But I do not want to have the database hard coded in the script. What ...more
Cecil Westerhof <[hidden email]>: Dec 04 05:13PM +0100

>> But I do not want to have the database hard coded in the script. What
>> is the best way to store the database to use in a configuration file?
 
> Which OS?
 
I am using Linux, but I prefer to ...more
Brad Lanam <[hidden email]>: Dec 04 08:50AM -0800

On Monday, December 4, 2017 at 5:14:06 AM UTC-8, Cecil Westerhof wrote:
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
 
Sort of depends on what ...more
Gerald Lester <[hidden email]>: Dec 04 12:00PM -0600

On 12/04/2017 10:13 AM, Cecil Westerhof wrote:
 
>> Which OS?
 
> I am using Linux, but I prefer to write my scripts operating system
> independent.
 
Well, on all of the OSes except windows, ...more
Cecil Westerhof <[hidden email]>: Dec 04 01:46PM +0100

I want something to be done at the start of a minute. So I use:
set currentSeconds [clock seconds]
after [expr 1000 * (60 - [clock format ${currentSeconds} -format %S])]
...more
[hidden email]: Dec 04 07:31AM -0800

Try:
after [expr {1000*([clock seconds]%60]}] ...
 
According to man page TCL time model handles leap seconds by stretching time instead of inserting an extra second.
 
Might not do what you want ...more
Cecil Westerhof <[hidden email]>: Dec 04 05:33PM +0100

> after [expr {1000*([clock seconds]%60]}] ...
 
> According to man page TCL time model handles leap seconds by stretching time instead of inserting an extra second.
 
> Might not do what you want ...more
Michael Niehren <[hidden email]>: Dec 04 09:38AM +0100

Hi folks,
 
subject say's it all. I have a running Tcl/TK Application (V8.6) and want to bring it
to a browser based application.
 
Do someone see a chance to realize that ?
 
As the ...more
[hidden email]: Dec 04 05:59AM -0800

On Monday, December 4, 2017 at 9:38:22 AM UTC+1, Michael Niehren wrote:
 
> Do someone see a chance to realize that ?
 
> As the Browser-Plugin is very outdated, my idea is to use VNC. ...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].