Pat, Mike, thanks for the remarks.
Mike: you're right, when you type the QRA, and press enter, then doesn't happen anything - that fixed Pat: you're also right, the Tlf QRB() function gives 0 as distance, when the country is same as your own. And that function uses global variables, and called many times when you type the callsign - so, that variables had been overwritten, and that's the reason why you get wrong qrb. (I hope) I fixed all problems above, you can checkout my stewperry branch from my github repo: https://github.com/airween/tlf.git or grab the zip: https://github.com/airween/tlf/archive/stewperry.zip I'm really-really sorry for the awkwardness. Hope you can use this new version, 73, Ervin HA2OS On Sat, Dec 28, 2013 at 12:09:46PM -0500, Pat Collins wrote: > I sort of have it working. > > Bugs > 1. Doesn't score points for your country. > 2. Scoring i wrong, For example > EN80 to CN99 = 3 points > EN80 to IO82 = 13 points > > Rules say: > Count a minimum > of one point per QSO and an additional point for every 500 kilometers > distance. For example, a QSO with a station 1750 kilometers away will > count for 4 QSO points. No additional distance for long path is allowed. > > Based on that > distance points > < 499 1 > 500 - 999 2 > 1000 - 1499 3 > 1500 - 1999 4 > ... > > Pat > > On Sat, 28 Dec 2013 09:03:00 +0100 Ervin Hegedüs - HA2OS <airw...@gmail.com> > wrote > > > Hi Mike, > > > > > > On Fri, Dec 27, 2013 at 06:08:10PM -0600, Mike Waters wrote: > > > I finally compiled and installed this in ~/local/share/tlf-stewperry/. > > > (tlf > > > executable is in ~/local/bin/. All I have to do now is remember how where > > > the config files go. > > > > uhm, what is in ~/local/share/tlf-stewperry/? Could you attach an > > output of "ls -l ~/local/share/tlf-stewperry"? > > > > > I think the rules file goes in ~/local/share/tlf-stewperry/ but I'm not > > > quite sure where logcfg.dat goes. I guess I can just look at the previous > > > installation. > > > > ah, I think (but I'm not sure) you want to install the tlf to > > yout $HOME, but some files installed to unknown directorys... > > > > I think that'll help to you if you read the first mail what I > > sent after I published the first release of Stew Perry patch: > > > > http://lists.nongnu.org/archive/html/tlf-devel/2013-12/msg00071.html > > > > There are the logcfg.dat and a stewperry rule files, hope that > > will helps you. > > > > 73, > > > > > > Ervin > > HA2OS > > > > -- > > I � UTF-8 > > > > _______________________________________________ > > Tlf-devel mailing list > > Tlf-devel@nongnu.org > > https://lists.nongnu.org/mailman/listinfo/tlf-devel > > > > -- I � UTF-8 _______________________________________________ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel