home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 December / simtel1292_SIMTEL_1292_Walnut_Creek.iso / msdos / modem / tt105.arc / TINYTERM.DOC < prev    next >
Text File  |  1988-03-09  |  22KB  |  520 lines

  1. TINYTERM 1.05!  Release Update Version.
  2.  
  3. If you are upgrading from TinyTerm 1.00 to 1.05, you can skip to the end
  4. for a list of enhancements/fixes.
  5.  
  6. TinyTerm features:
  7.  
  8. Small Memory Consumption: Down to 84K DoubleDOS partiton (58K free memory)
  9. with all features except external protocols and DOS shell enabled!
  10.  
  11. No Disk Access:  Once TinyTerm is loaded you can change default drives
  12. and directories with impunity.  External Protocols must be on the path to
  13. function, but all other files are loaded once upon startup.
  14.  
  15. MultiTasking Support!: TinyTerm supports the video requirments of DoubleDOS
  16. and Desqview (will run in a Desqview window and no bleedthrough in DoubleDOS!) 
  17. and also gives up time slices during redial to allow higher speed program 
  18. execution in the other partitions.
  19.  
  20. TinyTerm is a full featured terminal program that is oriented toward the
  21. multitasking environment.  It is designed to give the features needed
  22. in a smart terminal program with minimum demand on processor time and
  23. memory.
  24.  
  25. TinyTerm is a product of T-Square software.  It is distributed as shareware,
  26. which means that you can upload it to any BBS for others to use.  If you find
  27. that you use TinyTerm, please send $15 as a registration fee to the below
  28. address. I would also like you to send any and all questions, bug reports,
  29. new features and other suggestions to: 
  30.  
  31.             John M. Trindle
  32.         The Blues Exchange (804-220-0533)
  33.         260-C Merrimac Trail
  34.         Williamsburg, VA 23185
  35.  
  36. With your registration you will receive the latest version of TinyTerm and
  37. be on the mailing list for future upgrades and a newsletter answering your
  38. questions about.  One upgrade in progress right
  39. now is to extend the Mini-TSL to TSL and include automatic downloading,
  40. uploading, and redialing (among other things) from the script level.
  41.  
  42. Associated files:
  43.  
  44. You should have received the following files in the TINYTERM.ARC:
  45.  
  46.       TINYTERM.EXE   The program file, about 36K
  47.  
  48.       TINYTERM.DOC   The doc file you are reading now!
  49.  
  50.       TINYTERM.DIR   Sample dialing directory file.
  51.  
  52.       TINYTERM.CFG   Sample configuration file
  53.       
  54.       TINYTERM.SCR   Sample Script files in Mini-TSL
  55.  
  56.       DSZ.EXE        External Protocol Driver (Shareware)
  57.       DSZ.DOC        Documents for DSZ.
  58.       
  59. Although all you need to run TINYTERM is the .EXE file, and the
  60. TINYTERM.CFG file, you will need a properly formatted TINYTERM.DIR
  61. file if you wish to use the re-dial feature, and you will need DSZ
  62. if you wish to do any batch file transfer.  Xmodem and Ymodem (Xmodem-1K)
  63. are included as internal protocols, and do not need DSZ to work.  DSZ is
  64. a shareware product in its own right, and you should register it if you
  65. use it extensively.
  66.  
  67.  
  68.                       TinyTerm Philosophy
  69.               -------------------
  70.               
  71. I wrote the original TinyTerm (ver 0.11) in Macro Assembler, and
  72. it took up about 5K.  I never did get effective re-dialing or
  73. command line parameter reading.  I also lost all track of what
  74. was going on...  So then I started writing TinyTerm in C, and
  75. was able to implement a much better package!  The unfortunate
  76. fact was that the file size shot up to 21K.
  77.  
  78. File size is now around 36K, because of a better user interface and
  79. feature upgrades.
  80.  
  81. TinyTerm now is entirely direct video and BIOS based, for increased
  82. performance.  It is NOT necessary to have ANSI.SYS loaded to receive
  83. ANSI graphics.  The direct video routines are compatible with DoubleDOS
  84. and DesqView.
  85.  
  86. I wanted to be able to run programs that require function key
  87. and alt-key combinations from remote.  There is a shareware
  88. program called DOORWAY which translates BIOS cursor and color
  89. commands into ANSI, and re-directs COM input to the BIOS.  Thus
  90. programs that have BIOS cursor controls and BIOS keyboard
  91. interregation (such as BASICA/GWBASIC, and all programs that run
  92. within) can be run from remote with DOORWAY.  DOORWAY will be
  93. included in the release version of TinyTerm, in addition to the
  94. DSZ now included.  TinyTerm sends all keys that are not reserved
  95. for functions right through, and has a special mode that sends
  96. through ALL but the Alt-= combination.  NOTE:  TinyTerm does not support
  97. extended ASCII code transmission properly over a certain baud rate.  That
  98. baud rate is dependent on the speed of your machine.  The limit for
  99. reliable extended ASCII code transmission is approximately 6400 baud
  100. for a 4.77 MHz 8088 machine.
  101.  
  102. I also wanted to write something like ProComm! (DataStorm)
  103. **Closer and Closer, but ProComm is improving as well.  Of course their
  104. file size is more like 210K!
  105.  
  106. NOTE:  Before using any of the re-dial functions, please skip to
  107. the section marked: "TinyTerm Directory Format" and add your own
  108. local BBS numbers and parameters.
  109.  
  110.  
  111.             TinyTerm Commands        
  112.             -----------------
  113.  
  114. Command line parameters:
  115.  
  116.  COM1 or COM2 selects comm port        Bxxxxx selects baud rate
  117.                         (such as B2400)
  118.  
  119.  Wx (W8, W7, W6, W5) selects word    Sx (S1, S2) selects x 
  120.     length of x bits.               bits
  121.     
  122.  N, O, E, S, M selects parity           /V Switches to slow video
  123.     (None, Odd, Even, Space, Mark)         mode for snow reduction
  124.                                            on CGA cards.  Do NOT use
  125.                        on EGA card! It is not
  126.                        necessary in any case.
  127.                        
  128.  /F  CR/LF mode.  Causes TinyTerm to    /Q Quiet mode.  Traps bells
  129.      translate incoming Carriage       generated by TinyTerm and
  130.      Returns into Carriage Return and      those coming in over the line.
  131.      LineFeed combinations.  If all your
  132.      text piles up on one line, set this
  133.      from the command line or configuration
  134.      screen.
  135.                         
  136.  
  137.  /M  BIOS mode.  Causes TinyTerm to use the video BIOS in all screen writing,
  138.      good for Windows and unsupported multitaskers (DoubleDOS and Desqview are
  139.      supported and do not need this switch).  Significantly slower than direct
  140.      video mode, but SNOW FREE except when changing screens.
  141.      
  142.  A[FC][-BC][-IN][-BL] (A7 for normal)
  143.    Sets screen attribute codes for color selection.
  144.    
  145.    The parameters are Foreground Color (0-7), Background Color (0-7),
  146.    Intensity (0-1) and Blink (0-1).  If you wanted to select a white
  147.    character on a blue background, the command line parameter would be:
  148.    
  149.            A7-1
  150.         
  151.    If a parameter is not specified it defaults to 0.  A blinking, intense,
  152.    green on red screen would be generated by the following:
  153.    
  154.            A2-4-1-1
  155.         
  156.     That would probably make you sick in no time!
  157.    
  158.  
  159. Default mode when starting without command line parameters is:
  160.  
  161.       COM1 B1200 W8 N S1 ( 1200 baud, 8 N 1 protocol).  
  162.       NonQuiet mode, Linefeeds Off, Fast Video, and low intensity white on
  163.       black display.
  164.  
  165. Any command line parameter you use will change that one, and
  166. leave the rest as set in the defaults.  So you could enter:
  167.       TINYTERM B2400
  168. and go out COM1 at 2400 baud, 8 N 1 protocol.
  169.  
  170. Command line parameters are case-insensitive.  You could enter the above
  171. line as tinyterm b2400, for instance.
  172.  
  173.  
  174. The program will let you know if it has loaded the directory
  175. successfully (TINYTERM.DIR is in the default directory).  If it
  176. does not load successfully, you may still use manual dialing.
  177.  
  178.  
  179. Configuration from within TinyTerm (Alt-C):
  180.  
  181. Use the Alt-C combination to bring up the configuration menu.
  182. you may change any of the parameters listed above from this
  183. menu, and in addition set the modem to Pulse or Tone dialing mode.
  184.  
  185. In addition, you can reload TINYTERM.DIR, TINYTERM.CFG, and TINYTERM.SCR
  186. to provide changes.  Exit to DOS with the Alt-S shell, use your favorite
  187. editor to change the file, return to TinyTerm, and then use the appropriate
  188. option from the Alt-C menu to reload.  The init string in TINYTERM.CFG will
  189. be sent to the modem again, and so please use the K option only when
  190. off-line.
  191.  
  192.  
  193. Manual Dial (Alt-D)
  194.  
  195. To dial a single number without re-dial, use the Alt-D function,
  196. and type in the number you wish to dial.  You may use digits,
  197. dashes, and commas (for pausing) in this string (any control characters
  198. used in a Hayes dialing string).
  199.  
  200.  
  201. Auto-Redial (Alt-R)
  202.  
  203. For redialing one or more numbers, use the Alt-R combination.
  204. You will be presented with the dialing directory.  If you had no
  205. dialing directory available in the default directory, this
  206. option is unavailable.
  207.  
  208. You can use the cursor keys to select a single number to redial by
  209. moving the light bar to a BBS name and hitting return,  or hit the
  210. space bar to bring up a re-dial queue entery prompt.  Just enter the
  211. menu selection numbers of the BBSs you wish to dial, separated by spaces:
  212.          5 2 3 14 23 1 3 4 5
  213. There will be a pause and the program will begin dialing each
  214. number in the queue, and waiting the time specified in the
  215. dialing directory.  If a carrier is detected before this time is
  216. up, you will be placed in terminal mode.
  217.  
  218. Hit the escape key to abort the redial process.  Your queue will
  219. be saved, if you choose to re-initiate the sequence.  Hit any
  220. key except escape to go to the next number in the queue.
  221.  
  222. Once the program has dialed all the numbers in the queue, it
  223. will start from the beginning.  This will continue until a
  224. connect or you abort the process with the escape key.
  225.  
  226. After connecting with a BBS from a dialing queue, you may
  227. re-start the redial with the same queue (minus the board you DID
  228. connect with) by using the Alt-R command, and then entering an
  229. "R" (no quotes) instead of the list of numbers.  If all the
  230. numbers in the queue have been used up, you will get an error
  231. message and be dumped back to terminal mode.
  232.  
  233. Simple, eh?  Don't worry, it is much easier than it sounds.
  234. Give it a shot... I'll wait here....
  235.  
  236. OK, on to the next command:
  237.  
  238.  
  239. DOS Shell (Alt-S):
  240.  
  241. Pressing the Alt-S combination will let you exit to DOS without
  242. leaving the program or hanging up on your current call.  Use the
  243. DOS command "exit" to return to TinyTerm.
  244.  
  245.  
  246. Hang Up Modem (Alt-H):
  247.  
  248. Pressing Alt-H at any time during a call will cut you off by
  249. dropping DTR, and also by sending the "+++" escape sequence and
  250. sending ATH0, if you have these two sequences on the first and
  251. second lines, respectively, of your .CFG file.
  252.  
  253.  
  254. Downloads/Uploads (PgDn and PgUp):
  255.  
  256. TinyTerm file protocols fall into two classes, INTERNAL and EXTERNAL.
  257. Xmodem CRC/Checksum and Ymodem CRC are INTERNAL protocols and can be
  258. run without the presence of DSZ on your path.  Please see the section
  259. on MEMORY REQUIREMENTS for further information on INTERNAL vs. EXTERNAL
  260. protocols.
  261.  
  262. Ymodem Batch and Zmodem will not function if you do not have DSZ.COM or
  263. DSZ.EXE in your default directory or on your path.  The latest version of
  264. DSZ is available on most bulletin boards.  A fine bit of shareware, you will
  265. need to register it if you use it extensively.  Please read DSZ.DOC for a
  266. terse listing of its options.
  267.  
  268. If prompted for a file name, you may use any valid path name
  269. (including drive designator) to specify your file.  In the case
  270. of the batch files, you may use wild cards to select a group of files.
  271. In batch transfers you may also use more than one file specification, 
  272. such as:
  273.            *.arc tin*.* fred.doc bill.bat
  274.  
  275. Use Xmodem CRC in noisy conditions.  It has small packets (128
  276. bytes) that are easily resent.  If the only protocol that the
  277. BBS supports is Xmodem, you must of course use that.  Some
  278. boards run on Commodores and other small machines only support
  279. Xmodem Checksum.  This is a protocol that is very vulnerable to
  280. noise.  About 1 packet in 256 will be corrupted without your
  281. knowledge.  If Xmodem CRC cannot connect with CRC, it will fall back into 
  282. checksum mode, so you can communicate with both types of systems.
  283.  
  284. Ymodem CRC is good for noise-free conditions.  It has the same
  285. error rate as Xmodem CRC, but uses 1K packets instead of 128
  286. byte packets.  This makes transfer slightly faster under normal
  287. line conditions.  Noisy lines will degrade Ymodem performance to
  288. less than Xmodem CRC.  All PC-Boards and many RBBS BBSs support
  289. Ymodem CRC.
  290.  
  291. Ymodem Batch is the "true Ymodem".  It is a batch protocol, and
  292. so sends file name, size, and date information in the header.
  293. This is not a bad protocol, but not widely supported.
  294.  
  295. Zmodem Batch uses 32 bit CRCs (instead of 16 bit CRCs as Xmodem
  296. and Ymodem do).  This makes it virtually error free.  The
  297. initial packet size is 512 bytes, but it will switch to 1K
  298. packets if line conditions are favorable.  Zmodem Batch will
  299. support wildcards as Ymodem Batch does.  This is THE choice for
  300. those calling through packet networks, as performance
  301. degradation is very low with Zmodem.  Xmodem CRC will drop to
  302. about 33% of maximum throughput, Ymodem CRC to about 85%, and
  303. Zmodem down to 95% or so when using a packet network.
  304.  
  305. After the file transfer, DSZ will return you to TinyTerm and
  306. Terminal Mode.
  307.  
  308.  
  309. Log Session to Disk (Alt-L)
  310.  
  311. This command will record your on-line session to disk.  Use a
  312. different file name each time, or you will overwrite the old log
  313. file.  Hitting Alt-L a second time closes the log file.  You can
  314. do this many times during a call, recording in different files,
  315. if you like.
  316.  
  317. This option has NOT been tested with floppies (although you can
  318. use full pathnames with drive designators in specifying the log
  319. file).  It may be that floppies are too slow to allow
  320. successfull logging without loss of characters.  If you
  321. encounter this problem, please call The Blues Exchange and let
  322. me know.
  323.  
  324.  
  325. Send ASCII Text File (Alt-F)
  326.  
  327. To upload a message to a system, first type it in using a plain
  328. ASCII editor and save it to disk.  When you are on-line you can
  329. send the file to the remote system with this command.  This file
  330. send relies on the remote system echoing the characters as they
  331. are sent.  If this is not done, TinyTerm will hang in this mode.
  332. Press <Esc> key to abort file send.
  333.  
  334.  
  335. Exit TinyTerm (Alt-X)
  336.  
  337. This command closes the COM port, closes the LOG file, hangs up
  338. the modem, and prints the farewell banner before exiting to DOS.
  339. If you hit this, you are outtahere!  So be careful around that
  340. Alt-X combination!!! <grin>  Careful setup of your modem to NOT
  341. respond to dropped DTR will allow you to reload TinyTerm and
  342. resume operation.  However, be sure and specify the escape codes
  343. and hangup strings in your .CFG file.
  344.  
  345.  
  346. TinyTerm Directory Format:
  347.  
  348. You may alter or create TINYTERM.DIR with any plain text ASCII
  349. editor.  A couple examples are EDLIN, NORTON'S EDITOR, and the
  350. NON-document mode of Wordstar.
  351.  
  352.                                          F F F  F F
  353.    Field 1             Field 2      F 3  4 5 6  7 8 Comment Field
  354.    
  355. The Blues Exchange |      220-0533| 1200|8|N|1|20|1 Home of TinyTerm
  356.  
  357. The first field is the BBS NAME (any length up to 70 characters)
  358. Separate it from the next field with a | character.
  359.  
  360. This second field is the PHONE NUMBER, which can be any length
  361. up to 120 characters.  Separate this field from the next with
  362. a | character.
  363.  
  364. The third field is the BAUD RATE, which can be of any value
  365. between 110 and 28,000 baud.  Most modems respond to 300, 1200
  366. 2400, 4800 and 9600 baud.  For direct line connections you don't
  367. need a dialing directory entry!  Separate this field from the next with
  368. a | character.
  369.  
  370. The fourth field is the WORD LENGTH which can be 8, 7, 6, or 5.
  371. Separate this field from the next with a | character.
  372.  
  373. The fifth field is the PARITY character.  The parity character
  374. must be a N, E, O, S, or M, and the field must consist of that
  375. character only.  I know, this is a potential problem.  Separate
  376. this field from the next with a | character.
  377.  
  378.  
  379. The sixth field is the number of STOP BITS.  You must select 1
  380. or 2.  1 stop bit will get you through most situations. 
  381. Separate this field from the next with a | character.
  382.  
  383. The seventh field is the WAIT period.  It is the time, in seconds,
  384. which TinyTerm will wait for connection when in Redial mode.  It
  385. can be any value from 0 to 32000 (which is what, 8 hours?)
  386. Anyway, negative numbers will be treated as 0.  Follow this
  387. number with a carriage return/linefeed combination, or just
  388. carriage return.
  389.  
  390. I'd like to stress the value of the WAIT field.  When dialing
  391. local numbers with TONE, the wait field can be set as low as
  392. 12-15 seconds to waste the minimum time on a non-connect.  Larger
  393. values may be necessary for long distance, slow boards, and 
  394. DEFINITELY for PULSE mode dialing!
  395.  
  396. TinyTerm will now recognize the BUSY return string, and continue
  397. to the next call on its reception.  This enables you to set a longer
  398. WAIT time without sacrificing BUSY response in redialing, if your
  399. modem has BUSY enabled.
  400.  
  401.  
  402. The eighth field is optional, and is the script file associated with
  403. that BBS.  Script file characters can be the digits 1 through 99. The digit
  404. corresponds to the line number of the script in the TINYTERM.SCR file.
  405.  
  406. The Comment Field is also optional.  Separate the comment field from the
  407. Wait field or the Script field with a space.
  408.  
  409.   Format:
  410. name|1-555-555-5555|2400|7|E|1|30|1 Comment
  411.  
  412.  
  413. FOR PROCOMM 2.4.2 USERS:
  414.  
  415. **PCTOTINY.EXE is a utility to help you convert PROCOMM.DIR to 
  416. **TINYTERM.DIR.  Invoke it with the following (first making a
  417. **backup of your current TINYTERM.DIR):
  418. **     pctotiny procomm.dir tinyterm.dir
  419. **and follow the prompts!  This program does not produce a
  420. **columnized, neat directory like the example directory, but
  421. **it works just as well.  Use your favorite PLAIN TEXT editor
  422. **to merge the new TINYTERM.DIR with your backup copy, to 
  423. **make sure you don't lose any numbers from your old directory.
  424. AT THIS TIME PCTOTINY DOES *NOT* SUPPORT PROCOMM PLUS OR TEST DRIVE.
  425.  
  426.  
  427. TINYTERM.CFG Information.
  428. The first line of the TINYTERM.CFG file is the INIT string.  This is
  429. the set of Hayes Commands that initialize your modem.  Some sample
  430. configs are provided for a few modems.
  431.  
  432. The second line is your escape sequence.  Most Hayes compatible modems
  433. have +++ as the default escape sequence.  This causes the modem to go into
  434. command mode.  See your modem manual.
  435.  
  436. The third line is your modem hangup string.  Most Hayes compatible modems
  437. hang up with an ATH0.
  438.  
  439. KEY MACROS
  440. The fourth through 13th line (or any smaller number) are the keyboard
  441. macros.  These strings will be assigned to Alt-1, Alt-2, Alt-3, etc.
  442. up to Alt-0 for the eleventh line.  You may specify fewer lines if you
  443. wish.
  444.  
  445. The keyboard macro can consist of ordinary ASCII characters, with the
  446. ones listed below under Mini-TSL have special functions.
  447.  
  448.  
  449. TINYTERM.SCR Information.
  450.  
  451. I have come up with a limited Script Language, that I will call
  452. Mini TinyTerm Script Language (Mini-TSL).  All codes can be used in the Key
  453. Macros as well as Scripts.  Use regular ASCII text characters, and
  454. the following special function characters:
  455.  
  456.         ~  : Sends a carriage return.
  457.         {} : Wait for string enclosed in brackets
  458.                 ^  : The character following is sent as a control character
  459.                 |  : End of Script, Comment follows.
  460.  
  461. Some example scripts are included.
  462.  
  463. You may type through a script, to add information that may have been missing
  464. in the script or has been corrupted by line noise.
  465.  
  466. Use the escape key <Esc> to abort a script while it is executing.
  467.  
  468. MEMORY USAGE and REQUIREMENTS:
  469.  
  470. One of TinyTerm's best features is the ability to run in a small amount of
  471. memory.  It is useful in memory resident (soon to be a feature) and multi-
  472. tasking situations.  Here are some things to keep in mind:
  473.  
  474. 1) The bigger your dialing directory, script file, and key macro lines,
  475.    the more space TinyTerm needs.  You can sometimes get away with loading
  476.    TinyTerm into a smaller space than your configuration requires, but you
  477.    can only use the first few telephone numbers in your directory.
  478.    
  479. 2) You can use INTERNAL protocols and need the least amount of memory.  I
  480.    have succesfully run TinyTerm and had full functions in an 82K DoubleDOS
  481.    partition.
  482.    
  483. 3) If you wish to use EXTERNAL protocols and/or exit to DOS using the Alt-S
  484.    command, you will need to allocate 180K (DOS shell only) to 184K (EXTERNAL
  485.    protocols supported) DoubleDOS partitions.  Other multitaskers will
  486.    provide slightly different amounts of free memory, so adjust your partition
  487.    sizes accordingly.
  488.  
  489. Registration for TinyTerm is $15.  With registration you will be put on a
  490. mailing list and informed of updates and bug reports in TinyTerm.  You are
  491. not legally required to register TinyTerm, but if you don't your kharma will
  492. suffer and you may come back in the next life as a lower form, such as a 
  493. cockroach or a politician.
  494.  
  495. Please send any and all suggestions, bug reports, and $$$ to:
  496.  
  497.     John M. Trindle
  498.     The Blues Exchange (804-220-0533)
  499.     260-C Merrimac Trail
  500.     Williamsburg, VA 23185
  501.     
  502. Enjoy!
  503.  
  504. 1.05 Enhancements and Bug fixes:
  505. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  506. Fixed inability of TinyTerm to upload files of less than 1K with internal
  507. protocols.
  508.  
  509. Added description of Text File Send (Alt-F) to this .DOC file.  Added
  510. indications of the use of the <Esc> key in script file execution.
  511.  
  512. Enhanced color support with more comprehensible command line syntax,
  513. restoration of original attributes upon program exit, and reset of border
  514. to background color (previously, the border remained its initial color).
  515.  
  516. Added BIOS mode switch to all screen writes, enabling use of multitaskers
  517. other than DoubleDOS and Desqview, and providing a slow but virtually
  518. snow free mode for those who find the /V snow elimination mode 
  519. insufficient.
  520.