-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 21 February 2004 06:21 pm, Dario Lesca wrote: > Il dom, 2004-02-22 alle 00:03, Charles Howse ha scritto: > > Sooooo..., I uninstalled all that, re-installed the original rpm from > > http://torrent.dulug.duke.edu/btrpms/, and ran the command it reccomends > > from a shell, and I'm now downloading FC2-test-binary-i386 at 123.7 KB/s. > > Ok, thank, but ... this simple shell script is not a good idea? Well, as i said, I just installed bittorrent today, so I'm certainly no expert. Maybe someone else can provide more concise information. Are you using Mozilla? Does your script work? If it does, exactly what happens when you click a .torrent file? Seems like it should be fine if it works. You know what they say..."If it works, don't fix it." :-) > > ---------[start]--------- > #!/bin/bash > # Bit Torrent Get Files (d.lesca@xxxxxxxxxx) > # setup: > # 1) setup bittorrent.rpm file (http://torrent.dulug.duke.edu/btrpms/) > # 2) copy this script to /usr/local/bin/. > # 3) insert this into /etc/mailcap: > # application/x-bittorrent; /usr/local/bin/btget %s > # 4) reload your browser > # > > BTGET_DOWNLOAD_DIR=~ > BTGET_MAX_UPLOAD_RATE=350 > > # If you want to change the two value over set ... > test -r /etc/btget.conf && source /etc/btget.conf > test -r ~/.btgetrc && source ~/.btgetrc > > cd $BTGET_DOWNLOAD_DIR > > case "$1" in > http://|ftp://) btfile="--url $1" ;; # URL > "") echo "Usage: $0 {URL|file.torrent}"; exit 2 ;; > *) btfile="$1" ;; # .torrent file > esac > > xterm -e " > btdownloadcurses.py --max_upload_rate $BTGET_MAX_UPLOAD_RATE $btfile; > echo -e \"\nFinished ($?), Press any key to close ...\c\"; > read -n 1 a; > exit 0; > " > exit 0 > ---------[end]--------- > > -- > Dario Lesca <d.lesca@xxxxxxxxxx> - -- Charles Howse Jackson, TN GPG Fingerprint: 02ED 504D 91BD 7724 3571 1640 FD2F 95B0 1F51 30A8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAN/jc/S+VsB9RMKgRAtJ/AKCT8LODRONhbS67dAuNxTi1+mmpBACfQ050 rvfwTO2CSMEYFisafPpLbfU= =7HjR -----END PGP SIGNATURE-----