Browse Source

Documentation / Updates in preparation of 0.5.0 release

master
Fabian Kurz 4 years ago
parent
commit
b1c241d97e
  1. 7
      CHANGELOG
  2. 6
      Makefile
  3. 58
      README
  4. 10
      RELEASENOTES
  5. 1361
      clubs/hsc.sql
  6. 26
      config
  7. 98
      doc/index.html

7
CHANGELOG

@ -1,13 +1,14 @@
2019-Jul-31: Version 0.5.0
-------------------------------------------------------------------------------
- LoTW download: Show list of confirmed contacts.
- LoTW download: Show list of confirmed contacts after import.
- Usability: Flush keyboard input buffer frequently during blocking operations
(e.g. scrolling) to avoid unexpected behaviour (such as further scrolling
after PgUp/Dwn was released)
- Include a minimal DX cluster / bandmap tool.
- Support for terminal window sizes beyond 80x25. Additional vertical size
allows to show more QSOs in the log, horizontal size may be used for the
bandmap / DX cluster.
allows to show more QSOs in the log, horizontal size will be used for the
bandmap / DX cluster (if configured)
- Include docs in the release tarball and install it to share/doc/yfklog
- Remove GNUisms from Makefile (tnx KC3NTG)
2019-Jun-30: Version 0.4.0

6
Makefile

