This file is indexed.

/etc/X11/app-defaults/Twpsk is in twpsk 4.0-2.1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
!
! 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:                          1500.0
Twpsk.txFreq:                          1500.0

! Use this to define the highlight style for your transmitted text
! No highlight 0
! Inverse video 1
! Underlined    2
Twpsk.xmitHighlight:                   1

! 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 want the mixer controls to be active.
!Twpsk.useMixer:                         0
Twpsk.useMixer:                         1

! Set the following line to the mixer device on your system.
Twpsk.mixerDev:                        /dev/mixer
!Twpsk.mixerDev:                        /dev/mixer1

! Set next value to 1 for PTT control. Set the following
! line to the serial device used to key PTT
Twpsk.ptt:                             1
!Twpsk.serDev:                          /dev/ttyS0
Twpsk.serDev:                          /dev/ttyS1

! Start up values for mixer controls
! valid values are 0 -> 100
Twpsk.mainVol:                         60
Twpsk.outVol:                          59
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

! 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

! font for your call at the top
Twpsk*label1.fontList:       -adobe-helvetica-bold-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

! waterfall flow direction
! 0 flows down or 1 flows up
Twpsk*Flow Up.set:                      1

! Local Caps
! when set to 1, all Rx letters will be displayed in upper case.
! Tx letters will be sent as typed, but displayed as upper case.  
Twpsk*Local Caps.set:                   0

! callBox
! set to 1 if you need the callbox
! and set the call box position
Twpsk.callBox:                         0
!Twpsk.callBox:                         1

! location of the callbox
Twpsk*callShell.x:                      50
Twpsk*callShell.y:                      50

! postamble - for contesting, set this to 0. The postamble ( a steady tone)
! will not be transmitted at the end of a transmission, making for a little
! faster over's.  Set to 1 if you want the postamble (default)
Twpsk.postamble:                        1

! Translations for "Over", HisCall and user defined macros.
! You can create your own macros here. They work well for short phrases
! Use the samples below lines like these.
!
!    Shift Alt <Key>m:     sendMacro(WA0EIR)\n\
!    Shift Alt <Key>F1:    sendMacro(WA0EIR)\n\
!    Shift Alt <Key>1:     sendMacro("\n-k-\n")\n\
!    Shift Alt <Key>2:     sendMacro("\n-kn-\n")\n\
!    Shift Alt <Key>2:     sendMacro("\n-sk-\n")\n\
!    Shift Alt <Key>u:     sendMacro("http://wa0eir.ham.org")\n\
!    Shift Alt <Key>t:     sendMacro("Tnx for the QSO and 73")\n\
!
! A space will automatically be added to the end of your text.
!
! I suggest you use the "Shift Alt <Key> x" form:
!   Shift Alt <Key> "some_key": sendMacro(your text)\n\
! since the "Ctrl <Key> x" form may already be used by other programs.
!
! Enter your macros after the line:
!   Twpsk*txText.translations:   #override\n\
! And before the last two lines.
! The last two lines should NOT be modified.

Twpsk*txText.translations:   #override\n\
     Shift Alt <Key>m:       sendMacro("N0CALL")\n\
     Shift Alt <Key>1:       sendMacro("\n-k-\n")\n\
     Shift Alt <Key>2:       sendMacro("\n-kn-\n")\n\
     Shift Alt <Key>3:       sendMacro("\n-sk-\n")\n\
     Shift Alt <Key>u:       sendMacro("http://wa0eir.ham.org")\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.rows:                     25
!Twpsk*txText.columns:                  70


! X-Y position of upper left corner of the window
Twpsk.x:                               220
Twpsk.y:                                20
!
! Geometry things
!
Twpsk*highlightThickness:                1
Twpsk*videoDiag*highlightThickness:      3
Twpsk*audioDiag*highlightThickness:      3
Twpsk*waterfallDiag*.highlightThickness: 3

!
! Color stuff
!
Twpsk*XmToggleButton.selectColor:                red

