home *** CD-ROM | disk | FTP | other *** search
/ World of Ham Radio 1997 / WOHR97_AmSoft_(1997-02-01).iso / packet / pak_24 / amsoft.iii next >
Text File  |  1997-02-01  |  49KB  |  1,183 lines

  1.  
  2.  
  3.             THS - TNC Hostmode Server
  4.             =========================
  5.                 HB9CVV
  6.                               August 1989
  7.  
  8.                              Version 2.50
  9.  
  10.  
  11. THS is a Packet Radio terminal  program for the IBM-PC. THS reqires  one
  12. of the following devices:
  13.  
  14.     - a TNC-1 with the WA8DED V1.3 Software.
  15.     - a TNC-2 with the WA8DED V2.3 software.
  16.     - a DRSI PC*Packet Adapter and the DRSI supplied TNC driver
  17.             software.
  18.  
  19. Major features of THS are:
  20.  
  21.     - user configurable comm-port, colors and texts
  22.     - split screen operation
  23.     - command and parameter entry in windows
  24.     - extended help functions
  25.     - review of received text
  26.     - printing and snapshooting the review-buffer
  27.     - logging (capturing) to file
  28.     - online printer support
  29.     - send text from file
  30.     - binary file transfer using YAPP protocol
  31.     - multi-channel operation
  32.     - heard list showing the path
  33.     - Net/Rom frames are decoded
  34.     - wordwrapping is available
  35.     - temporary exit to DOS
  36.         - built-in message editor
  37.         - support for screens up to 80*60
  38.         - 16550A Chip support with FIFO
  39.  
  40.  
  41. The list of current  revisions of THS version  2 is found at  the end of
  42. this document.
  43.  
  44. THS has been developped  on a 386-AT with  VGA under IBM DOS  3.3. Tests
  45. have been run on PC/AT's and  PC/XT's with EGA, CGA and Hercules  cards,
  46. and under different versions of IBM DOS 3.x.  THS may run or may not run
  47. on other  hardware, and  on earlier  or other  versions of the operating
  48. system.
  49.  
  50. Tests show that on ordinary PCs running at 4.77 Mhz the program overhead
  51. is too high  to serve a  9600 baud line,  if you experience  RS-232 port
  52. overrun errors, you must reduce the baud rate to 4800 baud, or even 2400
  53. baud.   However 8  Mhz or  10 Mhz  PCs run  well with  9600 baud  lines.
  54. PC-ATs have no  problems. THS will  not run under  the pseudo multi-task
  55. shells like Desqview or Windows.
  56.  
  57. The memory requirements of  THS are about 360  kB. In these days,  where
  58. 640kB memory is standard, this should  not be much of a problem.  If you
  59. can start THS, but get once  the message "TERMINAL ERROR: cannot open  a
  60. window" you  do not  have enough  memory to  run THS.  It is possible to
  61. reduce the memory requirements of THS by reducing the window sizes.  The
  62. minimum requirements will be about 250kB.
  63.  
  64. THS covers my needs for packet radio so I implemented the features which
  65. I wished to have, and did not bother to fit all tastes and to match  all
  66. possibilities.   THS may  well be  not adequate  for your  requirements,
  67. please remember however that you are  not forced to use it, nor  did you
  68. have to pay for it.
  69.  
  70. THS is not copyrighted, I release it to the Public Domain. Any  positive
  71. feedback is  welcome, note  however that  I feel  no obligations  of any
  72. kind.
  73.  
  74.  
  75. 1. Principles of Operation.
  76. ---------------------------
  77.  
  78. THS runs  the TNC  software exclusively  in HOST  mode, which  permits a
  79. maxiumum of control and cooperation. THS is written in TURBO-C and  uses
  80. a realtime kernel called CTASK. CTASK is public domain software  written
  81. by Thomas  Wagner, Berlin,  West-Germany and  is found  on BIX  (a truly
  82. remarkable piece of software !).
  83.  
  84. The internal  implementation of  THS in  form of  five concurrent tasks.
  85. This permits  full parallel  service of  communications control, screen,
  86. and keyboard - you  will never notice delays  when you type (opposed  to
  87. other similar programs).
  88.  
  89. The windowing system  is implemented using  the VITAMIN C  library (with
  90. some modifications), a commercially available software library.  Vitamin
  91. C permits writing to non-active  windows, so scrolling in an  underlying
  92. window is possible.
  93.  
  94. This feature, together with the real-time operation, permits to continue
  95. the  receiving  and  displaying  of  received  packets even when support
  96. windows (e.g. help windows or parameter dialog windows) are opened.
  97.  
  98.  
  99. 2. Installation.
  100. ----------------
  101.  
  102. It  is  expected  that  you  are  familiar  with  the operation of a TNC
  103. containing the WA8DED control software and with the documents describing
  104. that software.
  105.  
  106. THS consists of the following files:
  107.  
  108.     THS.EXE        TNC Hostmode Server.
  109.     THS.CFG        Configuration file.
  110.     THSHELP.MSG    Help file.
  111.     THSHELP.IDX    Index file.
  112.         THS.DOC         Document file
  113.  
  114. The first four files must reside  in the same directory. Before you  can
  115. run THS, you  must edit the  configuration file THS.CFG  to reflect your
  116. environment, and possibly you might have to configure your TNC also.
  117.  
  118. The syntax to call THS is:  "THS [filename]" where filename is the  name
  119. of  a  configuration  file.  If  filename  is  omitted, THS will use the
  120. default, THS.CFG.
  121.  
  122.  
  123. 1.1 The configuration file THS.CFG.
  124. -----------------------------------
  125.  
  126. THS  reads  the   configuration  file  whenever   you  start  THS.   The
  127. configuration  file  contains  information  about  hardware and software
  128. parameters. If this information is  not accurate, THS will be  unable to
  129. proceed.
  130.  
  131. NOTE:  THS  does  not  do  any  consistency  checks or range checks when
  132. reading from the  CFG-file. You must  not omit lines,  or use parameters
  133. with values other than specified in this chapter.
  134.  
  135.  
  136. Here is an example of a configuration file:
  137.  
  138. ---------------------<beginning of file>-----------------------------
  139. HB9CVV-02
  140. 2     Device is TNC-2 with 2.3
  141. 0x2F8 Address of TNC COMPORT
  142. 3     Interrupt of TNC COMPORT
  143. 9600  Baudrate
  144. 1     Printer number (LPT1)
  145. 1     Use direct video I/O
  146. Operator ist OFFLINE, your message will be recorded - vy 73 de Peter.
  147. *** Peter - Qth: Port/Biel - JN37OC ***
  148. 07,00,07,00,00,02,01,15,07,00  Receive (upper, permanent)
  149. 07,00,07,00,00,02,01,15,07,00  Transmit (lower, permanent)
  150. 04,07,07,04,03,00,07,00,04,15  Statusline (middle, permanent)
  151. 01,11,01,11,01,11,01,02,07,04  Immediate command entry
  152. 01,15,01,15,07,00,00,14,01,14  Opening, THS-Help, Review
  153. 01,11,01,11,03,00,03,01,07,00  Parameter Dialogs
  154. 01,11,01,11,01,15,01,11,07,00  Activity during YAPP xfer
  155. 00,02,00,02,01,14,00,00,07,00  Parameter Dialog Help Line
  156. 01,11,01,11,01,15,01,11,07,00  Parameter Dialog Extended Help (File)
  157. 01,11,01,11,01,15,01,11,07,00  Other
  158. 00,11,03,11                    Channel indicator attributes & echo text
  159. #Name & Qth
  160. My name is Peter, the qth is Port near Biel/Bienne
  161. #The Rig
  162. The rig here is:
  163. Program   : THS (TNC Hostmode Server)
  164. Computers : PC/AT, 3MB RAM, 80 MB harddisk.
  165.             386AT, 4MB RAM, 150 MB harddisk.
  166. TRX       : Ten-Tec Paragon, 100W
  167.             IC-271H, 100W
  168.             TW-4100E 45W
  169. Antenna   : Remotely tunable GP for HF
  170.             2*11 element Yagi (2m)
  171.             19 element Yagi (70cm)
  172. TNC       : TNC-1 with WA8DED V1.3
  173.             TNC-2 with WA8DED V2.3
  174.             DRSI PC*Packet Adapter
  175. %T 40
  176. $C DK1SL VIA HB9F HB9W
  177. $C HB9SDD
  178. $C HB9PQX VIA HB9CTU
  179. }0,200,200,200,100,100
  180. ------------------------<end of file>--------------------------------
  181.  
  182. The first line
  183.  
  184. contains your call. THS sends  an 'I'-command followed by this  callsign
  185. string to the  TNC on channel  0 during the  initialization. No comments
  186. are possible on this line.
  187.  
  188. The second line
  189.  
  190. defines the device type: '1' for  TNC-1 with WA8DED V1.3, '2' for  TNC-2
  191. with WA8DED V2.3, and '8' for the PC*Packet Adapter. The numbers are not
  192. validated  by  THS,  specifiying  another  number  will leave the system
  193. inoperable.
  194.  
  195. The third line
  196.  
  197. defines the address of your communications port. You must specify it  in
  198. this hexadecimal presentation (0xhhh).   THS will detect and report  the
  199. access of a non-existent commport.  (Standard values are 0x3F8 for  COM1
  200. and 0x2F8 for COM2).  This line is meaningless  if the device is  type 8
  201. (PC*Packet Adapter), it must exist however.
  202.  
  203. The forth line
  204.  
  205. defines  the  interrupt  number  of  your communications port. (Standard
  206. values are 4 for COM1 and 2  for COM2). This line is meaningless if  the
  207. device is type 8 (PC*Packet Adapter), it must exist however.
  208.  
  209. The fifth line
  210.  
  211. defines the  baud-rate for  the communications  port. It  must of course
  212. match the baudrate you selected for  the TNC.  This line is  meaningless
  213. if the device is type 8 (PC*Packet Adapter), it must exist however.
  214.  
  215. *** NOTE: If THS is unable to contact the TNC, a wrong commport  address
  216. and/or interrupt, or a  wrong baudrate could be  the cause. The same  is
  217. true if you get permanent RS-232 error reports from THS after startup.
  218.  
  219. The sixth line
  220.  
  221. defines the printer number (printer port). Legal values are 1 to 3,  for
  222. LPT1, LPT2  and LPT3.  Printer output  to printers  connected to  serial
  223. lines is not possible.
  224.  
  225. The seventh line
  226.  
  227. defines the video access. A '1' is used for direct video i/o, and should
  228. be used for all video cards other than CGA.  If a value of 1 causes snow
  229. or other visual effects, switch to a value of 2. This changes THS to use
  230. retrace synchronisation - which is requred for older CGA cards.
  231.  
  232. The eighth line
  233.  
  234. contains your connect message. The line may not exceed 72 characters, if
  235. it does then  the line is  truncated. This line  is loaded into  the TNC
  236. whenever THS is started. You can however alter your connect message  any
  237. time with the ALT/U (Unattended Mode) command.
  238.  
  239. The ninth line
  240.  
  241. contains your beacon text. The line may not excced 72 characters, if  it
  242. does, then the line is truncated. You can alter the beacon text with the
  243. ALT/B command.
  244.  
  245. The next ten lines  specify the colour attributes  of all windows.   The
  246. scheme is:
  247.  
  248.  +------------------------------------ Border, background
  249.  |  +--------------------------------- Border, foreground
  250.  |  |
  251.  |  |  +------------------------------ Title, background
  252.  |  |  |  +--------------------------- Title, foreground
  253.  |  |  |  |
  254.  |  |  |  |  +------------------------ Text, background
  255.  |  |  |  |  |  +--------------------- Text, foreground
  256.  |  |  |  |  |  |
  257.  |  |  |  |  |  |  +------------------ Inactive Input field, background
  258.  |  |  |  |  |  |  |  +--------------- Inactive Input field, foreground
  259.  |  |  |  |  |  |  |  |
  260.  |  |  |  |  |  |  |  |  +------------ Active Input field, background
  261.  |  |  |  |  |  |  |  |  |  +--------- Active Input field, foreground
  262.  |  |  |  |  |  |  |  |  |  |
  263. 07,00,07,00,00,02,01,15,07,00  Receive (upper, permanent)
  264. 07,00,07,00,00,02,01,15,07,00  Transmit (lower, permanent)
  265. 04,07,07,04,03,00,07,00,04,15  Statusline (middle, permanent)
  266. 01,11,01,11,01,11,01,02,07,04  Immediate command entry
  267. 01,15,01,15,07,00,00,14,01,14  Opening, THS-Help, Review
  268. 01,11,01,11,03,00,03,01,07,00  Parameter Dialogs
  269. 01,11,01,11,01,15,01,11,07,00  Activity during YAPP xfer
  270. 00,02,00,02,01,14,00,00,07,00  Parameter Dialog Help Line
  271. 01,11,01,11,01,15,01,11,07,00  Parameter Dialog Extended Help (File)
  272. 01,11,01,11,01,15,01,11,07,00  Other
  273.  
  274. The numers are decimal. THS does not validate the range.
  275.  
  276. Number    Foreground    Backgrround
  277.  
  278. 00    BLACK        BLACK
  279. 01    BLUE        BLUE
  280. 02    GREEN        GREEN
  281. 03    CYAN        CYAN
  282. 04    RED        RED
  283. 05    MAGENTA        MAGENTA
  284. 06    BROWN        BROWN
  285. 07    LIGHTGRAY    LIGHGRAY
  286. 08    DARKGRAY    |
  287. 09    LIGHTBLUE    |
  288. 10    LIGHTGREEN    |
  289. 11    LIGHTCYAN    |- as above, blinking
  290. 12    LIGHTRED    |
  291. 13    LIGHTMAGENTA    |
  292. 14    YELLOW        |
  293. 15    WHITE        |
  294.  
  295.  
  296. Line twenty (this line is new in version 2)
  297.  
  298. must contain  four or  six numbers.  The first  four numbers defines the
  299. attributes for the channel indicator. Please refer to the discussion  of
  300. channels below.  The first  two numbers  in this  line define  the color
  301. attributes of  the on-screen  channel, the  next two  numbers define the
  302. attributes for an off-screen channel which has received data. Of the two
  303. number pairs, the first is  the background attribute, the second  is the
  304. foreground attribute. In the example, the statusline text attributes are
  305. "03,00" which means 'black on cyan'. The example line 20 is:
  306.  
  307. 00,11,03,11,02,00               Channel indicator attributes & echo text
  308.  
  309. which reads: the number of the on-screen channel is 'lightcyan on black'
  310. (00,11) - and the number of a off-screen window which has received  data
  311. is 'lightcyan on cyan' (03,11).
  312.  
  313. The third number pair defines the attributes for the transmitted text in
  314. the receive window, and may be  omitted. The text you type is  echoed in
  315. the lower (transmit) window. When you send the text by typing a carriage
  316. return,  the  text  is  moved  to  the  upper  (receive) window, and the
  317. transmit window  is cleared.  THS uses  different attributes  so you can
  318. easily distinguish the  text which you  sent from the  text you receive.
  319. By default, the text sent has the same text and background color as  the
  320. received text, but is  intensified. This is what  you get if you  do not
  321. specify the third number pair. If you do, THS will use these attributes.
  322.  
  323. Example:  if  you  have  defined  'green  on  black'  for  the text- and
  324. background-color of the receive window,  which is the number pair  00,02
  325. and you  want your  text reversed,  not intensified,  then define  02,00
  326. here.
  327.  
  328.  
  329. The next lines
  330.  
  331. are optional and are composed of four different types of strings:
  332.  
  333.     - (#) text strings and titles for text strings.
  334.     - (%) initialisation command strings.
  335.     - ($) online command strings.
  336.     - (}) THS parameters
  337.  
  338. The text strings  are assigned to  the function keys  F01 to F10  in the
  339. sequence they appear  in the configuration  file, when you  press such a
  340. function  key,  THS  sends  the  associated  text  string to the TNC. By
  341. pressing ALT/F THS shows the titles of the text strings in a window box.
  342.  
  343. The line with a hash-sign (#) in column one defines the title which  can
  344. contain up to  30 charcters. Everything  exceeding 30 characters  is cut
  345. off.  The lines following the  title line until the next title  line, or
  346. the end of the file form the text string. The length of all text strings
  347. together  is  limited  only  by  the  available  memory space.  The text
  348. strings  are   intended  for   reasonable  sized   texts  like   station
  349. descriptions etc.. Up to ten  #-lines are possible. If you  specify more
  350. that ten #-lines, they are ignored.
  351.  
  352. You can also specify up to 10 lines with percent (%) sign in column one.
  353. The text following the percent sign must not exceed 40 characters and is
  354. sent as  a command  to channel  zero when  THS loads  the TNC parameters
  355. during startup.  This is  done after  THS has  sent the  default set  of
  356. parameter  commands  and  so  allows  the  user  to override the default
  357. parameter set of  THS. This set  is described below.  You should however
  358. take some care - the contents of the %-lines are sent unconditionally to
  359. the TNC and  must be a  valid command to  be effective. A  %-line should
  360. contain also only meaningfull commands  which do not interfere with  THS
  361. operation. It makes no sense to have a line like:
  362.  
  363. %MN
  364.  
  365. to  disable  monitoring,  because  this  obviously  would  disable  THS'
  366. heard-list feature.  It could make sense however to increase the TXDELAY
  367. if your rig requires it.
  368.  
  369. The $-lines must  also contain valid  TNC commands. Up  to 20 lines  not
  370. exceeding  72  characters  are  possible.  They  are  stored  by THS and
  371. presented  together  with  a  selection  character when you press ALT/W.
  372. When you press the  selection character or move  the bar to the  desired
  373. entry, then the associated string is sent as a command to the  on-screen
  374. channel.  The  $-lines are intended  to build a  call-sign directory for
  375. connects, you may  however use other  commands there as  well, so it  is
  376. called "Command String Directory".
  377.  
  378. The }-line  allows you  to modify  the THS  configuration. This  line is
  379. optional. The format is:
  380.  
  381.         }a0,b0,b1,b2,b3,b4,c0,d0,d1,e0
  382.  
  383.  
  384. RS-232 control line usage: a0
  385.  
  386. If a0  is zero,  then THS  ignores the  RS-232 control-lines  (DCD, RTS,
  387. CTS).  This allows just a 3-wire (TXD, RXD & GND) connection to the TNC.
  388. Note however that in  this case THS cannot  detect if a TNC  is offline,
  389. and will always  enter the TNC-initialisation  routine.  The  default is
  390. non-zero.
  391.  
  392.  
  393. Column size of the virtual receive windows: b0 to b4
  394.  
  395. b0 to b4 define the number  of lines in the virtual receive  windows for
  396. channels zero  to four.  This defines  how many  lines are available for
  397. reviewing.  The  minimum  value  is  40,  the  maximul value is 200. The
  398. default is the maximum for all windows.
  399.  
  400.  
  401. Software delay: c0
  402.  
  403. c0 is  a time  value in  microseconds for  a software  delay loop and is
  404. effective only if the device is  a PC*PA. THS will wait c0  microseconds
  405. before  every  access  to  the   TNCTSR.  This  may be required on  very
  406. fast machines (e.g. 386 machines with cache).  The range of  c0 is 0  to
  407. 5000, the default is zero.  If you ever  experience a THS  error  report
  408. (a  window appearing in the top half of the screen) with the PC*PA, then
  409. you should experiment  with  this  value.  Start  with  c0 = 1000.  Note
  410. that higher values may degrade the performance of THS however.
  411.  
  412.  
  413. Editor window size: d0, d1
  414.  
  415. d0 and d1 define the editor window size, columns and rows. The range for
  416. d0 (column)  is 64  to 79,  and includes  the window  border. If a given
  417. value  exceeds  one  of  the  limits,  then the according limit value is
  418. taken. If you omit this parameter,  or specify a zero, then the  default
  419. value of 76 is taken. The range for d1 (row) depends on the size of  the
  420. (upper) receive window, which itself  depends on the number of  lines of
  421. your current video mode. The range if from half that window to full size
  422. minus one. For the  standard 25 line mode,  the range is 10  to 20, also
  423. including the border.  The default here  is the lowest  value, i.e. half
  424. the size of the receive window.
  425.  
  426.  
  427. Filter received characters: e0
  428.  
  429. e0 determines the initial value of the FILTER variable, see the
  430. description of the ALT/T command. A zero disables the filtering, a one
  431. enables it. The default (e.g. if omitted) is zero.
  432.  
  433.  
  434. 2. Starting THS.
  435. ----------------
  436.  
  437. When started, THS saves the current screen and presents three basic  and
  438. one opening window. The basic windows are the receive window, the status
  439. line (window)  and the  transmit window.  The basic  windwos are  always
  440. present. THS has three major modes: dialog mode, review mode and  binary
  441. file transfer (YAPP-)mode. The initial  mode is dialog mode.   Note that
  442. THS will determine the current number  of rows used for the screen,  and
  443. will adjust its windowing system accordingly.
  444.  
  445. The opening window  presents information about  the (hardware) state  of
  446. the communications  port, and  informs you  about the  efforts of THS to
  447. contact  the  TNC.  For  external  TNC's,  THS follows the guidelines of
  448. KB5MU's "WA8DED  Host Mode  Guide" for  the initial  contact to the TNC.
  449. For the PC*Packet Adapter, THS expects to find the TNC in terminal-mode,
  450. not in host-mode.   Please note that when  THS exits, the TNC  is always
  451. switched to terminal-mode.
  452.  
  453. If THS fails to contact the TNC properly, check the hardware  parameters
  454. (comm-port address, irq, baudrate on  the THS side, and baudrate  on the
  455. TNC side). After  a correction, a  new try should  be made only  after a
  456. hardware reset on BOTH sides.
  457.  
  458. Note that  the standard  connection to  an external  TNC is  by a RS-232
  459. cable which has the lines 1 to 8 and line 20 connected. This permits THS
  460. to check the control signals to  determine if the TNC is switched  on or
  461. not. If you disabled the use  of the control lines in the  configuration
  462. file, THS is unable to detect an offline TNC immediately and will  start
  463. the host resync pass (which then will fail).
  464.  
  465. THS  also  sets  the  parameters  of  the  TNC (indicated by the message
  466. "loading TNC parameters". The callsign from line one of the CFG file  is
  467. always set first,  followed by the  connect message and  the beacon text
  468. line  (from  lines  8  and  9  of  the CFG file). Next, THS enables full
  469. monitoring but excludes monitoring of  the own frames, i.e. frames  from
  470. and to this callsign.
  471.  
  472. Finally, the following commands are sent if the device is an external
  473. TNC:
  474.  
  475.     "Y 4",        /* Enable all four channels */
  476.     "F 4",        /* Frame acknowledge (seconds) */
  477.     "N 10",       /* Number of tries (0=forever) */
  478.     "O 4",        /* Number of outstanding I frames */
  479.     "P 64",       /* P-persistence value */
  480.     "R 1",        /* Repeater enabled */
  481.     "T 40",       /* Transmitter delay 400mS */
  482.     "U 0",        /* Unattended mode disabled */
  483.     "V 2",        /* Version 2 protocol initiated */
  484.     "W 10",       /* Slot time interval (100ms) */
  485.     "X 1",        /* Transmitter PTT disabled/enabled */
  486.     "@D 0",       /* Full duplex disabled/enabled */
  487.     "@T2 100",    /* Timer T2 interval (1000ms) */
  488.     "@T3 18000",  /* Timer T3 interval (6 min) */
  489.     "@V 0"        /* Callsign validation disabled/enabled */
  490.  
  491. "P 64  and "W  16" are  sent only  to TNC-2's,  for a  TNC-1 with WA8DED
  492. software version 1.3, a "W 16" is sent instead.
  493.  
  494. The following commands are sent to a PC*Packet Adapter:
  495.  
  496.     "Y 4",        /* Enable all four channels */
  497.     "U 0",        /* Unattended mode disabled */
  498.     "V 2",        /* Version 2 protocol initiated */
  499.     "X 1",        /* Transmitter PTT disabled/enabled */
  500.     "@V 0",       /* Callsign validation disabled/enabled */
  501.     "P 0 1 64 10 4 4 10 100 18000 40",
  502.     "P 1 1 64 10 4 1 10 100 18000 30"
  503.  
  504. Next, for all TNCs, the %-lines read from the CFG file are sent to allow
  505. an  overwrite  of  the  THS  defauts  (see  also  the description of the
  506. configuration file above).
  507.  
  508. If you want to  accept less than four  connect-requests to you, you  can
  509. alter this either online with  the "Yn" TNC-command in a  command window
  510. (see the description of  the immediate-command-entry below), or  use the
  511. Y-command in a %-line in the configuration file. E.g. %Y2 to accept only
  512. two connect requests (from different stations).
  513.  
  514. THS finally comes up with channel ONE on-screen.
  515.  
  516.  
  517. 3. Operating THS.
  518. -----------------
  519.  
  520. After a succesful  contact with the  TNC, you will  see the three  basic
  521. windows:  the  receive  window,  the  statusline window and the transmit
  522. window.
  523.  
  524.  
  525. The presentation of the channels.
  526. ---------------------------------
  527.  
  528. The TNC software permits up  to four different and independent  channels
  529. for simultaneous connections to different connectees. These channels are
  530. channels one  to four.   Channel zero  is the  unconnected channel which
  531. also receives all monitored frames. There is one receive window for each
  532. channel.
  533.  
  534. On screen, there is  only space for one  receive window at a  time. This
  535. receive window is called the 'on-screen window' and the channel which it
  536. presents is called the 'on-screen channel'.
  537.  
  538. To switch between the channels,  you use the left-arrow and  right-arrow
  539. keys. On the left side of  the statusline is the channel indicator,  the
  540. string "01234", representing  channel 0 to  4. The on-screen  channel is
  541. indicated  in  INVERSE  video.    The  number  of  a  off-screen   (i.e.
  542. invisible) channel  which receives  data from  the TNC  changes to BOLD.
  543. This is the  indication that there  is unseen activity  on that channel.
  544. You can look  at that window  simply by making  it the on-screen  window
  545. with the left/right arrow keys.
  546.  
  547.         Note that these attributes (INVERS and BOLD) can be
  548.         changed for your taste in the configuration file.
  549.  
  550.  
  551. The on-screen receive window.
  552. -----------------------------
  553.  
  554. In  the  on-screen  receive  window  you  will  see  everything which is
  555. received from the TNC on the associated channel - with the exception  of
  556. packets during a binary file transfer (these go, of course, to a file).
  557.  
  558. If you  want to  review text  which has  scrolled off  the screen, press
  559. ALT/R  or  Up-arrow.   During  review,  the  TNC  input to the on-screen
  560. channel (only) is halted.  You should not leave THS in review mode for a
  561. long time if  there is packet  activity on the  reviewed channel because
  562. the TNCs buffer may overflow and cause loss of data.
  563.  
  564. The status line.
  565. ----------------
  566.  
  567. The status line  presents actual information  about the link,  the date,
  568. and the time.  There are two  flavours of the  status line which  can be
  569. toggled by the <INS>-key. The default is a line like:
  570.  
  571. 01234 | NS:00 UA:01 TRY:01 | INFORMATION TRANSFER | PL | 05-AUG 23:46:45
  572. |       |     |     |        |                      ||   |
  573. |       |     |     |        current link stare     ||   date & time
  574. |       |     |     current try number              |logging is ON
  575. |       |     current number of unacked frames      printing is ON
  576. |       current number of transmitted frames not sent.
  577. channel indicator
  578.  
  579. NOTE: UnAacked frames have been  sent (once). NSent presents the  number
  580. of  present  but  unprocessed  frames  in  the  TNC. Please refer to the
  581. 'L'-command of TNC's document.
  582.  
  583. The second flavour is a line like:
  584.  
  585. 01234 | DK1SL VIA HB9VC HB9PUO                     | PL | 05-AUG 23:46:51
  586.         |
  587.         current connect state.
  588.  
  589. If the connected-state string length exceeds the available space, it  is
  590. truncated.
  591.  
  592. The status line is always updated realtime (unless the receive window is
  593. being reviewed). You can observe the quality of the link by watching the
  594. time and number of tries used to acknowledge data frames.
  595.  
  596.  
  597. The transmit window.
  598. --------------------
  599.  
  600. The lowest three lines are the transmit status window, and all what  you
  601. type for  your qso  is echoed  here. You  send the  entered text  to the
  602. on-screen channel  as usual  by pressing  the ENTER-key  - the  transmit
  603. window is cleared  and your text  is moved to  the receive window  using
  604. bold characters  to easily  distinguish between  received text  and text
  605. sent.
  606.  
  607.  
  608.     Note that these attributes (default: BOLD) can be
  609.     changed for your taste in the configuration file.
  610.  
  611. If your on-screen channel is 1,2,3 or 4, and you are not connected, then
  612. the TNC simply  discards your input.  If you did  select channel 0,  the
  613. text is send out UNPROTO (i.e. in an UI-frame) via the UNPROTO path.
  614.  
  615.  
  616. The Commands
  617. ------------
  618.  
  619. We distinguish between  'normal' keys and  'special' keys. Special  keys
  620. are  all  keys  not  found  on  the  main key field of the keyboard (i.e
  621. function keys, keypad keys) and all ALT-key combinations of normal keys.
  622. You use the normal  keys for data entry,  all special keys cause  THS to
  623. perform some special function.
  624.  
  625. The following  special keys  are used  to control  THS (and  the TNC) in
  626. dialog mode:
  627.  
  628.     ALT/P    Device Parameter Setup Menu
  629.     ALT/T    THS Parameter Setup Menu
  630.     ALT/C    Connect Menu
  631.     ALT/D    Disconnect
  632.     ALT/U    Unattended Parameter Menu
  633.     ALT/G   Show Unformatted Heardlist
  634.     ALT/H    Show Formatted Heardlist
  635.     ALT/V    View DOS Directory
  636.     ALT/L    Logging (capture) ON/OFF
  637.     ALT/J   Printer ON/OFF
  638.     ALT/S    Send an ASCII file
  639.     ALT/R    Review Received Text
  640.     ALT/F    Review Function Key Setup
  641.     ALT/B   Beacon Text
  642.     ALT/W    Command string directory
  643.         ALT/K   Call Editor
  644.         PgUp    Binary File Upload (YAPP)
  645.     PgDn    Binary File Download (YAPP)
  646.  
  647.     <INS>    Toggle Status Line Display
  648.     CTRL/ESC  Direct Command Entry
  649.  
  650.     ALT/E    Temporary exit to DOS
  651.     ALT/X    Exit THS
  652.  
  653.  
  654. With the  exception of  the function  keys proper,  pressing an 'unused'
  655. special  key  causes  the  pop-up  of  a window which presents the above
  656. information, this is to inform you about the 'used' special keys.
  657.  
  658. NOTE: All pop-up windows will disappear after some seconds. You can also
  659. close the window by any keystoke.
  660.  
  661.  
  662. ALT/P    TNC Parameter Setup Menu
  663. --------------------------------
  664.  
  665. The Device Parameter  Window is shown,  and THS first  reads the current
  666. value of all the parameters. You  then may alter one or more  parameters
  667. (use the up- and down-arrow keys to navigate, and press F10 when you are
  668. ready to apply the changes.  THS sets all parameters and  re-reads them.
  669. If you specified a parameter to a value outside the permitted range, you
  670. will see that  your change has  no effect. You  leave the TNC  Parameter
  671. Setup  by  pressing  ESC.   Reading  and  writing the parameters is done
  672. concurrently with  other activities  of course.  For your  assistance, a
  673. one-line explanatory text is presented  for each parameter. If you  need
  674. further help, you may press F1 to get a more detailed help information.
  675.  
  676. Most parameters are common to all channels. For all parameters which are
  677. unique  for  each  channel,  only  the  on-screen  channels parameter is
  678. influenced.
  679.  
  680. NOTE: If you change parameters and do not press F10 (the 'apply changes'
  681. key) before you press the ESC key, then nothing is applied.
  682.  
  683. NOTE: If you change the HDLC  baudrate for a PC*Packet Adapter, the  you
  684. MUST execute a TNC reset (via the ALT/T menu) next to make it effective.
  685.  
  686.  
  687. ALT/T    THS Parameter Setup Menu
  688. --------------------------------
  689.  
  690. The THS Parameter Setup Menu operates like the TNC Parameter Setup menu.
  691. This  menu  is  used  to  modify  software parameters of THS rather than
  692. software parameters of the TNC. You can:
  693.  
  694.  -  enable  or  disable  timestamps  on  monitored  frames  (link status
  695.    messages are always stamped).
  696.  
  697.  - enable  or disable  if you  want to  hear 'bells'  sent to you from a
  698.    connected station (you will never hear bells from monitored stations)
  699.    (BELL).
  700.  
  701.  - enable or disable if you want  to hear a bell when you get  a connect
  702.    (CBELL).
  703.  
  704.  - set the packet frame length for binary transfers (PKLEN).
  705.  
  706.  -  set  the  maximum  number  of  pending  frames  for  transfer bursts
  707.    (MAXPFRAM).
  708.  
  709.  - reset  the PC*Packet  Adapter. (Not  available for  external TNCs. To
  710.    reset such a TNC, exit THS, power off/on the TNC and call THS again).
  711.  
  712.  - enable or disable word wrapping (WORDWRAP).
  713.  
  714.  - define  the  window  which  gets  the monitored frames (MWINDOW).  By
  715.    default, this  is window  zero (because  channel zero  is the monitor
  716.    channel.  You  can  however  route  all  monitored  frames to another
  717.    channel window of your own choice.
  718.  
  719.  - filter out non-printable charcters (FILTER). If this is enabled, only
  720.    BELL, HT, LF, VT,  FF, CR and the  characters with ASCII values  from
  721.    0x20 to 0x7E are displayed as is, the filtered charcter are shown  as
  722.    a small solid rectangle. If you use a national character set, MFILTER
  723.    should be disabled.
  724.  
  725.  
  726. PKLEN needs an explanation. Obviously,  whenever you send a file  (ASCII
  727. or binary), THS could send that file faster than the TNC is able to send
  728. packets,  so  we  must  slow  down  somewhere  or the TNC's buffer would
  729. overflow. Of the link state parameters which are readable from the  TNC,
  730. there are two values which determine the number of packets which the TNC
  731. has  already  got  for  transmission:  the  number  of  transmitted, but
  732. unacknowledged frames, and the  number of sent (sent-to-the-TNC)  frames
  733. not yet transmitted. The  sum of these to  numbers is MAXPFRAM. You  may
  734. use this parameter together with PKLEN to tune the filetransmisson speed
  735. to the quality of the packet link.
  736.  
  737. The maximum  numbers permit  the highest  possible speed  but requires a
  738. high quality link.  This also implies  that the radio  channel is almost
  739. exclusively  used  by  the  file-transfer,  leaving  no  room  for other
  740. stations.  ! Don't do it on 'the qso channel' !
  741.  
  742. If you cannot withstand to do  a filetransfer when you have a  miserable
  743. link, or if you insist to do a filetranfer on a channel with  activities
  744. of other stations, then  use the minimum values.  In this case you  will
  745. only have one short  packet outstanding and your  TNC will wait for  the
  746. acknowledgement before sending out the next.
  747.  
  748.  
  749. ALT/C    Connect Menu
  750. --------------------
  751.  
  752. The Connect Menu lets you enter the destination callsign and ssid, up to
  753. eight digipeaters, and the PC*Packet Adapter's port number. Again, press
  754. F10 to execute  the command.   Pressing ESC exits  the connect menu  and
  755. removes the window only.
  756.  
  757. On channel zero, this sets the UNPROTO path.
  758.  
  759.  
  760. ALT/D    Disconnect
  761. ------------------
  762.  
  763. This causes a disconnect command for the TNC immediately. If you are not
  764. connected, you  will get  a small  TNC status  window for  a few seconds
  765. which tells you the TNC's return: CHANNEL NOT CONNECTED.
  766.  
  767.  
  768. ALT/U    Unattended Parameter Menu
  769. ---------------------------------
  770.  
  771. Much  like  the  TNC  Parameter  Setup  menu, you can enable and disable
  772. unattended operation here, and specify the connect-message.
  773.  
  774.  
  775. ALT/H    Formatted Heardlist
  776. ALT/G   Unformatted Heardlist
  777. -----------------------------
  778.  
  779. A window is  presented with the  Heardlist. This is  a list of  the most
  780. recent stations  heard, sorted  by descending  time (i.e.  last heard on
  781. top).  The list can contain up to 30 different call signs, the  vertical
  782. window size adujsts to the number of call signs but only up to 12 calls.
  783. If more than  12 calls are  available, you can  scroll with up  and down
  784. with the arrow keys. You also can scroll in the vertical direction if an
  785. entry is larger than the vertical  window size. The window will stay  on
  786. the screen 60 seconds if no action is done.
  787.  
  788. If you  used ALT/H  you get  exactly what  you would  have to  use for a
  789. connection to such heard call.
  790.  
  791. If  you  pressed  ALT/G  instead  of  ALT/H  you  get a heard-list which
  792. contains  the  uninterpreted  (unformatted)  lines,  i.e.  exactly   the
  793. monitored headers as received by the TNC.
  794.  
  795. You will  see a  bar on  the first  entry which  moves when  you use the
  796. up-arrow or down-arrow  key. When you  position the bar  on a line,  and
  797. press F10 or <Enter> then a  connect command is send to the  source call
  798. sign in the line, using the indicated path. Any key other than the arrow
  799. keys, F10 or Enter removes the Heard-list window.
  800.  
  801. Please note the following:
  802.  
  803. The connect feature works also when you use the 'unformatted heard list'
  804. window. If a source  call sign is heard  via a NetRom node,  it makes no
  805. sense to connect it  this way.  Also  note that the heard  list gets not
  806. updated when you switch monitoring off by a TNC command. The heard  list
  807. processing is done by THS, *NOT* by the TNC - consequently it will  work
  808. only  (a)  when  THS  is  active  and  (b)  when  THS  gets the required
  809. information from the TNC.
  810.  
  811.  
  812. ALT/V    View DOS Directory
  813. --------------------------
  814.  
  815. You  are  asked  for  a  file  specification, and will get the directory
  816. information.
  817.  
  818.  
  819. ALT/L    Logging (capture) ON/OFF
  820. --------------------------------
  821.  
  822. Logging means  writing out  to a  file everything  which appears  on the
  823. screen for the logged channel. Logging is done on an individual  channel
  824. basis,  i.e.  you  must  enable  and  disable  logging  for each channel
  825. independently.
  826.  
  827. When you  press ALT/L  and logging  is currently  off for  the on-screen
  828. channel, THS asks you for a filename. THS gives you a filename which  is
  829. made up of the current date and time. The form is: "mdd_hhmm.CAx", where
  830. dd, hh and mm are day, hour and minute. The leading 'm' is the month  as
  831. a hexadecimal number, that is you  get 1 to 9 for january  to september,
  832. and A to C for october to  december. If you want to accept this,  simply
  833. press ENTER, otherwise specify your  own filename. The extension of  the
  834. filenmane is always "CAx" where x  is the channel number. The file  will
  835. be created in the current directory,  on the current drive. If the  file
  836. already exists, then THS-writes are appended to the existing file.
  837.  
  838. If logging is  already on, you  will be asked  if the logfile  should be
  839. closed.
  840.  
  841. The letter "L"  appears on the  right hand side  of the statusline  when
  842. logging is enabled. Logging is a channel attribute, so logging continues
  843. for a channel as long as logging is enabled for the channel,  regardless
  844. if the channel is on-screen or off-screen - until you disable it.
  845.  
  846.  
  847. ALT/J    Printer ON/OFF
  848. ----------------------
  849.  
  850. Toggle the printer output on or off. Because you have multiple  channels
  851. but only one printer, you can always print only one channel.
  852.  
  853. When you  press ALT/J  and printing  is currently  off for the on-screen
  854. channel, then from that moment this channel (and only this channel) will
  855. be printed. Printing continues when this channel goes off-screen.
  856.  
  857. The letter "P"  appears on the  right hand side  of the statusline  when
  858. printing is switched on, and only one channel will show the "P".
  859.  
  860. Note that when you  are printing, and your  printer goes offline by  any
  861. reason, THS will detect this and switch printer output OFF but will  not
  862. hang.  Please  also  note  that  THS  has  an internal 1024 byte printer
  863. buffer, so  with slow  printers, the  printer may  continue to print out
  864. buffered characters for a while after you disabled printing.
  865.  
  866. Also, when you print a busy  channel with an almost maximum dataflow  of
  867. almost 1200 bps on the HF side, your printer should be able to print  at
  868. least 100 characters per second (!) continuously.
  869.  
  870.  
  871. ALT/S    Send an ASCII file
  872. --------------------------
  873.  
  874. You can send a  file containing text only  when you are connected.  When
  875. you press ALT/S you are asked  for the filename, and if the  file exists
  876. THS sends it out. You will see  the lines transferred to the TNC in  the
  877. receive window  using bold  characters, just  like you  had typed in the
  878. contents of the  file. You are  also informed about  how many lines  the
  879. file contains, and how many  lines have been transferred.   Please refer
  880. to the description of ALT/T for parmeters influencing file transfers.
  881.  
  882. Note: during ASCII file sends you cannot switch the on-screen channel.
  883.  
  884.  
  885. ALT/R or Up-Arrow    Review Received Text
  886. --------------------------------------------
  887.  
  888. ALT/R  lets  you  review  the  received  text  which has srolled off the
  889. screen.  When reviewed, the  on-screen channel is polled, but  all other
  890. channels are. THS' review buffer is 200 lines for each channel.
  891.  
  892. You can print the entire review buffer (that is, the used part if it  is
  893. not filled up) by pressing ALT/J.  You can also write the review  buffer
  894. into a file. The file is written in the current directory on the current
  895. drive; the filename is generated by the current date and time, with  the
  896. extension "SNP".
  897.  
  898.  
  899. ALT/F    Review Function Key Setup
  900. ---------------------------------
  901.  
  902. ALT/F shows the titles of the text strings which can be called  pressing
  903. the  function  keys.  Please  refer  to  the  description  of  the   THS
  904. configuration file. If you have not used all function keys, pressing  an
  905. unused function key will also show this window.
  906.  
  907.  
  908. ALT/B    Beacon Text
  909. -------------------
  910.  
  911. ALT/B shows the beacon text and lets you modify it.  Whenever you  press
  912. Enter or F10, the beacon text  is sent (once) via the UNPROTO  path (see
  913. ALT/0).
  914.  
  915.  
  916. ALT/W   Command String Directory
  917. --------------------------------
  918.  
  919. Please see the description of the $-lines in the configuration file.
  920.  
  921.  
  922. ALT/K   Call Editor
  923. -------------------
  924.  
  925. ALT/K calls the message editor. First you are asked for a filename, then
  926. the  editor  loads  the  file  into  the  editor window. If no such file
  927. exists, you are asked if the  file should be created. For a  description
  928. of the editors  keys, press the  F1 help-key please.  When you exit  the
  929. editor with the ESC-key, you are  asked if the file should be  saved. If
  930. you agree, you can for example next send the file with ALT/S. If you  do
  931. not want to  save to a  file, the editor  window is closed  and the next
  932. time you  recall the  editor, you  are immediately  back where you left.
  933. Note however that for to send the file, it must first be saved.
  934.  
  935.  
  936. PgUp    Binary File Upload (YAPP)
  937. PgDn    Binary File Download (YAPP)
  938. -----------------------------------
  939.  
  940. Pressing PgUp or PgDn will start  a binary file transfer using the  YAPP
  941. protocoll as  created and  specified by  Jeff Jacobson,  WA7MBL. THS  is
  942. compatible   with   all   programs   which   have   'YAPP'  implemented.
  943. Furthermore, the hostmode of the WA8DED software permits better  control
  944. in the event link difficulties occur. For example, a disconnect during a
  945. file  transfer  is  immediately  recognized  and the transfer is stopped
  946. without sending  the remainder  of the  file out  via the  UNPROTO path.
  947. Also, you can abort (cancel)  transfers by ALT/A. Note however  that the
  948. cancellation will take  some time, because  the TNC must  first send out
  949. all pending  frames until  the cancel  request frame  can be  sent, or a
  950. incoming cancel request can be acknowledged.
  951.  
  952. This can be a severe problem when you have a bad link, but in this  case
  953. you anyhow should better not  use automated transfers. Or have  at least
  954. set the THS parameters accordingly -  see the description of ALT/T.   In
  955. case of a bad link, you should also use AX25 level 1, not level 2.
  956.  
  957. At any time you can disconnect by ALT/D - this breaks the link but  also
  958. flushes the TNC's buffers immediately.  Aborting a transfer by ALT/D  is
  959. preferable to ALT/A. You  can also kill a  transfer with ALT/K. This  is
  960. disconnects  the  link  and  reconnects  after  THS has switched back to
  961. dialog mode.
  962.  
  963. THS uses the following timeout parameters:
  964.  
  965. (1) The sender will try to trigger the receiver (Send-Init) six times in
  966.     intervals of 20 seconds before timing out.
  967.  
  968. (2) The receive time-out (waiting for a YAPP packet) is 120 seconds.
  969.  
  970. You are able  to modify the  TNC or THS  parameters during ongoing  YAPP
  971. transfers - the THS help window (which is called with an arrow-key,  for
  972. example) will show you which keys have effect during YAPP transfers:
  973.  
  974.     ALT/P    TNC Parameter Setup Menu
  975.     ALT/T    THS Parameter Setup Menu
  976.     ALT/D    Disconnect
  977.     ALT/A    Cancel Transfer
  978.     <INS>    Toggle Status Line Display
  979.  
  980. All other  keys are  ignored during  a YAPP  binary transfer.  It is not
  981. possible to switch the channels during the transfer.
  982.  
  983. Before entering YAPP transfer mode, THS modifies the MAXFRAME  parameter
  984. of the TNC to the maximum value of 7, sets RESPTIME to zero and disables
  985. monitoring. The previous values are restored when YAPP transfer mode  is
  986. left. This gives a maximum thoughput (and requires a high quality link).
  987.  
  988. You should realize that  if you have a  quality link on a  busy channel,
  989. the other hams will surely not enjoy your transfers.
  990.  
  991. A  certain  amount  of  througput  control  is  done  with  the MAXPFRAM
  992. parameter, see ALT/T.
  993.  
  994.  
  995. <INS>    Toggle Status Line Display
  996. ----------------------------------
  997.  
  998. See the description of the status line above.
  999.  
  1000.  
  1001. CTRL/ESC   Direct Command Entry
  1002. -------------------------------
  1003.  
  1004. When pressing CTRL/ESC,  you get a  command window and  a "CMD>" prompt.
  1005. Everything you enter is  sent to the TNC  as a command on  the on-screen
  1006. channel.  The  syntax  required  is  the  command  syntax  of the WA8DED
  1007. software.  If the  TNC returns a message  as an answer to  your command,
  1008. this message is  displayed. You terminate  the command entry  by another
  1009. ESC or by ENTER.
  1010.  
  1011. The direct or immediate command entry window call has been changed  from
  1012. ESC to  CTRL/ESC because  ESC is  commonly used  by THS  for escaping  a
  1013. window.
  1014.  
  1015.  
  1016. ALT/E    Temporary exit to DOS
  1017. -----------------------------
  1018.  
  1019. When you press ALT/E then THS suspends itself and calls a second command
  1020. processor (i.e. COMMAND.COM). THS is completely inactive until you  type
  1021. EXIT to the DOS prompt. This also means that the TNC is NOT polled,  and
  1022. all incoming frames remain buffered  in the TNC. You should  return back
  1023. to THS as soon as possible because the TNC's buffer are limited and  you
  1024. will loose information if the TNCs buffer overflow.
  1025.  
  1026. All  files  which  have  been  opened  by  THS  remain  open when THS is
  1027. suspended, you must NEVER change disks if your logfiles are on removable
  1028. disks !
  1029.  
  1030.             NOTE
  1031.             ----
  1032.     Exit to DOS requires DOS 3.20 or higher.
  1033.  
  1034.  
  1035. ALT/X    Exit THS
  1036. ----------------
  1037.  
  1038. The ultimate key.  You will be  asked for a  confirmation. Anything else
  1039. but a 'Y'  or 'y' will  leave you in  THS. If THS  exits, it clears  the
  1040. screen and returns with your familiar DOS prompt.
  1041.  
  1042. However, THS  may also  report a  number of  device i/o  errors when  it
  1043. exits. A device i/o error results when one of several consistency checks
  1044. on  the  message  blocks  received  from  the  device fails. When such a
  1045. failure occurs, THS flushes the current message and continues. You shoud
  1046. normally not get any report at all. Note that errors resulting from  the
  1047. ACE chip ("RS-232 errors) are always reported (see below).
  1048.  
  1049.  
  1050.  
  1051. Finally, the secret ALT-key:
  1052.  
  1053. Whenever you give ALT/A, any incoming message to the currently  selected
  1054. window is accompanied by a deep summing tone. Another ALT/A disables the
  1055. sound. There is no visible indication of ALT/A, because obviously  there
  1056. is  an  audible  one.  I  often  use  ALT/A when my partner says "wait a
  1057. minute", because I have no klicking relais in my TRX which would attract
  1058. my attention after that minute.
  1059.  
  1060.  
  1061. 4. Error Reports
  1062. ----------------
  1063.  
  1064. Whenwever THS detects  an error, it  will open a  window and display  an
  1065. error message and  optionally parameters. Note  that it is  normally not
  1066. possible to recover from these errors. The message types are
  1067.  
  1068. "RS-232 Read error. Code received: 0xnnnn"  - where:
  1069.  
  1070.                 0xFFFF      timeout
  1071.                 0x02nn      overrun error
  1072.                 0x04nn      parity error
  1073.                 0x08nn      framing error
  1074.                 0x10nn      break interrupt.
  1075.  
  1076. These  errors  (besides   timeout)  are  signalled   by  the  ACE   chip
  1077. (8250/16450), i.e. hardware error reports or faults.
  1078.  
  1079. Parity and framing errors, or  break interrupt indicate a chip  problem,
  1080. this could  however be  on either  end of  the serial  line. Try  to use
  1081. another port on the PC, and/or reduce the transmission baud rate.
  1082.  
  1083.  
  1084. 4.1. RS-232 Overrun Errors.
  1085. ---------------------------
  1086.  
  1087. Whenever you  get an   overrun error  this indicates   that the   System
  1088. is not fast  enough to    process the  incoming   characters. This   can
  1089. be solved   by   either   reducing   the   frequency    in   which   the
  1090. incoming  characters  appear,   i.e.  by   reducing  the    transmission
  1091. baudrate,   or  by  using  a  more  sophisticated  serial communications
  1092. controller chip, or  by increasing the CPU speed.
  1093.  
  1094. Unfortunatly if the  System has not  enough time to  process an incoming
  1095. character  timely  this  may  be  caused  by  other  code which executes
  1096. concurrently and which disables the interrupt recognition for a too long
  1097. time period. ALL  keyboard drivers from  a DOS version  higher than 3.20
  1098. exhibit this problem. You could disable this driver by CTRL/ALT/F1 which
  1099. gives  you  the  US  keyboard  layout,  or  try  drivers  from older DOS
  1100. versions.  Sorry again, but DOS is truly NOT designed for concurrency.
  1101.  
  1102. Obviously, with the PC*PA you will not have any of these problems.
  1103.  
  1104. Another solution is to replace the standard serial controller chips by a
  1105. 16550A chip which has a built-in  FIFO (a 16 byte hardware data  stack).
  1106. THS supports this chip,  and the use of  this chip generally solves  all
  1107. overrun problems.  If THS  detects such  a chip,  then you  will see the
  1108. string  "FIFO:yes"  in  the  opening  window,  otherwise  a "FIFO:no" is
  1109. printed.
  1110.  
  1111.  
  1112.  
  1113. 4.2. Other ERRORS.
  1114. ------------------
  1115.  
  1116. You  will  get  other  error  reports  following an RS-232 error report,
  1117. because THS gets  out of sync  with the TNC.   This is a  dead end,  you
  1118. should exit THS (if you can do so still) or reboot the PC.
  1119.  
  1120.  
  1121.  
  1122. 5. Decoding of Net/Rom frames.
  1123. ------------------------------
  1124.  
  1125. THS decodes Net/Rom routing broadcast messages and the inter-node frames
  1126. into a plain English text  format. For an interpretation of  the various
  1127. variables shown,  please refer  to "Net/Rom  Version 1.3  Documentation"
  1128. from Software 2000 Inc.
  1129.  
  1130.  
  1131. 6. Final Remarks.
  1132. -----------------
  1133.  
  1134. I  would  be  interested  in  your  proposals  and comments. Please note
  1135. however that I will feel no  obligation of any kind. I am  a professinal
  1136. software designer, but THIS is a hobby project.
  1137.  
  1138. Finally, my address is:
  1139.  
  1140.     Peter H. Heinrich
  1141.       HB9CVV
  1142.     Allemendstr. 25
  1143.     CH-2562 Port
  1144.     Switzerland.
  1145.  
  1146. You can contact me on CompuServe [71470,32] and on BIX (phh) also.
  1147.  
  1148.  
  1149.  
  1150. 7. Revision list.
  1151. -----------------
  1152.  
  1153.  
  1154. (2.00)    01. Aug. 1988   Test release
  1155.         * First multi connect version
  1156.         * Restructuring of function tasks, using resources for
  1157.           synchronisation
  1158.  
  1159.  2.10    20. Aug. 1988   Initial release
  1160.  
  1161.  2.20    18. Oct. 1988 released
  1162.         * Heardlist (ALT/H, ALT/G) with connect to heard station
  1163.         * NetRom frame decoding
  1164.  
  1165.  2.30    24. Dec. 1988 released
  1166.         * Exit to DOS (ALT/E) implemented
  1167.  
  1168.  2.40    05. Feb. 1989 released
  1169.         * MWINDOW introduced: channel 0 input to selectable window.
  1170.         * Kill Yapp transfer (ALT/K) by disconnect plus reconnect
  1171.                 * Yapp transfers optimized, enhanced window.
  1172.  
  1173.  2.50   16. Aug. 1989 released
  1174.                 * Message editor
  1175.                 * screen support for up to 60 lines.
  1176.                 * Support for 16550A serial communications controller
  1177.                 * FILTER variable in ALT/T
  1178.  
  1179.         "*" denotes major addition and reason of version number change
  1180.  
  1181. --------------------------- end of file -------------------------------------
  1182. so far.
  1183.