home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 3 / Chip_Hitware_Vol_03.iso / chiphit3 / win95 / programm / digiterm / digiterm.doc < prev    next >
Text File  |  1995-09-06  |  19KB  |  490 lines

  1.                    DigiTerm Ver1.5 for Win95
  2.                               
  3.           Northern Electronics -  Douglas Southcott
  4.                               
  5.                         Documentation
  6.                               
  7. Ready for tomorrow's technology today!
  8.  
  9.      With DigiTerm, You can access data service networks
  10. such as Compuserve, Canada Remote Systems, or MCI. You never
  11. have to see a terminal window - simply have DigiTerm call
  12. the service, do it's thing, and hang up.
  13.  
  14. Registration:
  15.      DigiTerm is SHAREWARE, as such there are some items
  16. which do not work until you register the program. These
  17. include the host mode, external protocols, and Zmodem.
  18. Registering will turn all these features on, as well as get
  19. rid of the annoying nag screen. The price to register
  20. DigiTerm is currently U.S. $39.99.
  21.  
  22. Canadian Orders:
  23.      I will accept Canadian money orders, or cheques,
  24. however cheques will need to clear your bank before I send
  25. out the key keys to you. Orders with money orders will be
  26. sent out the same day.
  27.      Send orders to:
  28.      Mr. Douglas Southcott
  29.      Northern Electronics
  30.      47 James Street
  31.      Barrie, Ontario L4M 6Y3
  32.  
  33. U.S. Orders:
  34.      The U.S. registration site is BMT Micro. Through them
  35. you can use your VISA, MasterCard, Discover, or Acceptance
  36. cards. They also have a 10 line BBS (Fido 1:3628/11) for
  37. online credit card orders.
  38.      The numbers for BMT Micro are:
  39.      Line: 1-800-414-4268    [for orders only]
  40.      Fax: (910) 350-2937
  41.      BBS (910) 350-8061     [10 lines, all 14.4]
  42.  
  43.      The Programer's Guild BBS at (705)733-5055 is the
  44. support BBS for any questions regarding the software. My
  45. FIDO address is 1:252/128.
  46.      Either site can send you the keyfiles, or you can call
  47. in to pick them up. These will activate all the features.
  48. They also keep up on the newest releases of DigiTerm, which
  49. you can file request at any time.
  50.  
  51.  
  52. Menu Items - How to
  53.  
  54. File Menu
  55.  
  56. Open & Close Capture
  57.      The default extension is .txt.
  58.      Both Open Capture and Close Capture should be self
  59. explanatory for anyone who has used any kind of a terminal
  60. program before. They simply start (and stop) whatever you
  61. see on the screen going to a file you can review later. That
  62. way you can capture all the lists of new files, review them
  63. when you're off-line, then have the machine call the BBS
  64. back in the middle of the night automatically and grab the
  65. files you've put into a list. Then have it log off that BBS
  66. and call the next one in the script file to get the files
  67. you want from there. More on this later in the section on
  68. Script files.
  69.  
  70. File Manager (Ctl+M)
  71.  
  72.      The Built-in file manager lets you run your other
  73. software while you're on-line with the terminal program. You
  74. can have the software running foreground or background,
  75. minimized, maximized, etc. You can run DOS or Windows apps.
  76. and the terminal program will do the time slicing for you.
  77. You should not loose any files in transfer because you were
  78. running a different application at the same time as long as
  79. you run the app through the terminal program.
  80.  
  81. Hot Keys - Getting to the File Manager can be done by
  82. pressing Alt+F then M, by clicking on the File menu followed
  83. by clicking on File Manager, or by using the Ctl+M
  84. combination to bring it up on screen in one quick shot.
  85. Ctl+M is the fastest and easiest of the methods.
  86.  
  87.      You can access any drive - even over a network - then
  88. select any directory and file. The selected file shows up in
  89. (of all places) under the title "Selected Dir. or File". The
  90. chosen file can then be edited, erased, copied, or moved. A
  91. Selected directory can be deleted. As you change drives and
  92. directories, delete files, toast off directories, etc. the
  93. appropriate windows on the file manager are updated
  94. automatically.
  95.  
  96. Make Directory:
  97.      Where "Selected Dir. or File" is on the File Manager
  98. you can type for example;
  99. a:\temp then click on Make Dir. to create the directory
  100. named temp on a: drive. I tried my best to make the program
  101. as self explanatory as possible.
  102.  
  103. Kill Directory:
  104.      Where it says "Selected Dir. or File" on the File
  105. Manager you can type in the name of the directory you want
  106. to get rid of then click on Kill Dir. to get rid of it. You
  107. will be prompted to be sure you REALLY did want to get rid
  108. of that directory.
  109.  
  110.  
  111. Copy or Move Files:
  112.      Click on any file and it shows up in "Selected Dir. or
  113. File". Then, where the form says "Selected Dir. or Dest."
  114. type in the drive and path where you want the file copied or
  115. moved to. Clicking on "copy" will of course copy the file
  116. and leave the origional where it was at. Clicking on "move"
  117. will move the file to the new location and delete the file
  118. from the starting location.
  119.  
  120. Example: Move a:\tp9\ati.cfg to a:\
  121.      Click on the drive, then the dir. to see the files,
  122.      click on the ati.cfg file so it shows up under
  123.      "Selected Dir. or File"
  124.      Go to "Selected Dir. or Dest" and type in a:\
  125.      Then click on the Move button.
  126.      The file ati.cfg has now been moved from the a:\tp9
  127.      directory to the root of a: drive. It's that easy.
  128.  
  129.      To make it easier to find the file you wanted the file
  130. manager has the ability to show only the files with
  131. extensions you want to see in the files list box. You can
  132. show all, only .exe., etc., or the files with whatever
  133. extension you want. Clicking on the dot below *.com then
  134. typing in the box beside it *.grp will show only the files
  135. with the .grp extension. The are so many really exotic
  136. extensions I could have had the listing go on forever, the
  137. easiest way to do it and to allow the best use of screen
  138. space was to simply allow the user to put in whatever
  139. extension they wanted to look for if it wasn't already in
  140. the short list.
  141.      Any file listed in "Selected File" can be run
  142. foreground, background, etc. You can also run DOS apps by
  143. clicking on "Run DOS app" You then type in the path and
  144. filename of the program you want to run and hit enter to run
  145. it.
  146.      When you choose to erase files or delete directories
  147. you will be prompted to be sure you really did want to do
  148. that.
  149.  
  150. Edit Menu:
  151.  
  152. Cut & Paste: You can now use the clipboard with the modem port the same as with any other Windows item.
  153. The hotkeys are Ctl+C for copy to the clipboard and Ctl+P for paste from the clipboard to the modem port. 
  154. This could have alot of uses: sending out a pretyped letter , a fancy ansi, to grab descriptions, etc. you see on 
  155. screen. The list goes on to whatever you want to use it for. 
  156.  
  157.  
  158. Setup:
  159.  
  160. Port:
  161.      Clicking on Port will bring up a form where you choose
  162. your port, baud rate, etc.  Ports are currently limited to 1
  163. to 4 and speeds up to 57,600 Baud (Not many people currently
  164. go faster than that right now).
  165.  
  166. Terminal:
  167.      This will bring up a form where you can choose your
  168. foreground and background colors, your font, font size (good
  169. if you have bad eyesight), bold, etc. You can also say
  170. whether your monitor is color, gray scale, or monochrome.
  171. You can use any font that you have installed under Windows
  172. but you should try to be sure you use one like "terminal"
  173. that allows the use of upper ASCII characters.
  174.  
  175.  
  176. Modem:
  177.      This brings up a form where you can choose from over
  178. 445 modems. Don't worry - if you pick the wrong one it WILL
  179. tell you! Scroll up and down to pick your make of modem,
  180. then choose the particular model. Type in your port number
  181. and click OK and you're all set with the factory settings.
  182. Included modem strings are available for Zyxel, Zoom, Boca,
  183. Cardinal, etc. etc. From the modem form you can choose to
  184. edit your settings, add a modem, and pack the database.
  185.  
  186. Edit Settings:
  187.      You can change the make, model, init strings, etc.
  188. Clicking on OK will save your altered settings to the
  189. database.
  190.  
  191. Add a Modem:
  192.      Design your own fancy strings for your modem and save
  193. them to the database. Looking at some of the choices (or
  194. your modem's manual) could help you figure better settings
  195. than those in the available database.
  196.  
  197. Delete Modem:
  198.      This deletes the currently highlighted modem under
  199. "model". BE CAREFUL! If you accidentally delete a modem you
  200. can go to DOS and copy modems.bak to modems.dat but any
  201. changes you've made since you set up the program will be
  202. lost.
  203.  
  204. Pack Database:
  205.      Pack database will do just that - pack the database.
  206. This is an Access1.1 database (as is the external protocols
  207. setup). If you've made lots of changes to the database you
  208. should pack it to be as compact as possible.
  209.  
  210. FastKeys:
  211.      These are short cuts keys you use while in the terminal
  212. program. You use them to send strings out of the modem port,
  213. this could be your name. password, whatever you'd like it to
  214. be. I have three different passwords I use so when I log
  215. onto a system I simply hit the button to send out my name
  216. then whichever password. It speeds things up alot for me
  217. here.
  218.  
  219. Communications:
  220.  
  221. Phone Book (Ctl+D):
  222.  
  223. Hot Keys - Getting to the phone book can be done by pressing
  224. Alt+C then P, by clicking on the Communications menu
  225. followed by clicking on Phone book, or by using the Ctl+D
  226. combination to bring it up on screen in one quick shot.
  227. Ctl+D is the fastest and easiest of the methods.
  228.      The phone book is an Access database where you can
  229. store the information about all the numbers you call. From
  230. here you can add, delete, and dial the numbers you choose.
  231. Scripts, baud rate, etc. can all be linked to the entries
  232. name. Scripts can also be linked so you can execute the
  233. script as soon as the number is dialed.
  234.  
  235. Host Mode:
  236.      Sets your modem to answer the phone on the first ring
  237. and establish a connection at the best settings for the
  238. caller. This toy is real handy when using a call back
  239. verifier with BBS's you're calling.
  240.  
  241. Port Open:
  242.      Opens or closes the com port.
  243.  
  244. Hang Up:
  245.      Hangs up the phone - breaks the connection with the
  246. remote system.
  247.  
  248. Interval:
  249.      Sets the interval in Msec. that the I/O buffer is read
  250. to a file. Helps keep out those "bad CRC" messages you get
  251. from trying to unzip a file you transferred in the
  252. background.
  253.  
  254. Clear Screen:
  255.      Clears off the screen in the terminal window. Good in
  256. case you got a screen full of garbage due to line noise, a
  257. bad connection, etc.
  258.  
  259. File Transfer
  260.  
  261. Download (PgDn):
  262.      Internal transfer protocols include X/Y/Zmodem and
  263. several others; along with the external ones you add
  264. yourself. Tell the BBS to start the download, hit Pgdn, pick
  265. your protocol, and there you go - here comes your files. A
  266. box pops up on screen to tell you the percent of file
  267. transferred, etc.
  268.  
  269. Upload (PgUp):
  270.      Tell the BBS you want to upload, hit PgUp, click on the
  271. protocol and choose the filename - there you go you're
  272. uploading a file. Note: You have to put in the whole
  273. filename (click to high light the file.) Transfers are
  274. aborted by clicking "Cancel".
  275.  
  276. Internal Protocols:
  277.      Selects your default internal protocol. Available
  278. protocols include X/Y/Zmodem as well as ASCII, CompuServe
  279. B+, and Kermit.
  280.  
  281. External Protocols:
  282.      Use your arrow keys to scroll through the available
  283. choices. I am assuming you have some currently set up with
  284. Telix (or whatever). I also decided why should you, the end
  285. user of my product, have to have the necessary files in two
  286. places to use them with my terminal program - why waste the
  287. drive space for duplicate files? Thus the setup is as
  288. follows:
  289.  
  290.  
  291. 1) Click on "add"
  292. 2) Type in the protocol's name - what you want shown in the
  293. "Entries" list window.
  294. 3) Then type in the FULL command line. As most are written
  295. to run under DOS you type as    follows:
  296.      COMMAND.COM /C   <path.filename>
  297.    See the provided bimenu choice to clarify any doubts as
  298. to how.
  299. 4) Click on "OK"
  300.  
  301.      From then on you simply use your arrow keys to scroll
  302. through the entries list then click "Run" to run the
  303. protocol. It's that easy.
  304.  
  305. Delete:
  306.      This will delete the listed entry (NOT the protocol
  307. files themselves). It is polite enough to ask if you're sure
  308. before it deletes the entry.
  309.  
  310. OK:  Clicking here simply closes the external protocols
  311. form.
  312.  
  313. Scripts:
  314.  
  315. Record Script:
  316.      When you record a script, DigiTerm logs all your
  317. keystrokes and received data, and writes a script for you,
  318. which you can then play back, reproducing your actions as
  319. you log into a host system.
  320.      Pick where you want to record your script and the name
  321. you want the file to have. From then on all input from the
  322. modem and the keyboard will be recorded to the file. To stop
  323. recording simply click on "record script" again.
  324.      Call the host system either manually by typing in "ATDT
  325. XXX-XXXX" <ENTER>
  326. (where XXX-XXXX is the phone number) or by selecting Phone
  327. Book from the Communications menu. If you selected the phone
  328. book option, you can add the
  329. host system to your phone book and click the Dial button.
  330.      If for any reason you wish to abort the process at any
  331. time, you can press escape. Once you've connected, do
  332. whatever you want to record (i.e. log in, download a file,
  333. etc.) and hang up if you want. Once you've completed the
  334. task or you simply want to stop recording, select Record
  335. Script from the Script menu again to stop recording.
  336.  
  337.  
  338. Play Script:
  339.      Select from the scripts you have recorded to have it
  340. play back. You can set scripts to start as soon as the
  341. number is dialed by putting it in with the number it's for
  342. in the phone book.
  343.  
  344.  
  345. Edit Script:
  346.      Brings the selected script up into the Windows Notepad.
  347. From here you can edit the script, clean it up so it's
  348. easier to read, add commands, etc. You may notice that some
  349. SEND commands are broken up among two or more commands. For
  350. example, if you entered a password and the host system
  351. echo's back a period for every character you type, your
  352. script might look like this:
  353.  
  354.     SEND "Passw"
  355.     WAITFOR "..."
  356.  
  357.     SEND "ord^M"
  358.     WAITFOR "....."
  359.  
  360. The script will work, but you may want to clean it up so
  361. that others could read
  362. it and understand how the script works. Here is a cleaner
  363. version of the above
  364. example:
  365.  
  366.     SEND "Password^M"
  367.     WAITFOR "........"
  368.  
  369. You can edit your script file with any text editor.
  370.  
  371. Script Commands:
  372.      Scripts can be setup to call BBS's, do a screen capture
  373. of all the new files, download your mail packets, grab the
  374. files you want, then hang-up and call another BBS all while
  375. you're asleep! Then you can get up in the morning read and
  376. reply to your mail so it's ready to be sent up automatically
  377. the next time your computer calls out by itself. The
  378. possibilities are endless.
  379.      DigiTerm includes a powerful script language. Non-
  380. programmers can record and edit scripts to accomplish such
  381. tasks as calling a host system, reading mail, and
  382. transferring files. The idea behind DigiTerm is that by
  383. adding a few lines to your script, you will be able to make
  384. calls that automatically handle the intricacies of modems.
  385. These are the DigiTerm routines:
  386.  
  387. Interfacing with a BBS
  388.      This guide is useful in helping you design a remote
  389. system which is to dial a host computer and communicate with
  390. it. Just follow the simple rules outlined here, and you'll
  391. be dialing up in no time.
  392.  
  393. Defining the task
  394.      The first thing you must do is define the task. For
  395. example, let us say that the task is to call a host system,
  396. such as a BBS, and download a file. You must manually log on
  397. to the BBS system and make a note of all of the prompts
  398. after which you must enter something, and also make a note
  399. of what you have to enter to complete the task.
  400.      Write it down on paper as you go. For example, you may
  401. end up with an outline
  402. that looks like this:
  403.  
  404.     Get "Name:"
  405.     Send "Doug Southcott"
  406.  
  407.     Get "Password:"
  408.     Send "SFA"
  409.  
  410.     Get "Menu:"
  411.     Send "Download"
  412.  
  413.     Get "FileName:"
  414.     Send "ALLFILES.ZIP"
  415.  
  416.     Download the file
  417.     Hang-up
  418.  
  419.      It doesn't matter how you document the prompts and
  420. associated commands as long
  421. as you can understand what text needs to be received and
  422. what text needs to be sent in response.
  423.  
  424. Implementing a Script
  425.      You can go about writing the script in one of two ways.
  426. The first way is to
  427. record the script while you're on-line and play it back
  428. later. The second is to record or write an external script
  429. file to do the job, and play it back with the play script
  430. routine.
  431.      You can record scripts with DigiTerm or write one with
  432. a text editor. The supported script commands are documented
  433. elsewhere in this manual, but you can get the idea from the
  434. following example which is a script file implementation of
  435. the above sample task:
  436.  
  437.     PORT 3                    '-- Use COM3:
  438.     SETTINGS "2400,N,8,1"     '-- 2400 baud, no parity,
  439.                                   8 data bits, 1 stop bit.
  440.     TIMEOUT 60                '-- Wait up to 1 minute
  441.                                   (WaitFor)
  442.  
  443.     DIAL "733-5055"           '-- Dial the phone number
  444.     WAITFOR "CONNECT"         '-- Wait until the modems
  445.                                   connect
  446.  
  447.     PAUSE 3                   '-- Pause 3 seconds to allow
  448.                               '   modems to completely connect.
  449.     WAITFOR "Name:"
  450.     SEND "jeff windat^M"
  451.  
  452.     WAITFOR "Password:"
  453.     SEND "sfa^M"
  454.  
  455.     WAITFOR "Menu:"
  456.     SEND "Download^M"
  457.  
  458.     WAITFOR "FileName:"
  459.     SEND "ALLFILES.ZIP^M"
  460.  
  461.     PAUSE 1
  462.     PROTOCOL "ZMODEM"              '-- Use Zmodem
  463.     DOWNLOAD                       '-- Download files.
  464.  
  465.     HANGUP
  466.     END
  467.  
  468.  
  469. Script commands include the following:
  470.  
  471. PORT           SETTINGS            DIAL
  472. TIMEOUT        WAITFOR             SEND
  473. HANGUP         PROTOCOL            UPLOAD
  474. DOWNLOAD       PAUSE               STOP
  475. END            INPUT               CAPTURE
  476. CLOSECAPTURE   ON_TIMEOUT_GOTO
  477.  
  478.      With these commands you should be able to do pretty
  479. well anything you want to through your terminal. The
  480. following is an example script for use with DigiTerm.
  481.  
  482.  
  483.      This program is gauranteed only to take up space on
  484. your hard drive. I will in no way be held liable for any
  485. damages incurred to your machine(s), software, etc. Use of
  486. this product denotes acceptance of these terms. It works for
  487. me and that's all I know. Several people have used it during
  488. Beta testing and there were no reports of damage to any
  489. equipment or software as a result.
  490.