Re: ToDo item: switch logfile to database
When I first read the proposal to add a database to TLF, I must admit that I silently moaned an "Oh, NO!!" But if it makes your work easier ... :-) I'm too old for contesting, but that may change. ;-) On Thu, Dec 28, 2023, 9:47 AM Thomas Beierlein wrote: > It is true that the mentioned use of an external database adds some > complexity and problems. ... That makes maintenance much easier. >
Re: not1mm
Only Debian based distros are mentioned. I'm curious to know if this can be installed on Manjaro (Arch based). 73 Mike W0BTU
Re: What is the tlf future?
FWIW, I saw on a Manjaro board that Python 2 is still available. It basically no longer receives security updates. On a desktop Linux computer behind a NAT firewall (with any distro), I seriously doubt that this is a problem. My contesting days are likely over. But if I were to fire up my Linux Mint shack computer, I would likely run my older TLF as it was, and simply update country.dat. Mike W0BTU On Fri, Oct 14, 2022, 7:53 AM Csahok Zoltan wrote: > Hi Martin, > > You have probably experienced the Pyhton 2-to-3 switchover that caused a > number of troubles. > Since 2020 version 3 is the only active one and as far as see it's > reasonable stable. >
Re: [Tlf-devel] CTY-2603 Country Files - 16 February 2016
As always, we very much appreciate your updates! Thanks for all your hard work, Jim! :-) 73, Mike www.w0btu.com On Tue, Feb 16, 2016 at 8:58 AM, Jim Reisert AD1Cwrote: > The Country (CTY) Files were updated on 16 February 2016: > > http://www.country-files.com/cty-2603-16-February-2016/ [snip] ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CQ 160m rules, anyone written one?
Nate, I found out yesterday that your CQWW 160 CW rules file is more-or-less the same as the one I had! The uncommented lines were just in different places in yours and my rules files. :-) BTW, conditions on 160m both last night and tonight are the best that I have seen in several years. 73, Mike www.w0btu.com On Fri, Jan 29, 2016 at 3:01 PM, Nate Bargmann <n...@n0nb.us> wrote: > * On 2016 29 Jan 12:02 -0600, Mike Waters wrote: > > Thanks, Nate! I have an older version of tlf (not sure how to determine > the > > version) perhaps 3 years old. Any chance this rules file won't work? > > There is always a chance, of course. > ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CQ 160m rules, anyone written one?
Thanks, Nate! I have an older version of tlf (not sure how to determine the version) perhaps 3 years old. Any chance this rules file won't work? Thanks, Mike www.w0btu.com On Thu, Jan 28, 2016 at 7:02 PM, Nate Bargmannwrote: > It looks like this rules file will do the job for me in the upcoming CQ WW > 160m CW 'test. Of course, bugs will show under contest conditions! > ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CQ 160m rules, anyone written one?
Thanks! Version: tlf-1.2.0_pre4 73, Mike www.w0btu.com On Fri, Jan 29, 2016 at 12:12 PM, Thomas Beierlein <t...@forth-ev.de> wrote: > Hi Mike, > > Am Fri, 29 Jan 2016 12:01:23 -0600 > schrieb Mike Waters <mikew...@gmail.com>: > > > Thanks, Nate! I have an older version of tlf (not sure how to > > determine the version) > > it quite easy. Just run 'tlf -V'. It will tell you who it is. > > 73, de Tom > > > > perhaps 3 years old. Any chance this rules > > file won't work? > > > > Thanks, > > Mike > > www.w0btu.com > > > > On Thu, Jan 28, 2016 at 7:02 PM, Nate Bargmann <n...@n0nb.us> wrote: > > > > > It looks like this rules file will do the job for me in the > > > upcoming CQ WW 160m CW 'test. Of course, bugs will show under > > > contest conditions! > > > > > > > -- > "Do what is needful!" > Ursula LeGuin: Earthsea > -- > > > ___ > Tlf-devel mailing list > Tlf-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/tlf-devel > ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] TIME_OFFSET in logcfg.dat
Shouldn't the time offset be entered in cty.dat? Here's the line where I enter mine (Central Time) in that file: United States:04: 08: NA: 37.28:93.82: 6.0: K: The instructions are in the TLF-0.9.9 doc by PA0RCT; I think that's the latest TLF doc. 73, Mike www.w0btu.com On Tue, Jan 5, 2016 at 7:56 PM, Pierre Fogalwrote: > So, what's the purpose of this? I just discovered my RAC Winter contest > log is 5 hours off because I put TIME_OFFSET=5 into my logcfg.dat after I > came across it in the logcfg.dat example. It has a helpful comment of > > # > # # > # Time offset from UTC # > # # > # > > so I figured ... what the heck. > > Eastern standard time is 5 hours from UT. > > Clearly it was not the right thing to do. > > 73, > Pierre VE3KTB > ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CTY-2511 Country Files - 19 October 2015
The way you now have the website menus set up is perfect. Thanks again for all your hard work, Jim. 73, Mike www.w0btu.com On Mon, Oct 19, 2015 at 1:16 AM, Jim Reisert AD1Cwrote: > The Country (CTY) Files were updated on 19 October 2015: > > http://www.country-files.com/cty-2511-19-October-2015/ > > For installation instructions, start at: > > http://www.country-files.com/ > > Hover your mouse over the word Contest in the menu, then select the > software you are using. > [snip] ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] Where to get newest callmaster data file?
Thanks, Nate! The pre-Stew is in progress and I'll use the existing one. But I'll check it out for the next 160m CW contest. 73, Mike On Sat, Oct 17, 2015 at 9:31 PM, Nate Bargmann <n...@n0nb.us> wrote: > * On 2015 17 Oct 17:42 -0500, Mike Waters wrote: > > Thanks, but I already have the latest cty.dat file. The "callmaster" file > > contains only callsigns, one per line. And I didn't see anything like > that > > there. Did I miss something? > > It's likely based on the Super Check Partial database: > > http://supercheckpartial.com/ > > 73, Nate > > -- > > "The optimist proclaims that we live in the best of all > possible worlds. The pessimist fears this is true." > > Ham radio, Linux, bikes, and more: http://www.n0nb.us > > ___ > Tlf-devel mailing list > Tlf-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/tlf-devel > ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] Wiki
I think I know what they might be saying. The person who has control of a page or pages) can use Google AdSense to make a little money. I have several pages like that, on two web sites, on the dedicated LAMP server that we lease. You can see one of them at http://www.w0btu.com/classic_icom.html. That ad is vertical on the right side, and the ads change all the time. They can be horizontal or vertical, big or small. When a visitor clicks on one, then we make a few pennies. We make about $100 per year from both web sites, IIRC. But I know a guy locally where clicks on the ads on his site pays his monthly home mortgage payment! Here's the AdSense, if you want to sign up: http://www.google.com/adsense/start/. Those ads are probably on millions of web pages worldwide. I hope this helps explain things a little. 73, Mike www.w0btu.com On 01/05/2015 11:57 AM, Ervin Hegedüs wrote: The owner of wiki page sets the Google Ads source? Or how? ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CTY-2410 Country Files - 13 October 2014
Ok. I just assumed old meant the previous version of cty.dat. Next time I'll study readme.txt more carefully. :-) 73, Mike www.w0btu.com On Tue, Oct 14, 2014 at 6:56 AM, FS dh...@freenet.de wrote: Thats ok. TLF needs the old format. The link on AD1C's website is correct for TLF. 73 Fred On 10/14/2014 10:38 AM, Mike Waters wrote: I just noticed that the readme.txt in the cty-2410.zip file that I just downloaded says to use the cty.dat in the /old/ directory for TLF: [snip] *TLF http://home.iae.nl/users/reinc/TLF-0.2.html* Save CTY.DAT old/cty.dat to */usr/local/share/tlf* [snip] Should we not use the other (/cty.dat) for TLF? Or is that a typo? Thanks and 73, Mike www.w0btu.com http://www.w0btu.com On Tue, Oct 14, 2014 at 4:55 AM, Mike Waters mikew...@gmail.com mailto:mikew...@gmail.com wrote: Thanks again, Jim! Just in time for the Stew Perry this weekend. :-) 73, Mike www.w0btu.com http://www.w0btu.com On Mon, Oct 13, 2014 at 5:24 PM, Jim Reisert AD1C jjreis...@alum.mit.edu mailto:jjreis...@alum.mit.edu wrote: The Country (CTY) Files were updated on 13 October 2014: ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CTY-2410 Country Files - 13 October 2014
Thanks again, Jim! Just in time for the Stew Perry this weekend. :-) 73, Mike www.w0btu.com On Mon, Oct 13, 2014 at 5:24 PM, Jim Reisert AD1C jjreis...@alum.mit.edu wrote: The Country (CTY) Files were updated on 13 October 2014: ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CTY-2410 Country Files - 13 October 2014
I just noticed that the readme.txt in the cty-2410.zip file that I just downloaded says to use the cty.dat in the /old/ directory for TLF: [snip] *TLF http://home.iae.nl/users/reinc/TLF-0.2.html* Save CTY.DAT old/cty.dat to */usr/local/share/tlf* [snip] Should we not use the other (/cty.dat) for TLF? Or is that a typo? Thanks and 73, Mike www.w0btu.com On Tue, Oct 14, 2014 at 4:55 AM, Mike Waters mikew...@gmail.com wrote: Thanks again, Jim! Just in time for the Stew Perry this weekend. :-) 73, Mike www.w0btu.com On Mon, Oct 13, 2014 at 5:24 PM, Jim Reisert AD1C jjreis...@alum.mit.edu wrote: The Country (CTY) Files were updated on 13 October 2014: ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
[Tlf-devel] IARU rules?
Hello, What would be the rules and configuration for the IARU contest today for TLF? http://www.hornucopia.com/contestcal/weeklycont.php#5425 http://www.arrl.org/iaru-hf-championship Thanks, Mike www.w0btu.com ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CTY-2406 Country Files - 04 June 2014
Thanks again, Jim! We appreciate all your hard work on this! :-) 73, Mike www.w0btu.com On Wed, Jun 4, 2014 at 2:57 PM, Jim Reisert AD1C jjreis...@alum.mit.edu wrote: The Country (CTY) Files were updated on 04 June 2014: http://www.country-files.com/cty-2406-4-June-2014/ For installation instructions, start at: http://www.country-files.com/ [snip] ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
[Tlf-devel] Which version of cty.dat for CQ WW WPX contest?
Hello all, I see several versions in this file, and have read quite a bit on the web site. http://www.country-files.com/cty/download/cty-2403.zip But I can't tell which one to use for tlf. One has wpx in the file name, but reading the documentation, it seems its for a specific logging program rather than for this contest this weekend. Also, I see there's a wpx rules file in tlf /rules/, and I assume it's OK to use it as is? Thanks in advance, Mike www.w0btu.com ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] CQ 160-Meter CW Contest this weekend
I finally just started the contest, this seems to work fine. :-) Rules: # CONTEST=cqww160 LOGFILE=cqww160_2014.log CONTEST_MODE MY_COUNTRY_POINTS=2 MY_CONTINENT_POINTS=5 DX_POINTS=10 DX__SECTIONS MULT_LIST=arrldx_mults CABRILLO=CQWW160 # Thank you! 73, Mike www.w0btu.com On Thu, Jan 23, 2014 at 1:56 PM, Ervin Hegedüs - HA2OS airw...@gmail.comwrote: Hello Mike, On Wed, Jan 22, 2014 at 10:56:33PM -0600, Mike Waters wrote: Hello, Does anyone have the latest info on the required tlf config files and cty.dat (etc.) for the CQ 160-Meter CW Contest this weekend? http://www.hornucopia.com/contestcal/weeklycont.php#5064 I think Tlf doesn't support natively the CQ 160m contest. These are the similar rule files: - ARRL-10m DX stations uses serial as exchange - ARRL-DX DX stations uses power as exchange If you use any of that above, and DX stations gives the CQ zone, that should be use as exchange instead of serial or power. I think the multipliers are same as on CQ 160m... But in most cases, the organizers calculates the scores, it's not problem if you don't send the correct score :) 73, Ervin HA2OS ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] /QRP modifier
Ervin, On Mon, Jan 13, 2014 at 3:30 AM, Ervin Hegedüs - HA2OS airw...@gmail.comwrote: Anyway, the question is how should I (Tlf) know(s) about the power of station? (this applies not just for the Stew Perry, but more generally) In the case of the Stew Perry contests, there is NO way to know the power of the station during the contest. The only exchange besides the callsign is the grid. So we certainly cannot calculate the other station's power (even by the received signal strength, due to variations in antenna efficiency and propagation), even though we do know the approximate distance. Only after everyone's logs are sent in can the real, true score be calculated by the contest administrator's log checking software. This is clearly stated in rule 5 at http://www.kkn.net/stew/stew.rules.txt below: 5. QSO Points: The number of QSO points for each contact depends on the distance between the two stations. This is computed by taking the distance between the centers of the two grid squares. 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. QSO Points are multiplied by 2X if you work a low power station and 4X for working a QRP station. This is done based upon received logs and is computed automatically during the log checking process. Do not worry if your logging software does not compute the QSO points. Our automated log checking software does this. But what you have done in modifying tlf for the Stew is good, MUCH better than nothing, IMO. 73, Mike www.w0btu.com ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] Stew Perry review
I did use it, but after only 16 contacts I had to quit because I was too sick (influenza) to continue. But it seemed to work fine for me, and I look forward to using it for the three Stew Perry contests (and others) this year. Thanks again for all the help! 73, Mike www.w0btu.com On Wed, Jan 8, 2014 at 2:34 PM, Ervin Hegedüs - HA2OS airw...@gmail.comwrote: did anybody use the Tlf on Stew Perry? Could he make some small opinion about him experiences? ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] Tlf scoring for Stew Perry - final version
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. 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. Thank you, Ervin and Pat, for all your help! 73, Mike www.w0btu.com On Mon, Dec 23, 2013 at 10:59 AM, Pat Collins p...@linuxcolumbus.com wrote: Great Job Ervin, I'll run some tests with some of my old logs and see what it looks like. Pat On Mon, 23 Dec 2013 14:01:26 +0100 Ervin Hegedüs - HA2OS airw...@gmail.com wrote Hello OM's, looks like I've finished the Stewperry branch, you can catch it from here: ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] Tlf scoring for Stew Perry
Wow! This is so exciting. I'll test this just as soon as I am able to. Thank you! 73, Mike www.w0btu.com On Sat, Dec 14, 2013 at 6:22 PM, Ervin Hegedüs airw...@gmail.com wrote: Hello all OM's, today evening I just knocked the patch together for Stew Perry contest, you can find here: https://github.com/airween/tlf/tree/stewperry This is a very-very-very beta release, I _must_ to clarify few things, but if anybody wants to see and make some opinion, I appreciate that. Here is the zipped version: https://github.com/airween/tlf/archive/stewperry.zip There IS NOT any error check, for e.g. if you don't set your QRA, the tlf - I think - will crash. Here is the rule file: rules/stewperry CONTEST=stewperry LOGFILE=stewperry.log CONTEST_MODE CABRILLO=UNIVERSAL NO_RST# is this important? F1=+++CQ TEST DE--- % ++TEST-- F2=@ DE % F3=CFM UR ++5NN --# F4=TU 73 F5= @ F6=% F7=@ SRI QSO B4 GL F8=AGN F9= ? F10= QRZ? F11= PSE K F12=TEST RSGB % % CQ_TU_MSG= # usually I've set up this as empty SP_TU_MSG=TU 5NN # and logcfg.dat: CALL=HA2OS LOGFILE=stewperry.log CONTEST=stewperry SCOREWINDOW #RADIO_CONTROL #RIGSPEED=4800 #RIGMODEL=209 #RIGPORT=/dev/ttyS0 CWSPEED=28 CWBANDWIDTH=500 NETKEYER NETKEYERPORT=6789 NETKEYERHOST=127.0.0.1 MYQRA=JN97 Please check the settings in your configurations before you test it. 73, Ervin HA2OS ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] Tlf scoring for Stew Perry?
Hello Ervin, I didn't look up the details on the Maidenhead locator system grids. I think you are correct, and I'm the one who is wrong and confused here. :-) 73, Mike www.w0btu.com On Sat, Dec 14, 2013 at 2:37 PM, Ervin Hegedüs airw...@gmail.com wrote: 2. Check that the first two characters are uppercase letters a...z may be I'm confused, but I don't understand, why do you want to accept all letters (A..Z) for first two place...? As I read, there could be only A..R: http://en.wikipedia.org/wiki/Maidenhead_Locator_System 'The first pair (a field) encodes with base 18 and the letters A to R.' I'm wrong? ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel
Re: [Tlf-devel] Tlf scoring for Stew Perry?
Hello Ervin, Thank you very much for your help. I installed libhamlib-dev and libhamlib-utils apt-get and tried this. Comments below. On Mon, Dec 9, 2013 at 4:26 PM, Ervin Hegedüs airw...@gmail.com wrote: may be you don't need to reverse any Pascal code :) Two of the three links I posted were C code, only one was Pascal. I didn't try them, ... Here is a sample code: ==%== #include stdio.h #include hamlib/rotator.h int main(int argc, char ** argv) { double s1long, s1lat, s2long, s2lat; char s1qra[] = EM37cg; char s2qra[] = jn97om; double dist = 1000, az = 90; locator2longlat(s1long, s1lat, s1qra); locator2longlat(s2long, s2lat, s2qra); printf(W0BTU coords: lat: %f lon: %f\n, s1lat, s1long); printf(HA2OS coords: lat: %f lon: %f\n, s2lat, s2long); qrb(s1long, s1lat, s2long, s2lat, dist, az); printf(distance between W0BTU and HA2OS: %f km, dir: %f\n, dist, az); return 0; } ==%== You can compile that code with this command: gcc -Wall qrasrc.c -lhamlib It didn't work. Here is the gcc output: mike@mike-ubuntu:~/local/share/tlf/tlf-devel$ sudo gcc -Wall gridtest.c -lhamlib [sudo] password for mike: gridtest.c:1:1: error: expected identifier or ‘(’ before ‘==’ token In file included from /usr/include/stdio.h:75:0, from gridtest.c:2: /usr/include/libio.h:334:3: error: unknown type name ‘size_t’ /usr/include/libio.h:338:67: error: ‘size_t’ undeclared here (not in a function) /usr/include/libio.h:366:62: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:375:6: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:497:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’ In file included from gridtest.c:2:0: /usr/include/stdio.h:320:35: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:326:47: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:338:20: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:345:10: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:387:44: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:391:45: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:663:11: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:666:9: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:676:8: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:706:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ /usr/include/stdio.h:712:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’ /usr/include/stdio.h:734:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ /usr/include/stdio.h:736:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’ gridtest.c:22:1: error: expected identifier or ‘(’ before ‘==’ token and run: $ ./a.out Since it didn't compile, there was no a.out to try. gridtest.c is attached. Do you have any suggestions? 73, Mike www.w0btu.com W0BTU coords: lat: 37.270833 lon: -93.791667 HA2OS coords: lat: 47.520833 lon: 19.208333 distance between W0BTU and HA2OS: 8485.799136 km, dir: 40.00 These values are the short path info's. Please note, this is just an after-a-fast-explore snippet, there isn't any error handling. 73, Ervin HA2OS On Sun, Dec 08, 2013 at 08:24:55PM -0600, Mike Waters wrote: Thanks to Pat's help via e-mail, I was able to get tlf working for the ARRL 160. I have never used tlf before, and love it. I noticed that tlf's constant score update feature adds to the enjoyment of the contest as well as providing some incentive to keep going when a body gets tired. :-) I know that tlf can be used in the Stew Perry for logging, but will not display the score. I would really, REALLY like to see it display the running score for the Stew (at the end of this month), which is based on the distance between grid squares. I just did some searching and found some C source that I believe could be used for that here: http://dev.unclassified.de/en/source/locator-distance http://dev.unclassified.de/en/source/maidenheadlocator There are links on those pages that appear to lead to more useful code, including Pascal, which I used to program in years ago. I've done very little in C. I know nothing about the C source structure of tlf, and I was wondering if anyone could steer us in the right direction. I would appreciate any advice. 73, Mike www.w0btu.com ==%== #include stdio.h #include hamlib/rotator.h int main(int argc, char ** argv) { double s1long, s1lat, s2long, s2lat; char s1qra[] = EM37cg; char s2qra[] = jn97om; double
Re: [Tlf-devel] Tlf scoring for Stew Perry?
All I think I need now is a C algorithm that does the following with the grid square input: 1. Checks that the length of the grid square variable is exactly four characters long 2. Check that the first two characters are uppercase letters a...z 3. Check that the last two characters are numbers 0...9 4. Gracefully asks for the input again if the above conditions are not met. 73, Mike www.w0btu.com ___ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel