home *** CD-ROM | disk | FTP | other *** search
- USRobotics Courier HST Qmodem Service Script Production Release 2.0
- -------------------------------------------------------------------
-
- (c) Copyright Dan Moore, 1987-1989
-
- The USRobotics logo, Courier, and HST are trademarks of
- USRobotics, Inc.
-
- QModem and QModem SST are trademark of John Friel III and the
- Forbin Project, Inc.
-
- USE RESTRICTION AND DISCLAIMER
-
- This script is copyrighted solely to prevent others from reaping
- financial gain through its sale and/or use. Permission has been
- given to John Friel III and the Forbin Project, Inc., to
- distribute this script as part of the QModem SST program
- package, release 4.0 for private use only.
-
- The HST20 script and its accompanying files and documentation
- may not be distributed as part of any other computer
- communication hardware or software package without the written
- permission of the author. This script may be copied and
- distributed freely by private individuals who wish to share it
- with others as long as no specific charge is assessed for this
- service other than minimal fees (not to exceed $5) to cover the
- distribution medium.
-
- Permission is hereby granted to System Operators of active
- Bulletin Boards to post the HST20 archive file for public
- distribution. Due to the easily modifiable nature of QModem
- scripts, modified versions of the script should bear a
- different name and have their origin clearly identified. The
- NAME of the script is copyrighted as well as its contents. The
- HST20.ARC file or other compressed versions of the HST20.ARC
- original may not be modified for any purpose whatsoever.
-
-
- COMMERCIAL USES OF THE HST SCRIPT
-
- The series of HSTxx Qmodem Scripts may not be used for
- marketing, demonstrations, advertising, problem diagnosis or
- correction OR FOR ANY COMMERCIAL OR BUSINESS PURPOSES by modem
- manufacturers, their agents, dealers, resellers, or any company
- or individual involved in the sale, marketing, maintenance, or
- business use of modems or other computing devices WITHOUT
- A COMMERCIAL LICENSE TO USE THE SCRIPT. Superficial editing of
- the script's code to mask its origin and avoid licensing
- costs is a violation of the author's copyright, and will be
- pursued to the full extent of the law.
-
- To obtain a commercial- or business-use license for the HST
- script(s), refer to the LICENSE.DOC file in the HST20 archive.
-
-
- HST MODEM DEPENDENCY
-
- The HST20 script will operate satisfactorily on USRobotics HST
- modems with ROM levels 961, 963, and 964. To determine the
- HST's ROM level, run the HST20 script or type ATI0<Enter> while
- in Qmodem terminal mode.
-
- If your HST modem is NOT at level 964, I strongly recommend that
- you get it upgraded. The cost if extremely reasonable and the
- upgrade is performed quickly by USR. You will gain MNP levels 4
- and 5. Compared to ROM level 963/961, release 964 will gain you
- an additional 100cps for Ymodem/G transfers of binary or
- compressed files, and will outright double your effective
- transfer speed for uncompressed text files when MNP 5
- compression is used. For details on the HST upgrade program,
- call USR Technical Support at 800-982-5151 (in Illinois, call
- 312-982-5151).
-
-
- QMODEM RELEASE DEPENDENCY
-
- The HST20 script will operate with Qmodem 4.0 and later releases
- of Qmodem. This script relies on certain features of the Qmodem
- release 4.0 Script Language and it WILL NOT OPERATE under pre-4.0
- releases of Qmodem.
-
-
- OPERATIONAL SUMMARY
-
- HST20.SCR is intended as a configuration and setup help for the
- USR HST modem. Although it facilitates much of the modem's
- setup tasks, some knowledge of the HST's operation and
- technology is required, as well as a basic understanding of
- computer communications.
-
- If you are using HST20 to set up your USR Courier HST for use
- with Qmodem 4.0, the QM menu options will perform all firmware
- configuration, leaving physical switch changes up to the you
- (correct switch settings are displayed as part of the
- script's operation).
-
- HST20 automatically detects the ROM release level of your modem.
- If your USR HST modem is at ROM level 964 (the latest ROM
- level at the time of this release), HST20 will allow you
- access to a second level of menu via the "AD" main menu option.
- This second menu accesses HST features only available in
- 964-level modems, such as data compression (MNP level 5),
- settings for the new S-register 15, 4800/7200 link rate
- settings, and the new modem configuration screen. Advanced
- Functions are NOT supported for ROM releases prior to 964.
-
-
- SETTING UP THE HST FOR QMODEM OPERATION
-
- It is likely that you will have to change the modem's switches
- from their default factory settings to the setup recommended in
- the menu's QM option. Unfortunately, HST20 can't quite "reach
- out and touch switches"; you must do this yourself. The script
- makes you aware of this requirement.
-
- Another very important part of the modem setup is the
- configuration of QModem itself. With release 4.0 of Qmodem,
- this is done with the Alt-N command (with release 3.1A of
- Qmodem, setup was performed with the QINSTALL Program).
-
- The QMSETUP.DOC file, included in this ARChive, will help
- help you select the proper QModem configuration parameters for
- the HST modem.
-
- I recommend that you keep your HST manual handy while you
- experiment with the script. Bug reports or suggestions for
- changes or improvements should be reported to me on the Qmodem
- Conference Echo carried by the InterLink and SmartNet BBS Mail
- Networks.
-
-
- FRIENDLY WARNING
-
- HST20 can make permanent changes to the modem's internal
- configuration. Once a setting has been changed, writing the
- change to Non-Volatile RAM (NRAM) implements the change until
- that setting is changed and written to NRAM again. Changes to
- NRAM are maintained even when the modem power is OFF. If you
- have a working set of modem settings and wish to experiment, do
- not copy the changes to NRAM. The next hardware reset or
- power-off / power-on sequence will re-establish the last NRAM
- settings. The HSTINTRO.DOC file describing the HST's basic
- internal operation is included in this ARChive; you may wish to
- review it to gain a better understanding of the modem's
- operation.
-
-
- MODEM COMMAND FILES
-
- New in release 2.0 of the HST script is the support for special
- "Modem Command Files", which can be read from disk and sent
- directly to your modem. Modem Command Files are not intended
- for the HST novice. Until you become familiar with the various
- modem commands and parameters, as documented in the HST User's
- Manual, you may wish to leave this feature alone.
-
- INVOKING A COMMAND FILE
-
- Modem command files may be invoked from the standard HST20 menu
- with the CF option. You will be prompted for the command file
- name ONLY. Once the command file is executed, the standard
- HST20 menu will be re-displayed.
-
- If you are using HST20 solely to execute a command file, you can
- specify the command file name in response to the "Script
- Parameters" prompt. When this method is used, HST20 terminates
- after the last command has been executed. This feature allows
- the use of HST20 as an autoexec script.
-
- CREATING COMMAND FILES
-
- Modem command files are created with any standard ASCII text
- editor or word processing program with the ability to save
- standard, unformatted ASCII files (each line in the file must
- end with the standard carriage return/line feed characters).
- Modem command files (.HSF) must be stored in your Qmodem script
- directory, as defined in the Alt-N/D/S setup. Any filename is
- valid, but the .HSF file extension MUST be used.
-
- Each line in a .HSF file may contain a VALID HST modem command,
- or one of the following HST20-only commands, starting in the
- first column:
-
- @PROMPT HST20 will pause and issue a "Press <Enter> to
- continue..." prompt.
-
- @CLRSCR Clear the screen before issuing the next modem
- command.
-
- @CMD Issue the script command in the next line. See
- the section on AUTOEXEC and HST20 programming
- for additional details on this powerful
- and potentially dangerous command.
-
- The @PROMPT suspends HST20 operation and is used when lengthy
- modem responses are displayed, to prevent the modem's output
- from scrolling off the screen when the following command is
- executed.
-
- The @CLRSCR command is purely cosmetic; its only effect is to
- cause the next command to be displayed at the top of the screen.
-
- Commands sent to the HST modem may not exceed 40 characters in
- length, not including the AT prefix and imbedded spaces. Make
- sure that lines in command files abide by this restriction.
- This restriction is imposed by the modem, not the script
- language or Qmodem.
-
- COMMAND FILE PROCESSING
-
- HST20 will send each line in the command file to the modem and
- echo it to the screen. The standard "OK" return code is expected
- from the modem in response to each command. If this return code
- is not received within 5 seconds, the script will force a timeout
- and will terminate with an appropriate error message.
-
- Following is a sample 4-line command file: (Note: this file is
- included in the HST20 archive under the name TEST20.HSF)
-
- ***start of file***
- AT&M4&K0
- @PROMPT
- ATI5
- @PROMPT
- @CLRSCR
- ATI4
- @PROMPT
- ***end of file***
-
- - The first command enables MNP and auto MNP detect, and
- disables MNP level 5 data compression.
-
- - The second command causes the script to pause and display the
- "Press <Enter> to continue " prompt following the OK response.
-
- - The third command requests the HST to display NRAM settings.
-
- - The fourth command causes the script to pause and display the
- "Press <Enter> to continue " prompt following the NRAM display.
-
- - The fifth command clears the screen
-
- - The sixth command requests the HST to display RAM settings.
-
- - The seventh and last command causes the script to pause and
- display the "Press <Enter> to continue " prompt following the
- RAM display.
-
-
- THE AUTOEXEC COMMAND FILE AND DYNAMIC HST20 PROGRAMMING
-
- If HST20 is called WITHOUT any parameters AND file called
- AUTOEXEC.HSF is found in your Qmodem 4.0 script directory, the
- file will be loaded and executed automatically, in a manner
- similar to the DOS AUTOEXEC.BAT facility.
-
- In addition to the AUTOEXEC.HSF facility, the HST20 is
- externally programmable via .HSF command files and the @CMD
- keyword, mentioned earlier.
-
- When the keyword @CMD is found in a modem command file, the line
- which immediately follows will be executed as a SCRIPT command,
- rather than as a modem command. For example, the two lines:
-
- @CMD
- SETCOMM CJLM
-
- when found in a .HSF file, will cause the serial port to be set
- to 2400-N-8-1, as instructed by the SETCOMM Qmodem 4.0 script
- command. Any script command which requires WORD operands
- (explicitly stated operands not bound by quotes) or no operand
- at all can be executed following the @CMD keyword. One of the
- script commands which can be executed in this fashion is SYSTEM,
- which actually terminates Qmodem and returns to DOS. For
- example, the following .HSF file will change the HST's NRAM
- setup to use a CCITT answer sequence and will also decrease the
- remote carrier length requirements in preparation for a call to
- Singapore. It will then invoke a second script called SINGAPORE
- which will dial a bulleting board system there and upload a
- file. Once the SINGAPORE script terminates, the normal HST
- parameters will be restored and Qmodem will be terminated:
-
- ATB1
- ATS9=4
- @CMD
- SCRIPT SINGAPORE
- ATB0
- ATS9=6
- @CMD
- SYSTEM Y
-
- NOTE: The SINGAPORE script must terminate with a RETURN command
- rather than an EXIT command. IF EXIT is used, the process will
- terminate at that point and control will never be returned to
- the HST20 script.
-
-
- The combination script command files, AUTOEXEC.HSF, and @CMD is
- an extremely powerful one, which gives you almost total control
- over Qmodem externally, without making a single change to the
- HST20 script. I recommend that you experiment very carefully
- with these features and test them thoroughly before using them
- for productive purposes.
-
-
- SUPPORT
-
- I will attempt to correct problems with this script, as well as
- keep it current with releases of the HST's firmware and Qmodem
- software as time allows. This is a personal effort which I
- am sharing, but for which I receive no remuneration (except from
- commercial or business users of the script, and I am still
- waiting for those). Please make no unreasonable demands for
- support, especially for things that are not broken; you got this
- for free and if it does not perform as you would like it to, you
- have a God-given right not to use it. You may also chose to
- alter the script to meet your unique requirements, although the
- new Command File facility should address all specific needs not
- covered in the script's generic menus. If you modify HST20,
- please do not distribute your version under its original name.
- If you have questions or suggestions, I can be contacted under
- my name on the Qmodem Support Conference Echo on the InterLink
- or SmartNet networks.
-
-
-
- Dan Moore
- 1/19/1989