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

comp.lang.tcl mailing list
Alexandru <[hidden email]>: Jul 17 06:34AM -0700

Hi,
 
I have a Tcl script on my server that I use to download multiple files from server with the help of Tcl. Everything works fine, except that the progress bar on the client machine is not ...more
Brad Lanam <[hidden email]>: Jul 17 08:06AM -0700

On Tuesday, July 17, 2018 at 6:34:23 AM UTC-7, Alexandru wrote:
> So obviously the content length is not intepreted correctly. I wonder what I'm doing wrong? Is my HTTP response header wrong?
...more
Brad Lanam <[hidden email]>: Jul 17 08:10AM -0700

On Tuesday, July 17, 2018 at 8:07:00 AM UTC-7, Brad Lanam wrote:
> > Alexandru
 
> This block will not output the end-of-line characters for each
> line.
 
Well, that statement is not quite ...more
Brad Lanam <[hidden email]>: Jul 17 08:27AM -0700

On Tuesday, July 17, 2018 at 8:10:44 AM UTC-7, Brad Lanam wrote:
> > puts "Content-Transfer-Encoding: Binary\n"
> > fconfigure stdout -encoding binary -translation binary
> > puts -nonewline ...more
Alexandru <[hidden email]>: Jul 17 08:35AM -0700

I'm on Windows. The hint about string length might be the solution. Testing...
...more
Rich <[hidden email]>: Jul 17 03:41PM

>> > puts -nonewline $content
 
> I was assuming Linux, but I don't know what platform(s) you are on.
> The above is cross-platform compliant.
 
Yes, oddly enough the http standard requires the ...more
Alexandru <[hidden email]>: Jul 17 08:43AM -0700

Am Dienstag, 17. Juli 2018 17:07:00 UTC+2 schrieb Brad Lanam:
> puts "Content-Transfer-Encoding: Binary\n"
> fconfigure stdout -encoding binary -translation binary
> puts -nonewline $content
...more
Alexandru <[hidden email]>: Jul 17 08:45AM -0700

Am Dienstag, 17. Juli 2018 17:07:00 UTC+2 schrieb Brad Lanam:
> puts "Content-Transfer-Encoding: Binary\n"
> fconfigure stdout -encoding binary -translation binary
> puts -nonewline $content
...more
Brad Lanam <[hidden email]>: Jul 17 08:55AM -0700

On Tuesday, July 17, 2018 at 8:45:20 AM UTC-7, Alexandru wrote:
> > puts -nonewline $content
 
> string length also has no effect.
> Actually logical: The problem is that the length is zero. ...more
Alexandru <[hidden email]>: Jul 17 09:03AM -0700

Am Dienstag, 17. Juli 2018 17:55:43 UTC+2 schrieb Brad Lanam:
> set meta [::http::meta $htoken]
> set cl [dict get $meta Content-Length]
> puts $cl
 
Very intersting:
 
When I download a very ...more
Alexandru <[hidden email]>: Jul 17 10:07AM -0700

Am Dienstag, 17. Juli 2018 18:03:33 UTC+2 schrieb Alexandru:
 
> Very intersting:
 
> When I download a very small file, the content lenght is present in the header and in the meta array. ...more
Brad Lanam <[hidden email]>: Jul 17 10:16AM -0700

On Tuesday, July 17, 2018 at 10:07:57 AM UTC-7, Alexandru wrote:
> I have difficulties finding the correct http code. I have placed a "puts" command into the http.tcl that I found in the Tcl dir but ...more
Alexandru <[hidden email]>: Jul 17 11:56AM -0700

Am Dienstag, 17. Juli 2018 19:16:17 UTC+2 schrieb Brad Lanam:
> PYK 2016-04-03: Yes, http::Finish does swallow errors in the -command if an error is already being propagated. The whole http module ...more
Brad Lanam <[hidden email]>: Jul 17 12:26PM -0700

On Tuesday, July 17, 2018 at 11:56:09 AM UTC-7, Alexandru wrote:
 
> > http::geturl $url -command [list after idle some_command]
> > "
 
> Is the package somehow a "build in"? I have removed the ...more
Rich <[hidden email]>: Jul 17 07:26PM

>> "
 
> Is the package somehow a "build in"? I have removed the pkgIndex.tcl
> from the http package but "package require http" still works.
 
If you are running 8.6 (and/or maybe 8.5) the http ...more
[hidden email]: Jul 17 04:01AM -0700

Hi!
 
Is Text tags' bstipple attribute supposed to work on Mac?
 
I have problem getting it to work via Tkinter. Following script shows dithered background on Windows and Linux (Tk 8.6) but on Mac ...more
Brad Lanam <[hidden email]>: Jul 17 05:26AM -0700

> text.tag_add("bgstip", "2.0", "3.2")
> text.tag_add("fgstip", "3.0", "3.5")
 
> root.mainloop()
 
Yes, that is a limitation of Tk on Mac OS X.
Stipples are not supported.
...more
[hidden email]: Jul 17 04:20AM -0700

I would love to have some passionate intimacy with you... I'm in Round Rock Texas... Are you close?
...more
Donald Arseneau <[hidden email]>: Jul 10 12:15AM -0700

> % expr (abc eq abc)
> invalid bareword "abc"
 
> expr apparently knows about NaNs
 
It does know, but no number is equal to NaN, not even NaN itself,
so your example returning "1" threw me for ...more
Rich <[hidden email]>: Jul 09 11:04AM

>> dropped by the very last gets in the loop.
 
> I have to think about that. I think it is handy to return a list, but
> there is merit in what you say.
 
Agreed. A list of lines is much more ...more
[hidden email]: Jul 16 05:07PM -0700

On Monday, July 9, 2018 at 1:44:04 AM UTC-7, Cecil Westerhof wrote:
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
 
I'll re-mention Expect
...more
Uwe Klein <[hidden email]>: Jul 09 03:00PM +0200

Am 08.07.2018 um 11:04 schrieb Cecil Westerhof:
> puts [exec ${pip} install --no-cache-dir --upgrade {*}${packages}]
 
> But this shows the output only after the command is finished. ...more
Cecil Westerhof <[hidden email]>: Jul 09 10:30AM +0200

> quiet mode.
 
> On the other hand, when parsing (or even interacting) with other
> processes, you might want to consider Expect.
 
My script determines what has to be updated and then does that. ...more
[hidden email]: Jul 16 05:13PM -0700

I have another NaN issue - I wonder if it is related to this previously reported behavior in format.
 
The issue is that Tcl_GetDoubleFromObj no longer works on a value of NaN. This is in ...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].