home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 496.lha / BackTalk_v1.30 / BackTalk.doc.pp / BackTalk.doc
Encoding:
Text File  |  1991-04-07  |  50.9 KB  |  1,280 lines

  1.                                BackTalk 1.30
  2.  
  3.             Copyright 1991 by Steve Ahlstrom and Don Curtis
  4.  
  5.  
  6. Copyright and Distribution Notice:
  7.  
  8. BackTalk is a copyrighted program.  BackTalk is freely distributable
  9. provided the following files (listed below) remain UNCHANGED and AS A WHOLE
  10. in LHARCIVE FORM along with this notice.
  11.  
  12. All rights to the program BackTalk and all files in this archive, except
  13. where specifically noted, remain the property of Steve Ahlstrom and Don
  14. Curtis.
  15.  
  16. BackTalk may not be sold or distributed for any fee.  The exception to this
  17. is that BackTalk may be included on any Amiga User Group Club disks on which
  18. BackTalk is not the only program on the disk and the disk does not sell for
  19. more than $10US. 
  20.  
  21.  
  22. Disclaimer:
  23.  
  24. No warranty is offered and no fitness for any particular purpose is claimed.
  25. Every effort has been made for this software to perform as indicated in
  26. the documentation.  However, nothing is perfect.
  27.  
  28.  
  29. Credits:
  30.  
  31. Thanks to the creators of the XPR library specification. 
  32.  
  33. Thanks to the authors of the various XPR libraries.  Do be aware than that,
  34. depending upon implementation, some of these libraries work better than
  35. others.
  36.  
  37. Thanks to Khalid Aldoseri for this File Requester library, his considerable
  38. help and expertise with suggestions, coding hints, and support all while he
  39. was constantly donning his gas mask and seeking shelter from SCUD attacks.
  40.  
  41. And special thanks to the corp of BackTalk testers who include, but are not
  42. limited to, Khalid Aldoseri, Larry, Phillips, Bob Rakosky, Steve Pietrowicz,
  43. Betty Clay, David Art, Brian Bartlett, Vic Wagner, Jim Williams (eet), 
  44. Michael McCormick, and Rick Stevens.
  45.  
  46.  
  47. Files in this LHARCHIVE:
  48.  
  49. BackTalk                  This is the terminal program "BackTalk"
  50. BackTalk.info             Icon for BackTalk
  51. BackTalk.doc              This file
  52.  
  53. *frqlib.lzh               Khalid Aldoseri's File Requester library (ver 2.0).
  54.                           This is the full distribution of the library,
  55.                           auxillary programs, user documentation, and
  56.                           programmer documentation.
  57.  
  58.                           Release 3.0 of Khalid's file requester library
  59.                           is due to be released "any day now" (as of the
  60.                           the date this is written, 24 Feb 1991).  It
  61.                           is fully backward compatible with previous
  62.                           versions and with BackTalk's calls to the
  63.                           library.
  64.                           
  65.  
  66. *xprquickb.library        Jack Rousse's CompuServe QuickB XPR library
  67.                           updated and modified by Don Curtis
  68.  
  69. *xprzmodem.library        Rick Huebner's XPR Zmodem library version 2.1.
  70.                           Previous versions of this library will NOT
  71.                           work with BackTalk and will likely cause
  72.                           a guru.
  73.  
  74. *xprascii.library         an ascii XPR library distributed with the
  75.                           XPR 2.0 specification
  76.  
  77. *and various example ARexx scripts
  78.  
  79. * These files freely distributable and all rights to them remain with
  80.   their authors.
  81.  
  82. ---------------------------------------------------------------------------
  83.  
  84.                                  BackTalk
  85.  
  86.     A general purpose TTY-type telecommunications program for the Amiga
  87.  
  88. Feature Overview:
  89.  
  90.    - Supports the XPR specification.  You may use any file transfer protocol
  91.      for which there exists an XPR library implementation.  At the time of
  92.      this writing there exists XPR libraries for CompuServe QuickB, Zmodem,
  93.      Xmodem, Kermit, and Ascii.
  94.  
  95.    - Fully supports user selected fonts, including proportional fonts.
  96.  
  97.    - ARexx interface - callable internally and externally
  98.      110 ARexx commands and growing
  99.  
  100.    - ARexx scripts callable from FKey macros
  101.  
  102.    - Full featured Review Buffer
  103.  
  104.    - Program will operate in a 1 or a 2 bit plane custom screen or in
  105.      a workbench window.
  106.  
  107.    - If run in a hi-res/interlaced environment, a "split" is provided 
  108.      (half screen)
  109.  
  110.    - Capture Buffer for saving text to a file
  111.  
  112.    - Chat Window for network conferencing.
  113.    
  114.    - Color requester for loading and saving color choices
  115.    
  116.    - Phone book limited only by available memory.  Baud rate loaded from
  117.      phone book entry.
  118.  
  119.    - Real time clock
  120.  
  121.    - A non-graphic Print Screen function
  122.  
  123.    - Print feature for echoing incoming text to a printer
  124.  
  125.    
  126.  
  127. Minimum System Requirement:
  128.  
  129. Amiga 500/1000/2000/3000 with a minimum of 512k and 1 floppy drive
  130. Modem: 300/1200/2400/4800/9600
  131.  
  132. ---------------------------------------------------------------------------
  133.  
  134.                             How to Use BackTalk
  135.  
  136. Before running BackTalk for the first time, decompress frqlib.lzh and place 
  137. kd_freq.library, xprquickb.library, xprzmodem.library and xprascii.library 
  138. files in your LIBS: logical directory.  Library file names are case sensitive, 
  139. please do not change them.  BackTalk will not run without kd_freq.library and
  140. xprquickb.library.
  141.  
  142. BackTalk will open its screen/window in whatever resolution your computer
  143. is in at the time the program is run.  When BackTalk loads, it looks for 3
  144. files, BT.CFG (its configuration file), BT.MACROS (it's macro key file),
  145. and BT.PHONES (its phone book data file).  BackTalk will look in the current
  146. directory for these files.  If it does not find them there, it will look in
  147. S:.  Since first time users will not have these files, BackTalk will put up
  148. a requester informing the user that the files cannot be found and will then
  149. use its internal defaults.
  150.  
  151. FIRST TIME USERS, PLEASE TAKE NOTE.  When BackTalk attempts to load its
  152. data files (BT.CFG, BT.MACROS, and BT.PHONES) it looks FIRST to your current
  153. directory.  If not found it then looks to S:.  When you create these files
  154. they will be saved to where ever they were read from (current directory or
  155. S:).  This means that for first time use they will not be read from S:.
  156. The files will be saved to current directory.  If you want these files to
  157. be in S: in future runs of the program, you must copy them there after
  158. BackTalk creates them.  From then on, when updating these files from within
  159. BackTalk, they will be saved to S: because they were read in from S:.
  160.  
  161. The most coherent method to document BackTalk is to describe the function
  162. of its menu items (from left to right) and their subitems.
  163.  
  164. Menu: BackTalk
  165.    SubItem: About
  166.       Hot Key: Right-Amiga-A
  167.  
  168.       This brings up a "credits" requester containing copyright, support,
  169.       and distribution information.
  170.  
  171.    SubItem: Hangup
  172.       Hot Key: Right-Amiga-H
  173.  
  174.       This will cause your modem to hang up the phone.  This is done by
  175.       dropping DTR.  If your modem is setup to ignore DTR or you are using
  176.       a 3 wire serial cable between your computer and your modem, this
  177.       command has detects that dropping DTR had no effect and will then
  178.       send the standard Hayes compatible "+++ATH" string to your modem.
  179.  
  180.    SubItem: Quit
  181.       Hot Key: Right-Amiga-Q
  182.  
  183.       This will terminate the program.
  184.  
  185. Menu: Phone
  186.    SubItem: Dial...
  187.    Hot Key: Right-Amiga-P
  188.  
  189.       This brings up the Phone Directory.
  190.  
  191.       The Phone Directory displays 10 entries.  If there are more than 10
  192.       entries, you may scroll through them using the UP and DOWN arrow keys.
  193.       
  194.       You may select the entry to dial by using the mouse and clicking upon 
  195.       the entry or by typing the number to the left of the entry from the 
  196.       keyboard.  This will place the entry into the string gadgets below.  
  197.       You may dial the entry by clicking on the gadget labeled "Dial" or by 
  198.       typing "D" from the keyboard.  The phone number will be sent to the
  199.       modem with a terminating carriage return.  
  200.  
  201.       If for any reason you do not want the carriage return sent, in the
  202.       phone number portion of that entry, place an asterisk (*) as the last
  203.       character in the phone number (see "Adding Phone Book Entries" and
  204.       "Editing Phone Book Entries" below).  When "Dial" is clicked upon or
  205.       the letter "D" is typed, the phone number will be sent to the modem
  206.       without a terminating carriage return.
  207.  
  208.       Adding Phone Book Entries:
  209.       To add a phone book entry, click on the "Add" gadget with the mouse.
  210.       This will activate the "System" string gadget.  Type in the name and
  211.       then type return.  The "Phone" string gadget will now be activated.
  212.       Enter the phone number to be dialed and type a  return.  The "Comment"
  213.       string gadget will be activated.  Enter a comment if you wish, and
  214.       type return.  The "Baud" string gadget will be activated.  In this
  215.       string gadget the current baud rate will be displayed.  If you wish this
  216.       Phone Book entry to have a different baud rate, enter it here, otherwise
  217.       just hit return.  Should you enter an invalid baud rate, (ie, NOT 300,
  218.       1200, 2400, 4800, 9600, or 19200) the current baud rate will be used and
  219.       saved with the Phone Book entry.  The "Modem Prefix" string gadget will 
  220.       be activated.  The "Modem Prefix" string gadget serves two purposes.  
  221.       The information entered here will be prepended to the phone number when 
  222.       it is sent to the modem.  This is also a "terminator" field for the Phone
  223.       Book entry.  If you do not type a return in this gadget the Phone Book 
  224.       entry will not be added.  By default, an "ATDT" is placed in the "Modem 
  225.       Prefix" string gadget.  If this is acceptable, just type a carriage 
  226.       return, if not, enter your dialing prefix and type a carriage return.
  227.  
  228.       Editing Phone Book Entries:
  229.       To edit an existing Phone Book entry, select the entry to be edited by
  230.       clicking upon the entry or by typing the number of the entry.  The
  231.       entry will be placed into the string gadgets below.  Click the mouse
  232.       on the string gadget you wish to change and make your changes.  When
  233.       you type a carriage return in the "Modem Prefix" string gadget, the
  234.       changes will be accepted.
  235.  
  236.       Deleting Phone Book Entries:
  237.       To delete an existing Phone Book entry, select the entry to be deleted
  238.       by clicking upon the entry of by typing the number of the entry.  The
  239.       entry will be placed into the string gadgets below.  Click the mouse 
  240.       on the "Delete" gadget.  The entry will be removed from the list.
  241.  
  242.       The Phone Book entries are "hot keyable" from within the requester by
  243.       using the number keys 1-1(0).  The Dial and Exit gadgets are also hot
  244.       keyable using the D and E keys, respectively.  
  245.  
  246.       If there have been any changes to the Phone Book those changes will be
  247.       written to the file BT.PHONES when you exit the Phone Book (by using
  248.       the Dial or Exit gadgets).
  249.  
  250.    SubItem: Redial
  251.    Hot Key: Right-Amiga-$
  252.  
  253.       This will cause the last dialed Phone Book entry to be dialed again.
  254.  
  255. Menu: Serial
  256.    SubItem: Serial Definitions...
  257.    Hot Key: Right-Amiga-*
  258.  
  259.        This brings up the Serial Definitions requester.  Most of the items
  260.        within this requester are self explanatory.
  261.  
  262.       If you are using a modem or a serial card that requires the use of a
  263.       serial device driver other than the CBM supplied "serial.device" make
  264.       sure that device driver is located in your LIBS: directory.  Enter
  265.       the name of the device driver (the name is case sensitive) into the
  266.       "Device Name" string gadget.  If a unit number other than 0 is 
  267.       required, enter the unit number into the "Unit #" string gadget (check 
  268.       the documentation for your non-CBM supplied device driver for this 
  269.       information.
  270.    
  271.       NOTE:  There appears to be a problem with CBM's serial.device that
  272.       is distributed with the A2232 card.  The symptom is that when a unit
  273.       number other than 0 is being used, attempting to close and reopen the
  274.       port while online will cause BackTalk to hang.
  275.  
  276.       To exit the Serial Definitions requester, click on the Cancel or Use
  277.       gadgets, or type the letter C or U.  If you have made changes and 
  278.       selected "Use", those changes will go into effect immediately.  By 
  279.       selecting "Cancel" all changes will be negated and your serial 
  280.       definitions will remain as they were before you entered the Serial 
  281.       Definitions requester.
  282.  
  283.    SubItem: Send Break
  284.    Hot Key: Right-Amiga-~ (tilde)
  285.  
  286.       This sends a break signal.
  287.  
  288. Menu: Files
  289.    SubItem: Protocols...
  290.    Hot Key:  NONE
  291.  
  292.       BackTalk utilizes the XPR protocol specification.  This menu item will
  293.       bring up a file requester from which you may load the xpr library you
  294.       would like to use.  By default, the file requester will display files
  295.       in LIBS: that begin with XPR#?.
  296.  
  297.    SubItem: Download
  298.    Hot Key: Right-Amiga-D
  299.  
  300.       When selected you will be presented with a file requester for you to
  301.       indicate the path and file name of where the download will be written.
  302.       Some transfer protocols are "autostart" meaning that when you tell
  303.       the system you are calling that you want to download a file the file
  304.       transfer starts automatically.  You will be prompted for the location
  305.       of where the file will be written.  In this case, the DOWNLOAD menu
  306.       option will be ghosted.
  307.    
  308.       An example of an autostart protocol is CompuServe QuickB protocol.
  309.       You would simply type "DOW filename", Compuserve will respond with
  310.       "Filename for your computer".  You would respond with the 
  311.       path/filename of the file you are downloading.  The transfer will 
  312.       start automatically at that point.
  313.  
  314.    SubItem: Upload
  315.    Hot Key: Right-Amiga-U
  316.  
  317.       Same as DOWNLOAD only in the reverse direction.
  318.  
  319.    SubItem: Capture On
  320.    Hot Key: Right-Amiga-O
  321.  
  322.       A file requester will be presented with the default path and filename
  323.       taken from the path and filename you indicated in the Global Options
  324.       requester (more on the Global Options requester later).  If this is
  325.       acceptable, hit return and the capture file will be opened.  If it is
  326.       not acceptable, enter the desired path and filename.
  327.       
  328.       Should you open a capture file, and that file already exists, the
  329.       new information will be appended to the existing file rather than
  330.       overwriting the existing file.
  331.  
  332.    SubItem: Capture Off
  333.    Hot Key: Right-Amiga-C
  334.    
  335.       This turns off the capture buffer and closes the capture file.
  336.  
  337. Menu: Review
  338.    SubItem: Show Review
  339.    Hot Key: Right-Amiga-R
  340.  
  341.       This opens the Review Buffer.  The Review Buffer is a circular buffer,
  342.       16k in size.  You may move around in the Review Buffer by using the
  343.       up arrow and down arrow keys to scroll a line at a time.  Shifted up 
  344.       or   down arrows will scroll a page at a time.  ALT up and down arrow 
  345.       will move you to top or bottom of file, respectively.  Clicking the 
  346.       mouse   upper half of the display will scroll the display up one page.
  347.       Clicking the mouse in the lower half of the display will scroll the
  348.       display down one page.
  349.  
  350.       The Review Buffer has a menu attached that allows you to print the
  351.       current screen or print the entire review buffer.  You may also
  352.       exit the Review Buffer via the menu.  Other methods to exit the
  353.       Review Buffer is to type Right-Amiga-Q, type ESC, or type HELP.
  354.       If you are running in a workbench window, there will also be a
  355.       Close Box in the upper left corner.
  356.  
  357.    SubItem: Save Review
  358.    Hot Key: NONE
  359.  
  360.       This brings up a file requester with the path "RAM:ReviewBuff" as
  361.       the default.  If this is acceptable hit return or click on the
  362.       SAVE button.  If it is not acceptable, enter the desired path and
  363.       file.
  364.  
  365. Menu: Print
  366.    SubItem: Print Screen
  367.    Hot Key: Right-Amiga-Z
  368.  
  369.       This will send what is currently displayed on BackTalk's screen to 
  370.       your prt:.
  371.  
  372.    SubItem: Print Review
  373.    Hot Key: Right-Amiga-!
  374.    
  375.       This will send the contents of the Review Buffer to prt:.
  376.  
  377.    SubItem: Echo Printer
  378.    Hot Key: Right-Amiga-E
  379.  
  380.       All text that is displayed on BackTalk's screen will be echoed to
  381.       prt:.
  382.  
  383. Menu: Configuration
  384.    SubItem: Global Options
  385.    Hot Key: NONE
  386.  
  387.       This brings up the Global Options requester.  Here you specify
  388.       the default Upload and Download directories and the default name
  389.       of the Capture file.
  390.  
  391.       BackTalk utilizes proportional fonts.  Even if the font you have
  392.       selected is not proportional, it is treated as such.  When using
  393.       the Chat Window (described in more detail later) lines are
  394.       "auto sent" when a maximum line length is reached.  This line
  395.       length is based upon the pixel length of the line, not the 
  396.       character length of the line.  You may, in the Global Options
  397.       requester, specify at what pixel length the line should be sent.
  398.       You are shown the current maximum line length, in pixels, that
  399.       is possible (based upon your horizontal resolution) and may enter
  400.       a different value in the string gadget.  This feature is basicly
  401.       a trial and error adventure depending on the font you are using.
  402.  
  403.       When using the Chat Window, as mentioned above, lines are auto sent
  404.       if a maximum line length is reached before a carriage return is
  405.       entered.  You may elected to have a "..." automatically appended to
  406.       all lines that are auto sent from the Chat Window.  Appending the
  407.       dots is especially user when in a conferencing area to indicate to
  408.       others that you are not through typing.  However, it can become a
  409.       nuisance if you are leaving a message while using the Chat Window.
  410.       In the Global Options requester you may select to have the dots
  411.       appended or not.
  412.  
  413.       Also in the Global Options requester are two string gadgets, labeled
  414.       "Modem Init Command" and "Modem Exit Command".  Whatever string is
  415.       in the Moden Init Command string gadget will be sent to the serial
  416.       port immediately upon starting BackTalk.  The Modem Exit Command
  417.       string will be sent to the serial port just prior to terminating
  418.       BackTalk.  If you do not want these strings to be sent, clear
  419.       these string gadgets.
  420.  
  421.    SubItem: Split
  422.    Hot Key: Right-Amiga-S
  423.  
  424.       If you are running BackTalk in a hi resolution/interlaced mode, the
  425.       Split command will reduce the size of BackTalk's window to half
  426.       screen.  Split is a toggle.  If BackTalk is in half size mode, 
  427.       selecting split again will return it to full screen size.
  428.       The state of this item is saved in the BT.CFG file.
  429.  
  430.    SubItem: Screen - 1 Plane
  431.    Hot Key: Right-Amiga-1
  432.       
  433.       Causes BackTalk to be run in a 1 bit plane custom screen.
  434.       The state of this item is saved in the BT.CFG file.
  435.  
  436.    SubItem: Screen - 2 Plane
  437.    Hot Key: Right-Amiga-2
  438.    
  439.       Causes BackTalk to be run in a 2 bit plane custom screen.
  440.       The state of this item is saved in the BT.CFG file.
  441.  
  442.    SubItem: Workbench Screen
  443.    Hot Key: Right-Amiga-3
  444.  
  445.       Causes BackTalk to be run in a workbench window.
  446.       The state of this item is saved in the BT.CFG file.
  447.  
  448.    SubItem: Borders On/Off
  449.    Hot Key: Right-Amiga-B
  450.  
  451.       This is a toggle which turns the window borders on or off.
  452.       The state of this item is saved in the BT.CFG file.
  453.  
  454.    SubItem: Set Colors
  455.    Hot Key: NONE
  456.  
  457.       This brings up a color requester.  You may change the colors of the
  458.       program with this requester.  This menu item is ghosted if you are
  459.       running BackTalk from a workbench window.
  460.       The state of this item is saved in the BT.CFG file.
  461.  
  462.    SubItem: Fonts
  463.       SubSubItem: Diskfonts...
  464.       Hot Key: Right-Amiga-F
  465.          
  466.          This brings up a file requester defaulted to FONTS:.  Select the
  467.          font you wish to use, then select the point size, and click
  468.          on use.  The state of this item is saved in the BT.CFG file.
  469.          
  470.       SubSubItem: Topaz 8
  471.       Hot Key: Right-Amiga-8
  472.       
  473.          Since Topaz is a rom font it will not show up in the Fonts
  474.          file requester.  This item will select the Topaz 8 font.
  475.          The state of this item is saved in the BT.CFG file.
  476.  
  477.       SubSubItem: Topaz 9
  478.       Hot Key: Right-Amiga-9
  479.  
  480.          Since Topaz is a rom font it will not show up in the Fonts
  481.          file requester.  This item will select the Topaz 9 font.
  482.          The state of this item is saved in the BT.CFG file.
  483.  
  484.    SubItem: Macros
  485.    Hot Key: NONE
  486.  
  487.       This brings up the Macros requester.  Simply click on the FKey
  488.       gadget of your choice, enter the text into the string gadget and
  489.       type return in the string gadget.  To enter a carriage return 
  490.       into your macros, type a ^M (either the 2 separate characters ^
  491.       and M or the 2 keys together.  The same goes for any control 
  492.       character you'd like to embed in a macro).  If you exit the 
  493.       Macro requester by selecting SAVE a file requester will be presented
  494.       with the name of the currently selected macro file.  
  495.  
  496.       NOTE: The filename may NOT be BT.MACROS.  You may have used the ARexx 
  497.       command to load in an alternate macro file.
  498.       
  499.       A macro may contain the command to execute an ARexx script.  The delimiter
  500.       for ARexx script names is the backslash (\).  An example ...
  501.  
  502.       This is a test \do_something\and another test.
  503.  
  504.       If the above is your macro, "This is a test " will be sent as a normal
  505.       macro string.  Then the ARexx script "do_something" will be run, then 
  506.       the text "and another test" will be sent as a normal macro string.
  507.  
  508.       NOTE:  If you need to send a backslash as part of your macro and it's
  509.       not to be used as an ARexx scriptname delimiter, preface the backslash
  510.       with another backslash, ie., // .
  511.  
  512.       NOTE:  The ARexx script name need not contain the path nor the extension.
  513.       The path is assumed to be REXX: and the extension is assumed to be .BT.
  514.  
  515.    SubItem: Chat Window
  516.    Hot Key: Right-Amiga-W
  517.  
  518.       This toggles the Chat Window on and off.  Text typed into the Chat
  519.       Window will be sent to the serial port when a carriage return is
  520.       typed or when the length of the line exceeds the maximum line length
  521.       (see Global Options for more information on the maximum line length).
  522.       Because lines are auto sent from the Chat Window an insert mode
  523.       is not provided.  You may move the cursor on the line in the Chat
  524.       Window with the left and right arrow keys.  If you type over text you
  525.       will be "typing over text" rather than inserting new text.
  526.  
  527.       A ctrl-X typed in the Chat Window will clear the current line.
  528.       A ctrl-Y typed in the Chat Window will delete the text from the cursor
  529.       position to the end of the line.
  530.  
  531.       The Chat Window features a 20 line Chat History Buffer.  This is a
  532.       circular buffer.  You move through previously send line by using the
  533.       the up and down arrow keys.
  534.  
  535.       Using the Chat Window in Compuserve's Conferenicng or CB areas:
  536.       If the beginning of a line is "/sen nn" (where nn is a "job number")
  537.       and the line is auto sent before a carriage return is entered, the
  538.       unsent text will be wrapped to the next line and PREpended with
  539.       the "/sen nn" from the previous line.  This helps prevent embarassing
  540.       moments if the first /sen line is auto sent and the user neglects to
  541.       type "/sen nn" on the following line.
  542.  
  543.       Sending control characters from the Chat Window to the serial port is
  544.       sometimes necessary.  BackTalk will send ctrl-C, ctrl-O, ctrl-P, ctrl-Q,
  545.       ctrl-S, and ctrl-Z from the Chat Window to the serial port.  All others
  546.       are ignored.
  547.  
  548.       When the Chat Window is active, a gadget labeled /SEN is located
  549.       on the right side of the bottom status line.  When the /SEN gadget
  550.       is clicked upon a string gadget will appear to it's right.  This
  551.       gadget is used to make it more convenient to have a /SEN converation
  552.       (private conversation) with someone in CompuServe's Conferencing or
  553.       CB areas.  When the the /SEN gadget is activated and a job number
  554.       is entered into the string gadget, all lines in the Chat Window will
  555.       be prepended with "/SEN nn" (where nn is the job number).
  556.  
  557.       The state of this item is saved in the BT.CFG file.
  558.  
  559.    SubItem: Append "..."
  560.    Hot Key: Right-Amiga-. (period)
  561.  
  562.       This function was decribed in more detail under Global Options.
  563.       It is another way (that is "hot keyable") to turn on and off the
  564.       append dots feature of lines auto sent from the Chat Window.  When
  565.       this option is selected a "box" will appear on the far right side of
  566.       the Chat Window bar (the bar separates the main communications window
  567.       from the Chat Window).  This gives you a visual indication that you
  568.       have selected the Send Dots feature.
  569.       The state of this item is saved in the BT.CFG file.
  570.  
  571.    SubItem: Double Click XON/XOFF
  572.    Hot Key: NONE
  573.       
  574.       A check marked menu item that toggles on and off the ability to double
  575.       click the mouse to send an xon/xoff.  The state of this item is saved
  576.       in the BT.CFG file.
  577.  
  578.    SubItem: CTRL-U From Chat
  579.    Hot Key: NONE
  580.  
  581.       A check marked menu item that prepends a ^U to all lines sent from
  582.       the Chat Window.  This option is CompuServe specific.  If you are using
  583.       the Chat Window and you are experiencing line noise, a ^U will clear
  584.       CompuServe's input buffer (get rid of the noise) before you line is
  585.       sent.  The state of this item is saved in the BT.CFG file.
  586.    
  587.  
  588.    SubItem: Save Configuration
  589.    Hot Key: NONE
  590.  
  591.       Selecting this item causes all current user selectable options to
  592.       be written to the file BT.CFG.  This includes the current selection
  593.       of protocol, colors, fonts, split or full window, 1 bit plane screen,
  594.       2 bit plane screen, or workbench screen, modem init and modem exit
  595.       strings, what window off or on, borders off or on, send dots off or
  596.       on, all serial parameters -- ANYTHING the user may select or change
  597.       from the default configuration.
  598.  
  599.       NOTE: As of BackTalk 1.30, a version check is made when BT.CFG
  600.       is read from disk.  If your BT.CFG file was written with a version
  601.       of BackTalk prior to 1.30 you will be presented with a requester
  602.       informing you that the file format is incompatible.  The program
  603.       will then use the internal default values.  However, the next time
  604.       you use select "Save Configuration" the new file format will be
  605.       written to disk.  This was added in anticipation of future additions
  606.       to the BT.CFG file.
  607.  
  608.  
  609. ---------------------------------------------------------------------------
  610.  
  611.                        Other Features and Functions
  612.  
  613.  
  614. ARexx:
  615.  
  616. BackTalk has an ARexx port.  In the initial release of BackTalk ARexx
  617. scripts are not executable from within BackTalk but BackTalk may be
  618. controlled externally or internally by an ARexx scripts.  
  619.  
  620. Using internal scripts ...
  621.  
  622. When BackTalk is run it attempts to open the ARexx port "REXX".  If this
  623. port is found an new menu is added, ARexx.  Under this menu is one menuitem,
  624. "Run ARexx Script...".  When this is selected a file requester is presented.
  625. The file requester is defaulted to the REXX: directory and only filenames
  626. with an extension of .BT are displayed.  .BT is the recognized extension
  627. for BackTalk specific ARexx scripts.
  628.  
  629. Using external scripts ...
  630.  
  631. Since BackTalk may be run more than once, different iterations of the progrm 
  632. will have a uniquely named ARexx port.  In the first iteration it is 
  633. named BT_REXX. The second iteration is BT_REXX2, the third is 
  634. BT_REXX3, etc.
  635.  
  636. Quote all string arguments in your BackTalk ARexx scripts.
  637. NOTE:  All <string> arguments are case sensitive.
  638.  
  639. Following are the ARexx command currently supported:
  640.  
  641. WAITFOR  Usage: WAITFOR <string>
  642.    This command waits for the string.  ARexx is not replied to
  643.    until this string is found.
  644.  
  645. ONSTRING  Usage: ONSTRING <string>
  646.    Sends a message to ARexx whenever <string> is encountered in the
  647.    serial input stream.  Your ARexx program must open a port named
  648.    BT_msg.  When a match is found, BackTalk will send a message
  649.    to BT_msg, arg0 will be MATCH.
  650.  
  651.    You may embed control characters within <string>.  To do so, use 
  652.    the ^ (caret) then the character.  (ie, "John^M^J(" will cause the
  653.    serial input stream to be searched for "John" followed by an
  654.    0x0d (^M/carriage return), a 0x0a (^J), and a left parenthesis.
  655.    If you want to search the input stream for a ^ (caret) itself,
  656.    use "^^".  IE., to search for "2^2" your string would be entered
  657.    as "2^^2".  Each caret to be searched for must be preceeded with
  658.    another caret so the program knows you really want to search for
  659.    a caret and not to interpret it as the next character being a
  660.    control character.
  661.  
  662.    NOTE:  If you call ONSTRING(n) while an existing ONSTRING(n) command is
  663.           running you will not add a second string to the search but
  664.           will change the search string for the currently running
  665.           iteration of ONSTRING(n).
  666.           IE., ONSTRING "JOE"   (input stream being searched for "JOE")
  667.                ONSTRING "MOE"   (input strean now being searched for "MOE")
  668.  
  669.    ANOTHER NOTE:  There is only 1 port for BackTalk to send messages to 
  670.                   your ARexx script, that being "BT_msg".  You should 
  671.                   include something like the following in your scripts 
  672.                   that use ONSTRING(n) and OFFSTRING(n) in case another 
  673.                   script you've got running is already using the port.
  674.  
  675.                   if ~openport("BT_msg") then do
  676.                      MESSAGE "PORT ALREADY IN USE"
  677.                      exit
  678.                   end
  679.  
  680.                   If you don't and just assume the port opened without
  681.                   checking the return value, or you ignore the return
  682.                   value and try to use it anyway, all sorts of strange
  683.                   things may happen.
  684.  
  685.                   The length of the ONSTRINGn/OFFSTRINGn arguments can
  686.                   be up to 64 characters.  They are case sensitive.
  687.  
  688. ONSTRING1  Usage: ONSTRING1 <string>
  689.    Works exactly as described for ONSTRING except the message sent to your
  690.    ARexx script will be MATCH1.
  691.  
  692. ONSTRING2  Usage: ONSTRING2 <string>
  693.    Works exactly as described for ONSTRING except the message sent to your
  694.    ARexx script will be MATCH2.
  695.  
  696. ONSTRING3  Usage: ONSTRING3 <string>
  697.    Works exactly as described for ONSTRING except the message sent to your
  698.    ARexx script will be MATCH3.
  699.  
  700. ONSTRING4  Usage: ONSTRING4 <string>
  701.    Works exactly as described for ONSTRING except the message sent to your
  702.    ARexx script will be MATCH4.
  703.  
  704. ONSTRING5  Usage: ONSTRING5 <string>
  705.    Works exactly as described for ONSTRING except the message sent to your
  706.    ARexx script will be MATCH5.
  707.  
  708. ONSTRING6  Usage: ONSTRING6 <string>
  709.    Works exactly as described for ONSTRING except the message sent to your
  710.    ARexx script will be MATCH6.
  711.  
  712. ONSTRING7  Usage: ONSTRING7 <string>
  713.    Works exactly as described for ONSTRING except the message sent to your
  714.    ARexx script will be MATCH7.
  715.  
  716. ONSTRING8  Usage: ONSTRING8 <string>
  717.    Works exactly as described for ONSTRING except the message sent to your
  718.    ARexx script will be MATCH8.
  719.  
  720. ONSTRING9  Usage: ONSTRING9 <string>
  721.    Works exactly as described for ONSTRING except the message sent to your
  722.    ARexx script will be MATCH9.
  723.  
  724. ONSTRING10  Usage: ONSTRING10 <string>
  725.    Works exactly as described for ONSTRING except the message sent to your
  726.    ARexx script will be MATCH10.
  727.  
  728. ONSTRING11  Usage: ONSTRING11 <string>
  729.    Works exactly as described for ONSTRING except the message sent to your
  730.    ARexx script will be MATCH11.
  731.  
  732. ONSTRING12  Usage: ONSTRING12 <string>
  733.    Works exactly as described for ONSTRING except the message sent to your
  734.    ARexx script will be MATCH12.
  735.  
  736. ONSTRING13  Usage: ONSTRING13 <string>
  737.    Works exactly as described for ONSTRING except the message sent to your
  738.    ARexx script will be MATCH13.
  739.  
  740. ONSTRING14  Usage: ONSTRING14 <string>
  741.    Works exactly as described for ONSTRING except the message sent to your
  742.    ARexx script will be MATCH14.
  743.  
  744. ONSTRING15  Usage: ONSTRING15 <string>
  745.    Works exactly as described for ONSTRING except the message sent to your
  746.    ARexx script will be MATCH15.
  747.  
  748. ONSTRING16  Usage: ONSTRING16 <string>
  749.    Works exactly as described for ONSTRING except the message sent to your
  750.    ARexx script will be MATCH16.
  751.  
  752. ONSTRING17  Usage: ONSTRING17 <string>
  753.    Works exactly as described for ONSTRING except the message sent to your
  754.    ARexx script will be MATCH17.
  755.  
  756. ONSTRING18  Usage: ONSTRING18 <string>
  757.    Works exactly as described for ONSTRING except the message sent to your
  758.    ARexx script will be MATCH18.
  759.  
  760. ONSTRING19  Usage: ONSTRING19 <string>
  761.    Works exactly as described for ONSTRING except the message sent to your
  762.    ARexx script will be MATCH19.
  763.  
  764. OFFSTRING  Usage: OFFSTRING <no argument> | <string>
  765.    This causes BackTalk to terminate the ONSTRING command.
  766.    If an argument is given to OFFSTRING it will be searched for in the
  767.    serial input string.  When found BackTalk will send a message to 
  768.    ARexx which will terminate the ONSTRING command.  If no argument
  769.    is given to OFFSTRING a message will be sent to ARexx immediately
  770.    to terminate the ONSTRING command.
  771.  
  772.    When the message is sent to ARexx it is sent to a port that ARexx
  773.    has opened named "BT_msg".  Arg0 will contain "OFF".
  774.  
  775.    You may embed control characters within <string>.  To do so, use 
  776.    the ^ (caret) then the character.  (ie, "John^M^J(" will cause the
  777.    serial input stream to be searched for "John" followed by an
  778.    0x0d (^M/carriage return), a 0x0a (^J), and a left parenthesis.
  779.    If you want to search the input stream for a ^ (caret) itself,
  780.    use "^^".  IE., to search for "2^2" your string would be entered
  781.    as "2^^2".  Each caret to be searched for must be preceeded with
  782.    another caret so the program knows you really want to search for
  783.    a caret and not to interpret it as the next character being a
  784.    control character.
  785.  
  786.    NOTE:  If you give OFFSTRINGn an argument ...
  787.           The input stream is searched for the argument string.
  788.           When it is found a message is sent to ARexx and the
  789.           corresponding ONSTRINGn (it it exists) is cleared.
  790.           If you change the argument to OFFSTRINGn before a match
  791.           is found in the input stream, all you have done is changed
  792.           the search string and NOT cleared the corresponding
  793.           ONSTRING (if it exists).  This means you may do a
  794.           
  795.           OFFSTRING "test"
  796.           if later in your ARexx script you do a
  797.           OFFSTRING "news"
  798.           BEFORE a match on "test" is made, you will have changed
  799.           the search criteria from "test" to "news".
  800.          
  801.           If you do NOT give OFFSTRINGn an argument ...
  802.           A message is sent to ARexx immediately and the
  803.           corresponding ONSTRINGn (if it exists) is cleared.
  804.  
  805.           What this means is that OFFSTRINGn can be used as a "one shot"
  806.           "signal me when this string is found".  Very much like WAITFOR
  807.           with the exception being that your ARexx script will have to
  808.           be looking for the message from BackTalk signaling the string
  809.           was found.  (WAITFOR does not reply to ARexx until the string
  810.           is found and therefore effectively stops further execution of
  811.           your ARexx script until a match is found).
  812.  
  813.  
  814. OFFSTRING1  Usage: OFFSTRING1 <no argument> | <string>
  815.    Works exactly as described for OFFSTRING except the message sent to your
  816.    ARexx script will be OFF1.
  817.  
  818. OFFSTRING2  Usage: OFFSTRING2 <no argument> | <string>
  819.    Works exactly as described for OFFSTRING except the message sent to your
  820.    ARexx script will be OFF2.
  821.  
  822. OFFSTRING3  Usage: OFFSTRING3 <no argument> | <string>
  823.    Works exactly as described for OFFSTRING except the message sent to your
  824.    ARexx script will be OFF3.
  825.  
  826. OFFSTRING4  Usage: OFFSTRING4 <no argument> | <string>
  827.    Works exactly as described for OFFSTRING except the message sent to your
  828.    ARexx script will be OFF4.
  829.  
  830. OFFSTRING5  Usage: OFFSTRING5 <no argument> | <string>
  831.    Works exactly as described for OFFSTRING except the message sent to your
  832.    ARexx script will be OFF5.
  833.  
  834. OFFSTRING6  Usage: OFFSTRING6 <no argument> | <string>
  835.    Works exactly as described for OFFSTRING except the message sent to your
  836.    ARexx script will be OFF6.
  837.  
  838. OFFSTRING7  Usage: OFFSTRING7 <no argument> | <string>
  839.    Works exactly as described for OFFSTRING except the message sent to your
  840.    ARexx script will be OFF7.
  841.  
  842. OFFSTRING8  Usage: OFFSTRING8 <no argument> | <string>
  843.    Works exactly as described for OFFSTRING except the message sent to your
  844.    ARexx script will be OFF8.
  845.  
  846. OFFSTRING9  Usage: OFFSTRING9 <no argument> | <string>
  847.    Works exactly as described for OFFSTRING except the message sent to your
  848.    ARexx script will be OFF9.
  849.  
  850. OFFSTRING10  Usage: OFFSTRING10 <no argument> | <string>
  851.    Works exactly as described for OFFSTRING except the message sent to your
  852.    ARexx script will be OFF10.
  853.  
  854. OFFSTRING11  Usage: OFFSTRING11 <no argument> | <string>
  855.    Works exactly as described for OFFSTRING except the message sent to your
  856.    ARexx script will be OFF11.
  857.  
  858. OFFSTRING12  Usage: OFFSTRING12 <no argument> | <string>
  859.    Works exactly as described for OFFSTRING except the message sent to your
  860.    ARexx script will be OFF12.
  861.  
  862. OFFSTRING13  Usage: OFFSTRING13 <no argument> | <string>
  863.    Works exactly as described for OFFSTRING except the message sent to your
  864.    ARexx script will be OFF13.
  865.  
  866. OFFSTRING14  Usage: OFFSTRING14 <no argument> | <string>
  867.    Works exactly as described for OFFSTRING except the message sent to your
  868.    ARexx script will be OFF14.
  869.  
  870. OFFSTRING15  Usage: OFFSTRING15 <no argument> | <string>
  871.    Works exactly as described for OFFSTRING except the message sent to your
  872.    ARexx script will be OFF15.
  873.  
  874. OFFSTRING16  Usage: OFFSTRING16 <no argument> | <string>
  875.    Works exactly as described for OFFSTRING except the message sent to your
  876.    ARexx script will be OFF16.
  877.  
  878. OFFSTRING17  Usage: OFFSTRING17 <no argument> | <string>
  879.    Works exactly as described for OFFSTRING except the message sent to your
  880.    ARexx script will be OFF17.
  881.  
  882. OFFSTRING18  Usage: OFFSTRING18 <no argument> | <string>
  883.    Works exactly as described for OFFSTRING except the message sent to your
  884.    ARexx script will be OFF18.
  885.  
  886. OFFSTRING19  Usage: OFFSTRING19 <no argument> | <string>
  887.    Works exactly as described for OFFSTRING except the message sent to your
  888.    ARexx script will be OFF19.
  889.  
  890. OFFSTRINGALL  Usage:  OFFSTRINGALL
  891.    This will clear all outstanding OFFSTRINGn and ONSTRINGn
  892.    calls.  To be used if RESET does too much for your needs.
  893.    It is HIGHLY recommended you use either OFFSTRINGALL or
  894.    RESET immediately before exiting your ARexx script if 
  895.    ONSTRINGn and/or OFFSTRINGn were used in the script.
  896.  
  897. RESET  Usage: RESET
  898.    This is recommended to be used immediately before the "exit" command
  899.    in your ARexx scripts.  It will clear all outstanding ONSTRINGn and
  900.    OFFSTRINGn calls, restore screen display if DISPLAYOFF was called, 
  901.    and UNBLOCK user input if BLOCK was called.  The main purpose of this 
  902.    command is to tell BackTalk that the script has terminated and there 
  903.    is no longer any reason to be checking the input stream for matches 
  904.    if you had used ONSTRINGn/OFFSTRINGn.  Of course, RESET can be used 
  905.    at any time in an ARexx script if you wish the above actions to take 
  906.    place.
  907.  
  908. SEND  Usage: SEND <string>
  909.    Sends a string to the serial port with a terminating carriage return.
  910.    If the first character of <string> is a ^ (caret) the following
  911.    character will immediately be sent as a control character and any
  912.    text following that 2 character sequence will be ignored.  No carriage
  913.    return is sent after a control character regardless of whether SEND
  914.    or SENDNCR was used.
  915.  
  916. SENDNCR  Usage: SENDNCR <string>
  917.     The same as SEND however does not send a terminating carriage return
  918.  
  919. MESSAGE  Usage:  MESSAGE <string>
  920.    Sends a text message to the screen and to the review buffer 
  921.    but does not send it to the serial port.
  922.  
  923. FKEY  Usage: FKEY <Fn | SFn> 
  924.    This will send one of BackTalk's fkey macros
  925.    returns a non-zero on failure.
  926.  
  927. LMACROS  Usage: LMACROS <path/filename>
  928.    This will load in an alternate set of macros.
  929.    returns a non-zero on failure.
  930.  
  931. FONT  Usage: FONT <fontname> <size>  (ie, FONT "courier" "13")
  932.    Will load in a new font.  If the point size argument is missing
  933.    no change will be made and an error of "5" will be returned.  If
  934.    the font name cannot be found the font will be changed to Topaz 8 and
  935.    and error of 10 will be returned.
  936.  
  937. OPENCAPTURE  Usage: OPENCAPTURE <filename | default from global options>
  938.    returns a non-zero on failure.
  939.  
  940. CLOSECAPTURE  Usage:  CLOSECAPTURE
  941.    closes the capture file
  942.  
  943. DISPLAYOFF  Usage: DISPLAYOFF
  944.    this turns off screen output.  Scrolling, cursor
  945.    positioning, etc. still takes place, just no text
  946.    is output to the screen.
  947.  
  948. DISPLAYON  Usage:
  949.    resume text display
  950.  
  951. GETSTRING  Usage: GETSTRING <no argument> | <string>
  952.    Brings up a string requester and returns the string to ARexx.
  953.    The argument for this command is the prompt string for the requester.
  954.    You may remember why the requester popped up requesting input but
  955.    other users of your script might not.  If no argument is given the
  956.    default text is "Enter your text".  An error code of 10 is returned
  957.    if the requester failed to display.
  958.  
  959. GETFILENAME  Usage: GETFILENAME
  960.    Brings up a file requester and returns the full path to ARexx.
  961.    If cancel is clicked in the file requester a null string is returned.
  962.  
  963. PROTOCOL  Usage: PROTOCOL <xprlibrary name>  (ie., PROTOCOL "xprascii")
  964.    Selects and loads the specified XPR library.  The ".library" is not 
  965.    needed in the argument (but nothing is harmed if it's there).  If the 
  966.    specified library cannot be loaded for some reason, the xprquickb.library
  967.    will be loaded.  If this is the case an error of 10 will be returned,
  968.    otherwise the result will be 0.
  969.  
  970. DOWNLOAD  Usage: DOWNLOAD <path/filename>
  971.    The argument the path/name of the file that is written to your computer.
  972.    If no path/filename argument is given a file requester will be presented
  973.    for you to enter the path/name.  If you select Cancel on the file requester
  974.    or select USE with no filename selected a non-zero error code will be
  975.    returned.
  976.  
  977.    NOTE: If the protocol selected is an "auto-start" protocol (currently
  978.    xprquickb and xprzmodem are the only two currently available in 
  979.    XPR format that I know of) this function will return immediately
  980.    with an error code of 0.  If the protocol is not an auto-start
  981.    protocol this function will return with a 0 after completion of
  982.    the file transfer.
  983.  
  984. UPLOAD  Usage: UPLOAD <path/filename>
  985.    The argument the path/name of the file that is sent from your computer.
  986.    If no path/filename argument is given a file requester will be presented
  987.    for you to enter the path/name.  If you select Cancel on the file requester
  988.    or select USE with no filename selected a non-zero error code will be
  989.    returned. 
  990.    
  991.    NOTE: See the NOTE for DOWNLOAD.
  992.  
  993. BAUD  Usage: BAUD <rate>
  994.    returns a non-zero on failure.
  995.  
  996. PARITY  Usage: PARITY <Odd | Even | None>
  997.   returns a non-zero on failure.
  998.  
  999. DUPLEX  Usage: DUPLEX <Full | Half>
  1000.    returns a non-zero on failure.
  1001.  
  1002. DLENGTH  Usage: DLENGTH <7 | 8>
  1003.    returns a non-zero on failure.
  1004.  
  1005. STOPBITS  Usage: STOPBITS <1 | 2>
  1006.    returns a non-zero on failure.
  1007.  
  1008. DEVICENAME <string>  Usage: DEVICENAME <device.name>
  1009.    Should this command fail, the program will read bt.cfg and use
  1010.    those values to reopen the serial port.  Of course, this will
  1011.    negate any changes you may have made previously via the
  1012.    PARITY, DUPLEX, DLENGTH, BAUD, and STOPBITS command.
  1013.  
  1014. UNITNUMBER <number>  Usage: UNITNUMBER <number>
  1015.    This command has the same caveat as DEVICENAME.  If it fails
  1016.    bt.cfg will be read and the serial port reopened with those
  1017.    values.  A strange thing with unit number, tho.  Serial.device
  1018.    will allow you to open using unit number 1, so the change is
  1019.    successful altho BackTalk no longer talks to the modem.
  1020.  
  1021. PRINTERON  Usage: PRINTERON
  1022.    turns on echo to printer
  1023.  
  1024. PRINTEROFF  Usage: PRINTEROFF
  1025.    turns off echo to printer 
  1026.  
  1027. BEEP  Usage: BEEP
  1028.    Flashes all screens
  1029.  
  1030. CLEARSCREEN  Usage: CLEARSCREEN
  1031.    Clears the communications window.  If the Chat Window is present it will
  1032.    clear up to the Chat Bar.
  1033.  
  1034. BLOCK  Usage: BLOCK
  1035.    This function blocks all user input to BackTalk.
  1036.    Block removes the menustrip and ignores all keyboard input.  
  1037.  
  1038.    Note: Make sure that you issue either the UNBLOCK command or
  1039.    the QUIT command before the ARexx script ends otherwise
  1040.    you will not be able to communicate at all with BackTalk.
  1041.  
  1042. UNBLOCK  Usage: UNBLOCK
  1043.    Restores the menustrip and again pays attention to keyboard input.
  1044.  
  1045. SCREENTOBACK  Usage: SCREENTOBACK
  1046.    If BackTalk is running in a non-workbench screen, this will push
  1047.    the screen to the back.
  1048.  
  1049. SCREENTOFRONT  Usage: SCREENTOFRONT
  1050.    If BackTalk is running in a non-workbench screen, this will push
  1051.    the screen to the front.
  1052.  
  1053. HANGUP  Usage: HANGUP
  1054.   This command works just like the Hangup menu item.
  1055.   It drops DTR.  If CD was never set (dip flipped or using a 3 wire cable)
  1056.   it will wait 60 ticks then send a "+++", delay(60), "ATH\r\n".
  1057.  
  1058. QUIT  Usage: QUIT
  1059.    It does what it says, it will shutdown the program.
  1060.  
  1061. DOTS  Usage: DOTS
  1062.    This is a toggle.  If the "Append ..." feature is enabled this will
  1063.    turn it off.  If it is not enabled, this will turn it on.
  1064.  
  1065. BORDER  Usage: BORDER
  1066.    This is a toggle.  If the window borders are displayed this will remove
  1067.    them.  If the borders are not displayed this will a set them.
  1068.  
  1069. CHAT  Usage: CHAT
  1070.    This is a toggle.  If the chat window is up, this removes it.  If it is
  1071.    not enabled this enables it.
  1072.    
  1073. CLICK  Usage: CLICK
  1074.    This is a toggle.  If the "Double Click XON/XOFF" feature is set this
  1075.    turns it off.  If it is off, this turns it on.
  1076.  
  1077. SENDU  Usage: SENDU
  1078.    This is a toggle.  If the "Preface lines from chat window with ^U" is set
  1079.    this turns it off.  If it is off, this turns it on.
  1080.  
  1081. SPLIT  Usage: SPLIT
  1082.    This is a toggle.  If you are running on an interlaced system, SPLIT will
  1083.    toggle from full screen display to half screen display and back again.
  1084.  
  1085. BITPLANE1  Usage: BITPLANE1
  1086.    Causes BackTalk to be run in a 1 bitplane custom screen.
  1087.  
  1088. BITPLANE2  Usage: BITPLANE2
  1089.    Causes BackTalk to be run in a 2 bitplane custom screen.
  1090.  
  1091. WBWINDOW  Usage: WBWINDOW
  1092.    Causes BackTalk to be run in a Workbench window.
  1093.  
  1094. QSCREEN  Usage: QSCREEN
  1095.    Returns the string "SCREEN" or "WORKBENCH" indicating in what screen mode
  1096.    the program is currently running.
  1097.  
  1098. QSIZE  Usage: QSIZE
  1099.    Checks whether the program is running with a half or full sized window.
  1100.    Returns the string "HALF" or "FULL".
  1101.  
  1102. QLACE  Usage: QLACE
  1103.    Checks the interlace flag.  Returns the string "ON" or "OFF".
  1104.  
  1105. QDEPTH  Usage: QDEPTH
  1106.    If the program is running on a custom screen, returns, as a string,  the
  1107.    number of bit planes.  If running in a workbench window, it returns a
  1108.    null string.
  1109.  
  1110. QFONTNAME  Usage: QFONTNAME
  1111.     Returns the name of the currently selected font.
  1112.  
  1113. QFONTSIZE  Usage: QFONTSIZE
  1114.    Returns the size of the currently selected font.
  1115.  
  1116. QCHAT  Usage: QCHAT
  1117.    Returns the "ON" or "OFF" state of chat window.
  1118.  
  1119. QBORDER  Usage: QBORDER 
  1120.    Returns the "ON" or "OFF" state of the window borders.
  1121.  
  1122. QDUPLEX  Usage: QDUPLEX
  1123.    Returns the "FULL" or "HALF" state of the duplex.
  1124.  
  1125. QBAUD  Usage: QBAUD
  1126.    Returns the current baud rate.
  1127.  
  1128. QWLENGTH  Usage: QWLENGTH
  1129.    Returns the current word length setting.
  1130.  
  1131. QSTOPBITS  Usage: QSTOPBITS
  1132.    Returns the current stop bit setting.
  1133.  
  1134. QPARITY  Usage: QPARITY
  1135.    Returns the current parity setting, "NONE", "ODD", or "EVEN".
  1136.  
  1137. QCD  Usage: QCD
  1138.    Returns the state of Carrier Detect.  Returns the string "ON" if
  1139.    you are online, "OFF" if you aren't.
  1140.  
  1141. QDEVICENAME  Usage: QDEVICENAME
  1142.    Returns the name of the currently seleced serial device.
  1143.  
  1144. QUNITNUMBER  Usage: QUNITNUMBER
  1145.    Returns the currently selected serial device unit number.
  1146.  
  1147. QPROTOCOL  Usage: QPROTOCOL
  1148.    Returns the currently selected XPR protocol.
  1149.  
  1150. QDOTS   Usage: QDOTS
  1151.    Returns the state of "Append ...".  "ON" or "OFF".
  1152.  
  1153. QPIXELS  Usage: QPIXELS
  1154.    Returns the currently selected pixel length wrap point.
  1155.  
  1156. QCAPTURE  Usage: QCAPTURE
  1157.    Returns the name of the default capture path/file
  1158.  
  1159. QDOWNLOAD  Usage: QDOWNLOAD
  1160.    Returns the name of the default download path
  1161.  
  1162. QUPLOAD  Usage: QUPLOAD
  1163.    Returns the name of the default upload path
  1164.  
  1165. QCLICK  Usage: QCLICK
  1166.    Returns the current state of the "Double Click XON/XOFF" feature, 
  1167.    "ON", or "OFF".
  1168.  
  1169. QSENDU  Usage: QSENDU
  1170.    Returns the current state of the "prepend ^U to chat lines" feature, 
  1171.    "ON", of "OFF"
  1172.                
  1173. QSADDRESS  Usage: QSADDRESS
  1174.    If BackTalk is currently running in a custom screen, this
  1175.    returns the hex address of that screen.  If the program is
  1176.    running in a workbench window, this command returns a null string.
  1177.  
  1178.  
  1179.                        !!!!! IMPORTANT !!!!!
  1180.  
  1181. In all of your ARexx scripts that call ONSTRINGn and/or OFFSTRINGn,
  1182. make sure that in your getpkt() loop you've got something similiar to...
  1183.  
  1184. when arg0 = 'DIE' then do
  1185.    closeport("BT_msg")
  1186.    /* other clean up stuff here */
  1187.    exit
  1188. end
  1189.  
  1190. This is _VERY_ important.  If you have an ARexx script running that is
  1191. waiting for events (currently the only implemented BackTalk ARexx calls
  1192. that will generate these events are the ONSTRINGn and OFFSTRINGn calls)
  1193. and you terminate BackTalk, BackTalk will not be able to fully terminate
  1194. until your ARexx script exits the getpkt() loop.  During BackTalk's
  1195. termination process, it will check if the port BT_msg is open.  If it
  1196. is, BackTalk will send the "DIE" message to BT_msg.  It is up to your
  1197. script to properly exit the getpkt() loop and exit.  The termination
  1198. of the ARexx script will signal BackTalk to complete its termination
  1199. process.
  1200.  
  1201. ---------------------------------------------------------------------------
  1202.  
  1203. Following is an example ARexx script:
  1204.  
  1205.  
  1206. /* Start BackTalk ARexx script */
  1207. options results
  1208. address command "run BackTalk"
  1209. waitforport BT_REXX
  1210.  
  1211. if ~show('l', "rexxsupport.library") then
  1212.    addlib('rexxsupport.library',0,-30,0) 
  1213.  
  1214. address BT_REXX 
  1215. BLOCK
  1216. QSIZE
  1217. if result = "FULL" then
  1218.    SPLIT
  1219.  
  1220. call delay 100
  1221.  
  1222. GETSTRING "Enter the phone number to dial"
  1223. num = result
  1224.  
  1225. SENDNCR "atmdt "
  1226. SEND num
  1227. WAITFOR "CONNECT"
  1228. call delay 50
  1229. SENDNCR "^C"
  1230. WAITFOR "User ID:"
  1231. call delay 50
  1232. DISPLAYOFF
  1233. FKEY F2      /* this is an fkey macro, it sends my ppn and password */
  1234.              /* in the form of 77777,1234\\password                 */
  1235.    
  1236. call delay 100
  1237. DISPLAYON
  1238. FONT "Courier" "13"
  1239. SEND "G AmigaUser"
  1240. WAITFOR "Forum !"
  1241. OPENCAPTURE "ram:testing"
  1242. SEND "RN"
  1243. WAITFOR "Forum !"
  1244. CLOSECAPTURE
  1245. SEND "BYE"
  1246. QUIT
  1247.  
  1248.  
  1249. (More scripts are included in the archive and will likely change from
  1250. release to release.  Remember, scripts ending in .REXX are meant to be
  1251. run external to BackTalk, those ending in .BT are meant to be run from
  1252. within BackTalk)
  1253.  
  1254. ---------------------------------------------------------------------------
  1255.  
  1256. Scroll Lock:
  1257.  
  1258. When a ^S is sent to the serial port, a text message, "Scroll Lock On" is
  1259. displayed on the left side of bottom status line.  This is just a visual
  1260. indication that a ^S has been send and incoming text will not be resumed
  1261. until a ^Q is sent.
  1262.  
  1263. Mouse double click:
  1264.  
  1265. Double clicking the left mouse button sends a ^S to the modem.  Double
  1266. clicking again sends a ^Q.  This feature is user selectable via the
  1267. Configuration menu.  The state of this item will be saved in BT.CFG.
  1268.  
  1269.  
  1270. Hot keyable requesters:
  1271.  
  1272. All gadget "buttons" in requesters in BackTalk, except for 2 exceptions 
  1273. previously noted, are "hot keyable".  Just type the first letter in the name
  1274. of the gadget.
  1275.  
  1276. ---------------------------------------------------------------------------
  1277.  
  1278. Many enhancements are planned for the future.  Please don't be shy with
  1279. enhancement requests and bug reports.
  1280.