home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / am_radio / comlink350 / Manual / TermInstr
Encoding:
Text File  |  1991-12-15  |  18.1 KB  |  408 lines

  1. ComLink Terminal Mode - Instructions
  2. ------------------------------------
  3.  
  4. Introduction
  5. ============
  6.  
  7. The ComLink program has a built in terminal mode which has been designed
  8. specifically for packet radio, it allows the user to directly communicate
  9. with the TNC. ComLink can also run special script programs, a seperate
  10. manual describes this feature, you will find this is the "Script_Man"
  11. directory.
  12.  
  13. Terminal mode
  14. =============
  15.  
  16. The terminal mode operates under RISCOS within the desktop environment and
  17. is fully multitasking.
  18.  
  19. Facilities incorporated include:-
  20.  
  21.      * RISCOS compatible and fully mutitasking.
  22.      * A split terminal window with separate tx and rx sections.
  23.      * 100 line scrollback on incoming text.
  24.      * 1 to 7 lines (user defined) for outgoing text (tx lines).
  25.      * Full cursor editing of all tx lines.
  26.      * Edit and resend of tx lines.
  27.      * Auto-wrap option to automatically insert "Return" on tx.
  28.      * "Tx + rx" in view or "rx only" on pressing the mouse "Adjust" button.
  29.      * Auto adjustment Tx line count on pressing the mouse "Adjust" button.
  30.      * Programmable function keys with save/load/clear options.
  31.      * Function key definitions fully editable within a window.
  32.      * Automatic control code insertion when editing function keys.
  33.      * System variables, such as sys$time, allowed in function keys.
  34.      * Simultaneous file upload, download and rx buffer save.
  35.      * Optional appending of a fn key definition to end of upload files.
  36.      * Control code "filter" option on download files.
  37.      * Save buffer option to save all rx text in the terminal window.
  38.      * Suspend download option.
  39.      * Abort upload option.
  40.      * Append option, allows download data to be appended to existing files.
  41.      * Mouse/icon based upload/download with simple "file dragging".
  42.      * File dragging to/from other RISCOS applications, eg !Edit.
  43.      * Data transfer statistics display showing:-
  44.                                                   Download file size.
  45.                                                   Upload file size.
  46.                                                   Percent sent.
  47.      * Connect alert via serial "Ring Indicator" line.
  48.      * "Turbo" option to increase processing speed.
  49.      * User definable colours for the terminal window.
  50.  
  51.  
  52. Getting up and running
  53. ======================
  54.  
  55. ComLink is installed on the icon bar by the usual method of double clicking
  56. on the ComLink icon in the filer window, this will cause the ComLink icon
  57. to appear on the icon bar at the bottom of the screen.
  58.  
  59. Note that before you can use this terminal program you may need to change
  60. the serial control parameters, these can be viewed and changed with the
  61. "Config" option in the menu, this is described below.
  62.  
  63. Pressing the mouse menu (middle) button with the pointer over the ComLink
  64. icon on the icon bar will pop up a menu with the following options:-
  65.  
  66. Info     =>
  67. Terminal
  68. Fn Keys
  69. Status
  70. Run
  71. Stop
  72. Config
  73. Quit
  74.  
  75. Info
  76. ----
  77.  
  78. Following the Info arrow will pop up the usual "About this program" window.
  79. The only useful information here is the version number!
  80.  
  81. Terminal
  82. --------
  83.  
  84. Selecting this option pops up the ComLink terminal window, this window
  85. consists of two areas, recieved text is displayed in the upper light grey
  86. (rx) area. The terminal window will also pop up if you click the mouse
  87. select button over the icon. Text to be transmitted can be typed into the
  88. lower, white (tx) area, the maximum number of lines in this area can be
  89. chosen using the "Config" option described later.
  90.  
  91. To receive text you must have the correct serial control parameters setup,
  92. these can be changed and saved via the "Config" menu option.
  93.  
  94. Clicking the select (left) mouse button in the grey area of the window will
  95. cause the window to gain the input focus, the caret will be automatically
  96. placed on the lowest available line in the white (tx) area.
  97.  
  98. Clicking select in the tx area will place the caret on the line pointed to by
  99. the mouse. This allows lines to be edited in the normal way. You can move up
  100. down and along the lines using the cursor keys. The caret (cursor) will
  101. always be placed at the end of the line when the up/down keys are used.
  102.  
  103. When lines are typed in, the text is not sent until you press "Return",
  104. the exception to this is the control codes which are immediately sent. This
  105. allows Ctrl+C etc to be typed.
  106.  
  107. Pressing the mouse menu button with the pointer over the terminal window
  108. causes the Spool Control Panel to appear, this is described later.
  109.  
  110. Files for upload may be dragged to the window or the ComLink icon and will
  111. be sent to the tnc, then a status window will pop up automatically to allow
  112. the file to be sent/aborted and progress to be monitored . To start upload
  113. you must click on the "Send" icon.
  114.  
  115. The scroll bars may be used in the normal way to position the "viewing area".
  116. You can scroll back and see the last 100 lines.
  117.  
  118. The mouse adjust (right) button performs a number of functions when the
  119. pointer is over the terminal window:-
  120.  
  121. - It scrolls the screen to alternately show tx+rx sections of the window
  122.   or only the rx section, at each click.
  123. - It automatically resizes the tx area according to the height of the window.
  124.   (If you don't like this feature, then just use the scroll bars!)
  125.  
  126. This feature is particularly useful when the window has been resized, since
  127. you can quickly click adjust to see the tx area again, or if you only want
  128. to "Monitor" then you can easily display the rx area only.
  129.  
  130. Scrolling in the terminal window can be stopped by pressing and holding
  131. the Ctrl+Shift keys together.
  132.  
  133. Pressing Ctrl+Esc sends a break signal to the TNC but only if the terminal
  134. window has the input focus, this will get the TNC out of transparent mode.
  135.  
  136. Fn Keys
  137. -------
  138.  
  139. This option pops up 3 stacked windows to allow the editing of the red
  140. function key definitions. Use the mouse to position the cursor in the window
  141. to edit the chosen key. The defualt key set is saved in the file Fkey within
  142. the ComLink application, you may edit this by dragging to !Edit or by saving
  143. the new definitions by selecting "Save" in any of the function key windows
  144. and dragging the file:
  145.  
  146. Note the format of the file if you are going to use !Edit:-
  147. NFx: means normal fn key x
  148. SFx: means shift + fn key x
  149. CFx: means control + fn key x
  150.  
  151. Not all the definitions need to be included in the file, in this case only
  152. the ones included will be set up.
  153.  
  154. The function key definitions can contain system variables in {} brackets, eg
  155. {sys$time}, {sys$date}, {sys$year} etc. Control codes are automatically
  156. inserted as decimal numbers in [] brackets, when you press the appropriate
  157. keys, eg [13] is the code for "Return" and if you press Ctrl+C then [3] will
  158. be inserted. Make sure you get the name of the system variable right,
  159. otherwise an "Operand error" will be generated!
  160.  
  161. When a function key is pressed the system variable will be converted to the
  162. appropriate text string. Control codes will show in the tx window in
  163. brackets but will be sent correectly to the TNC as the code.
  164.  
  165. !ComLink function key definitions have a special filetype &56D, double
  166. clicking these files will automatically load them into ComLink, the key
  167. definitions are then available for immediate use.
  168.  
  169. Status
  170. ------
  171.  
  172. This option pops up a stutus window as part of the script facility. This is
  173. described in "Script_Man" the script programming manual.
  174.  
  175. Run
  176. ---
  177.  
  178. This option runs the default script called "SCRIPT" saved within the !ComLink
  179. application. This is described in "Script_Man" the script programming manual.
  180. The one provided performs a "Break", sends "D<Return> and sets the TNC clock.
  181.  
  182. Stop
  183. ----
  184.  
  185. Selecting this option, aborts any script that is currently being run. This is
  186. described in "Script_Man", the script programming manual.
  187.  
  188. Config
  189. ------
  190.  
  191. Select this option to setup and save the program configuration, the serial
  192. parameters must be setup to suit your system. The remaining ones can be set
  193. to your own preferences. Changes to these parameters have an immediate
  194. effect, excepting the default spool pathname.
  195.  
  196. The default spool pathname sets the file path and name that appears in the
  197. control panel for spooling. The path you enter here only has an effect when
  198. saved and then only when ComLink is next run, thus the only effect is to
  199. change the "Config" file in the ComlLink applications directory. This file
  200. is always examined by ComLink when it is first run.
  201.  
  202. The program/terminal functions switch on/off 3 options and allows the number
  203. of lines in the tx area to be set.
  204.  
  205. Line wrap when "ON" will cause the automatic insertion of "Return"s when
  206. a line is typed in the tx area that is longer than 76 characters. The line
  207. will be broken at the last space in the line. If there are no spaces in the
  208. line then it will be cropped at the 77th character. The characters that are
  209. cut off the end are automatically put on the next line. This feature is
  210. particularly useful for live QSOs and for short messages to PMSs etc. If
  211. you don't want to use this feature the switch the option off. When "OFF" the
  212. program will run slightly faster, but you probably won't notice this.
  213.  
  214. The "Connect monitor" when on will cause a message window to pop up when a
  215. connection is made at your TNC. This function will only work if you have the
  216. "Ring Indicator" line at the Archimedes wired to your TNC. If you don't have
  217. this connection made then leave this option "OFF".
  218.  
  219. The "Turbo" option selects 8MHz access to the ROM in the Arc., this has the
  220. effect of speeding up the computer by approximately 20%. This is not
  221. guaranteed to work on all machines, but I havent found one that doesn't!
  222.  
  223. The "Colours" option pops up a palette window and allows the colours used in
  224. the terminal window to be defined. Select "Tx fg" etc icon then the chosen
  225. colour. Tx and Rx stands for the tx and rx areas respectively, fg and bg
  226. stands for foreground and background respectively. When changing the colours,
  227. the terminal widow will pop up if not already on the screen, this allows
  228. the effect of colour changes to be seen immediately. The caret colour is
  229. controlled by the wimp software, a red caret can only be obtained on a white
  230. background.
  231.  
  232. Tx lines sets the number of lines in the tx area of the window. The value
  233. can be 1 to 7. Changing the value will only have an effect if you click
  234. the mouse "adjust" button once or twice in the terminal window.
  235.  
  236. Upload append, selects which (if any) function key definition you want
  237. appended to the end of upload files. This can be set to "None" or F1 to F11.
  238. I normally set it to F11, and make this Fn key into a signoff line, eg.
  239.  
  240. [13]73's de Alan. -- Sent on {sys$date} {sys$year} at {sys$time} --[13]/ex
  241.  
  242. A return will automatically be added to the end of the fn key when uploading.
  243.  
  244. Select "Save" to automatically update the Config file in the Comlink
  245. directory. Next time you load ComLink, these parameters will be used.
  246.  
  247.  
  248. Spool Control Panel
  249. ===================
  250.  
  251. This window is popped up by pressing the mouse menu button over the terminal
  252. window. The definition of spooling here is the saving of all received text.
  253.  
  254. Click OK to start spooling (download) or drag the file icon to a filer
  255. window. You can of course edit the file name/path if you want. As usual
  256. if you drag the file icon to a window then the file path will be updated.
  257.  You also have the following options to select, "Filter on", "Save buffer",
  258. "Suspend" and "Append". The file name/path that appears as the default can
  259. be changed using the menu "Config" option. As supplied the default is
  260. "RAM:$.Spool", of course the RAM drive must be active to use it.
  261.  
  262. When the "Filter on" option is selected, the usual text file type icon is
  263. shown and control codes are removed from the incoming data. All carraige
  264. return codes are converted to linefeeds to be compatible with !Edit. Any
  265. line feeds received are left in. With the filter option "OFF" the file
  266. icon in the window changes to a data type. Now all characters received will
  267. be spooled to the file, none are changed or removed. Thus if you are
  268. transferring data such as non-coded programs, leave this option "OFF".
  269.  
  270. If the filter option is changed while a spool is in progress, the icon in
  271. the window will change type, but the actual file that is being spooled to
  272. will not have it's icon type changed. The filter option will however affect
  273. the data saved.
  274.  
  275. The "Save buffer" option can only be selected before a spool starts and will
  276. cause all text in the rx area to be saved to the spool file first, then all
  277. subsequently received data. This option is handy when reading messages and
  278. you suddenly decide you'd like to keep the text, but some of it has already
  279. been printed on screen. When a spooling operation is stopped, ie the file
  280. is closed, then this option will automatically be turned off.
  281.  
  282. The "Suspend" option can be used to temporarily stop the received text/data
  283. from being spooled to a file, the file remains open though. This option will
  284. automatically be switched off when the spool file is closed.
  285.  
  286. The "Append" option allows the received text/data to be appended to the end
  287. of an existing file. Unless this option is switched "ON" ComLink will not
  288. let you spool to an existing file. If the "append" option is "ON" and the
  289. file does not exist then an empty file will be created.
  290.  
  291. The size of the spool file is shown in the control window, this is updated
  292. by ComLink as the file grows. If the append option is "ON" the size of the
  293. whole file will be shown and not just the received charecter count. If the
  294. "Save buffer" option was "ON" then the file size includes the buffer.
  295.  
  296. To start a spool operation, make sure the filepath/name is as desired, then
  297. either drag the icon to a directory window or click on "OK", the OK will
  298. then change to "Close". Dragging the file to a filer window will cause the
  299. file path to be updated appropriately.
  300.  
  301. While spooling to a text file, the file is kept open by ComLink and will
  302. appear as a "text" type icon but with a red pen, it cannot be loaded into a
  303. text editor until the spool file is closed. If you are spooling this means
  304. that to examine the file with !Edit you have to "Close" the file first.
  305. One way of preventing any text received from being missed from the file, yet
  306. still enable to see the text spooled so far, is to hold down Shift+Control
  307. and while keeping these keys down, performing the following :-
  308.  
  309. Click on "Close" hence closing the file
  310. Drag the appropriate file to !Edit
  311. Enabling spooling again by clicking "OK".
  312.  
  313. This works because while Shift+Ctrl are held down, no charecters will be
  314. fetched from the serial port, hence none will be missed out in the spool
  315. file.
  316.  
  317. To end spooling, click on "Close".
  318.  
  319.  
  320. Uploading files
  321. ===============
  322.  
  323. To send a text or data file, all you need to do is drag the file to the
  324. terminal window or to the ComLink icon on the bar. This will cause a small
  325. window to be popped up showing the filename (but not the path), the size of
  326. the file and the percentage sent. The upload can be aborted or started by
  327. clicking on "Abort" or "Send" as appropriate. The percent sent will be
  328. updated as the upload progresses. If a function key upload append has been
  329. set in the "Config" file when Comlink was started, or it has been set in
  330. the Config control window (see above) then at the end of the upload, the
  331. chosen function key definition will be sent. This is handy when sending
  332. files to a BBS/PMS as you can put some sign off text in one of the function
  333. keys.
  334.  
  335. You can drag files directly from other applications such as !Edit, but a
  336. maximum of 10Kbytes can be transferred in this way. If the file is longer,
  337. only the first 10Kbytes will be sent.
  338.  
  339. Files dragged from filing systems, RAM disc, floppy disc etc can be of any
  340. length.
  341.  
  342. Note that if you have accidentally dragged the wrong file for upload, you
  343. don't have abort it, just drag the correct one over and the file details
  344. will be updated.
  345.  
  346. Note that when you have dragged the file, you must click on "Send" to start
  347. the upload. A file upload can be aborted at any time. If a file upload is
  348. started and aborted before it has been completely sent, the function key
  349. definition will still be sent.
  350.  
  351. General hints and tips.
  352. =======================
  353.  
  354. The use of {} and [] brackets
  355. -----------------------------
  356.  
  357. The {} and [] brackets have a special meaning to ComLink when typed in or
  358. used in function key definitions. This provides a very flexible way of
  359. handling system variables and control codes in typed text and function keys,
  360. yet otherwise hardly limits their normal use as ordinary charecters (This
  361. was not true for versions of ComLink prior to 3.01.).
  362.  
  363. The {} brackets can be used to contain contain system variables and ComLink
  364. will expand them for you, if the variable does not exist then an "Unknown
  365. operand error at line xxxxx" error message will be generated. However you
  366. can use the brackets IF THEY DO NOT INCLUDE A $ SIGN, without an error being
  367. generated, in this case the text will be sent as typed. Examples:-
  368.  
  369. {sys$time} - this is a standard system variable so will be converted to the
  370.              time eg "12:18:02"
  371.  
  372. {abc$xyz} -  this is very likely to cause an error!
  373.  
  374. {hello there} - this will be sent as typed, eg "{hello there}"
  375.  
  376.  
  377. The [] brackets are used to send control codes or charecters in the
  378. range 0 to 255. ComLink tries to act intelligently, so if the contents of
  379. the [] brackets is longer than 3 charecters it will NOT try to convert it
  380. into a control code! This means that the standard IDs can be typed which
  381. identify TNC types eg [YFB-3.42-BHR$] etc.
  382.  
  383. Furthermore {}/[] brackets MUST occur in pairs to be expanded from the
  384. system variable/converted to a control code, as soon as an "odd" bracket
  385. is found ComLink will stop trying to interpret the rest of the line. All this
  386. means is that you can use the brackets normally in most cases without getting
  387. odd effects.
  388.  
  389. General tips.
  390. ------------
  391.  
  392. A useful control code to remember is Ctrl V, which can be used to set
  393. multiple line parameters on the TNC. To insert it in a line you must type
  394. it as [22].
  395.  
  396. Pressing Ctrl+Shift together will halt the scrolling in the terminal
  397. window.
  398.  
  399. Don't forget that full cursor editing can be performed in the tx area, this
  400. is very handy if you want to send the last line typed again, just tap the
  401. "up" cursor control arrow (or is it a caret control arrow on the Arc.!) and
  402. then hit "Return". Ctrl+U clears a line.
  403.  
  404. ComLink incorporates an advanced script language making it relatively easy to
  405. write routines to perform tasks like automatic logon and download of mail
  406. and messages from a BBS or PMS. For more information read the manual called
  407. "Script_Man"
  408.