Twpsk*foreground:                                black
Twpsk*background:                                #e0e1e0
Twpsk*XmForm.background:                         #00768d
Twpsk*XmRowColumn.background:                    #00768d
Twpsk*rxTextSW*background:                       #e0e1e0
Twpsk*txTextSW*background:                       #e0e1e0
Twpsk*menuBar*background:                        #e0e1e0
Twpsk*XmLabel.foreground:                        white
Twpsk*XmLabel.background:                        #00768d
!
Twpsk*scopeDA.background:                        #00768d
Twpsk*imdFrame*foreground:                       black
Twpsk*imdFrame*background:                       #e0e1e0
Twpsk*f4.background:                             seashell
Twpsk*XmFrame.background:                        #00768d
Twpsk*imdFrame.background:                       #e0e1e0
!
Twpsk*rxTextSW*clrRx*background:                 #00768d
Twpsk*rxTextSW*clrRx*foreground:                 #e0e0e0
Twpsk*txTextSW*clrTx*background:                 #00768d
Twpsk*txTextSW*clrTx*foreground:                 #e0e0e0

!
Twpsk*callBox.foreground:                        #e0e1e0
Twpsk*callBox*background:                        #00768d
Twpsk*callBox*XmTextField.background:            #e0e1e0
Twpsk*callDiag*foreground:                       black
!
Twpsk*aboutDiag*foreground:                      #e0e1e0
Twpsk*aboutDiag*background:                      #00768d
Twpsk*aboutDiag*OK.background:                   #e0e1e0
Twpsk*aboutDiag*OK.foreground:                   black
!
Twpsk*helpDiag*foreground:                       #e0e1e0
Twpsk*helpDiag*background:                       #00768d
Twpsk*helpDiag*XmText.foreground:                black
Twpsk*helpDiag*XmPushButton*foreground:          black
Twpsk*helpDiag*XmPushButton*background:          #e0e1e0
Twpsk*helpDiag.XmScrolledWindow*background:      #e0e1e0
!
Twpsk*promptDiag*foreground:                     #e0e1e0
Twpsk*promptDiag*background:                     #00768d
Twpsk*promptDiag.XmTextField.foreground:         black
Twpsk*promptDiag*XmTextField.background:         #e0e1e0
Twpsk*promptDiag*OK.foreground:                  black
Twpsk*promptDiag*OK.background:                  #e0e1e0
Twpsk*promptDiag*Apply.foreground:               black
Twpsk*promptDiag*Apply.background:               #e0e1e0
Twpsk*promptDiag*Cancel.foreground:              black
Twpsk*promptDiag*Cancel.background:              #e0e1e0
!
Twpsk*noMatchError*foreground:                   #e0e1e0
Twpsk*noMatchError*background:                   #00768d
Twpsk*noMatchError*OK.background:                #e0e1e0
Twpsk*noMatchError*OK.foreground:                black
!
Twpsk*audioDiag*XmLabel.foreground:              #e0e1e0
Twpsk*audioDiag*XmFrame.background:              #00768d
Twpsk*audioDiag*XmForm.background:               #00768d
Twpsk*audioDiag*XmScale.background:              #e0e1e0
Twpsk*audioDiag*scForm.background:               #00768d
Twpsk*audioDiag*scRC.background:                 #00768d
Twpsk*audioDiag*bitsOM.background:               #00768d
Twpsk*audioDiag*chansOM.background:              #e0e1e0
Twpsk*audioDiag*XmPushButton.background:         #e0e0e0
Twpsk*audioDiag*chansOM.background:              #00768d

! Fonts and Label Strings
Twpsk*fontList:               -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
!Twpsk*fontList:              fixed
Twpsk*XmText.fontList:        -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
!Twpsk*XmText.fontList:       fixed
Twpsk*XmTextField.fontList:   -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
!Twpsk*XmTextField.fontList:  fixed

! 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

! For Wheel Mouse on Text Widgets
Twpsk*XmText*translations: #augment\n\
    <Btn4Down>: scroll-one-line-down()\n\
    <Btn5Down>: scroll-one-line-up()

!TJW playing with the sample size
!Twpsk.sampsize:               7575
!Twpsk.sampsize:               8000