home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / pg / pgxos / x-view.cmd < prev    next >
OS/2 REXX Batch file  |  2006-10-19  |  6KB  |  121 lines

  1. X-VIEW.CMD Operation documentation.
  2. Copyright (c) 1989 by Paul Globman
  3.                       [72227,1661]
  4.  
  5. X-VIEW.CMD is designed to run only as an XOS command.  Its compact code runs in
  6. the ALTLCD BUFFER due to its effective use of various subroutines found within
  7. the XOS-C program code.
  8.  
  9. X-VIEW (cross view) is designed to operate as a front end to the built-in TEXT
  10. program in the Tandy 200.  The purpose of X-VIEW (XV.CO) is to provide the user
  11. with a new and unique capability, found mostly in more expensive computer 
  12. systems.  That is, the ability to open a "window" and VIEW another file from 
  13. another bank (Bank #2), while editing the primary file in Bank #1.
  14.  
  15. THE SET-UP
  16. ----------
  17. It is recommended that XOS users keep .CO and .BA programs in Bank #3, and .DO 
  18. files should be stored in Bank #2.  Bank #1 is for working on the immediate
  19. project.  To comply with this suggestion XV.CO should be stored in Bank #3.  If
  20. you are a frequent user of the TEXT program, then XV.CO should be named CMD>.CO
  21. (refer to XOS-C docs for a more detailed explanation).
  22.  
  23. The text file to be edited must already have been created, and on the MENU of 
  24. Bank #1.  Place the cursor over the text file to be edited and press F3(Cmd>).
  25. Type XV<enter> and you will immediately enter the cursored text file.  If XV.CO
  26. is named CMD>.CO then press F3(Cmd>) with CAPS LOCK down.
  27.  
  28. THE FEATURES
  29. ------------
  30. By entering text files via XV.CO you give the Tandy 200 the ability to open a
  31. "window" (the lower half of the T200 LCD) while editing.  This is done by
  32. pressing the GRPH + CODE keys.  Once the "window" is opened, editing functions
  33. for the primary file are suspended.
  34.  
  35. Pressing GRPH/CODE will split the LCD, display Bank #2 files, and request the
  36. name of the Bank #2 file you wish to view.  After entering the name of a valid 
  37. Bank #2 file, that file is then scrolled up the lower half of the Tandy 200 
  38. LCD, keeping the upper portion of the LCD intact.
  39.  
  40. As the secondary file is scrolling, the spacebar is used to pause/continue the
  41. scroll.  The ESC key is used for an immediate abort.  When the scrolling file 
  42. reaches the end of the file, or if ESC was pressed, a beep will sound, the
  43. scrolling will stop, and the next key-stroke will restore the Tandy 200 LCD and
  44. return the cursor to where it was prior to pressing GRPH/CODE.
  45.  
  46. MORE FEATURES
  47. -------------
  48. While in VIEW mode with the scrolling paused, the UP ARROW key will restart the
  49. display of the secondary file (the file being viewed in the "window"). The 
  50. window will clear and the file will begin to display again.
  51.  
  52. While in VIEW mode with the scrolling paused, the DOWN ARROW key will set a
  53. "marker" at the beginning of the current line/paragraph being displayed.  If 
  54. the scroll is paused at the BEGINNING of a line/paragraph then DOWN ARROW will 
  55. move the "marker" to the beginning of the previous line/paragraph (see note).
  56.  
  57. The window will clear and the file will begin to display again, but from the 
  58. "marked" position rather than the beginning of the file.  Subsequent use of the
  59. UP ARROW will cause the file to display, beginning at the "marked" position 
  60. rather than the beginning of the file.
  61.  
  62. Pressing <ENTER> at the "X-View:" prompt automatically displays the last file
  63. viewed, beginning at the last "marker" set for that file.  If you have not yet
  64.  viewed any secondary files then <ENTER> will gently return you to the primary
  65. file being edited.  To review the last secondary file from its beginning you 
  66. must enter the filename again.
  67.  
  68. NOTE:
  69. -----
  70. X-VIEW allows the position of the "marker" to be backed up one line/paragraph.
  71. This is done by pressing UP ARROW as if you wanted to return to the "marked" 
  72. location and IMMEDIATELY press SPACEBAR, BEFORE the text begins to scroll. 
  73. With the scroll paused, press DOWN ARROW.  Your "marker" will be moved to the 
  74. beginning of the line/paragraph above the curent "marker" setting.  If you 
  75. somehow wind-up "above" the beginning of your selected file then you will have
  76. to exit the "view" and re-enter the filename at the prompt.
  77.  
  78.  
  79. WORD-WRAP
  80. ---------
  81. Word-wrap is toggled on/off by pressing CTRL + SHIFT.  With word-wrap off the 
  82. LCD will display more text and show the actual number of spaces between words 
  83. on adjacent lines.  The LCD will immediately adjust to "wrap" or "no-wrap" 
  84. mode, as you toggle between them.
  85.  
  86. IMPORTANT: The SHIFT/PRINT function of the Tandy 200 will NOT word-wrap when 
  87. printing if word-wrap is disabled in the edit mode.  Be sure to enable word-
  88. wrap before printing a document with the SHIFT/PRINT function.
  89.  
  90.  
  91. TIPS
  92. ----
  93. Since the top 8 lines of the Tandy 200 LCD are "locked" into place, you can
  94. first move through the primary file and bring some significant portion of the
  95. primary file into view on the top 8 lines, for comparison with the file 
  96. being scrolled.
  97.  
  98. When in VIEW mode and have the scroll paused, the PRINT key will dump the LCD
  99. to the printer, showing portions of the two files at once.  Depending upon your
  100. printer, the line that splits the LCD will print as a graphic character or a
  101. line of "q"s.
  102.  
  103. Credits
  104. -------
  105. Much thanks to Randy Hess for beta testing this project and offering some 
  106. suggestions that were incorporated into the final version of X-VIEW.
  107.  
  108. Use HXFER.200 to convert the following file to XV.CO (cross-view).
  109.  
  110. 54F8DC0154F82A0DF52284F82221F92192F8220DF52A45F5228AF82183F82245F5223DF5CDD5A1FEC0C4454FC283F823EBEDC31B73210000220DF52100002245
  111. F5C301A0F5C5D5E5381AED11A973DFC21CF92A06EF2214F93A0DFDE60FFE0CCAC0F8FE03C21CF93A0CF2EE01320CF2C310F9CD594FCD11FA3E04CD44A1CD1CFA
  112. 2129FA06063E20CDC25DCD964F2121FACDCC11CD6D4FCDF654D7A7CA02F93E07B8DA02F9051129FAD5EBCDBA41D1CD226DCD23F93E01B8C210F92100007CBDC4
  113. 6FF9CD5680210000CD9B4FCDF313E1D1C1F1C3000021AAF2110B00190604CD86A1FEFFCA454FFEC0C226F923CD86A13209F923CD86A1320AF906062311F0FFD5
  114. C50604CD86A1C1D112231305C24DF92323E50E062129FA11F0FFCD116EE1C22AF9E5E5E1E1CD11FACD1CFACD964F2A09F90604CD86A1FE1ACC454FCAF712E5CD
  115. 95F9E123C381F9FE20D2B0F9FE09CAB0F9FE0ACAB0F9FE0DCAB0F9F53E5EE7F1C640FE0DC4055ACC05FA2A06EF111028DFCCF8F9CD038BC8FE1BCAF3F9FE20C0
  116. CDF712FE1ECA71F9FE1FCAE1F9FE20C2CEF9C9E1E12B2BCD86A1FE0DC2E4F92209F9C373F9E1E1C386F9C1D1E123E5D5C50604CD86A1E7210A01CD9B4FCD724F
  117. C3964F210901CD9B4F0628C38FA13E4AC38F4F582D566965773A0000000000000000
  118.  
  119. end of data
  120.  
  121.