Re: Tk::HTML

Nick.Ing-Simmons@tiuk.ti.com
Wed, 2 Aug 95 11:40:25 BST


In <199508020950.LAA04591@bergen.oslonett.no>
On Wed, 02 Aug 1995 11:50:27 +0200
Gisle Aas <aas@oslonett.no> writes:
>> >With LWP you should be able to 
>> >register a callback which feeds you data as it is read from the network. 
>> 
>> Existing LWP does its own select() which locks out Tk and prevents 
>> it seeing X Expose events so nothing would be seen. 
>> 
>> Need to add LWP code to use Tk::fileevent - in the plan.
>
>It's on the To-Do list..., but it should not be that hard I hope.

With it on both To-Do lists it will happen.

>
>> That and having multiple connections fetching embedded images in parallel,
>> I assume LWP can do that too just have not tried yet.
>
>It should be no problem, but I have not tried it yet either.
>
>Another thing Netscape does is to display partial images as they arrive (nice 
>for interlaced gifs).  Wouldn't this be hard to do in Tk?

It would probably involve hacking Photo/GIF code - not ruling it out
but not top of the list by a long way.

>
>I also noticed that tkweb gets the base URL wrong when the server sends 
>redirect.  This is because $ua->request hides redirects too much for for its 
>invoker.  I guess a fix is to maintain the base url as an attribute of the 
>UserAgent.  An alternative is to return the base url in the response.  What 
>should we prefer?

I am out of my depth here ... I will stick to OO-ness and Tk and let 
people that know about such things handle the protocols.

>
>When I think about it, I guess I would like to put it into the response object.