From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:49:57 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 3C1E416A4B3 for ; Mon, 6 Oct 2003 11:49:57 -0700 (PDT) Received: from out4.mx.nwbl.wi.voyager.net (out4.mx.nwbl.wi.voyager.net [169.207.3.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 110CE43FE5 for ; Mon, 6 Oct 2003 11:49:54 -0700 (PDT) (envelope-from dragoncrest@voyager.net) Received: from mail5.mx.voyager.net (mail5.mx.voyager.net [216.93.66.204]) by out4.mx.nwbl.wi.voyager.net (Postfix) with ESMTP id 69DEAC2B71; Mon, 6 Oct 2003 13:49:53 -0500 (CDT) Received: from localhost.localdomain (nm5.mx.lnng.mi.voyager.net [216.93.38.231])h96InqpM079126; Mon, 6 Oct 2003 14:49:53 -0400 (EDT) Message-Id: <200310061849.h96InqpM079126@mail5.mx.voyager.net> From: "Dragoncrest" To: Kirk Strauser , freebsd-questions@freebsd.org X-Mailer: CoreCommMail X-IPAddress: 209.153.128.248 Date: Mon, 6 Oct 2003 14:49:52 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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 18:49:57 -0000 Actually, the only popup nag screen it ever gets to is loading the browser then seems to gag there. Not sure why, but it does. Probubly why I haven't been able to get it to be quiet by clicking on the dialog box. > 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 = join(split(argv[0])[0], 'donated') > if not exists(p) and long(time()) % 3 == 0: > open_new('http://bitconjurer.org/BitTorrent/donate.html') > dlg = wxMessageDialog(d.frame, 'BitTorrent is Donation supported software. ' + > > Now, it appears that the "p" variable will end up looking something like: > > bdonatedtdonatedddonatedodonatedwdonatedndonatedldonatedodonatedadonatedddonatedgdonatedudonatedidonated.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? > -- > Kirk Strauser > > "94 outdated ports on the box, > 94 outdated ports. > Portupgrade one, an hour 'til done, > 82 outdated ports on the box." >