TRLog
[Top] [All Lists]

Fw: [TRLog] Function key customization problems

Subject: Fw: [TRLog] Function key customization problems
From: dl2zav@darc.de (Udo DL2ZAV)
Date: Thu, 17 May 2001 19:47:27 +0200

-----Ursprüngliche Nachricht-----
Von: Udo DL2ZAV <dl2zav@darc.de>
An: Jim Smith <jimsmith@home.com>
Gesendet: Mittwoch, 16. Mai 2001 21:04
Betreff: Re: [TRLog] Function key customization problems


What happens when you call TR from in your case D:\HamRadio\TRLog\Log as the
working directory is this:
1. TR starts up and automatically looks for a file named stdcfg.dat
2. TR finds D:\HamRadio\TRLog\stdcfg.dat
3. TR reads in your personal default settings from there.
4. TR looks for a config file in the working directory.
5. TR finds D:\HamRadio\TRLog\Log\ARI01.cfg
6. TR looks for a CONTEST = ... statement
7. TR finds CONTEST = ARI
8. TR sets everything up to the pre-programmed rules of the ARI contest
(RST+QSO-nr, domestic mults, etc., maybe also assigns something to F7)
OVERRIDING any previous settings.

So in your case, you need to put a line like
INPUT CONFIG FILE = D:\HamRadio\TRLog\stdcfg.dat (which will re-read
settings from stdcfg.dat)
or something like INPUT CONFIG FILE = D:\HamRadio\TRLog\mykeys.dat (which
will read in settings from a file mykeys.dat - you could even set up
different ari.key, wae.key, cqww.key and so on)
into your ARI01.cfg (not into another file) AFTER the CONTEST = ...
statement. There is no other way for it than loading ARI01.cfg into an
editor.
Then

9. TR will look for any INPUT CONFIG FILE = ... statement
10. TR will read in those settings (no more Ctrl-V necessary) you have
pre-defined
11. TR looks for any other settings changed online with Ctrl-J and Alt-W

In every case, any statement processed overrides previous settings.

-----Ursprüngliche Nachricht-----
Von: Jim Smith <jimsmith@home.com>
>
> logcfg.dat contains nothing but the following line
> INPUT CONFIG FILE = D:\HamRadio\TRLog\stdcfg.dat
>
You can remove that D:\HamRadio\TRLog\logcfg.dat. As you don't operate your
contests from the D:\HamRadio\TRLog\ program directory but from
D:\HamRadio\TRLog\Log, TR will never use that logcfg.dat.

> stdcfg.dat contains all of my unchanging configuration info including
> function key messages and function key labels.
This is quite OK.
>
> This has been working well for me until the recent ARI contest.  I did
> the usual contest setup, selecting ARI.  When I started operating, I
> found the function key messages had changed from what I had programmed,

> I have the one line logcfg.dat described above in the TRLog folder.
>
> I have my stdcfg.dat described above in the TRLog folder.
>
> I have the ARI01.cfg file created by TRLog (I told it to call it ARI01)
> in the TRLog\Log folder.
>
> Path statements, etc., are set up so everything works.
Everything OK so far.
>
> I don't see any function key assignments in ARI01.cfg (other than the
> ones I put in there during the contest with ALT-P).
>
> I presume that the line in ARI01.cfg which says CONTEST = ARI invokes
> something in tr.exe which, along with setting up the scoring system,
> programs the function keys.
exactly.
>
> So, is the following right?
>
> tr.exe reads the contents of logcfg.dat followed by the contents of
No. First stdcfg.dat, then ARI01.cfg
> stdcfg.dat file pointed to by INPUT CONFIG FILE = ....  Then, because tr
only if that line were in ARI01.cfg
> was invoked from an empty \log folder and a contest was selected, in
> this case ARI, it reads the contents of the resulting .cfg file
No. TR looks for any config files in the working directory. If there is only
one, that one is processed. If there is more than one, you will be presented
a menu to select from.
> (ARI01.cfg) in the \log folder.  The CONTEST = ARI line in the .cfg file
> sets up the scoring method, invokes a table of Italian provinces and
> programs some of the F Keys, overwriting the F Key assignments in
> stdcfg.dat, all within tr.exe.
>
> I don't see any .dom files that look like they have anything to do with
> ARI.
There isn't one yet. TR simply uses WYSIWYG.
Roberto, I2WIJ, if you are reading this, do you have a list of Italian
provinces at hand?
>
> The 6.56 manual says to "look in the file FCONTEST.PAS to see how the
> program configures itself" which I would love to do but I don't seem to
> have received this file.  If this is the source code for tr I can
> certainly understand why it isn't distributed.
fcontest.pas is contained in my all658.zip
>
> Anyway, it's starting to look like stdcfg.dat, while a good idea, isn't
> going to work for me and that I should create a similar file and invoke
> it with CTRL-V after the contest setup has created the (in this case)
> ARI01.cfg file in \log.
This should be possible, but you will have to repeat this step whenever you
restart the program.

Hope this helps a bit.

Tree, just an idea:
How about an option on Ctrl-J that would allow to type in a single line
statement into the active config file? This would eliminate the need to exit
the program and edit the cfg file for settings not contained on the Ctrl-J
menu.

--
73,
Udo

dl2zav@darc.de

Ich funke mit TR-Log von N6TR.
TR-Log-Online-Home-Page in Deutsch: www.trlog.onlinehome.de






--
FAQ on WWW:               http://www.contesting.com/FAQ/trlog
Submissions:              trlog@contesting.com
Administrative requests:  trlog-REQUEST@contesting.com
Problems:                 owner-trlog@contesting.com
Feature Wishlist:         http://web.jzap.com/n6tr/trwish.html


<Prev in Thread] Current Thread [Next in Thread>