I imagine this has already been suggested or even done, but I couldn't find any references to it anywhere. Anyway, I was wanting to have wget work with xterm to display its download progress in the xterm titlebar. I pulled together a little patch, which seems to do the trick, but no doubt someone who actually knows wget could make it much prettier. Anyway, the patch is at http://rhowe.sfarc.net/files/wget-1.7-xtermsupport-0.99.diff.gz There's also a screenshot showing the effect: http://rhowe.sfarc.net/files/screenshot4.jpg (bottom left corner) The only thing I missed out in the patch is an addition to the --help text and the other docs. I'm not subscribed to the list, so if this gets any replies could I be CC'ed? Thanks. There are some things I don't like about the way I've done things but I figured it would take me far longer to make it elegant than someone who knows what they're doing :) It took me about an hour to work out where I needed to insert my code and actually get it working! Add another 30mins to an hour to check it all works, fix probs, wrap it all up etc and I figured I'd spent long enough on it :) Anyway, there's a patch. See what you think. I had to change print_percentage() slightly, but it shouldn't affect anything. (made it return the percentage as an int) --Russell Howe [EMAIL PROTECTED]
