home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / clarion / dispfile.zip / READ.ME < prev   
Text File  |  1988-09-17  |  2KB  |  65 lines

  1.               ╔═══════════════════════════════════╗
  2.               ║Display a file to the Video Monitor║
  3. ┌───────────┐          ╚═══════════════════════════════════╝
  4. │Written By │
  5. └───────────┘
  6.  Greg Wilder
  7.  Automation Services, Inc.
  8.  September 17, 1988
  9.  
  10. ┌──────────────┐
  11. │Files Needed  │
  12. └──────────────┘
  13.  1) LF.CLA     - main program that calls the display procedure
  14.  2) DISPFILE.CLA - procedure to actually display file to monitor
  15.  
  16.  
  17. Compile both programs. All 'LF.CLA' does is call the actual DISPFILE procedure.
  18. You can change 'DISPFILE.CLA' to be a standalone procedure that any program can
  19. call. All you need to do is modify the MEMBER statement in 'DISPFILE.CLA'. You
  20. need to set a Global variable(DISFNAME) to the name of the file to be displayed
  21. before calling the DISPFILE procedure(or make DISPFILE into a function).
  22.  
  23.  
  24. ┌───────────────┐
  25. │KEYSTROKE HELP │
  26. └───────────────┘
  27.  
  28. HOME         - goto Top of file
  29. END         - goto Bottom of File
  30. ESC         - Quit Displaying file
  31. Left Arrow     - Shift Display right
  32. Right Arrow     - Shift Display left
  33. Down Arrow     - Scroll down by one line
  34. Up Arrow     - Scroll up by one line
  35. PgDown Key     - Scroll down by one page
  36. PgUp Key     - Scroll up by one page
  37. Ctrl Left Arrow     - Show Left Most part of display
  38. Ctrl Right Arrow - Show Right Most part of display
  39.  
  40. F7         - Split Screen Vertically    (see note below)
  41. F8         - Split Screen Horizontally  (see note below)
  42.  
  43. ┌──────────────┐
  44. │Split Screens │
  45. └──────────────┘
  46.  The screen may be split vertically, horizontally, or both. The F7/F8 keys
  47.  will toggle the splitting on or off. To split the screen, press the function
  48.  key, then use the arrow keys to mark the area you want to split or "lock", then
  49.  press the <ENTER> key to set the split. The file movement keys then allow you
  50.  to move the "unsplit" part of the screen as before. Press the function key
  51.  again to remove the split screen display.
  52.  
  53.  Splitting the screen vertically is useful for displaying files larger than 80
  54.  columns. Split the screen vertically (F7), then use the left/right arrow keys
  55.  to show the rightmost columns of the file.
  56.  
  57. ┌────────────┐
  58. │Limitations │
  59. └────────────┘
  60.  1) Only displays first 132 columns of text file
  61.  2) Reads file into memory table, so large files may not have enough memory
  62.  
  63.  
  64.  
  65.