Package: ktorrent Version: 2.2.0.dfsg.1-1 Tags: patch Followup-For: Bug #432655
I've confirmed that ktorrent 2.2 provides torrent info for seeds and downloads regardless of gui display (as it should). ktshell display is, however, still mangled - this is caused by two problems: 1) empty lines are output for the "Time left" field (see bug #432433) 2) the number of lines per torrent record has changed from 10 to 13 I've attached a patch that fixes these issues, and also displays the extra info. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ktorrent depends on: ii kdelibs4c2a 4:3.5.7.dfsg.1-1 core libraries and binaries for al ii libavahi-client3 0.6.19-2 Avahi client library ii libavahi-common3 0.6.19-2 Avahi common library ii libc6 2.5-9+b1 GNU C Library: Shared libraries ii libgcc1 1:4.2-20070627-1 GCC support library ii libgeoip1 1.3.17-1.1 A non-DNS IP-to-country resolver l ii libgmp3c2 2:4.2.1+dfsg-4 Multiprecision arithmetic library ii libice6 1:1.0.3-2 X11 Inter-Client Exchange library ii libpng12-0 1.2.15~beta5-2 PNG library - runtime ii libqt3-mt 3:3.3.7-5 Qt GUI Library (Threaded runtime v ii libsm6 2:1.0.3-1 X11 Session Management library ii libstdc++6 4.2-20070627-1 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii zlib1g 1:1.2.3.3.dfsg-3 compression library - runtime Versions of packages ktorrent recommends: ii kdebase-data 4:3.5.7-1 shared data files for the KDE base -- no debconf information
136c136 < done|$ktorrentp getTorrentInfo %1` ) --- > done|$ktorrentp getTorrentInfo %1|sed s/^$/-/` ) 143c143 < let tors[$A]=$i/10 --- > let tors[$A]=$i/13 146,147c146,149 < echo -n "Time Left:${torinfo[$i+7]} " < echo "Peers: ${torinfo[$i+8]}" --- > echo "Time Left:${torinfo[$i+7]} " > echo -n "Peers: ${torinfo[$i+8]} " > echo -n "Seeders: ${torinfo[$i+11]} Leechers: > ${torinfo[$i+12]} " > echo "Share Ratio: ${torinfo[$i+10]} " 151c153 < let i=$i+10 --- > let i=$i+13