@ -10,6 +10,7 @@ install:
sed 's^prefix="/usr"^prefix="$(DESTDIR)"^g' yfk > yfk2
chmod 0755 yfk
install -d $(DESTDIR)/share/yfklog/
install -d $(DESTDIR)/share/doc/yfklog/doc/
install -d $(DESTDIR)/share/yfklog/labels/
install -d $(DESTDIR)/bin/
install -m 0755 yfk2 $(DESTDIR)/bin/yfk
@ -19,6 +20,7 @@ install:
install -m 0444 config $(DESTDIR)/share/yfklog/
install -m 0444 p.png $(DESTDIR)/share/yfklog/
install -m 0444 *.lab $(DESTDIR)/share/yfklog/labels/
install -m 0444 doc/* $(DESTDIR)/share/doc/yfklog/doc/
rm -f yfksubs2.pl
rm -f yfk2
@ -40,6 +42,7 @@ dist:
rm -rf releases/yfklog-$(VERSION)
mkdir yfklog-$(VERSION)
mkdir yfklog-$(VERSION)/clubs/
mkdir yfklog-$(VERSION)/doc/
mkdir yfklog-$(VERSION)/onlinelog/
cp yfk yfksubs.pl config cty.dat AUTHORS CHANGELOG db_*.sql *.sqlite \
COPYING Makefile\
@ -48,6 +51,9 @@ dist:
cp onlinelog/README yfklog-$(VERSION)/onlinelog
cp onlinelog/search.php yfklog-$(VERSION)/onlinelog
cp onlinelog/test.txt yfklog-$(VERSION)/onlinelog
cp doc/*.html yfklog-$(VERSION)/doc
cp doc/*.png yfklog-$(VERSION)/doc
cp doc/*.jpg yfklog-$(VERSION)/doc
tar -zcf yfklog-$(VERSION).tar.gz yfklog-$(VERSION)
mv yfklog-$(VERSION) releases/
mv yfklog-$(VERSION).tar.gz releases/

58
README

@ -4,61 +4,23 @@ YFKlog Version 0.5.0 - A general purpose Ham Radio Logbook
1. Project Description
----------------------
YFKlog is a general purpose logbook to keep track of amateur
radio contacts. This is Version 0.5.0, released on July 31, 2019.
radio contacts. This is Version 0.5.0, released on August 3rd, 2019.
The key characteristics are:
- Console based, bloat-free text interface.
- database backend: MySQL or SQLite3 (recommended)
- Database backend: MySQL or SQLite3 (recommended)
- Unlimited number of logs manageable
- ADIF Import/Export
- High Quality QSL label printing with LaTeX
- basic award functions plus statistics (DXCC, WAZ, WPX etc).
- uses K1EA's cty.dat
- Hamlib support to get frequency/mode from rig
- basic LOTW import/export support.
- Basic award functions plus statistics (DXCC, WAZ, WPX etc).
- Uses "cty.dat" country files
- Hamlib support to query frequency and mode from a transceiver
- LoTW import and export
- minimalistic DX cluster bandmap
2. Project Website, Documentation
----------------------------------
The latest version can be found at: http://fkurz.net/ham/yfklog.html
The latest version can be found at: https://fkurz.net/ham/yfklog.html
A manual describing most functions of YFKlog is located at:
http://fkurz.net/ham/yfklog/doc/
3. System requirements
----------------------
YFKlog was developed on Mandrake Linux 9.2, Debian Sarge
and FreeBSD 5.3 with Perl v5.8.5.
It requires the Perl modules:
(- strict)
- DBI - Database
- Curses - console screen handling
- Net::FTP - upload of searchable onlinelog
- POSIX - acos() function for distance and direction
- Hamlib - optional for Hamlib.
The database can either be SQLite3 or MySQL. SQLite is probably the better
and easier choice for most users. See 'INSTALL' and the manual for hints to set
up YFKlog.
For generating QSL-labels, pdflatex with the 'geometry' package is
needed.
YFKlog was designed to run in a console with at least 80x24
characters. It will scale vertically, e.g. if you're running
it in a console with 80x50 characters, you will see more rows
of your log; excessive terminal width is not used.
5. Installation
---------------
See INSTALL and RELEASENOTES
6. Update from older version
----------------------------
See RELEASENOTES.
If you have any suggestions, feature requests etc, don't hesitate a
moment and send me a mail (mail@fkurz.net) or contact me via ICQ (169955833).
A manual describing the setup process and most functions of YFKlog is
located at: https://fkurz.net/ham/yfklog/doc/

10
RELEASENOTES

@ -1,5 +1,7 @@
RELEASENOTES for YFKlog 0.4.0
==============================
RELEASENOTES for YFKlog
=======================
(This file was last updated for version 0.3.2)
To update from an older version, just replace all files of the old
YFKlog-version with the new ones and follow these instructions:
@ -77,7 +79,3 @@ start with a fresh config file. It'll automatically be created on the first
run.
The SQLite database file will also be searched for in ~/.yfklog/, so move/copy
it there if you used SQLite.
If you are encountering any problems, don't hesitate to ask me via e-Mail
(mail@fkurz.net) or ICQ (169955833).

1361
clubs/hsc.sql

File diff suppressed because it is too large Load Diff

26
config

@ -1,5 +1,6 @@
##############################################################################
# Config file for YFKlog.
# Config file for YFKlog. See https://fkurz.net/ham/yfklog/doc/ or
# /usr/[local/]share/doc/yfklog/doc/index.html for details.
#
# There are two different kinds of settings, MANDATORY settings without which
# the program will NOT WORK and OPTIONAL settings which you might want to
@ -115,7 +116,7 @@ ftpdir=/logs
# (O) Liddish callsign addidions which have to be removed, so the DXCC and
# Prefix can be properly determined. If you log stations with their proper
# calls (/QRP is not a part of the call!), don't bother anyway.
# calls (/QRP is not a part of the call), don't bother anyway.
lidadditions=^QRP$|^LGT$|^\d{2,99}$
@ -203,8 +204,23 @@ browser=firefox
colors=1
#
# Wether we should use the Ham::Callsign::DB class to look up data to
# (O) Whether we should use the Ham::Callsign::DB class to look up data to
# fill in QSO information with FCC and/or QRZ lookup information
#
usehamdb=0
# (O) lotwlocation: List of station locations for LoTW, in the format
# CALLSIGN:location. Has to match your definitions in the tqsl program.
#lotwlocation=
# (O) lotwuser: LoTW web user name to download reports
#lotwuser=
# (O) lotwpass: LoTW web password
#lotwpass=
# (O) dxchost: DX cluster hostname (e.g. foc.dj1yfk.de)
# (O) dxcport: DX cluster port (e.g. 7300)
# (O) dxccall: DX cluster login call (e.g. DJ1YFK-9)

98
doc/index.html

@ -1,7 +1,7 @@
<html>
<head>
<title>YFKlog v0.4.0 Manual</title>
<title>YFKlog v0.5.0 Manual</title>
</head>
<style>
@ -29,8 +29,8 @@ figure figcaption {
<body>
<h1>YFKlog v0.4.0 Manual</h1>
<p><code>Copyright (c) 2008-2019 Fabian Kurz, DJ1YFK &lt;<a href="mailto:mail&#64;fkurz.net">mail&#64;fkurz.net</a>&gt;<br>
<h1>YFKlog v0.5.0 Manual</h1>
<p><code>Copyright (c) 2008-2019 Fabian Kurz, DJ1YFK &lt;<a href="fabianto:&#64;fkurz.net">fabian&#64;fkurz.net</a>&gt;<br>
Permission is granted to copy, distribute and/or modify this document<br>
under the terms of the GNU Free Documentation License, Version 1.2<br>
or any later version published by the Free Software Foundation;<br>
@ -42,10 +42,10 @@ figure figcaption {
<hr noshade>
<p>YFKlog is a general purpose ham radio logbook program designed to run on
*nix systems. This manual tries to give a detailed description of all features
Linux and Unix systems. This manual tries to give a detailed description of all features
and functions of YFKlog.</p>
<p>The main website of YFKlog is located at:
<a href="http://fkurz.net/ham/yfklog.html">http://fkurz.net/ham/yfklog.html</a>
<a href="https://fkurz.net/ham/yfklog.html">https://fkurz.net/ham/yfklog.html</a>
</p>
<hr>
@ -90,6 +90,7 @@ and functions of YFKlog.</p>
</li>
<li><a href="#hamlib">Transceiver control, hamlib</a></li>
<li><a href="#remote">Remote logging (for fldigi)</a></li>
<li><a href="#bandmap">DX cluster / bandmap</a></li>
<li><a href="#appendix">Appendix</a></li>
<li><a href="#GNUFDL">GNU Free Documentation License</a></li>
@ -104,18 +105,16 @@ and functions of YFKlog.</p>
<li>Perl</li>
<li>DBI</li>
<li>SQLite</li>
<li>ncurses</li>
<li>Curses</li>
<li>Make</li>
<li>libwww-perl</li>
</ul>
<p>On Ubuntu or Debian Linux, you can satisfy all requirements simply by
running:</p>
<code>sudo apt-get install perl libdbd-sqlite3-perl libclass-dbi-sqlite-perl
make libsqlite3-0 libcurses-perl libwww-perl</code>
<code>sudo apt-get install perl libdbd-sqlite3-perl libclass-dbi-sqlite-perl make libsqlite3-0 libcurses-perl libwww-perl libnet-telnet-perl</code>
<p>For LoTW, you will also need the packages <code>trustedqsl</code> and
<code>xvfb</code>.</p>
<p>For the LoTW integration, you will also need the packages <code>trustedqsl</code> and <code>xvfb</code>.</p>
<p>Download the <a href="http://fkurz.net/ham/yfklog/">latest version</a> of
YFKlog (or clone the latest version from git) and unpack the tarball to a directory of your choice, then run
@ -123,9 +122,9 @@ YFKlog (or clone the latest version from git) and unpack the tarball to a direct
<h3>Install from distribution archive</h3>
<code><pre>
$ wget http://fkurz.net/ham/yfklog/yfklog-0.4.0.tar.gz
$ tar zxfv yfklog-0.4.0.tar.gz
$ cd yfklog-0.4.0
$ wget http://fkurz.net/ham/yfklog/yfklog-0.5.0.tar.gz
$ tar zxfv yfklog-0.5.0.tar.gz
$ cd yfklog-0.5.0
$ sudo make install
</pre></code>
@ -154,7 +153,8 @@ You can chose between two databases,
<a href="http://www.mysql.com/">MySQL</a>.</p>
<p>SQLite is a lightweight,
self-contained, zero-configuration SQL database engine and probably the right
choice for most users of YFKlog. Only use MySQL if you know why.</p>
choice for most users of YFKlog. Using MySQL may be a good idea if you have
the MySQL daemon running on your computer anyway.</p>
<h3>1.1 SQLite</h3>
<p>There is nothing really to set up, this is the default setting.
@ -196,7 +196,7 @@ manually with your favourite text editor.</p>
<p>If you're editing the file manually, note that the file-format allows an
arbitrary placement of the variables in the file. If a variable is set more
than once, the last occurance is used. The format <code>name=value</code> must
than once, the last occurrence is used. The format <code>name=value</code> must
be used, no spaces/tabs between <code>name=</code> and <code>value</code> are
allowed.</p>
@ -317,11 +317,21 @@ they are not important.</p>
<li><strong>browser</strong> - Browser for QRZ.com lookups. (Default: dillo) </li>
<li><strong>lotwlocation</strong> - List of station locations for LoTW</li>
<li><strong>lotwlocation</strong> - List of station locations for LoTW
(see section on LoTW below for details!)</li>
<li><strong>lotwuser</strong> - LoTW web user name to download reports</li>
<li><strong>lotwpass</strong> - LoTW web password</li>
<li><strong>dxchost</strong> - DX cluster hostname (e.g. foc.dj1yfk.de)</li>
<li><strong>dxcport</strong> - DX cluster port (e.g. 7300)</li>
<li><strong>dxccall</strong> - DX cluster login call (e.g. DJ1YFK-9)</li>
</ul>
<p>YFKlog will need a minimum terminal size of 80 x 25 characters to run. If
there's more vertical space, the logging window will use the additional space
to show more lines of the log. If there's additional horizontal space, you can
make use of the
<hr>
<figure>
<img src="menu.png">
@ -469,7 +479,7 @@ permanently deletes the selected QSO.</p>
<p>In some cases, you may want to change a <em>group</em> of QSOs at once,
which would be a lot of work via this <strong>Search and Edit</strong> mode one
by one. For such occasions, it is advantageous to know some basic SQL commands
to do the changes directly on the mysql command line. The <a href="">Appendix
to do the changes directly on the mysql command line. The <a href="#edit">Appendix
II</a> contains examples for several common scenarios (like toggling
the QSL-sent flag for a number of QSOs, deleting QSOs from a date-range etc.)
which can easily be adopted, even without knowledge of SQL.</p>
@ -507,10 +517,10 @@ cards:</p>
<h4>6.2.1 Print cards/labels</h4>
<p>The queued QSLs can be printed into a PDF file by selecting the <strong>QSL
<p>The queued QSLs can be printed into a PDF file (<a href="http://fkurz.net/ham/qsl-sample.pdf">example</a>) by selecting the <strong>QSL
print</strong> mode. Different label definition files (*.lab) are
available, and <a href="">Appendix III</a> gives a short tutorial how to write
your own. The conversion to PDF is done with <a
available and creating your own should be easy by following the existing
examples. The conversion to PDF is done with <a
href="http://www.latex-project.org/">LaTeX</a>. To work properly,
<code>pdflatex</code>, with the <code>geometry</code> package must be
installed on the system.</p>
@ -544,8 +554,8 @@ to the main menu.</p>
Format) is now the <em>de facto</em> standard format to exchange logbook data.
YFKlog can import and export this format, using a good subset of the available
defined fields.</p>
<p>See <a href="">Appendix X</a> for a detailled description of the database
design of YFKlog and differences to ADIF.</p>
<!-- p>See <a href="">Appendix X</a> for a detailled description of the database
design of YFKlog and differences to ADIF.</p -->
<h3>7.1 ADIF export</h3>
@ -773,6 +783,46 @@ F7 again leaves the remote mode and normal logging can continue.</p>
remote QSOs in the background, but a logged QSO (by fldigi/gmfsk) will survive in the
message queue and be fetched as soon as YFKlog enters the remote mode.</p>
<hr>
<figure style="width:940px">
<img src="bandmap.png" align="right">
<figcaption>YFKlog's built-in bandmap</figcaption>
</figure>
<h2><a id="bandmap" name="bandmap">15. DX Cluster / bandmap</a></h2>
<p>Version 0.5.0 introduces a very simple DX cluster bandmap function. The
bandmap is displayed next to the normal logging window, which means your
terminal window needs a size of at least 105 columns. For every additonal
25 columns, a new bandmap column can be shown.</p>
<p>If you configure <code>dxchost</code>, <code>dxcport</code> and
<code>dxccall</code>, YFKlog will on startup try to connect to
<code>dxchost:port</code> and then log in with <code>dxccall</code> and look
for DX spots.</p>
<p>The current implementation of the DX cluster does not allow any
interactive use - it's "read only", and simply prints all DX spots
sorted by frequency and grouped by bands. If you want to set any
filters for the DX cluster you use, please do so with your regular
telnet program before logging in with YFKlog.</p>
<p>The intended purpose of this bandmap was to display data from the
<a href="http://reversebeacon.net/">Reverse Beacon Network</a>. If
you like to try it, connect to <code>foc.dj1yfk.de</code> in port
<code>7300</code>. Use the telnet command <code>set/raw</code> to
disable all filters, then login with YFKlog.</p>
<p>Spots in the bandmap have a lifetime of 5 minutes before they
disappear again. If the bandmap is full, the oldest spots in the
list are purged until everything fits on the screen again.</p>
<p>You may occasionally get display errors when using the bandmap.
This happens when the bandmap updates exactly in the same moment when
YFKlog updates its screen. Curses is not thread safe any YFKlog
currently doesn't do any locking. If things get too bad, just quit
and restart YFKlog.</p>
<hr>
<h2><a id="appendix" name="appendix">Appendix</a></h2>
@ -815,7 +865,7 @@ Saving to: 'hsc.txt'
Saved to hsc.sql (1358 records).
$ mysql -uUSERNAME -pPASSWORD YFKlog < hsc.sql # for MySQL
$ sqlite3 ~/.yfklog/YFKlog < hsc.sql # for sqlite
$ sqlite3 ~/.yfklog/YFKlog &lt; hsc.sql # for sqlite
</pre>
@ -845,7 +895,7 @@ YFKlog does many repeated equal database queries, for example when scrolling
through a list of QSOs. Enabling the cahce will significantly speed up
scrolling.</p>
<h3>2. SQL examples: Mass-editing, deletion, etc.</h3>
<h3 id="edit">2. SQL examples: Mass-editing, deletion, etc.</h3>
<p>YFKlog offers the possibility to edit or delete QSOs, one by one. In some
cases however, you might want to delete or modify a large number of QSOs. In

Loading…
Cancel
Save