tlf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tlf-devel] Logfile format


From: Thomas Beierlein
Subject: Re: [Tlf-devel] Logfile format
Date: Wed, 20 Nov 2013 07:21:52 +0100

Am Tue, 19 Nov 2013 08:54:59 -0500 (EST)
schrieb Jim Bruce <address@hidden>:

> I'm not sure if the version matters but I was using the 1.2 pre tlf
> version for ARRL SS phone this weekend and added notes in it. At a
> break I opened the raw logfile and it opened with notepad and I
> edited the log and removed the note (alt-n) entries. Upon restarting
> tlf it complained that the file was corrupt and wanted to make a
> backup which it did. It opens the log file and shows a correct
> section count but the scoring is now incorrect. 
> 
> What is the format/spacing between each data (ser#, section, time,
> etc) for each line for the logs? Is there a way to fix this as the
> log submission windows are now shorter. 
> 
> Thanks to Ed I was advised to use the latest 1.1.7. 
> 
> Thanks, 
> Jim/W3FA 
> 
> 

Hi Jim,

when you edit the log file keep an eye to the following:

- keep the line endings as line feed only as Ervin already suggested
- do not change any spacing from spaces to tabs or similar

Doing so, deleting whole lines should always be safe. 

For the tlf-1.1.x series the line length is always 81 characters, for
the 1.2.x always 88 characters (including linefeed).

The mentioned comment in src/makelogline.c is actual for the 1.1.x
series but misses the 7 characters for your frequency beginning from
column 81.

You can always safely convert a log file back to 1.1.x version by
cutting the last 7 characters from each line:

'cut -b 1-80 newformat.log > oldformat.log' should do the job.

One more hint: KEEP BACKUPS BEFORE YOU DO ANYTHING DO YOUR LOG BY HAND!

73, de Tom DL1JBE



-- 
"Do what is needful!"
Ursula LeGuin: Earthsea
--




reply via email to

[Prev in Thread] Current Thread [Next in Thread]