home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / misc / hamcom20 / hc.cfg < prev    next >
Text File  |  1991-10-15  |  8KB  |  290 lines

  1. #
  2. # HC.CFG 911010
  3. #
  4. # HamComm 2.0 sample configuration file
  5. #
  6.  
  7. #
  8. # HamComm will automatically search for this file on program startup.
  9. # The current directory is searched first, then all directories along
  10. # the current "PATH" environment variable.
  11. #
  12. # The character '#' starts a comment.  All characters up to the end of
  13. # the line are ignored, including the '#' character itself.
  14. #
  15. # Numbers are normally entered in decimal notation, but you can also
  16. # use hexadecimal values starting in '0x'.
  17. #
  18.  
  19.  
  20. #
  21. # Setup serial ports
  22. #
  23. # HamComm maintains an internal table of available serial ports.
  24. # Every port has a unique base port address and interrupt request line.
  25. # Up to four ports can be defined.  On startup the table looks like this:
  26. #
  27. #       iobase  irq
  28. #  COM1  0x3f8   4
  29. #  COM2  0x2f8   3
  30. #  COM3      0   0
  31. #  COM4      0   0
  32. #
  33. # COM1 and COM2 are predefined to their standard values.
  34. # COM3 and COM4 are undefined.
  35. #
  36. # Undefined ports can not be selected from the 'Port' menue.
  37. #
  38. # Let's assume we have a non-standard serial port at address 0x2E8 (hex)
  39. # using interrupt request 5.  The following 'define port' statement will
  40. # make this port available as COM4.
  41. #
  42.  
  43. define port com4  iobase 0x2e8  irq 5
  44.  
  45. #
  46. # We can also redefine any port using the 'define port' statement.
  47. #
  48. # For the following example let's assume we have a mouse connected to
  49. # COM1, so we don't want HamComm to fool around with that port.
  50. # The following statement will reset the base address and irq for COM1
  51. # to protect the mouse driver.  COM1 is now no longer available from
  52. # the 'Port' menue.
  53. #
  54.  
  55. define port com1  iobase 0  irq 0
  56.  
  57.  
  58. #
  59. # At startup HamComm normally uses COM2.  This can be changed with
  60. # the 'select port' statement.  Undefined ports can not be selected.  
  61. #
  62.  
  63. select port com4
  64.  
  65.  
  66. #
  67. # Set startup audio center frequency for receive and transmit tones.
  68. # You may select any value between 500Hz and 2000Hz (default is 700Hz).
  69. #
  70.  
  71. set afcenter 750
  72.  
  73.  
  74. #
  75. # Set startup audio frequency shift between mark and space tones.
  76. # You may select any value between 25Hz and 999Hz (default is 170Hz).
  77. #
  78.  
  79. set afshift 170
  80.  
  81. #
  82. # While AFC (Automatic Frequency Control) is turned on, the audio center
  83. # frequency will automatically follow the input signal during RTTY reception.
  84. #
  85. # Disable AFC for now.
  86. #
  87.  
  88. set afc off
  89.  
  90.  
  91. #
  92. # When the TX data buffer runs empty during transmit mode, HamComm will
  93. # automatically start sending idle characters.  This feature is normally
  94. # disabled but can be activated using the following command:
  95. #
  96.  
  97. set diddle on
  98.  
  99.  
  100. #
  101. # For some PAs (power amplifier) there should be a delay time between
  102. # activation of the PTT line and the RF signal from the transmitter.
  103. # This delay time is controlled by the PADELAY parameter.  When switching
  104. # to TX mode HamComm activates the PTT line immediately, but the speaker
  105. # output will not be enabled before the specified number of milliseconds
  106. # have elapsed.  Since most HamComm users probably don't have a PA or have
  107. # a PA that doesn't require the delay, PADELAY is set to 0.
  108. #
  109.  
  110. set padelay 0
  111.  
  112.  
  113. #
  114. # The transmitter needs a little time to start after we pull the ptt line.
  115. # Set the TXDELAY to the number of milliseconds required.
  116. # 30ms should be enough for almost any modern transceiver.
  117. #
  118.  
  119. set txdelay 50
  120.  
  121.  
  122. #
  123. # Now specify the time to wait after TXDELAY until we send out
  124. # the first character. Time for your qso partner to tune in.
  125. #
  126.  
  127. set txwait 2000
  128.  
  129.  
  130. #
  131. # Set the number of bytes for the receive buffer.
  132. #
  133. # All characters received are first put into this buffer by the 
  134. # interrupt routines.  When the TTY functions are active they
  135. # are removed from the buffer and displayed in the RX window.
  136. #
  137. # The size of the receive buffer should not exceed 65000 bytes.
  138. #
  139.  
  140. set rxbuffersize 256
  141.  
  142. #
  143. # Set the size of the transmit buffer.
  144. #
  145. # All characters to be transmitted are first copied from the TX window
  146. # into the transmit buffer.  The transmit routine will remove them
  147. # from the buffer one at a time and send them to the speaker output.
  148. #
  149. # The size of the transmit buffer should not exceed 65000 bytes.
  150. #
  151.  
  152. set txbuffersize 10000
  153.  
  154.  
  155. #
  156. # Set the number of lines for the receive window buffer.
  157. #
  158. # This is not the window size on the screen, but the number of received
  159. # lines that can be rolled back.  For each line about 160 bytes of
  160. # memory are required.  Use the SYSTEM entry from the INFO menue to
  161. # display the size of free memory.
  162. #
  163.  
  164. set rxwindowlines 50
  165.  
  166. #
  167. # Set the number of lines for the transmit window buffer.
  168. #
  169.  
  170. set txwindowlines 50
  171.  
  172.  
  173. #
  174. # Set the maximum transmit line length.  Lines on old mechanical TTY 
  175. # maschines are somewhat less than 80 characters long.
  176. #
  177.  
  178. set txlinelength 66
  179.  
  180.  
  181. #
  182. # Define the end-of-text character.  HamComm will automatically return to
  183. # receive mode when the transmit routine reads this character from the
  184. # tx buffer.  The character can be specified as decimal number, hex number
  185. # or as the character itself.
  186. #
  187. # Examples: set endoftext 230    # use the greek letter for 'micro'
  188. #           set endoftext 0x7F   # use the DEL character (control-backspace)
  189. #           set endoftext "ß"    # this is handy for german keyboards
  190. #
  191. # The end-of-text feature can be disabled by using the value 0.
  192. #
  193.  
  194. set endoftext 0x7f        # control-backspace
  195.  
  196.  
  197. #
  198. # Define some standard texts.  They can be selected for transmission
  199. # from the 'Text' menue.  The texts labelled SHIFT_Fxx can also be send
  200. # by pressing the corresponding function key.
  201. #
  202. # Double quotes (") are only required if the string contains spaces
  203. # or the comment character (#).
  204. #
  205. # \#  will be replaced with the current QSO count.
  206. # \+  increments QSO count, then just like \#.
  207. # \d  will be replaced with the current date and time.
  208. # \e  will be replaced with the currently selected end-of-text character.
  209. # \n  starts a new line.
  210. #
  211. # A text can be included in another text by surrounding its name
  212. # with '~' (tilde) characters.  If the name starts with an AT sign (@)
  213. # HamComm will look for a file with that name.  See 'station.txt' for an
  214. # example.  Note that the text in the included file can itself include
  215. # other texts or files.  Make sure that there are no circular references!
  216. #
  217.  
  218. #
  219. # Define text elements for function keys SHIFT_F01 - SHIFT_F10.
  220. #
  221.  
  222. define text SHIFT_F01  " ryryryry cq cq cq de ~mycall~ ~mycall~ ~mycall~"
  223.                       " ~mycall~ ~mycall~\n"
  224.  
  225. define text SHIFT_F02  " ryryryry ~call~ ~call~ ~call~"
  226.                        " de ~mycall~ ~mycall~ pse k k k\n\e\n"
  227.  
  228. define text SHIFT_F03  " ryryryry ~call~ de ~mycall~\n"
  229.  
  230. define text SHIFT_F04  " back to you ~name~... ~call~ de ~mycall~ pse k k k\n"
  231.  
  232. define text SHIFT_F05  ~@station.txt~
  233.  
  234. define text SHIFT_F06  " de ~mycall~\ntnx... 599 \+ 599 \# 599 \#\nbk bk "
  235.  
  236. define text SHIFT_F07  " ~call~"
  237.  
  238. define text SHIFT_F08  " ~mycall~"
  239.  
  240. define text SHIFT_F09  "ryryryryry"
  241.  
  242. define text SHIFT_F10 " pse k k k\n"
  243.  
  244.  
  245. #
  246. # Define other text elements
  247. #
  248.  
  249. define text banner    "\noooo   o      ooooo  o   o  ooooo   ooo"
  250.                       "\no   o  o      o       o o   o      o   o"
  251.                       "\no   o  o      oooo     o    ooo    o"
  252.                       "\no   o  o          o    o    o      o   o"
  253.                       "\noooo   ooooo  oooo     o    ooooo   ooo\n"
  254.  
  255. define text mycall    dl5yec
  256. define text myname    django
  257. define text myqth     paderborn
  258. define text mylocator jo41jr
  259.  
  260. # The text "mylocator" is also used by the QTH distance/direction calculator.
  261.  
  262. #
  263. # Some standard phrases
  264. #
  265.  
  266. define text std01     " tnx for answering my call."
  267. define text std02     " my name is ~myname~ ~myname~ ~myname~."
  268. define text std03     " my qth is ~myqth~ ~myqth~ ~myqth~"
  269. define text std04     " locator is ~mylocator~ ~mylocator~"
  270. define text std05     " your report is "
  271. define text std06     " how do you copy ?"
  272. define text std07     " tnx for the nice qso and hope to cuagn."
  273. define text std08     " 73 es 55 to you ~name~ and your family."
  274. define text std09     " the weather today is "
  275. define text std10     " the temperature is abt "
  276. define text std11     " and now i'll get me another beer. "
  277.  
  278.  
  279. #
  280. # Ignore rest of config file
  281. #
  282.  
  283. exit
  284.  
  285.  
  286. 73 es 55 de Django
  287.  
  288. DL5YEC @ DB0BQ
  289. schroeder.pad@sni-usa.com
  290.