| Author |
Message |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1168 Location: Queensland
|
Posted: Mon 28 Jan 2008, 03:31 Post_subject:
Xwget-6 - GUI download manager Sub_title: wget Gui in gtkdialog |
|
I have rewritten Xwget in gtkdialog and converted it to a .pet package so it will install & run in Puppy 4.
| Description |
This is an update, it includes a resume function. Download and click on it to install Xwget-6
|

Download |
| Filename |
Xwget-6.pet |
| Filesize |
3.49 KB |
| Downloaded |
236 Time(s) |
Edited_times_total
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 5648 Location: hobart
|
Posted: Mon 28 Jan 2008, 05:07 Post_subject:
|
|
Hi Ian,
I was thinking of having a crack at this...but you've beaten me to it. Curious as to why it's packaged like a Russian doll? Pup inside pet inside .tar.gz.
|
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1168 Location: Queensland
|
Posted: Mon 28 Jan 2008, 05:29 Post_subject:
|
|
muggins
I originally put it together as a dotpup then found that Puppy 4 did not include the dotpup installer so I just converted it to a pet package and just zipped it through habit not bothering to see if the forum handled .pet extensions.
Put it all down to laziness.
Have you tried it in Puppy 4, if so do you have any thoughts.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 5648 Location: hobart
|
Posted: Mon 28 Jan 2008, 05:50 Post_subject:
|
|
No,
I've only used it on 2.16 to download one file. I remember that with xwget you wanted an internal progress-bar display. I think gtkdialog has a progress bar, but I'm not sure of what the mechanism would be of feeding wget's output back. And, (again I'm not sure of the mechanism), is pause/resume possible?
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 10944
|
Posted: Mon 28 Jan 2008, 06:03 Post_subject:
|
|
I already done it and Barry is putting it in the next Dingo Alpha
http://www.murga-linux.com/puppy/viewtopic.php?p=167972#167972
It even seems to work . . .
The programs seem very similar
hope I haven't trod on any ones toes . . .
_________________ Experimental Unofficial Puppy 4.3.2 Built by Barry Kauler Woof Powered test NOW
|
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1168 Location: Queensland
|
Posted: Mon 28 Jan 2008, 06:37 Post_subject:
|
|
Lobster
Good work Ed, I decided to convert the original Xwget as Puppy 4 has not got tcl/TK.
muggins
I decided to go with the wget output in rxvt as it saves a lot of problems and code.
I'll look into a resume function as this would involve saving the settings to a temp file for recall.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 5648 Location: hobart
|
Posted: Mon 28 Jan 2008, 06:46 Post_subject:
|
|
Ian,
I was wondering if wget's progress could be monitored by parsing a log file, produced by:
wget -o log -c URL &
|
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1168 Location: Queensland
|
Posted: Mon 28 Jan 2008, 07:14 Post_subject:
|
|
I tried the -o option once but could only get the data in a text frame once the download was finished, this was in tcl/TK.
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 5293 Location: Perenjori, Western Australia
|
Posted: Mon 28 Jan 2008, 19:53 Post_subject:
|
|
I don't know if it is what you need, but MU recently posted a nice little commandline utility to monitor the tail of a file in a separate window. He posted it somewhere on this forum.
_________________ http://www.puppylinux.com/blog/
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13525 Location: Karlsruhe, Germany
|
Posted: Mon 28 Jan 2008, 21:34 Post_subject:
|
|
gtklogfileviewer
http://murga-linux.com/puppy/viewtopic.php?t=25477
Mark
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13525 Location: Karlsruhe, Germany
|
Posted: Mon 28 Jan 2008, 21:40 Post_subject:
|
|
wget http://pro-linux.de 2>test.txt
The progress-dots are sent to stderr by wget, so you must redirect stderr (the "2") to a file.
Then you might be able to tail it.
You can do a quicktest with
tail -f test.txt
if you replace pro-linux.de with the location of a huge file, like Windows Service Pack 2. (please do not use my servers for such tests )
I did not check it myself with such a huge file.
Mark
|
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1168 Location: Queensland
|
Posted: Mon 28 Jan 2008, 22:16 Post_subject:
|
|
Thanks Barry & Mark, there is plenty to look at.
I am fiddling around with a resume download idea at the moment but if I could redirect the stderr into another prog and use it to time a progress bar it might work or read from a file in a loop to drive the progess bar.
P.S. What the heck would we do with Windows Service Pack 2.
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13525 Location: Karlsruhe, Germany
|
Posted: Mon 28 Jan 2008, 23:23 Post_subject:
|
|
| Quote: | | P.S. What the heck would we do with Windows Service Pack 2. |
Don't know, it was just an idea to download a huge file without stressing our repositories too hard
Mark
|
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1168 Location: Queensland
|
Posted: Sun 03 Feb 2008, 20:59 Post_subject:
|
|
I have done an update of Xwget-6, it now has a resume function but no pause or progres bar yet.
It is also a .pet package so it is a one click install.
|
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1278 Location: Germany
|
Posted: Wed 16 Apr 2008, 11:09 Post_subject:
|
|
dear ian,
i've installed that one in 3.01 (don't know if there ist anything problematic).
i noticed, that after i've closed the app with the exit button, it is still in my process-list. shouldn't it be closed?!?
cheers
aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Lenovo 3000N200: 3-Boot: Win XP, Crunchbang 9.04.01, Homebrew based on 4.10
IBM a22m (PIII, 384 MB RAM): Homebrew based on 4.00
|
|
Back to top
|
|
 |
|