Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Oct 2003 21:18:18 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Turning off that bloody nagscreen on bittorrent!
Message-ID:  <8765j385xx.fsf@strauser.com>
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")
References:  <5.2.0.9.2.20031005220514.04415d00@pop.voyager.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable

At 2003-10-06T02:08:50Z, Dragoncrest <dragoncrest@voyager.net> 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-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8765j385xx.fsf>