28 changed files with 12683 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
Fabian Kurz, DJ1YFK <fabian@fkurz.net> |
||||
Wes Hardaker, WS6Z <wes AT TA ws6z DOTTY com> for misc minor improvements |
||||
Cornell Gonschior, DF6FR <df6fr@darc.de> also for minor improvements |
||||
David Quental, CT1DRB contributed some fixes |
@ -0,0 +1,230 @@
|
||||
2019-Jun-30: Version 0.4.0 |
||||
------------------------------------------------------------------------------- |
||||
- Many small improvements contributed over the years, mostly by DF6FR and CT1DRB |
||||
- Add support for LoTW upload and download directy from YFKlog (requires tqsl) |
||||
- Update dxcc algorithm to handle "new" style country files (with full calls |
||||
marked with a =). |
||||
|
||||
2008-Jan-31: Version 0.3.5 |
||||
------------------------------------------------------------------------------- |
||||
- Remote logging from fldigi; uses the same interface as Xlog. |
||||
- Custom award statistics. See manual for details. |
||||
- Sort order of the log- and the previous-QSO-field now customized by "logsort" |
||||
and "prevsort" values. |
||||
- Added an option "askme"; when set to nonzero value, you're warned/asked if |
||||
you leave the log mode or clear a QSO without saving it. |
||||
- An error message is displayed when a QSO cannot be saved, giving the reason |
||||
for the failure. |
||||
- F6 in the logging mode opens a $browser (as specified in the config file) |
||||
for a QRZ.com call lookup. |
||||
- Small improvements in the Edit mode. |
||||
- A little "hardening" of the ADIF import. |
||||
- Updated to the latest version of AD1C's cty.dat country file. |
||||
|
||||
|
||||
2007-Oct-23: Version 0.3.4 |
||||
------------------------------------------------------------------------------- |
||||
- Removed bug that caused a crash during the Xplanet marker file generation. |
||||
- The entry field in the Setup for the SQL server didn't accept dots. Fixed. |
||||
- QSL-label PDF file now saved in the proper directory as set in the config |
||||
file, not in /tmp/. |
||||
|
||||
2007-Oct-22: Version 0.3.3 |
||||
------------------------------------------------------------------------------- |
||||
- Reading LOTW reports failed for QSOs on 70cm and higher, fixed. |
||||
- Major cleanup of key-handling functions. Saved 200 lines and made it faster |
||||
and more readable. |
||||
- Date, time, band, mode, rst, qsl fields in the main entry form are in |
||||
overwrite mode now. |
||||
- Cursor-Down now also goes to the following field (additional to Tab, Enter |
||||
and Space), Shift-Tab to the previous (additional to Cursor-Up). |
||||
|
||||
2007-Oct-20: Version 0.3.2 |
||||
------------------------------------------------------------------------------- |
||||
- Moved configuration file to ~/.yfklog/config |
||||
- Added a complete config menu, from which almost all settings in the config |
||||
file ~/.yfklog/config can be edited. |
||||
- Database (when using sqlite, recommended) now stored in ~/.yfklog/[DBname] |
||||
- Now comes with a Makefile, which installs YFKlog system wide if wanted. |
||||
- The (tab)order of the fields in the entry mask can now be freely defined, |
||||
see 'fieldorder' in ~/.yfklog/config |
||||
- Improved sanity checks for several values (Callsign) during ADIF import. |
||||
Callsigns like 'DJ 1 YFK' are now automatically corrected to 'DJ1YFK'. |
||||
- No more division by zero for stations with distance of 0 (tnx EA8BVP) |
||||
|
||||
2007-Aug-27: Version 0.3.1 |
||||
------------------------------------------------------------------------------- |
||||
- Bugfix: Logbook table upgrade failed under certain circumstances when using |
||||
MySQL. SQLite unaffected. |
||||
|
||||
2007-Aug-07: Version 0.3.0 |
||||
------------------------------------------------------------------------------- |
||||
- SQLite3 support! YFKlog can now run with a SQLite database instead of MySQL. |
||||
To use SQLite, set dbserver=sqlite in the config file '.yfklog'. |
||||
|
||||
|
||||
2007-Aug-06: Version 0.2.5 |
||||
------------------------------------------------------------------------------- |
||||
- Added two database fields, GRID (to store a gridsquare in either 4- or |
||||
6-letter format) and OPERATOR (to save who made a QSO). For the latter, a new |
||||
variable (operator=DJ1YFK) can optionally be set in the config file. |
||||
While logging, enter gridsquares in the remarks field: GRID:JO61UA |
||||
Operator information is entered in the same manner: OPERATOR:DJ1YFK and will |
||||
be used for all following QSOs. |
||||
|
||||
- Added VUCC/GRID to the award scorings. |
||||
|
||||
- Querying the frequency and mode via hamlib can now be done |
||||
automatically for every new QSO, by setting autoqueryrig=1 in the config |
||||
file. |
||||
|
||||
- Finally wrote some more detailled documentation. Under permanent |
||||
construction: http://fkurz.net/ham/yfklog/doc/ |
||||
|
||||
2007-Aug-02: Version 0.2.4 |
||||
------------------------------------------------------------------------------- |
||||
- NEW FEATURE: Export of a marker-file to be used with 'xplanet'. Shows all |
||||
current DXCC entities in different colors: Red = not worked, Yellow = Worked |
||||
but not confirmed, Green = Confirmed. |
||||
Example: http://dl0tud.tu-dresden.de/~dj1yfk/xplanet.png |
||||
|
||||
- Minor improvements and bugfixes |
||||
|
||||
2007-Jul-20: Version 0.2.3 |
||||
------------------------------------------------------------------------------- |
||||
- NEW FEATURE: LOTW Import and Export. See 'MANUAL' for details. LOTW QSLs are |
||||
considered for award purposes, with both a summary of paper-only and |
||||
LOTW-only confirmations and a combined score. |
||||
|
||||
- NEW FEATURE: At startup, automatically check for the existance of the |
||||
neccessary database. If they do not exist, create them. If they are from a |
||||
previous version of YFKlog, update them to the latest. This makes the |
||||
installation a lot easier and more comfortable. |
||||
|
||||
- IMPROVEMENT: Functions to determine DXCC from a callsign mostly rewritten and |
||||
significantly faster (x 20) now. |
||||
|
||||
- IMPROVEMENT: New field added for label printing: QSLR. Says 'TNX' if QSL was |
||||
received, 'PSE' when QSL for this QSO is missing. |
||||
|
||||
- IMPROVEMENT: Added 'hamlibparam' to the config file for additional |
||||
hamlib/rigctl parameters |
||||
|
||||
- IMPROVEMENT: When working a station, show if the DXCC is worked/confirmed |
||||
already on all bands defined by 'awardbands' in the config file. |
||||
Output like: "10C 12W 15C 17W 20C 30W 40C 80W" |
||||
|
||||
- IMPROVEMENT: When working a station, it's now also possible to check for this |
||||
callsign in any other logbooks, as set by the 'checklogs' variable in the |
||||
config file. |
||||
|
||||
- IMPROVEMENT: Possibility to specify a date range for ADIF-export. |
||||
|
||||
- BUG FIX: QSL printing doesn't start at label -1 anymore... |
||||
|
||||
- BUG FIX: Problems with / in $mycall resolved for label printing. |
||||
|
||||
|
||||
2007-Apr-28: Version 0.2.2 |
||||
------------------------------------------------------------------------------- |
||||
|
||||
- NEW FEATURE: Hamlib support. See 'MANUAL' for details. |
||||
|
||||
- IMPROVEMENT: Changed REGEX for callsign recognition, now calls like RV0AL/0/P |
||||
are not causing problems anymore. |
||||
|
||||
- IMPROVEMENT: Cleaned up SQL syntax. No more problems with MySQL5. |
||||
|
||||
- IMPROVEMENT: ADIF-Import works with files that have DOS-linebreaks now, also |
||||
uppercase file extensions (ADI) are now recognized. |
||||
|
||||
- IMPROVEMENT: 47 GHz and up are now given in millimeters (instead of 0.x cm) |
||||
on the QSL labels |
||||
|
||||
- IMPROVEMENT: Added a new 'QSO / Mode' statistics function. |
||||
|
||||
- IMPROVEMENT: Another QSL label definition for 70x36 (dm7a.lab) as used for |
||||
thousands of contest cards at DM7A... |
||||
|
||||
- BUGFIX: For some awards/statistics, the date range was ignored. Fixed. |
||||
|
||||
- BUGFIX: When creating a new log, and the callsign contained a '/', the |
||||
$mycall variable was faulty and caused YFKlog to crash. Fixed. |
||||
|
||||
- BUGFIX: HTML-Output for DXCC, WPX awards etc had a minor bug for 2m only. |
||||
|
||||
|
||||
2006-Apr-16: Version 0.2.1 |
||||
------------------------------------------------------------------------------- |
||||
- NEW FEATURE: Band data now also allows the higher UHF bands like 70cm etc |
||||
(enter as 0.7, 0.23...). This required a change in the database structure. |
||||
************************************************************************ |
||||
*** IMPORTANT: READ AND FOLLOW INSTRUCTIONS FROM FILE 'RELEASENOTES' *** |
||||
************************************************************************ |
||||
- NEW FEATURE: Different screen layouts available for the main screen. See |
||||
variable "screenlayout" in .yfklog. |
||||
|
||||
- ADIF-Import: Field 'gridsquare' added to remarks field, if it exists. (tnx |
||||
ES6CO) |
||||
|
||||
- BUGFIX: ADIF-Import: Fields containing a ' produced errors. Fixed. |
||||
- BUGFIX: Callsigns like DJ1YFK/123 were not properly recognized. |
||||
- BUGFIX: Invalid callsigns (like QQ0XX) don't produce ugly warning messages |
||||
anymore. |
||||
- BUGFIX: When editing a previous QSO, with another QTH/Name than saved in the |
||||
database, the QTH/Name was overwritten in the edit-window. Fixed. |
||||
|
||||
- IMPROVEMENT: Changed several REGEXP SQL statements to LIKE, which |
||||
increases the speed. |
||||
- IMPROVEMENT: ADIF import speed increased by the factor of 3..10. |
||||
- IMPROVEMENT: Bands for awards can be specified in the config file .yfklog |
||||
using "awardbands=....". (see sample config file) |
||||
- IMPROVEMENT: Several cosmetic changes to the award and statistic fuctions. |
||||
|
||||
2005-Dec-28: Version 0.2.0 |
||||
------------------------------------------------------------------------------- |
||||
- BUGFIX: ADIF export: the band fieldlength was one too short. eg. <band:2>20m |
||||
- BUGFIX: ADIF import: Fieldlength 0 didn't work. |
||||
- BUGFIX: ADIF import: <eoh>/<eor> was errornously case sensitive. |
||||
- BUGFIX: ADIF import: integer MHz frequencies didn't work, always required |
||||
decimal separator (e.g. "14.000"). |
||||
- BUGFIX: CALL/A became Prefix A0 and no DXCC. |
||||
- BUGFIX: Different calls with the same QSL-Manager were printed on one card! |
||||
e.g.: 8Q7ZZ via G3SWH and 5R8GZ via G3SWH ended up on one card with |
||||
8Q7ZZ in the "To:" field. Fixed this temporarily, for the cost of |
||||
not sorting after the manager's call. Might be changed in future |
||||
versions... (tnx info DL3DTH) |
||||
- BUGFIX: Name/QTH database update for ADIF import added whole calls |
||||
(including /P etc) to the database instead of the basic call |
||||
(DJ1YFK, AD5UR..) only. Also it tried to add nonexisting fields |
||||
(name/qth) when only one of them was known. |
||||
- BUGFIX: cty.dat includes WAE countries (IG9, IT9, 4U1V, GM/s, IG9, IT9, |
||||
JW/b, TA1) which are *not* DXCCs. Those are now hardcoded into |
||||
yfklog (dxcc sub) to be changed to the proper DXCC. Since they are |
||||
not likely to change in the future, I decided to take this easy |
||||
approach. |
||||
Those DXCCs started with a "*" (*TA1 etc) and are easily filtered |
||||
out. |
||||
A similar problem occurs with DXCCs that have more than 4 letters, |
||||
for example VP8/h. The field for DXCC is only 4 chars long, and |
||||
somehow I forgot to remove the "/". This is now also fixed. |
||||
Unfortunately in an exisiting database from yfklog-0.1.0, the WAEs |
||||
are already counted as new DXCCs, and some DXCCs might be lost |
||||
because of the "/". There is a script "yfk-fixdxcc.pl" |
||||
distributed with yfklog-0.2.0 which fixes these problems. |
||||
- BUGFIX: Direction of the other station was wrong ("mirrored"). |
||||
|
||||
- NEW FEATURE: Statistics: DXCC, PFX, CQZ, IOTA, STATE, QSOs/Band |
||||
(more statistics can easily be added. Don't hesitate to ask me |
||||
for any additions!). See manual for details. |
||||
- NEW FEATURE: In the input form, CURSOR UP goes to the previous field. No |
||||
more need to cycle through all fields to get to the previous |
||||
one. |
||||
- NEW FEATURE: After entering a call in "Logging Mode", "New Bandpoint" or |
||||
"New DXCC" is displayed if appropriate. |
||||
- NEW FEATURE: In the "QSL-Receive" mode, pressing "s" toggles the "QSL-Sent" |
||||
flag of the QSO, which is useful when you are only replying |
||||
to incoming QSLs. |
||||
- NEW FEATURE: Simple editor for Name/QTH-Database. |
||||
|
||||
2005-May-18: Initial release |
@ -0,0 +1,45 @@
|
||||
YFKlog 0.4.0 INSTALLATION GUIDE |
||||
-------------------------------- |
||||
|
||||
More detailled instructions at http://fkurz.net/ham/yfklog/doc/ |
||||
|
||||
-------------------------------- |
||||
|
||||
YFKlog 0.4.0 comes with a Makefile |
||||
|
||||
$ (sudo) make install [PREFIX=/usr/local] |
||||
|
||||
will install it into PREFIX (default /usr/[bin|share/yfklog/]). |
||||
|
||||
That's all, you can then start 'yfk'. On the first run, you'll be taken to a |
||||
configuration menu, where you can set up YFKlog according to your needs. |
||||
|
||||
By default, YFKlog uses a SQLite database, and you don't need to set up |
||||
anything manually. |
||||
|
||||
|
||||
For MySQL-Users only |
||||
-------------------- |
||||
|
||||
If you want to use MySQL instead of SQLite (I recommend not to use MySQL unless |
||||
you *really* know why you want to!) follow these steps: |
||||
|
||||
1 Create a Database (this example uses 'YFKlog' as dbname) and |
||||
give the user the needed permissions for it (replace "username" with your |
||||
login-name and chose a password for 'passwd'). |
||||
|
||||
$ mysqladmin -u root -p create YFKlog |
||||
$ mysql -u root -p |
||||
|
||||
mysql> GRANT ALL ON YFKlog.* TO username@localhost IDENTIFIED BY 'passwd'; |
||||
mysql> quit |
||||
|
||||
2 Start YFKlog. |
||||
|
||||
$ yfk |
||||
|
||||
On the first run, you'll be taken to a configuration menu, where you have |
||||
to set the database server, port, db-name, username and password. |
||||
Enter these values and you're ready to go. |
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
% LB3651-1 52,5 x 29,7mm |
||||
% QSOS=3 |
||||
% WIDTH=52.5 |
||||
% HEIGHT=29.7 |
||||
% TOPMARGIN=0 |
||||
% LEFTMARGIN=0 |
||||
% ROWS=9 |
||||
% COLS=4 |
||||
\put(3.3,25){\makebox(0,0)[lt]{To Radio:}} |
||||
\put(48,25){\makebox(0,0)[rt]{\large\bf HISCALL}} |
||||
\put(3.3,20){\makebox(0,0)[lt]{Via:}} |
||||
\put(48,20){\makebox(0,0)[rt]{\large\bf MANAGER}} |
||||
\put(3.3,14){\makebox(0,0)[l]{\footnotesize MYCALL is glad to confirm 2xQSOs:}} |
||||
\put(2.4,3){ |
||||
\footnotesize |
||||
\begin{tabular}{@{}p{16mm}@{}p{8.5mm}@{}p{8mm}@{}p{8mm}@{}p{6.5mm}@{}} |
||||
\bf Date&\bf Time&\bf Band&\bf 2way&\bf RST\\ |
||||
\hline |
||||
DATE1&TIME1&BAND1&MODE1&RST1\\ |
||||
DATE2&TIME2&BAND2&MODE2&RST2\\ |
||||
DATE3&TIME3&BAND3&MODE3&RST3 |
||||
\end{tabular}} |
@ -0,0 +1,4 @@
|
||||
Note: This document is now obsolete. A (more or less) current (and much more |
||||
detailled and frequently updated version) of the manual can be found at: |
||||
|
||||
http://fkurz.net/ham/yfklog/doc/ |
@ -0,0 +1,55 @@
|
||||
VERSION=0.4.0
|
||||
|
||||
DESTDIR ?= /usr
|
||||
|
||||
all: |
||||
@echo "Nothing to do. make install|uninstall|clean|dist [DESTDIR=/usr]"
|
||||
|
||||
install: |
||||
sed 's^prefix="/usr"^prefix="$(DESTDIR)"^g' yfksubs.pl > yfksubs2.pl
|
||||
sed 's^prefix="/usr"^prefix="$(DESTDIR)"^g' yfk > yfk2
|
||||
chmod 0755 yfk
|
||||
install -d -v $(DESTDIR)/share/yfklog/
|
||||
install -d -v $(DESTDIR)/share/yfklog/labels/
|
||||
install -d -v $(DESTDIR)/bin/
|
||||
install -m 0755 yfk2 $(DESTDIR)/bin/yfk
|
||||
install -m 0444 yfksubs2.pl $(DESTDIR)/share/yfklog/yfksubs.pl
|
||||
install -m 0444 db_* $(DESTDIR)/share/yfklog/
|
||||
install -m 0444 cty.dat $(DESTDIR)/share/yfklog/
|
||||
install -m 0444 config $(DESTDIR)/share/yfklog/
|
||||
install -m 0444 p.png $(DESTDIR)/share/yfklog/
|
||||
install -m 0444 *.lab $(DESTDIR)/share/yfklog/labels/
|
||||
rm -f yfksubs2.pl
|
||||
rm -f yfk2
|
||||
|
||||
uninstall: |
||||
rm -f $(DESTDIR)/bin/yfk
|
||||
rm -rf $(DESTDIR)/share/yfklog/
|
||||
|
||||
clean: |
||||
rm -f *~
|
||||
|
||||
dist: |
||||
sed 's/Version [0-9].[0-9].[0-9]/Version $(VERSION)/g' README > README2
|
||||
rm -f README
|
||||
mv README2 README
|
||||
sed 's/Version [0-9].[0-9].[0-9]/Version $(VERSION)/g' MANUAL > MANUAL2
|
||||
rm -f MANUAL
|
||||
mv MANUAL2 MANUAL
|
||||
rm -f releases/yfklog-$(VERSION).tar.gz
|
||||
rm -rf releases/yfklog-$(VERSION)
|
||||
mkdir yfklog-$(VERSION)
|
||||
mkdir yfklog-$(VERSION)/clubs/
|
||||
mkdir yfklog-$(VERSION)/onlinelog/
|
||||
cp yfk yfksubs.pl config cty.dat AUTHORS CHANGELOG db_*.sql *.sqlite \
|
||||
COPYING Makefile\
|
||||
INSTALL MANUAL README p.png RELEASENOTES *.lab yfklog-$(VERSION)
|
||||
cp clubs/README yfklog-$(VERSION)/clubs
|
||||
cp onlinelog/README yfklog-$(VERSION)/onlinelog
|
||||
cp onlinelog/search.php yfklog-$(VERSION)/onlinelog
|
||||
cp onlinelog/test.txt yfklog-$(VERSION)/onlinelog
|
||||
tar -zcf yfklog-$(VERSION).tar.gz yfklog-$(VERSION)
|
||||
mv yfklog-$(VERSION) releases/
|
||||
mv yfklog-$(VERSION).tar.gz releases/
|
||||
md5sum releases/*.tar.gz > releases/md5sums.txt
|
||||
chmod a+r releases/*
|
@ -0,0 +1,61 @@
|
||||
YFKlog Version 0.4.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.4.0, released on 23. October 2007. |
||||
The key characteristics are: |
||||
|
||||
- Console based, bloat-free text interface. |
||||
- 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. |
||||
|
||||
2. Project Website, Documentation |
||||
---------------------------------- |
||||
The latest version can be found at: http://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 80x24 characters. |
||||
|
||||
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). |
@ -0,0 +1,83 @@
|
||||
RELEASENOTES for YFKlog 0.4.0 |
||||
============================== |
||||
|
||||
To update from an older version, just replace all files of the old |
||||
YFKlog-version with the new ones and follow these instructions: |
||||
|
||||
Update from YFKlog 0.1.0 |
||||
------------------------ |
||||
|
||||
If you are updating from YFKlog 0.1.0, following additional changes are needed: |
||||
|
||||
1. Copy yfk-fixdxcc.pl into your yfklog-directory and run it. It fixes some |
||||
minor problems of DXCC-handling in 0.1.0. |
||||
|
||||
2. The config-file .yfklog had some changes in the "csadditions" and |
||||
"lidadditions"-lines. You might want to copy these lines to your old config |
||||
file. |
||||
|
||||
3. Follow steps for update from 0.2.0 |
||||
|
||||
Update from YFKlog 0.2.0 (!!! Instructions obsolete, see below !!!) |
||||
------------------------ |
||||
|
||||
1. Some new lines were added to the config file .yfklog, in particular |
||||
"awardbands" and "screenlayout". Also changes in "lidadditions" and |
||||
"csadditions". Copy these lines into your old config-file. |
||||
|
||||
2. The database logging-table structure has changed: In order to allow logging |
||||
on VHF-UHF, the "band" field was changed from INT to FLOAT. If you create new |
||||
logbooks, you don't need to bother with it; existing logbooks can be converted |
||||
by the following procedure: (replace YFKlog with your database name, if |
||||
different. Repeat the ALTER TABLE statement for every logbook you want to |
||||
change, note that the name of the logbook table [for example log_dj1yfk] is |
||||
case sensitive, and internally all callsigns are lowercase. So if your call is |
||||
DL1ABC, the line has to be "ALTER TABLE log_dl1abc MODIFY BAND FLOAT;".) |
||||
|
||||
.---[ Example ]--------------------------------------------------------------- |
||||
| $ mysql -p |
||||
| Enter password: ********** |
||||
| Welcome to the MySQL monitor. Commands end with ; or \g. |
||||
| Your MySQL connection id is 1324 to server version: 4.1.5-gamma |
||||
| |
||||
| Type 'help;' or '\h' for help. Type '\c' to clear the buffer. |
||||
| |
||||
| mysql> use YFKlog; |
||||
| Reading table information for completion of table and column names |
||||
| You can turn off this feature to get a quicker startup with -A |
||||
| |
||||
| Database changed |
||||
| mysql> ALTER TABLE log_dj1yfk MODIFY BAND FLOAT; |
||||
| Query OK, 41861 rows affected (3.36 sec) |
||||
| Records: 41861 Duplicates: 0 Warnings: 0 |
||||
| |
||||
| mysql> |
||||
`----------------------------------------------------------------------------- |
||||
|
||||
Although nothing critical *should* happen, please make a backup of your |
||||
logbooks (ADIF export) before you do this modification. |
||||
|
||||
Update from YFKlog 0.2.1 |
||||
------------------------ |
||||
Everything should work after simply replacing the old files. If you are |
||||
running into trouble, let me know! |
||||
|
||||
Update from YFKlog 0.2.2 or higher |
||||
----------------------------------- |
||||
YFKlog as of 0.2.4 automatically tries to update the database structure etc |
||||
from any previous version. Any problems with the update should be reported to |
||||
the author. |
||||
|
||||
As of 0.3.2, YFKlog doesn't have all its files in one single directory anymore, |
||||
rather is searches for the needed files in ~/.yfklog/ and $DESTDIR (by default |
||||
/usr[/bin|/share/yfklog/]...). The old .yfklog config file is now |
||||
~/.yfklog/config. You can copy your old .yfklog file to ~/.yfklog/config, but |
||||
note that several options have been added in the meantime. I'd recommend to |
||||
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). |
@ -0,0 +1,210 @@
|
||||
############################################################################## |
||||
# Config file for YFKlog. |
||||
# |
||||
# There are two different kinds of settings, MANDATORY settings without which |
||||
# the program will NOT WORK and OPTIONAL settings which you might want to |
||||
# change, but they have internal defaults if they are not specified. |
||||
# Mandatory settings are marked with a "(M)", optional settings with a "(O)" |
||||
# in the first description line. |
||||
############################################################################## |
||||
|
||||
# (M) mycall: YFKlog can handle several logs parallell, but this one |
||||
# is the one YFKlog starts with. As the name suggests, you should use your |
||||
# callsign for it. Use lowercase letters. |
||||
|
||||
mycall=dl1test |
||||
|
||||
# (M) dbuser: Database username of your MySQL DB access |
||||
|
||||
dbuser=fabian |
||||
|
||||
# (M) dbname: name of the MySQL Database OR SQLite3 database file. |
||||
|
||||
dbname=YFKlog |
||||
|
||||
# (M) dbpass: ONLY for MySQL. |
||||
# Database password. U should make this file only readable to |
||||
# yourself (chmod 600 .yfklog) unless you want everyone to be able to read |
||||
# your password. |
||||
|
||||
dbpass=notmypassword |
||||
|
||||
# (M) dbserver: |
||||
# |
||||
# If you use SQLite, set it to 'sqlite' |
||||
# |
||||
# For MySQL: |
||||
# Depending on the configuration of your server, |
||||
# only 'localhost' (via a socket) or only '127.0.0.1' (tcp) might work. |
||||
|
||||
dbserver=sqlite |
||||
|
||||
# (M) dbport: database server port (ONLY for MySQL) |
||||
|
||||
dbport=3306 |
||||
|
||||
# (O) directory: This is the default directory used for example for ADIF |
||||
# import/export, PDF-label output etc. By default it's /tmp. |
||||
|
||||
directory=/tmp |
||||
|
||||
# (O) fieldorder: The order of the fields in the main entry mask. |
||||
# Available fields (also default order is:) |
||||
# CALL DATE TON TOFF BAND MODE QTH NAME QSLS QSLR RSTS RSTR REM PWR |
||||
# You may omit fields you don't need. |
||||
# Separate fields with whitespaces. |
||||
|
||||
fieldorder=CALL DATE TON TOFF BAND MODE QTH NAME QSLS QSLR RSTS RSTR REM PWR |
||||
|
||||
# (O) dband: The default band. At the moment YFKlog stores the band in m, |
||||
# since I only work from 2190m (136 kHz) - 2m (144 MHz). If there is popular |
||||
# demand for it, I could change it to kHz or MHz, so also VHF-EHF can properly |
||||
# log their QSOs. Default is my "home band" 80 (m). |
||||
|
||||
dband=80 |
||||
|
||||
# (O) dmode: The default mode. You can enter any string here up to 6 letters. |
||||
|
||||
dmode=CW |
||||
|
||||
# (O) dmode: The default power. Only 4 digits for power, some OMs might want to |
||||
# regard the number as kW instead of W, some as mW :-) |
||||
|
||||
dpwr=100 |
||||
|
||||
# (O) dqsls: Default value for QSL Sent. If not specifield it's "Q" for |
||||
# "Queue", meaning that the QSO will be put into the QSL writing-Queue. |
||||
|
||||
dqsls=Q |
||||
|
||||
# (O) dqslr: Default value for QSL received. Usually the QSL has not arrived |
||||
# when the QSO happens, so it is N by default |
||||
|
||||
dqslr=N |
||||
|
||||
# (O) dqslsi: Default value for QSL Sent for IMPORTED QSOs, if there is no such |
||||
# info in the ADIF. This might be useful because for contest QSOs there is |
||||
# usually no such info in the adif, and for those who do not send QSLs for |
||||
# every contest QSO this is an easy way to make sure that they don't end up in |
||||
# the QSL queue when dqsls=Q. Default: N |
||||
|
||||
dqslsi=N |
||||
|
||||
# (O) lat and lon: Latitude and longitude of the own station in decimal format. |
||||
# Needed to calculate the distance and beam heading. |
||||
|
||||
lat=52 |
||||
lon=-8 |
||||
|
||||
# (O) onlinedata: Specifies the columns of the logbook which will be added to |
||||
# the online logbook. Possible columns: NR, CALL, DATE, T_ON, T_OFF, BAND, MODE |
||||
# QTH, NAME, QSLS, QSLR, RSTS, RSTR, REM, PWR, DXCC, PFX, CONT, QSLINFO. |
||||
# Separate fields with commas |
||||
|
||||
onlinedata=`CALL`, DATE, BAND, MODE, RSTS, RSTR, T_ON, QSLS, QSLR, PWR, QSLINFO, STATE |
||||
|
||||
# (O) ftp-information: If you want to use the upload function for a online |
||||
# searchable log, some ftp-settings have to be specified. The names are |
||||
# self-explaining. |
||||
|
||||
ftpserver=127.0.0.1 |
||||
ftpport=21 |
||||
ftpuser=dj1yfk |
||||
ftppass=test |
||||
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. |
||||
|
||||
lidadditions=^QRP$|^LGT$|^\d{2,99}$ |
||||
|
||||
# (O) Additions to the callsign which do not change the DXCC or Prefix; default: |
||||
# /P, /M, /MM, /AM. Add your own following the same schema if needed. |
||||
|
||||
csadditions=(^P$)|(^M{1,2}$)|(^AM$)|(^A$) |
||||
|
||||
# (O) Bands for award/statistic calculations. Default: all bands from 160 to |
||||
# 2m. Format: Bands, separated by whitespaces. |
||||
|
||||
awardbands=160 80 40 30 20 17 15 12 10 6 2 |
||||
|
||||
# (O) Modes for award/statistic calculations. Default: CW and SSB |
||||
# Format: Modes, separated by whitespaces. |
||||
|
||||
awardmodes=CW SSB |
||||
|
||||
# (O) Screenlayout: YFKlog supports (at the moment) two different layouts of |
||||
# the main logging screen. You can toggle between them by setting screenlayout |
||||
# to either 0 or 1. |
||||
|
||||
screenlayout=1 |
||||
|
||||
# (O) Checklogs: By default, when logging a new callsign, only the previous |
||||
# contacts in the current log are checked. It's now possible also to specify |
||||
# additional logs that will be checked for QSOs. If a QSO exists, it will be |
||||
# shown in the same line where club-membership information is usually shown, in |
||||
# a very short form: e.g: In logs: 9A/DJ1YFK/p PA/DJ1YFK/p |
||||
# |
||||
# Format: checklogs=LOG1 LOG2 LOG3... |
||||
# |
||||
# Example: checklog=DJ1YFK DM7A DG9YFK PA/DJ1YFK/P |
||||
# |
||||
# NB: The current active log can be included in the list; it'll be ignored. |
||||
|
||||
checklogs= |
||||
|
||||
# (O) hamlib rig model. 0 for no hamlib. |
||||
|
||||
rigmodel=0 |
||||
|
||||
# (O) hamlib path to the device. For example /dev/ttyS0 etc. |
||||
|
||||
rigpath=/dev/ttyS0 |
||||
|
||||
# (O) autoqueryrig: If set to 1, YFKlog queries the frequency from the |
||||
# transceiver via hamlib at every new QSO automatically. |
||||
|
||||
autoqueryrig=0 |
||||
|
||||
# (O) operator: As of version 0.2.5, YFKlog can save an operator information |
||||
# for every QSO. This is the default value. When logging, QSOs, the OP can also |
||||
# be specified in the remarks-field by OPERATOR:DJ1YFK |
||||
|
||||
operator= |
||||
|
||||
# (O) lotwdetails: If set to 1, include all details (like CQ-Zone, ITU-Zone |
||||
# etc) from lotw-reports into the log. If 0, only change the QSLrL flag to Y. |
||||
|
||||
lotwdetails=0 |
||||
|
||||
# (O) askme: Ask for confirmation when leaving the logging mode (to the menu) |
||||
# without saving the QSO, or deleting a QSO. |
||||
|
||||
askme=1 |
||||
|
||||
# (O) logsort: How to sort the QSOs in the log display: Chronological or by the |
||||
# QSO-number (how they were entered or imported). |
||||
# Possible values: "C" = chronological, "N" = Number (default). |
||||
|
||||
logsort=C |
||||
|
||||
# (O) prevsort: How to sort the display of previous QSOs for a certain call |
||||
# D = By date, descending (default) |
||||
# A = By date, ascending |
||||
|
||||
prevsort=D |
||||
|
||||
# (O) browser: A browser to do QRZ.com call lookups. |
||||
|
||||
browser=firefox |
||||
|
||||
# (O) colors: Use terminal colors (1, default) or not (0). |
||||
|
||||
colors=1 |
||||
|
||||
# |
||||
# Wether 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 |
@ -0,0 +1,7 @@
|
||||
CREATE TABLE `calls` ( |
||||
`CALL` varchar(12) NOT NULL default '', |
||||
`NAME` varchar(12) default '', |
||||
`QTH` varchar(15) default '', |
||||
PRIMARY KEY (`CALL`) |
||||
); |
||||
|
@ -0,0 +1,5 @@
|
||||
CREATE TABLE clubs ( |
||||
`club` varchar(30) NOT NULL default '', |
||||
`nr` varchar(6) NOT NULL default '', |
||||
`call` varchar(6) NOT NULL default '' |
||||
); |
@ -0,0 +1,5 @@
|
||||
CREATE TABLE YFKconfig ( |
||||
`Name` varchar(50) NOT NULL default '', |
||||
`Value` varchar(50) NOT NULL default '' |
||||
) TYPE=MyISAM; |
||||
|
@ -0,0 +1,31 @@
|
||||
CREATE TABLE `log_MYCALL` ( |
||||
`NR` bigint(20) NOT NULL auto_increment, |
||||
`CALL` varchar(15) NOT NULL default '', |
||||
`DATE` date NOT NULL default '0000-00-00', |
||||
`T_ON` time NOT NULL default '00:00:00', |
||||
`T_OFF` time NOT NULL default '00:00:00', |
||||
`BAND` float unsigned NOT NULL default '0', |
||||
`MODE` varchar(6) NOT NULL default '', |
||||
`QTH` varchar(15) default '', |
||||
`NAME` varchar(15) default '', |
||||
`QSLS` char(1) NOT NULL default '', |
||||
`QSLR` char(1) NOT NULL default 'N', |
||||
`QSLRL` char(1) NOT NULL default 'N', |
||||
`RSTS` int(10) unsigned NOT NULL default '599', |
||||
`RSTR` int(10) unsigned NOT NULL default '599', |
||||
`REM` varchar(60) default '', |
||||
`PWR` int(10) unsigned default '0', |
||||
`DXCC` varchar(4) NOT NULL default '', |
||||
`PFX` varchar(8) NOT NULL default '', |
||||
`CONT` char(3) NOT NULL default '', |
||||
`ITUZ` int(2) unsigned NOT NULL default '0', |
||||
`CQZ` int(2) unsigned NOT NULL default '0', |
||||
`QSLINFO` varchar(15) default '', |
||||
`IOTA` varchar(6) default '', |
||||
`STATE` varchar(2) default '', |
||||
`GRID` varchar(6) NOT NULL default '', |
||||
`OPERATOR` varchar(6) NOT NULL default '', |
||||
PRIMARY KEY (`NR`), |
||||
KEY `CALL` (`CALL`), |
||||
KEY `DXCC` (`DXCC`) |
||||
) AUTO_INCREMENT=1 ; |
@ -0,0 +1,28 @@
|
||||
CREATE TABLE `log_MYCALL` ( |
||||
`NR` INTEGER PRIMARY KEY AUTOINCREMENT, |
||||
`CALL` varchar(15) NOT NULL default '', |
||||
`DATE` date NOT NULL default '0000-00-00', |
||||
`T_ON` time NOT NULL default '00:00:00', |
||||
`T_OFF` time NOT NULL default '00:00:00', |
||||
`BAND` float NOT NULL default '0', |
||||
`MODE` varchar(6) NOT NULL default '', |
||||
`QTH` varchar(15) default '', |
||||
`NAME` varchar(15) default '', |
||||
`QSLS` char(1) NOT NULL default '', |
||||
`QSLR` char(1) NOT NULL default 'N', |
||||
`QSLRL` char(1) NOT NULL default 'N', |
||||
`RSTS` int(10) NOT NULL default '599', |
||||
`RSTR` int(10) NOT NULL default '599', |
||||
`REM` varchar(60) default '', |
||||
`PWR` int(10) default '0', |
||||
`DXCC` varchar(4) NOT NULL default '', |
||||
`PFX` varchar(8) NOT NULL default '', |
||||
`CONT` char(3) NOT NULL default '', |
||||
`ITUZ` int(2) NOT NULL default '0', |
||||
`CQZ` int(2) NOT NULL default '0', |
||||
`QSLINFO` varchar(15) default '', |
||||
`IOTA` varchar(6) default '', |
||||
`STATE` varchar(2) default '', |
||||
`GRID` varchar(6) NOT NULL default '', |
||||
`OPERATOR` varchar(6) NOT NULL default '' |
||||
); |
@ -0,0 +1,8 @@
|
||||
Just a quick example how to use the $callsign.log to make a searchable online |
||||
log. |
||||
|
||||
Of course it's also possible (and probably a much better idea!) to |
||||
directly use the MySQL database for the online log, etc. |
||||
|
||||
Example (live): https://fkurz.net/ham/log/ (link to source code on that page) |
||||
|
@ -0,0 +1,41 @@
|
||||
<!-- For testing only :) --> |
||||
|
||||
<?php $callsign = $_GET["callsign"];
|
||||
if (!$callsign) { $callsign = "DJ1YFK"; } |
||||
$callsign = strtoupper($callsign); |
||||
?> |
||||
|
||||
<html> |
||||
<head> |
||||
<title>Online Log result for <?php echo $callsign; ?></title>
|
||||
</head> |
||||
|
||||
<h1>Search!</h1> |
||||
|
||||
<form action="search.php" method="GET"> |
||||
|
||||
<input name="callsign" type="text" value="<?php echo $callsign; ?>" size="15"
|
||||
maxlength="15"> |
||||
<input type="submit" value=" check "> |
||||
</form> |
||||
|
||||
|
||||
<h1>Results for <?php echo $callsign; ?></h1>
|
||||
|
||||
<table border="1"> |
||||
<?php
|
||||
$qsos = file("test.txt"); |
||||
foreach ($qsos as $qso) { |
||||
if (preg_match("/$callsign/", $qso)) { # line contains the call |
||||
echo "<tr>"; |
||||
$data = explode('~', $qso); # put stuff in $data |
||||
foreach ($data as $foo) { # every data.. |
||||
echo "<td>$foo</td>"; |
||||
} |
||||
echo "</tr>\n"; |
||||
} |
||||
} |
||||
?> |
||||
</table> |
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
DJ1YFK~2005-04-24~80~CW~Q~N~1500~ |
||||
DL1XYZ~2005-04-24~80~CW~Q~N~100~ |
After Width: | Height: | Size: 69 B |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,21 @@
|
||||
% Zweckform 70x25.4mm |
||||
% QSOS=2 |
||||
% WIDTH=70 |
||||
% HEIGHT=25.4 |
||||
% TOPMARGIN=8.7 |
||||
% LEFTMARGIN=0 |
||||
% ROWS=11 |
||||
% COLS=3 |
||||
\put(3,23.4){\makebox(0,0)[lt]{To Radio:}} |
||||
\put(63,23.4){\makebox(0,0)[rt]{\large\bf HISCALL}} |
||||
\put(3,18.4){\makebox(0,0)[lt]{Via:}} |
||||
\put(63,18.4){\makebox(0,0)[rt]{\large\bf MANAGER}} |
||||
\put(3,12.4){\makebox(0,0)[l]{\footnotesize MYCALL is glad to confirm 2 way QSOs:}} |
||||
\put(2,5){ |
||||
\footnotesize |
||||
\begin{tabular}{@{}p{18mm}@{}p{11mm}@{}p{10mm}@{}p{11mm}@{}p{11mm}@{}} |
||||
\bf Date&\bf Time&\bf Band&\bf 2way&\bf RST\\ |
||||
\hline |
||||
DATE1&TIME1&BAND1&MODE1&RST1\\ |
||||
DATE2&TIME2&BAND2&MODE2&RST2 |
||||
\end{tabular}} |
@ -0,0 +1,24 @@
|
||||
% Zweckform 70x36mm |
||||
% QSOS=5 |
||||
% WIDTH=70 |
||||
% HEIGHT=36 |
||||
% TOPMARGIN=4.5 |
||||
% LEFTMARGIN=0 |
||||
% ROWS=8 |
||||
% COLS=3 |
||||
\put(3,34){\makebox(0,0)[lt]{To Radio:}} |
||||
\put(63,34){\makebox(0,0)[rt]{\large\bf HISCALL}} |
||||
\put(3,29){\makebox(0,0)[lt]{Via:}} |
||||
\put(63,29){\makebox(0,0)[rt]{\large\bf MANAGER}} |
||||
\put(3,23){\makebox(0,0)[l]{\footnotesize MYCALL is glad to confirm 2 way QSOs:}} |
||||
\put(2,10){ |
||||
\footnotesize |
||||
\begin{tabular}{@{}p{16mm}@{}p{10mm}@{}p{9mm}@{}p{10mm}@{}p{10mm}@{}p{5mm}@{}} |
||||
\bf Date&\bf Time&\bf Band&\bf 2way&\bf RST&\bf QSL\\ |
||||
\hline |
||||
DATE1&TIME1&BAND1&MODE1&RST1&QSLR1\\ |
||||
DATE2&TIME2&BAND2&MODE2&RST2&QSLR2\\ |
||||
DATE3&TIME3&BAND3&MODE3&RST3&QSLR3\\ |
||||
DATE4&TIME4&BAND4&MODE4&RST4&QSLR4\\ |
||||
DATE5&TIME5&BAND5&MODE5&RST5&QSLR5 |
||||
\end{tabular}} |
@ -0,0 +1,21 @@
|
||||
% Zweckform 48.5x25.4mm |
||||
% QSOS=2 |
||||
% WIDTH=48.5 |
||||
% HEIGHT=25.4 |
||||
% TOPMARGIN=20.1 |
||||
% LEFTMARGIN=8 |
||||
% ROWS=10 |
||||
% COLS=4 |
||||
\put(3,23.4){\makebox(0,0)[lt]{To Radio:}} |
||||
\put(46,23.4){\makebox(0,0)[rt]{\large\bf HISCALL}} |
||||
\put(3,18.4){\makebox(0,0)[lt]{Via:}} |
||||
\put(46,18.4){\makebox(0,0)[rt]{\large\bf MANAGER}} |
||||
\put(3,12.4){\makebox(0,0)[l]{\footnotesize MYCALL is glad to cfm:}} |
||||
\put(2,5){ |
||||
\scriptsize |
||||
\begin{tabular}{@{}p{14mm}@{}p{8mm}@{}p{7mm}@{}p{7mm}@{}p{7mm}@{}} |
||||
\bf Date&\bf Time&\bf Band&\bf 2way&\bf RST\\ |
||||
\hline |
||||
DATE1&TIME1&BAND1&MODE1&RST1\\ |
||||
DATE2&TIME2&BAND2&MODE2&RST2 |
||||
\end{tabular}} |
Loading…
Reference in new issue