aboutsummaryrefslogtreecommitdiff
path: root/comms/direwolf/files/patch-scripts_dw-start.sh
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2021-12-17 16:42:14 +0000
committerDiane Bruce <db@FreeBSD.org>2021-12-17 16:52:23 +0000
commit89db997b76aa374e5737846097b8cc21aaa4b48d (patch)
treeb536d9c13d07fcca4cf3b90f2b7ff1b121103778 /comms/direwolf/files/patch-scripts_dw-start.sh
parent91ef39095a9e95db37e8729f99f430955c768ad6 (diff)
downloadports-89db997b76aa374e5737846097b8cc21aaa4b48d.tar.gz
ports-89db997b76aa374e5737846097b8cc21aaa4b48d.zip
comms/direwolf: Update to 1.6
- Really update to 1.6 this time. Changes involved new buld system. - Corrected non functioning SED - petted portlint - Rather than trying to keep a bunch of different platform specific Makefiles in sync, "cmake" is now used for greater portability and easier maintenance. - README.md has a quick summary of the process. More details in the ***User Guide***. - "-X" option enables FX.25 transmission. FX.25 reception is always enabled so you don't need to do anything special. "What is FX.25?" you might ask. It is forward error correction (FEC) added in a way that is completely compatible with an ordinary AX.25 frame. See new document ***AX25\_plus\_FEC\_equals\_FX25.pdf*** for details. - Receive AIS location data from ships. Enable by using "-B AIS" command line option or "MODEM AIS" in the configuration file. AIS NMEA sentences are encapsulated in APRS user-defined data with a "{DA" prefix. This uses 9600 bps so you need to use wide band audio, not what comes out of the speaker. There is also a "-A" option to generate APRS Object Reports. - Receive Emergency Alert System (EAS) Specific Area Message Encoding (SAME). Enable by using "-B EAS" command line option or "MODEM EAS" in the configuration file. EAS SAME messages are encapsulated in APRS user-defined data with a "{DE" prefix. This uses low speed AFSK so speaker output is fine. - "-t" option now accepts more values to accommodate inconsistent handling of text color control codes by different terminal emulators. The default, 1, should work with most modern terminal types. If the colors are not right, try "-t 9" to see the result of the different choices and pick the best one. If none of them look right, file a bug report and specify: operating system version (e.g. Raspbian Buster), terminal emulator type and version (e.g. LXTerminal 0.3.2). Include a screen capture. - "-g" option to force G3RUH mode for lower speeds where a different modem type may be the default. - 2400 bps compatibility with MFJ-2400. See ***2400-4800-PSK-for-APRS-Packet-Radio.pdf*** for details - "atest -h" will display the frame in hexadecimal for closer inspection. - Add support for Multi-GNSS NMEA sentences. PR: ports/260483 Reported by: hellocodebsd@gmail.com
Diffstat (limited to 'comms/direwolf/files/patch-scripts_dw-start.sh')
-rw-r--r--comms/direwolf/files/patch-scripts_dw-start.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/comms/direwolf/files/patch-scripts_dw-start.sh b/comms/direwolf/files/patch-scripts_dw-start.sh
new file mode 100644
index 000000000000..974c7f92c6d8
--- /dev/null
+++ b/comms/direwolf/files/patch-scripts_dw-start.sh
@@ -0,0 +1,29 @@
+--- scripts/dw-start.sh.orig 2021-12-17 15:56:10 UTC
++++ scripts/dw-start.sh
+@@ -1,4 +1,4 @@
+-#!/usr/bin/bash
++#!%%PREFIX%%/bin/bash
+
+ # Why not simply "#!/bin/bash" ?
+
+@@ -133,14 +133,14 @@ function GUI {
+ # Auto adjust the startup for your particular environment: gnome-terminal, xterm, etc.
+ #
+
+- if [ -x /usr/bin/lxterminal ]; then
+- /usr/bin/lxterminal -t "Dire Wolf" -e "$DWCMD" &
++ if [ -x %%PREFIX%%/bin/lxterminal ]; then
++ %%PREFIX%%/bin/lxterminal -t "Dire Wolf" -e "$DWCMD" &
+ SUCCESS=1
+- elif [ -x /usr/bin/xterm ]; then
+- /usr/bin/xterm -bg white -fg black -e "$DWCMD" &
++ elif [ -x %%PREFIX%%/bin/xterm ]; then
++ %%PREFIX%%/bin/xterm -bg white -fg black -e "$DWCMD" &
+ SUCCESS=1
+- elif [ -x /usr/bin/x-terminal-emulator ]; then
+- /usr/bin/x-terminal-emulator -e "$DWCMD" &
++ elif [ -x %%PREFIX%%/bin/x-terminal-emulator ]; then
++ %%PREFIX%%/bin/x-terminal-emulator -e "$DWCMD" &
+ SUCCESS=1
+ else
+ echo "Did not find an X terminal emulator. Reverting to CLI mode"