From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 19:18:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9A4816A4C3 for ; Sun, 5 Oct 2003 19:18:27 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6137843F3F for ; Sun, 5 Oct 2003 19:18:26 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.strauser.com (pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h962IOmD075432 for ; Sun, 5 Oct 2003 21:18:25 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-questions@freebsd.org References: <5.2.0.9.2.20031005220514.04415d00@pop.voyager.net> From: Kirk Strauser Date: Sun, 05 Oct 2003 21:18:18 -0500 In-Reply-To: <5.2.0.9.2.20031005220514.04415d00@pop.voyager.net> (dragoncrest@voyager.net's message of "Sun, 05 Oct 2003 22:08:50 -0400") Message-ID: <8765j385xx.fsf@strauser.com> Lines: 35 X-Mailer: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: Turning off that bloody nagscreen on bittorrent! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 02:18:28 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2003-10-06T02:08:50Z, Dragoncrest writes: > Anyone know if there's a special switch or something on the Freebsd > BitTorrent port or some way to go inside the python script and shut off > that bloody nag stuff he's got built into his new version 3.3? Here's my guess: Look at btdownloadgui.py near line 265. You'll see something like: def next(params, d, doneflag): try: p =3D join(split(argv[0])[0], 'donated') if not exists(p) and long(time()) % 3 =3D=3D 0: open_new('http://bitconjurer.org/BitTorrent/donate.html') dlg =3D wxMessageDialog(d.frame, 'BitTorrent is Donation su= pported software. ' + Now, it appears that the "p" variable will end up looking something like: bdonatedtdonatedddonatedodonatedwdonatedndonatedldonatedodonatedadonate= dddonatedgdonatedudonatedidonated.donatedpdonatedy ("btdownloadgui.py" with "donated" inserted between each character). If a file by that name exists (what directory? I have no idea!), then you won't get the nag screen. Alternatively, would it be so hard to click "Yes, I've donated" and let the program create the file itself? =2D-=20 Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/gNDw5sRg+Y0CpvERAuheAKCTvFMoFSmEV6ygZxd2hpNX5xe0FQCdFRvJ wivLxMh45eJnyBHacPzzPyA= =+/+Z -----END PGP SIGNATURE----- --=-=-=--