Commit 455f3728 authored by Christoph Berg's avatar Christoph Berg

Import Upstream version 0.9.24

parent d25f1eaa
This diff is collapsed.
This diff is collapsed.
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* config.h.in. Generated from configure.in by autoheader. */
#undef PACKAGE_DATA_DIR
/* Define if you have the <fcntl.h> header file. */
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define if you have the `floor' function. */
/* Define to 1 if you have the `floor' function. */
#undef HAVE_FLOOR
/* Define if you have the <hamlib/riglist.h> header file. */
#undef HAVE_HAMLIB_RIGLIST_H
/* Define if you have the <hamlib/rig.h> header file. */
/* Define to 1 if you have the <hamlib/rig.h> header file. */
#undef HAVE_HAMLIB_RIG_H
/* Define if you have the <inttypes.h> header file. */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if you have the `hamlib' library (-lhamlib). */
/* Define to 1 if you have the `hamlib' library (-lhamlib). */
#undef HAVE_LIBHAMLIB
/* Define if you have the `m' library (-lm). */
/* Define to 1 if you have the `m' library (-lm). */
#undef HAVE_LIBM
/* Define if you have the `ncurses' library (-lncurses). */
/* Define to 1 if you have the `ncurses' library (-lncurses). */
#undef HAVE_LIBNCURSES
/* Define if you have the `pthread' library (-lpthread). */
/* Define to 1 if you have the `pthread' library (-lpthread). */
#undef HAVE_LIBPTHREAD
/* Define if you have the <memory.h> header file. */
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define if you have the `sqrt' function. */
/* Define if you have POSIX threads libraries and header files. */
#undef HAVE_PTHREAD
/* Define to 1 if you have the `sqrt' function. */
#undef HAVE_SQRT
/* Define if you have the <stdlib.h> header file. */
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define if you have the `strchr' function. */
/* Define to 1 if you have the `strchr' function. */
#undef HAVE_STRCHR
/* Define if you have the `strcspn' function. */
/* Define to 1 if you have the `strcspn' function. */
#undef HAVE_STRCSPN
/* Define if you have the `strftime' function. */
/* Define to 1 if you have the `strftime' function. */
#undef HAVE_STRFTIME
/* Define if you have the <strings.h> header file. */
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define if you have the <string.h> header file. */
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define if you have the `strspn' function. */
/* Define to 1 if you have the `strspn' function. */
#undef HAVE_STRSPN
/* Define if you have the `strstr' function. */
/* Define to 1 if you have the `strstr' function. */
#undef HAVE_STRSTR
/* Define if you have the <sys/ioctl.h> header file. */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
/* Define if you have the <unistd.h> header file. */
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Name of package */
#undef PACKAGE
/* Define if you have the ANSI C header files. */
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to the necessary symbol if this constant uses a non-standard name on
your system. */
#undef PTHREAD_CREATE_JOINABLE
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if your <sys/time.h> declares `struct tm'. */
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
/* Version number of package */
#undef VERSION
/* No Hamlib */
#undef WANT_HAMLIB
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
......
This diff is collapsed.
# Process this file with autoconf to produce a configure script.
AC_INIT(src, 0.9.23, rein@couperus.com)
AM_INIT_AUTOMAKE(tlf, 0.9.23)
AC_INIT(src, 0.9.24, rein@couperus.com)
AM_INIT_AUTOMAKE(tlf, 0.9.24)
AM_CONFIG_HEADER(config.h)
# Checks for programs.
......@@ -35,10 +35,10 @@ AC_ARG_ENABLE([hamlib],
if test "x${wanthamlib}" != "xfalse"; then
AC_CHECK_LIB(hamlib,main,,AC_MSG_ERROR([Hamradio control libraries not found...]))
AC_CHECK_HEADERS(hamlib/rig.h,,AC_MSG_ERROR([Hamlib headers not found...]))
AC_DEFINE(WANT_HAMLIB, 1)
AC_DEFINE([WANT_HAMLIB], 1, [Want Hamlib])
echo "enabling hamlib support"
else
AC_DEFINE(WANT_HAMLIB, 0)
AC_DEFINE([WANT_HAMLIB], 0, [No Hamlib])
echo "disabling hamlib support"
fi
......
This diff is collapsed.
This diff is collapsed.
tlf-0.9.24
==========
- Code adaptation to compile with gcc-4.0 without warnings and segfaults (will compile on UBUNTU-5.10, FC4 etc..).
tlf-0.9.23
==========
- incorporated patch from W9WI fixing a bug in the voice keyer
- New function: start cw before call is complete. In contest mode, you can start sending the call from the call window with 'space' or with 'down-arrow'.
- New command: :CHAR asks for number of characters the call must have before sending starts. Default: 0 = OFF. If CHARS is 3, tlf starts sending as soon as you have input the first 3 letters of the call. If you are on slow speed you then have time to complete the call (including backspcing) before sending the first 3 letters is finished. This is of limited use when running above 40 wpm :)
- incorporated patch from W9WI fixing a bug in the voice keyer.
- changed cw speed control: now default active in call and exchange fields, even if field is not empty
- changed qso save logic: RETURN now always logs the qs in SSB and in general qso mode.
- New parameter: CHANGE_RST. If set in logcfg.dat, Pg-up and Pg-down will change RST instead of CW speed if field is not empty. Default: off.
- fixed nasty bug which caused CQDELAY to start at 0 instead of the default in logcfg.dat
- manpage updated for version 0.9.23
tlf-0.9.22
......
......@@ -4,7 +4,7 @@
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
# $Id: mkinstalldirs,v 1.1 2005/04/27 15:44:24 pa0rct Exp $
errstatus=0
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -98,7 +98,6 @@ extern int k_ptt;
extern int noautocq;
extern int keyerport;
extern int miniterm;
extern int rignumber;
int i, j, ii, t, x = 0, y=0, xx;
......
......@@ -166,7 +166,7 @@
fputs("CONTEST: ", fp);
attron(A_STANDOUT);
mvprintw(15,1, " ");
nicebox(14,0, 1, 78, "Contest: (CQ-WW-CW/SSB, WPX-CW/SSB, ARRL-DX-CW/SSB)");
nicebox(14,0, 1, 78, "Contest: (CQ-WW-CW/SSB, CQ-WPX-CW/SSB, ARRL-DX-CW/SSB)");
attron(A_STANDOUT);
mvprintw(15,1,"");
......
......@@ -27,7 +27,7 @@
char lan_recv_message[256];
char lan_message[256];
char lan_logline[256];
int lan_sin_len;
unsigned int lan_sin_len;
//--------------------------------------
int bc_socket_descriptor[MAXNODES];
ssize_t bc_sendto_rc;
......
......@@ -297,9 +297,9 @@ int miniterm = 0;
int multlist = 0;
int max_multipliers;
int mult_bands[MAX_MULTS];
char callmasterarray[28000][9];
char callmasterarray[MAX_CALLMASTER][9];
char callmaster_result[50][9];
int max_callmastercalls;
long int max_callmastercalls;
int callareas[20];
int multscore[NBANDS];
......
......@@ -237,6 +237,7 @@ extern char controllerport[80]; // port for multi-mode controller
extern char clusterlogin[];
extern int cw_bandwidth;
extern int nobandchange;
extern int change_rst;
......@@ -390,7 +391,7 @@ extern int nobandchange;
"LOWBAND_DOUBLE", /* 145 */
"CLUSTER_LOG",
"SERIAL+GRID4",
"",
"CHANGE_RST",
""
};
......@@ -1176,6 +1177,10 @@ extern int nobandchange;
serial_grid4_mult = 1;
break;
}
case 148 : {
change_rst = 1;
break;
}
}
......
......@@ -89,8 +89,12 @@
{
strncpy(buffer, buf, 79);
buffer[strlen(buffer)-1] = '\0'; // remove \012
buffer[strlen(buffer)-1] = '\0'; // remove \015
char *loc = NULL; //PG4I, 26Jul2005
if ((loc = strchr(buffer, '\r')))
*loc = '\0';
// buffer[strlen(buffer)-1] = '\0'; // remove \012
// buffer[strlen(buffer)-1] = '\0'; // remove \015
n = strlen(buffer);
......
......@@ -111,6 +111,9 @@ extern int trxmode;
extern int cwpoints;
extern int ssbpoints;
extern int lowband_point_mult;
extern int portable_x2;
extern char hiscall[];
/* LZ3NY mods */
......@@ -124,6 +127,7 @@ int is_mult=0;
/* end LZ3NY mods */
int zone;
char *loc;
if (dupe == ISDUPE){
points = 0;
......@@ -349,6 +353,12 @@ int zone;
if (lowband_point_mult != 0 && (bandinx < BANDINDEX_30)) // lowband 2x points
points *= 2;
if (portable_x2 == 1) { // portable x2
loc = strstr(hiscall, "/P");
if (loc == hiscall + strlen(hiscall) - 2) {
points *= 2;
}
}
/* The Result of all ABOVE */
total=total+points;
......
......@@ -66,8 +66,8 @@ static char result[MAX_CALLS][82];
extern int mixedmode;
extern int qso_once;
extern int trxmode;
extern int max_callmastercalls;
extern char callmasterarray[28000][9];
extern long int max_callmastercalls;
extern char callmasterarray[MAX_CALLMASTER][9];
extern char qsos[MAX_QSOS][82];
extern char hiscall[];
extern char zone_export[];
......@@ -85,7 +85,8 @@ char s_inputbuffer[82] = "";
char s_inputbuffercpy[82] = "";
static char zonebuffer[3] = "";
static int z, z1;
static int i, j, k, l, m;
static int i, j, k, l;
static long int m;
static int pxnr;
static int qso_index = 0;
......@@ -747,13 +748,13 @@ else
// --------------------------------------------load callmaster ------------------
int load_callmaster(void) {
extern char callmasterarray[28000][9];
extern char callmasterarray[MAX_CALLMASTER][9];
extern int arrlss;
FILE *cfp ;
char callmaster_location[80];
char s_inputbuffer[186] = "";
int count = 0;
long int count = 0;
int file_ok = 0;
strcpy(callmaster_location, "callmaster");
......
......@@ -59,7 +59,7 @@ static struct timeval *socktimeval = NULL;
static struct timeval *selecttimeval = NULL;
static struct sockaddr_in udp_peer;
static int udpport = 0;
static int peerlen = 0;
static unsigned int peerlen = 0;
int udp_socket = -1;
static fd_set readfds, openfds;
......@@ -302,7 +302,8 @@ int startup_udp(int portnum)
int recvline(int *fd, char *buf, int buflen)
{
int len, ns, i;
unsigned int len;
int ns, i;
struct sockaddr_in client;
char *nl;
......
......@@ -541,7 +541,7 @@ extern WINDOW *sclwin;
return 0;
}
void sanitize(unsigned char *s)
void sanitize(char *s)
{
char *t;
for (t=s; *s!='\0'; s++) {
......@@ -549,7 +549,7 @@ void sanitize(unsigned char *s)
beep();
else if (*s == '\015')
;
else if (*s > 127)
else if (*s < 0)
*t++ = *s - 128;
else
*t++ = *s;
......
......@@ -73,7 +73,7 @@ void viewbottom(void);
void resume_editing(void);
void viewlog(void);
int edit_line(int c);
void sanitize(unsigned char *s);
void sanitize(char *s);
void addtext(char *s);
int init_packet(void) ;
int cleanup_telnet (void);
......
......@@ -111,6 +111,7 @@
#define MAX_CALLS 5000 /* max nr of calls in dupe array */
#define MAX_MULTS 800 /* max nr of mults in mults array */
#define MAX_SPOTS 200 /* max nr. of spots in spotarray */
#define MAX_CALLMASTER 40000 /* max number of calls in callmaster array */
#define MAX_COMMANDS 150
......
/*
* Tlf - contest logging program for amateur radio operators
* Copyright (C) 2001-2002-2003 Rein Couperus <pa0rct@amsat.org>
* Copyright (C) 2001-2002-2003-2004-2005 Rein Couperus <pa0r@amsat.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -46,7 +46,6 @@
char buf[181];
char buffer[82]= "";
char standardexchange[70] = "";
char ssa_mt_exchange[30];
FILE *fp1, *fp2;
......
......@@ -87,6 +87,8 @@ writes adif file (*.adif)
.TR
.B :CHAr
Input number of characters for CW auto-start. Default is 0 (off).
You can also start sending the first part of the call by hitting 'space' of 'down-arrow'.
This works only in CW CONTEST modes.
.TR
.B :CHEck, :NOCheck
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment