VARA - Only all QtTermTCP to use VARA modems for terminal. Paracon does not support them as there is no AGE interface

This commit is contained in:
Gaston Gonzalez
2025-02-09 09:36:49 -07:00
parent a4b3e1f7f5
commit 97428d47be
+4 -1
View File
@@ -2,7 +2,7 @@
# #
# Author : Gaston Gonzalez # Author : Gaston Gonzalez
# Date : 6 November 2024 # Date : 6 November 2024
# Updated : 8 February 2025 # Updated : 9 February 2025
# Purpose : Configures the system for a specific mode of operation # Purpose : Configures the system for a specific mode of operation
# Use a simple text file to save the state of the last mode selected # Use a simple text file to save the state of the last mode selected
@@ -101,6 +101,8 @@ select_term_mode () {
term_mode+=("9600" "9600 baud (VHF/UHF)") term_mode+=("9600" "9600 baud (VHF/UHF)")
term_mode+=("300" "300 baud (HF)") term_mode+=("300" "300 baud (HF)")
# Only allow VARA terminal modes when using QtTermTCP
if [[ "${SELECTED_MODE}" == "${MODE_ID_BBS_CLIENT2}" ]]; then
if [ -e "${HOME}/.wine32/drive_c/VARA FM/VARAFM.exe" ]; then if [ -e "${HOME}/.wine32/drive_c/VARA FM/VARAFM.exe" ]; then
term_mode+=("vara-fm" "VARA FM") term_mode+=("vara-fm" "VARA FM")
fi fi
@@ -108,6 +110,7 @@ select_term_mode () {
if [ -e "${HOME}/.wine32/drive_c/VARA/VARA.exe" ]; then if [ -e "${HOME}/.wine32/drive_c/VARA/VARA.exe" ]; then
term_mode+=("vara-hf" "VARA HF") term_mode+=("vara-hf" "VARA HF")
fi fi
fi
TERM_MODE=$(dialog --clear --menu "Select a modem" 13 60 10 "${term_mode[@]}" 3>&1 1>&2 2>&3) TERM_MODE=$(dialog --clear --menu "Select a modem" 13 60 10 "${term_mode[@]}" 3>&1 1>&2 2>&3)
exit_status=$? exit_status=$?