home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / handicap / scandemo.zip / SCANDEMO.DOC next >
Text File  |  1990-03-11  |  15KB  |  259 lines

  1.                        SCANDEMO.EXE 1.04
  2.      Copyright (c) 1990 Charles Broome & Linda Stubblefield
  3.  
  4.   This is a demo version of a somehwat unique - or maybe "bizarre" is a
  5. better word - file-reading program designed to be used with braille terminals
  6. only. I'm not sure which of us is to blame for it - it just kind of evolved
  7. between Linda's efforts and mine to find a better way to read files with a
  8. braille terminal. Linda loves it, but then she has a talent for reading any
  9. grade of braille right-side up, upside-down, or sideways, with one finger or
  10. with all eight and maybe even with her thumbs. I suspect she could probably
  11. do the same with her toes. Despite my challenges, she won't say whether she
  12. can read braille with her nose - but I wouldn't put it past her! 
  13.  
  14.  The full program can read any size file; this demo version has been limited
  15. to reading about two pages (4000 characters) of information, which is about
  16. all anybody can probably take anyway.  Here's the theory behind it all:
  17.  
  18.   Normally, when reading large text files braille users have to expend a lot
  19. of energy sweeping across the braille display and then pushing the right
  20. combination of buttons to advance the braille cursor. Meanwhile words are
  21. frequently split at the margins of the braille display, making it necessary
  22. to distract one's thoughts from the message itself while putting words
  23. together from pieces.
  24.  
  25.   SCAN is an attempt to minimize all of that motion and distraction. The
  26. general idea to allow the braille user's hands to remain relatively
  27. stationary on the braille display by displaying only one word at a time,
  28. meanwhile automatically advancing through the file. 
  29.  
  30.   The concept is strange, but it works - with practice, that is. Even if you
  31. can't read with eight fingers like Linda, the program minimizes the amount of
  32. motion involved in reading the display. (This will doubtless be one of those
  33. things that people either love or despise). There is a way to configure the
  34. program to use the entire width of your display to show more than one word at
  35. at time while still keeping the feature that avoids splitting words, and I'll
  36. tell you about that in a moment.
  37.  
  38.   (Quite aside from using SCAN for reading files, it also makes a nice
  39. program for improving your braille-reading speed using the computer. You can
  40. make up practice text files and then use SCAN to read them. We're also
  41. thinking now about doing a Grade II version of the program).
  42.  
  43.   SCAN lets you select the maximum number of cells that it uses when
  44. displaying words. Two different widths have to be set - the "single-word
  45. width" and the "multiple-word width".
  46.  
  47.   The "single-word width" is the maximum number of cells to be used when
  48. displaying a single long word. Generally you will probably prefer to use the
  49. entire width of your display for this, but as Linda has gotten better she's
  50. been making it shorter and shorter to minimize hand motion. Any word longer
  51. than the "single-word-width" will be broken up, hyphenated, and displayed in
  52. chunks.
  53.  
  54.   The "multiple-word width" is the number of cells that are allowed for
  55. multiple words, and MUST be less than the single-word width. The idea here is
  56. that when several two- or three-letter words appear together, it's better to
  57. display them all at once rather than one at a time. Just how many cells you
  58. want to allot for this is a subjective matter, but generally it will be
  59. around ten cells or so. If you don't want this feature, just enter "1" as the
  60. multiple-word width.
  61.  
  62.   It just happens that if you don't like the idea of limiting your beautiful
  63. new zillion-column terminal to one word at a time, you can set the
  64. "single-word width" to the exact number of cells that your display holds plus
  65. one, and set the "multiple-word width" to the exact number of cells that your
  66. terminal displays, and the program will then act more like a normal
  67. file-reading program tailored for braille terminals.
  68.  
  69.   Naturally, SCAN's scan rate is adjustable. A slight delay is added for each
  70. character to give you time to take in longer words. Some braille terminals
  71. work better if spaces are written to them between each display, so a "refresh
  72. time" is also adjustable. The program also includes a phrase-search feature
  73. and permanent bookmarks.
  74.  
  75.   Now with all that said, you're ready to configure the program. Just be sure
  76. that SCANDEMO is not write-protected and that you're logged into the
  77. directory with the program. Run "SCANDEMO /setup" and you'll be presented
  78. with a series of self-explanatory questions about what single- and
  79. multiple-word widths to use, what keys to assign functions to, etc.  You
  80. should not assign anything to the function keys or number keys, with the one
  81. exception of F10 which is up for grabs. 
  82.  
  83.   WHen you get to the part about assigning keys, for now you should assign
  84. keys as follows. You can come back later once you know how to use the program
  85. and assign your own preferences, but for now I need to know which keys to
  86. tell you to press:
  87.  
  88.   Spaceber              -  toggle autoscan on and off
  89.   ESCAPE                -  cause the program to exit to DOS
  90.   Left Arrow            -  step backwards
  91.   Right Arrow           -  step forwards
  92.   Keypad-minus          -  scan slower
  93.   Keypad-Plus           -  scan faster
  94.   Up-arrow              -  go to previous sentence
  95.   Down-Arrow            -  go to next sentence
  96.   HOME                  -  go to start of file
  97.   END                   -  go to end of file
  98.   F10                   -  hunt for a phrase
  99.   Shifted-keypad-plus   -  lengthen refresh time
  100.   Shifted-keypad-minus  -  shorten refresh time
  101.   Alt-W                 -  configure with speed and refresh info
  102.   Shift-Tab             -  toggle sound off and on
  103.  
  104.   While in the setup mode, you'll note that currently-assigned keys are
  105. indicated with each prompt. On some clone computers or on extended keyboards,
  106. the actual key may not be as described (for example, "keypad-plus" may not
  107. actually be the keypad-plus key).  However, if you assign a key by pressing
  108. it during the setup mode then that key will be the one that causes the
  109. indicated action whether or not the description is accurate.
  110.  
  111.   When you exit setup, the SCANDEMO will configure itself with your choices.
  112.  
  113.   To use the program, at the DOS prompt just type "SCANDEMO" followed by the name
  114. of the file that you wish to read, then press the ENTER key.  The program
  115. will come up in it's pause mode, on the first word of the file. Some of the
  116. keys you assigned during setup can manually step forwards and backwards
  117. through the file, going to the next or previous word or sentence.
  118.  
  119.   Press the right-arrow key and you will step forward through the file one
  120. word at a time. Press the down-arrow key and SCANDEMO will seek out the start
  121. of the next sentence. do this several times, then press the left-arrow key
  122. several times and SCANDEMO will step backwards one by one word each time.
  123.  
  124.   This is the "manual" mode. Now get ready, get set, - and press the spacebar,
  125. and SCAN should start scanning forwards through the file. Until you get the
  126. speed and refresh time set up to your liking, the scan may seem erratic or
  127. may be extremely slow or fast. Use the keypad-plus and minus keys to adjust
  128. the scan rate, and use shifted-keypad-plus and minus to control the refresh
  129. time between each word. The two sets of keys will interact somewhat.
  130.  
  131.   Once the scan rate is set up to your liking, and assuming that SCANDEMO.EXE
  132. is located in the current directory, you can now press alt-W to write the
  133. current speed and refresh rate to SCANDEMO, and from now on it will default
  134. to these values whenever you run the program.
  135.  
  136.   We suspect that some people will appreciate an audible cue each time the
  137. display changes, so you will have noticed a tiny chirp with each word. You
  138. will also have noticed a longer chirp whenever SCAN thinks it's reached the
  139. end of a sentence, and SCAN will pause a few extra moments at the end of the
  140. sentence to give you a chance to digest what you just read. The shift-TAB key
  141. toggles the chirps off and on.
  142.  
  143.   When you do just about anything to activate any of SCAN's functions, the
  144. scan will automatically be stopped and you'll be placed back in the manual
  145. mode. You can toggle the automatic scan off and on using the spacebar.
  146.  
  147.   To get out of scan, you can always use either control-C or whatever other
  148. key you assigned during setup (in thsi case, ESCAPE).
  149.  
  150.   To search for a phrase, press F10. You'll be prompted for the phrase to
  151. search for. Type it in, press the ENTER key, and the search will begin at the
  152. current position and go towards the end of the file. If a match is found,
  153. you'll be taken there. If not, you'll be left where you are.
  154.  
  155.   To repeat the search, press F10 again. Again you'll be prompted to type in
  156. a phrase to search for, but you'll notice that the previous phrase is
  157. indicated in parentheses. Just press the ENTER key to search for that phrase,
  158. or you can optionally type in a new phrase.
  159.  
  160.   SCAN (and SCANDEMO) features 9 bookmarks. When you assign a bookmark, all
  161. that really happens is that SCAN saves a number that tells it how many
  162. characters into the file you are. When you "jump" to a bookmark, SCAN takes
  163. you that many characters into the file. These bookmarks can optionally be
  164. saved to disk when you exit SCAN - you'll be prompted only if you set a
  165. bookmark while using SCAN. The file that the bookmarks are saved to will have
  166. the same name as the file you read with SCAN, but will have an extension of
  167. ".BKM".
  168.  
  169.   When you later read the file again, the bookmarks will be read back in, so
  170. you can jump to the locations you've set. The only problem comes in if you've
  171. edited the file in the meantime and added or deleted characters between the
  172. start of the file and any bookmarks you've set. If the text has been moved
  173. around, then the bookmark still takes you the same number of characters into
  174. the file but the text that previously was at that particular location will
  175. have been moved elsewhere, so bookmarks only work properly on files that
  176. haven't been edited. (I've fixed this problem with a large-character
  177. file-reading program, but need a few spare days to duplicate the routines in
  178. SCANDEMO).
  179.  
  180.   WIth all that in mind, here's how you set and jump to bookmarks: Each of
  181. the function keys F1 through F9 sets one bookmark. To place a bookmark at
  182. your current location in the file and to assign the bookmark to F1, just
  183. press F1. It will give you a fast triple-beep and you'll be asked for a
  184. label.  Type one in to describe the current location. That's all there is to
  185. it!  Now go wandering off through the file, and when you're somewhere else
  186. let's jump to a bookmark. F1 places a bookmark, so shift-F1 jumps to that
  187. bookmark.  Just press shift-F1 and it will announce the label that you gave
  188. it. If you had assigned other bookmarks then you could have pressed other
  189. shifted-function keys to check out their labels. WHen you get the label you
  190. want, press the ENTER key and SCAN will jump to that bookmark.
  191.  
  192.   Now go wandering off again. We're going to assign a bookmark again to
  193. whatever new place you've arrived at. Press F1 - and this time, instead of a
  194. fast triple-beep, you hear one long beep. This is just a warning that this
  195. key already has a bookmark assigned to it. Your options are press F1 again,
  196. inwhich case the new bookmark will be assinged and you'll be prompted for a
  197. label again, or you can go looking for another key to assing the bookmark to.
  198.  
  199.  When assigning labels to bookmarks, you can always just press the ENTER key
  200. to accept the current label if you don't want to type a new one in.
  201.  
  202.   One last feature is the number keys. The "1" key takes you ten percent of
  203. the way into the file you're reading. The "2" key takes you 20% of the way,
  204. and so on up to the "9" key which takes you 90% of the way into the file.
  205. This is handy getting around very large files FAST.
  206.  
  207.   SCANDEMO does have a few rough spots. If the program wasn't so radical I'd
  208. fix them now, but at a time when everybody's drooling over 40- and 80-column
  209. braille terminals, I'm not sure anybody will like the idea of narrowing down
  210. the display they already have! I'll hold off until somebody sends in $15 for
  211. the full version, and only then will I spend the day or so that it will take
  212. to fix these rough spots.
  213.  
  214.   The first rough spot - the fact that bookmark placement can be thrown off
  215. by editing a file - has already been fixed in a similar program I've written
  216. with a large-screen display. In that program I save 80 characters following
  217. the bookmark, and if those characters don't appear in the expected place then
  218. the program uses the phrase-search feature to find them. This approach works
  219. beautifully no matter how much the file is edited, and the programs are
  220. similar enough that it will only take four hours or so to move the routines
  221. over to SCAN.
  222.  
  223.   The second rough spot is when SCAN saves bookmark information to a file. If
  224. the file can't be written to for some reason, then SCAN just exits to DOS
  225. without giving you a second chance to fix the problem. That's child's play to
  226. fix, but after all this is just a demo version and I have a thousand other
  227. more lucrative pots on the fire and just don't feel like bothering at the
  228. moment.
  229.  
  230.   The third rough spot is towards the beginning or end of a file. SCAN works
  231. beautifully everywhere else, but if you use the END key to go to the end of a
  232. file, and then try to work backwards one word at a time, for some reason SCAN
  233. sometimes misses the second word before the end of the file. That's a
  234. relatively minor problem considering that the program works perfectly when
  235. moving forwards through the file - but I like my programs to be
  236. well-polished and will clean it up if anybody likes SCANDEMO enough to order
  237. the full version.
  238.  
  239.   So far as I know, SCAN has no other problems, serious or otherwise. Please
  240. let me know if you come across any. 
  241.  
  242.   I have about a half-dozen other programs out so far, all either with their
  243. own built-in large-letter displays or designed to be especially easy to use
  244. with braille or voice.
  245.  
  246.   Some of those programs include DosZilla (A DOS manager for braille and
  247. voice and soon to have it's own large-letter display, $75 but soon going up
  248. to $150), BigCalc (Braille, voice, large-character scientific calculator,
  249. $15), ADIR and ZDIR (braille, voice, large-character disk/file navigator, $10
  250. shareware), VU (A large-screen file reader with some very unique features
  251. like saveable bookmarks and a display that doesn't split words, $15), PopTime
  252. (a pop-up time-and-date clock for braille and voice, pops up wherever the
  253. computer cursor is located) and an assortment of a half-dozen small programs
  254. like a large-screen clock, etc. For six dollars to cover costs (or if you
  255. order the full version of SCAN for $15) I'll send you some of these programs
  256. in demo or shareware form on a couple of 360K diskettes. -- Chuck
  257.  
  258. Charles L. Broome, P.O. Box 2270, Rockport, Texas, 78382, phone (512) 729-1188
  259.