!
! TWCW RESOURCE FILE
!

! Put your call in the right hand column. \330 is a zero with a slash on it.
! This will be displayed in the label at the top of the interface
! If your call has a zero, you can slash it like this -
!Twcw*label1.labelString:           WA\330EIR 
Twcw*label1.labelString:            twcw

! The next line is a comma separated list of the files in the twcwDir directory.
! These filenames will appear as button names on the File pulldown menu.
! You can create more files in $HOME/twcwDir, and enter there names below.
Twcw.buttonNames:                  ShortCQ,LongCQ,QSO1,QSO2,PARIS

! The next line is pathname of the serial port you want to key.
! The default value is /dev/ttyS1. 
Twcw.serialDevice:                 /dev/ttyS1

! This number is a fudge factor used by the RDTSC timing.  See the README
! file for more information.
Twcw.cpuSpeed:                     146.3

! The next resource will set the default WPM value
Twcw*textf2.value:                 20

! This one is your call in plain text.  It is used for the
! Over macro - Control M
!Twcw.call:                         wa0eir
Twcw.call:                         n0call

! The next two values can be used to position the main window.
Twcw.x:                             300
Twcw.y:                             10

! You can select different fonts.  The first line is for the call label and
! the second is for everything else.
Twcw*label1.fontList:               -adobe-helvetica-*-o-*-*-25-*-*-*-*-*-*-*
Twcw*fontList:                      variable
!
! 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 -
!   Twcw*txText.translations:   #override\n\
! The last two lines should NOT be modified.
!
!Shift Alt O and Shift Alt h get the other station's call from a log program
!and send it.  Currently this works with twlog and xlog
!
! I suggest you use the form:
!   Shift Alt <Key> "some_key": sendMacro(your text)\n\
!
Twcw*text1.translations:   #override\n\
                             Shift Alt <Key>m:     sendMacro(n0call)\n\
                             Shift Alt <Key>o:     sendOver()\n\
                             Shift Alt <Key>h:     sendHisCall()

! Nothing below needs to be changed, unless you want to create a new color
! scheme.
Twcw*background:                               tan
Twcw*foreground:                               black

Twcw*XmLabel.foreground:                       antiquewhite
Twcw*XmLabel.background:                       #00768d

Twcw*form1.background:                         #00768d
Twcw*form2.background:                         #00768d

Twcw*XmToggleButton.selectColor:               red
Twcw*tb1.labelString:                          XMIT
Twcw*tb2.labelString:                          SIDETONE
Twcw*tb2.set:                                  0

Twcw*label2.labelString:                       Sending
Twcw*label3.labelString:                       Tone
Twcw*label4.labelString:                       WPM

Twcw*scale1.scaleMultiple:                     10

! Next is the default sidetone frequency.

Twcw*scale1.value:                             900
Twcw*scale1.minimum:                           750
Twcw*scale1.maximum:                           1200

Twcw*aboutDiag*background:                     #00768d
Twcw*aboutDiag*foreground:                     antiquewhite
Twcw*aboutDiag*XmPushButtonGadget.foreground:  black
Twcw*aboutDiag*XmPushButtonGadget.background:  tan

Twcw*helpDiag*background:                      #00768d
Twcw*helpDiag*foreground:                      antiquewhite
Twcw*helpDiag*XmText.background:               tan
Twcw*helpDiag*XmText.foreground:               black
Twcw*helpDiag*XmPushButtonGadget.foreground:   black
Twcw*helpDiag*XmPushButtonGadget.background:   tan

Twcw*defaultVirtualBindings: \
                            osfBackSpace:      <Key>BackSpace\n\
                            osfDelete:         <Key>BackSpace\n\
                            osfLeft:           <Key>Left\n\
                            osfRight:          <Key>Right\n\
                            osfUp:             <Key>Up\n\
                            osfDown:           <Key>Down
