Re: Missing K/s rate on download of 13MB file

2006-05-14 Thread J. Grant


On 14/05/06 00:13, Steven M. Schweda wrote:

From: Hrvoje Niksic


The --.-- current download rate means that the download is currently
not progressing.  [...]


   Looking at the code in src/progress.c (version 1.10.2), it would
appear that --.--K/s is emitted when either the time
(hist-total_time) or the byte count (hist-total_bytes) is zero, rather
than just when the time is zero.  This precludes emitting a 0.0 rate,
which would be more informative, in my opinion, than --.--K/s.


I agree, in my view the actual rate should be displayed even when 0.0 
K/s, the --.--K/s presently is open to interpretation.  What do 
people think of updating to display like that as Steven suggests?


Please include my email address in any replies.

Kind regards
JG
--
Homepage: http://jguk.org/
Blog: http://jguk.org/blog.rss
Radio: http://jguk.org/#radio


Re: Missing K/s rate on download of 13MB file

2006-05-14 Thread J. Grant

Hi!

On 13/05/06 23:48, Hrvoje Niksic wrote:

J. Grant [EMAIL PROTECTED] writes:


The --.-- current download rate means that the download is
currently
not progressing.  The ETA calculation is based on the average download
rate, and is always available.


is the K/s rate not the average rate ?


No, it's the current rate.


Could an extra value be added which lists the average rate? average 
rate: xx.xx K/s ?


Please include my email address in any replies.

Kind regards
JG
--
Homepage: http://jguk.org/
Blog: http://jguk.org/blog.rss
Radio: http://jguk.org/#radio


[Fwd: Bug#366434: wget: Multiple 'Pragma:' headers not supported]

2006-05-14 Thread Noèl Köthe
Hello,

a forwarded report from http://bugs.debian.org/366434

could this behaviour be added to the doc/manpage?

thx.

 Package: wget
 Version: 1.10.2-1

   It's meaningful to have multiple 'Pragma:' headers within an http
 request, but wget will silently issue only a single one of them if
 they are specified within separate arguments.  For example,
 
 [EMAIL PROTECTED] /tmp]$ wget -U 'NSPlayer/4.1.0.3856' --header='Pragma: 
 no-cache,rate=1.00,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0'
  --header='Pragma: xClientGUID={c77e7400-738a-11d2-9add-0020af0a3278}' 
 --header='Pragma: xPlayStrm=1' --header='Pragma: stream-switch-count=1' 
 --header='Pragma: stream-switch-entry=:1:0' 
 http://wms.scripps.com:80/knoxville/siler/siler.mp3 
 
   ... doesn't work, and inspection with ethereal reveals that wget is
 only sending the last 'Pragma:' header given.  Compressing all the
 'Pragma' directives into a single header makes the fetch work:
 
 [EMAIL PROTECTED] /tmp]$ wget -U 'NSPlayer/4.1.0.3856' --header='Pragma: 
 no-cache,rate=1.00,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0,xClientGUID={c77e7400-738a-11d2-9add-0020af0a3278},xPlayStrm=1,stream-switch-count=1,stream-switch-entry=:1:0'
  http://wms.scripps.com:80/knoxville/siler/siler.mp3

-- 
Noèl Köthe noel debian.org
Debian GNU/Linux, www.debian.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: Missing K/s rate on download of 13MB file

2006-05-14 Thread Hrvoje Niksic
J. Grant [EMAIL PROTECTED] writes:

 Could an extra value be added which lists the average rate? average
 rate: xx.xx K/s ?

Unfortunately it would have problems fitting on the line.


Re: Missing K/s rate on download of 13MB file

2006-05-14 Thread J. Grant

Hi,

On 14/05/06 21:26, Hrvoje Niksic wrote:

J. Grant [EMAIL PROTECTED] writes:


Could an extra value be added which lists the average rate? average
rate: xx.xx K/s ?


Unfortunately it would have problems fitting on the line.


Perhaps the progress bar would be reduced?

or the default changed to be the average rate?

or if neither of those are suitable, could a conf file setting be added 
so we can switch between average rate, and current rate?


Please include my email address in any replies.

Kind regards
JG