If you are one of the MacOS gurus who build fldigi from source then follow these instructions:
$ cd $ mkdir Apps
$ cd Apps $ cp -r /Applications/flrig-1.3.48.app flrig.app
The current binary is renamed and a new shell script created with the name flrig.
$ cd flrig.app/Contents/MacOS $ mv flrig flrig.bin $ touch flrig
The shell script is created using nano, a simple terminal editor.
$ nano flrig
Add these lines:
#! /bin/bash $0.bin
and then save the file, ^o, Enter, and exit ^x, where the ^key means press the control and key simultaneously.
$ chmod a+x flrig
Open the Finder and change to the home folder. The flrig.app in the home Apps folder can be dragged to the launch bar just like any other app. Right click on the new flrig.app folder in the $HOME/Apps folder, select Info and it should have the “Prevent App Nap” check box available. You may have to run flrig once and refresh the Finder window before the check box will show up in the Info window.
You can add any or all of the flrig parameters to the “$0.bin” line.
$0.bin --config-dir $HOME/flrig.7300 $0.bin --trace $0.bin --xml-trace $0.bin --exp $0.bin --config-dir $HOME/flrig.7300 --trace --xml-trace --exp
As you build new versions of flrig you simply have to replace the flrig.bin file in the ~/App/flrig/Contents/MacOS folder:
$ ./configure && make && cp src/flrig ~/Apps/flrig/Contents/MacOS/flrig.bin
Repeat this procedure for any other application that is experiencing unwanted shutdown by App Nap.
Did you know that the bash shell in MacOS allows you to create aliases for common command sequences? How bash behaves for you is determined by a file in your $HOME folder named .bash_profile … that is dot bash_profile.
You may need to create one:
$ cd $ ls .bash_profile [ if not found then ] $ touch .bash_profile $ nano .bash_profile [ and add these lines, ignore the # and trailing text or add it for documentation ] PS1='\$ ' # changes terminal prompt to a simple '$ ' export PATH=$HOME/bin:$PATH # use binaries found in $HOME/bin before all others alias ls='ls -G' # color coded listings alias lt='ls -lt' # time sorted long listings in color alias l1='ls -1' # single column color coded listing that's a '1', one in the script ^o ^x [ if you do not already have a bin folder, create one ] $ mkdir bin
Exit and restart the terminal. Try your new alias ls, lt, and l1 commands.
Change to the $HOME bin folder and create a new shell script command name build_flrig
$ cd $ cd bin $ cat >build_flrig ./configure && make && cp src/flrig $HOME/Apps/flrig/Contents/MacOS/flrig.bin ^C
Now when you compile one of those all too often alpha releases of flrig you only need to change to the newly un-archived source and