Commit 2874f2c1 authored by alaskalinuxuser's avatar alaskalinuxuser
Browse files

Updated to gtk2.0

parent 8d2f523b
CFLAGS = -O9 -g -Wall
CFLAGSX = -O9 -g -Wall `gtk-config --cflags`
CFLAGSX = -O9 -g -Wall `pkg-config --cflags gtk+-2.0`
LDFLAGSX = `gtk-config --libs` -lm
LDFLAGSX = `pkg-config --libs gtk+-2.0` -lm
all: rscw rscwx noisycw rs12tlmdec
rscw: rscw.c
$(CC) $(CFLAGS) rscw.c -o rscw -lfftw3 $(LDFLAGS)
gcc $(CFLAGS) rscw.c -o rscw -lfftw3 $(LDFLAGS)
rscwx: rscwx.c
$(CC) $(CFLAGSX) rscwx.c -o rscwx $(LDFLAGSX)
gcc $(CFLAGSX) rscwx.c -o rscwx $(LDFLAGSX)
noisycw: noisycw.c
gcc -O9 noisycw.c -o noisycw -g -lm
RSCW is a Linux/Unix program for decoding morse signals using the computer's sound card. It has been written/optimized for digging weak signals out of the noise. However, it can only handle signals with perfect timing, which in practice means machine-sent signals. Furthermore, the user must specify the speed (words per minute); the program cannot (yet) determine this automatically from the received signal. As a final inconvenience, RSCW introduces quite a bit of delay: the decoding lags the reception by about 2 seconds. As a consequence, RSCW is not a general-purpose morse decoder that can replace a skilled operator in say a contest. However, it is quite useful for e.g. the automatic reception of telemetry from amateur-radio satellites.
for more documentation.
Notes from Alaskalinuxuser:
As originally written under the GPL 2.0 by pa3fwm
Which requires GTK version 1.2
I have updated this to build on Ubuntu 16.04 using GTK version 2.0, editing the README file, rscwx.c file, and the Makefile. I also added the license file, maintaining the original license for clarification.
This diff is collapsed.
......@@ -633,7 +633,9 @@ int main(int argc,char **argv)
gtk_signal_connect(GTK_OBJECT(w), "clicked", GTK_SIGNAL_FUNC(cmd_zoomout), (gpointer)NULL);
gtk_widget_add_accelerator(w, "clicked", acc, GDK_X, 0,0);
// WJH - Only required for gtk1.2, works without this in gtk2.0
// and will cause errors in gtk2.0 if left in.
......@@ -680,8 +682,10 @@ int main(int argc,char **argv)
gtk_signal_connect(GTK_OBJECT(w), "clicked", GTK_SIGNAL_FUNC(cmd_center_f), (gpointer)NULL);
gtk_widget_add_accelerator(w, "clicked", acc, GDK_C, 0,0);
// WJH - Only required for gtk1.2, works without this in gtk2.0
// and will cause errors in gtk2.0 if left in.
gtk_signal_connect(GTK_OBJECT(gdrawf), "configure_event", GTK_SIGNAL_FUNC(configure_event_f), NULL);
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