1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
|
!
! Resource File for Twpsk
!
! This line is a comma separated list of files in the twpskDir directory
! These filenames will appear as button names on the File pulldown menu.
! Add your own files. For example,
Twpsk.buttonNames: ShortCQ,LongCQ,Brag
! Start up values for rx and tx Freq
Twpsk.rxFreq: 1000.0
Twpsk.txFreq: 1000.0
! Start up state for AFC and NET - 1=ON 0=OFF
Twpsk.afc: 1
Twpsk.net: 1
! The squelch is gone for now.
! Start up value for Squelch Scale - Valid range 0 -> 40
!Twpsk*squelchScale.value: 5
! Set the next value to 1 if you do NOT want the mixer controls
! to be active.
Twpsk.noMixer: 0
! Start up values for mixer controls
! valid values are 0 -> 100
Twpsk.mainVol: 65
Twpsk.outVol: 65
Twpsk.inVol: 50
! Set the next value to your call for CW ID
Twpsk.call: N0CALL
!Twpsk.call: WA0EIR
! Set next value to 1 to display zeros with slashes
Twpsk.zero: 1
! Set next value to 1 for PTT. Set the following
! line to the serial device used to key PTT
Twpsk.ptt: 1
Twpsk.serDev: /dev/ttyS1
! Select the start up state for the display type
! Twpsk*saTB.set - selects the spectrum analyzer
! Twpsk*wfTB.set - selects the waterfall
! Uncomment only one of the following:
!Twpsk*saTB.set: 1
Twpsk*wfTB.set: 1
!Set one of the following to 1 and the other two
!to 0 for Broad, Medium or Narrow bandwidth display
Twpsk*B.set: 0
Twpsk*M.set: 1
Twpsk*N.set: 0
! Your call on the next line for the label on top
! Use \330 for a zero with a slash
! For example:
Twpsk*label1.labelString: TWPSK
!Twpsk*label1.labelString: WA\330EIR
Twpsk*label1.fontList: -adobe-helvetica-*-o-*-*-25-*-*-*-*-*-*-*
! fftSpeed
! valid values are 0 -> 100
! the bigger, the faster the display
! 60 is a good one.
Twpsk*fftSpeedScale.value: 60
! brightness start up value
! valid values are 1 -> 100
Twpsk*brightScale.value: 50
! callBox
! set to 1 if you need the callbox
! and set the call box position
!Twpsk.callBox: 0
Twpsk.callBox: 1
Twpsk*callShell.x: 50
Twpsk*callShell.y: 50
! Translations for "Over", HisCall and
! user defined macros.
!
! Create your own macros using lines like these.
!
! Shift Alt <Key>m: sendMacro(WA0EIR)\n\
! Shift Alt <Key>F1: sendMacro(WA0EIR)\n\
! Shift Alt <Key>F2: sendMacro(WA0EIR WA0EIR)\n\
! Shift Alt <Key>s: sendMacro(SK)\n\
!
! Enter your macros after the line -
! Twpsk*txText.translations: #override\n\
! The last two lines should NOT be modified.
!
! I suggest you use the form:
! Shift Alt <Key> "some_key": sendMacro(your text)\n\
!
! Others like Ctrl <Key> "some_key": may already be used by other programs.
!
Twpsk*txText.translations: #override\n\
Shift Alt <Key>o: sendOver()\n\
Shift Alt <Key>h: sendHisCall()
! The window does not fit on a 640x480 or
! 800x600 display. For those resolutions,
! try setting the number of lines in the
! text windows to something less than the
! default values. Some example values and
! window sizes are given below.
! 2 and 4 -> 404x479
! 5 and 5 -> 404x539
! 5 and 10 -> 404x614
Twpsk*txText.rows: 5
Twpsk*rxText.rows: 10
!Twpsk*rxText.columns: 70
!Twpsk*txText.columns: 70
! X-Y position of upper left corner of the window
Twpsk.x: 230
Twpsk.y: 10
!
! Geometry things
!
Twpsk*highlightThickness: 0
Twpsk*displayDiag*.highlightThickness: 3
Twpsk*audioDiag*.highlightThickness: 3
Twpsk*displayRB.spacing: 20
Twpsk*bwRB.spacing: 15
Twpsk*trRB.spacing: 17
Twpsk*controlsRC.spacing: 10
Twpsk*modesRC.spacing: 13
!
! Color stuff
!
Twpsk*XmToggleButton.selectColor: red
Twpsk*XmScale.borderColor: antiquewhite
!BACKGROUNDS
Twpsk*background: tan
Twpsk*XmForm.background: #00768d
Twpsk*XmRowColumn.background: #00768d
Twpsk*rxTextSW*background: tan
Twpsk*txTextSW*background: tan
Twpsk*menuBar*background: tan
Twpsk*XmLabel.background: #00768d
Twpsk*XmScale.borderWidth: 3
Twpsk*scopeDA.background: #00768d
Twpsk*IMD.background: tan
!!
Twpsk*promptDiag*background: #00768d
Twpsk*promptDiag*XmTextField.background: tan
Twpsk*promptDiag.XmPushButtonGadget.background: tan
Twpsk*callBox*background: #00768d
Twpsk*callBox*XmTextField.background: tan
Twpsk*callBox.XmPushButtonGadget.background: tan
Twpsk*aboutDiag*background: #00768d
Twpsk*aboutDiag.XmPushButtonGadget.background: tan
Twpsk*helpDiag*background: #00768d
Twpsk*helpDiag.XmScrolledWindow*background: tan
Twpsk*helpDiag.XmPushButtonGadget.background: tan
!FOREGROUNDS
Twpsk*XmLabel.foreground: antiquewhite
Twpsk*IMD.foreground: black
Twpsk*promptDiag*foreground: antiquewhite
Twpsk*promptDiag.XmTextField.foreground: black
Twpsk*promptDiag.XmPushButtonGadget.foreground: black
Twpsk*callDiag*foreground: black
Twpsk*callBox.foreground: antiquewhite
Twpsk*aboutDiag.foreground: antiquewhite
Twpsk*helpDiag*foreground: antiquewhite
Twpsk*helpDiag*XmText.foreground: black
Twpsk*helpDiag.XmPushButtonGadget.foreground: black
! Fonts and Label Strings
Twpsk*fontList: variable
Twpsk*XmText.fontList: 9x15bold
Twpsk*XmTextField.fontList: 9x15bold
Twpsk*xmitTB.labelString: Xmit
Twpsk*rcvTB.labelString: Recv
Twpsk*tuneTB.labelString: Tune
! resource file found?
!Twpsk.noTwpskMessBox.messageString - MUST be the string OK
!Change it and you will break the start up logic
!You've been warned!
twpsk.noTwpskMessBox.messageString: OK
! Key Bindings
Twpsk*defaultVirtualBindings: osfBackSpace: <Key>BackSpace\n\
osfDelete: <Key>Delete\n\
osfLeft: <Key>Left\n\
osfRight: <Key>Right\n\
osfUp: <Key>Up\n\
osfDown: <Key>Down\n\
osfMenu: <Key>F10
|