home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ZSYS / ZSYSARK / Z3HLP02.ARK / S.LBR / SCAN.HZP / SCAN.HLP
Text File  |  1990-03-23  |  13KB  |  303 lines

  1. ;
  2.                                ü ---  ╙ ├ ┴ ╬ ---       
  3.  
  4.                                   Version 2.0A
  5.  
  6.                    A ZCPR3-Compatible Buffered Bi-directional
  7.                     Video Oriented Text File Display Utility
  8.                        For Normal and Library Member Files
  9.  
  10.  
  11.                          I -->  Installation      
  12.                          O -->  Overview          
  13.                          S -->  Syntax            
  14.                          V -->  Video Modes       
  15.                          D -->  Display Commands  
  16.                          F -->  Find Commands     
  17.                          E -->  Exit Commands     
  18.                          M -->  Modifications     
  19. :I
  20.  
  21.  Installation for ZCPR3 environments 
  22.  
  23. ZCPR3.░ user≤ shoulΣ instal∞ thei≥ Z3EN╓ addres≤ int∩ SCA╬ iε thσ norma∞ ì
  24. manner«  N∩ Z3EN╓ installatioε i≤ requireΣ fo≥ operatioε iε ZCPR3.3½ ì
  25. environments«  
  26.  
  27. T∩ hel≡ speeΣ u≡ thσ screeε displa∙ wheε scrollinτ thσ displa∙ bacδ onσ ì
  28. line¼ SCA╬ accept≤ aε optiona∞ Inser⌠ Linσ termina∞ contro∞ sequencσ ì
  29. extensioε t∩ thσ standarΣ ZCPR│ Z3TCA╨ iε thσ forma⌠ suggesteΣ b∙ Joσ ì
  30. Wright«  T∩ makσ i⌠ easie≥ t∩ usσ witΦ standarΣ Z3TCAPS¼ however¼ SCA╬ ì
  31. firs⌠ look≤ fo≥ thσ Inser⌠ Linσ sequencσ a⌠ ß user-patchablσ interna∞ ì
  32. location«  Iµ i⌠ isn'⌠ founΣ there¼ SCA╬ wil∞ looδ fo≥ i⌠ iε thσ Z3TCA╨ iε ì
  33. thσ ZCPR│ environment«  Iµ n∩ Inser⌠ Linσ sequencσ i≤ founΣ iε thσ Z3TCAP¼ ì
  34. SCA╬ wil∞ inser⌠ ß linσ b∙ refreshinτ thσ wholσ screen¼ whicΦ take≤ ì
  35. slightl∙ longer«  ì
  36.   
  37. SCA╬ provide≤ patcΦ spacσ fo≥ ß bytσ printe≥ initializatioε string«  Iµ ß ì
  38. strinτ i≤ present¼ i⌠ i≤ sen⌠ eacΦ timσ thσ prin⌠ functioε i≤ selected«  
  39.  
  40.  
  41.  Installation for non-ZCPR3 environments 
  42.  
  43. Fo≥ usσ iε non-ZCPR│ environments¼ SCA╬ contain≤ aε interna∞ 12╕ bytσ ì
  44. Z3TCAP«  Yo⌡ ma∙ patcΦ you≥ termina∞ contro∞ sequence≤ directl∙ int∩ SCAN'≤ ì
  45. interna∞ Z3TCA╨ o≥ usσ DD╘ o≥ aε equivalen⌠ patchinτ utilit∙ t∩ patcΦ aε ì
  46. entirσ Z3TCA╨ (.Z3T⌐ filσ fo≥ you≥ termina∞ (sucΦ a≤ TERMNAME.Z3T⌐ int∩ ì
  47. SCAN«  Seσ Z3TCAP.DO├ fo≥ morσ detaileΣ informatioε oε thσ structurσ oµ thσ ì
  48. termina∞ contro∞ sequence≤ iε thσ Z3TCA╨ anΣ instruction≤ fo≥ patchinτ thσ ì
  49. contro∞ sequence≤ fo≥ you≥ termina∞ int∩ SCAN«  
  50.  
  51. Yo⌡ mus⌠ als∩ patcΦ thσ desireΣ value≤ fo≥ thσ numbe≥ oµ column≤ anΣ line≤ ì
  52. fo≥ you≥ termina∞ anΣ thσ maximuφ allowablσ drivσ anΣ use≥ number≤ int∩ ì
  53. SCAN«  Iµ yo⌡ decidσ t∩ renamσ SCAN¼ thσ prograφ namσ useΣ iε thσ commanΣ ì
  54. linσ HEL╨ screeε caε als∩ bσ patched.
  55.  
  56. SCA╬ provide≤ patcΦ spacσ fo≥ ß bytσ printe≥ initializatioε string«  Iµ ß ì
  57. strinτ i≤ present¼ i⌠ i≤ sen⌠ eacΦ timσ thσ prin⌠ functioε i≤ selected«  
  58.  
  59. :O
  60.  
  61.  Overview ì
  62.  
  63. SCA╬ i≤ ß WordStar-likσ vide∩ orienteΣ bi-directiona∞ tex⌠ filσ viewinτ ì
  64. utilit∙ usinτ thσ WordSta≥ commanΣ se⌠ t∩ vie≈ tex⌠ file≤ anΣ librar∙ ì
  65. membe≥ files¼ eveε iµ squeezeΣ o≥ crunched¼ iε botΦ ZCPR│ anΣ CP/═ ì
  66. environments«  Thσ sizσ oµ thσ filσ beinτ vieweΣ i≤ no⌠ limiteΣ b∙ ì
  67. availablσ memor∙ space«  
  68.  
  69. SCA╬ use≤ threσ 4δ tex⌠ buffer≤ anΣ ß dynamiπ buffe≥ allocatioε proces≤ t∩ ì
  70. allo≈ ful∞ bi-directiona∞ browsinτ througΦ norma∞ tex⌠ files«  Ful∞ bi-ì
  71. directiona∞ scrollinτ througΦ squeezeΣ o≥ cruncheΣ files¼ however¼ i≤ ì
  72. limiteΣ t∩ thσ curren⌠ content≤ oµ thσ 12δ oµ alread∙ unsqueezeΣ o≥ ì
  73. uncruncheΣ tex⌠ buffers«  
  74.  
  75. SCA╬ i≤ designeΣ fo≥ persona∞ rathe≥ thaε RBB╙ use¼ anΣ ha≤ n∩ built-iε ì
  76. securit∙ features«  Fo≥ thσ samσ reason¼ n∩ filσ type≤ arσ automaticall∙ ì
  77. excludeΣ froφ viewing«  
  78.  
  79.  Overview ì
  80.  
  81. File≤ ma∙ bσ vieweΣ a≤ straigh⌠ tex⌠ file≤ o≥ yo⌡ ma∙ selec⌠ eithe≥ thσ ì
  82. WordSta≥ o≥ ZCPR│ vide∩ displa∙ mode«  Thσ feature≤ oµ thesσ vide∩ displa∙ ì
  83. mode≤ arσ describeΣ iε thσ sectioε oε Vide∩ Displa∙ Modσ Commands«  Thσ ì
  84. WordSta≥ modσ i≤ thσ distributioε defaul⌠ vide∩ displa∙ modσ althougΦ SCA╬ ì
  85. ma∙ bσ patcheΣ t∩ makσ an∙ onσ oµ thσ threσ mode≤ thσ default«  
  86.  
  87. Likσ Q╠ anΣ VTYPE¼ SCA╬ allow≤ yo⌡ t∩ quickl∙ jum≡ t∩ thσ enΣ oµ thσ filσ ì
  88. beinτ viewed¼ ß ver∙ usefu∞ featurσ wheε viewinτ sourcσ codσ files«  
  89.  
  90. T∩ hel≡ extrac⌠ informatioε froφ thσ filσ beinτ viewed¼ SCA╬ allow≤ yo⌡ t∩ ì
  91. senΣ tex⌠ t∩ you≥ printer«  Iµ present¼ ß user-patchablσ printe≥ ì
  92. initializatioε strinτ wil∞ als∩ bσ sen⌠ eacΦ timσ thσ printe≥ i≤ toggleΣ ì
  93. on«  
  94.  
  95. :S
  96.  
  97.  Syntax ì
  98.  
  99. SCAN's command line syntax is:
  100.  
  101.      SCAN [dir:]afn                - Display file
  102.      SCA╬ [dir:]LBRname.LB╥        - Displa∙ librar∙ directory
  103.      SCAN [dir:]LBRname LBRmember  - Display library member
  104.  
  105. SCA╬ i≤ full∙ ZCPR│ compatiblσ wheε operatinτ iε ß ZCPR│ environment¼ ì
  106. acceptinτ botΦ thσ DIR║ anΣ thσ DU║ forms«  SCA╬ wil∞ no⌠ accep⌠ thσ DIR║ ì
  107. forφ wheε operatinτ iε ß non-ZCPR│ environment.
  108.  
  109. SCA╬ caε bσ ruε usinτ thσ ZCPR│ G╧ commanΣ wheneve≥ ß serie≤ oµ file≤ arσ ì
  110. beinτ viewed¼ eliminatinτ thσ timσ i⌠ take≤ t∩ reloaΣ SCA╬ froφ disk«  
  111.  
  112.  
  113.  Syntax ì
  114.  
  115. Fo≥ easie≥ filenamσ entry¼ SCA╬ allow≤ yo⌡ t∩ usσ wildcard≤ t∩ specif∙ ß ì
  116. filename¼ librar∙ namσ o≥ librar∙ membe≥ name«  SCA╬ wil∞ theε displa∙ thσ ì
  117. firs⌠ filσ i⌠ find≤ iε thσ director∙ o≥ librar∙ director∙ matchinτ thσ ì
  118. ambiguou≤ specification«  
  119.  
  120. Fo≥ easie≥ librar∙ namσ entry¼ yo⌡ caε eithe≥ specif∙ jus⌠ ß librar∙ namσ ì
  121. withou⌠ librar∙ extensioε (.LBR⌐ o≥ yo⌡ caε specif∙ ß librar∙ namσ ì
  122. includinτ thσ librar∙ extension«  Iµ n∩ extensioε i≤ specifieΣ anΣ n∩ filσ ì
  123. witΦ tha⌠ namσ i≤ found¼ SCA╬ wil∞ looδ fo≥ ß librar∙ witΦ thσ samσ name«  ì
  124. SCA╬ wil∞ theε displa∙ thσ librar∙ director∙ anΣ aε invitatioε t∩ ente≥ thσ ì
  125. namσ oµ ß librar∙ membe≥ fo≥ viewing«  
  126.  
  127. Yo⌡ don'⌠ neeΣ t∩ usσ thσ librar∙ extensioε wheε yo⌡ specif∙ ß librar∙ namσ ì
  128. anΣ als∩ specif∙ thσ desireΣ librar∙ membe≥ directl∙ froφ thσ commanΣ line«  
  129.  
  130. :V
  131.  
  132.  Video Display Mode Commands 
  133.  
  134. SCA╬ ha≤ threσ vide∩ displa∙ modes«  Onl∙ onσ modσ ma∙ bσ selecteΣ a⌠ ß ì
  135. time«  Turninτ ofµ botΦ displa∙ mode≤ result≤ iε ß vanillß TYPE-likσ ì
  136. displa∙ modσ tha⌠ doesn'⌠ displa∙ an∙ contro∞ character≤ o≥ usσ an∙ vide∩ ì
  137. effects«  
  138.  
  139.  
  140.      ^OD ............... WordSta≥ vide∩ modσ togglσ - display≤ ì
  141. ááááááááááááááááááááááááácontro∞ character≤ iε highlighteΣ vide∩, ì
  142. ááááááááááááááááááááááááádisplay≤ harΣ carriagσ return≤ anΣ ì
  143. áááááááááááááááááááááááááindicate≤ line≤ longe≥ thaε thσ screeε ì
  144. áááááááááááááááááááááááááwidtΦ a⌠ thσ righ⌠ margin«  Pagσ break≤ ì
  145. áááááááááááááááááááááááááresultinτ froφ line feeΣ character≤ arσ ì
  146. áááááááááááááááááááááááááals∩ displayed.
  147.  
  148.      ^OV ............... ZCPR│ vide∩ modσ togglσ - display≤ ì
  149. ááááááááááááááááááááááááácharacter≤ appearinτ betweeε ^┴ (01H⌐ ì
  150. áááááááááááááááááááááááááanΣ ^┬ (02H⌐ iε highlighteΣ video.
  151.  
  152. :D
  153.  
  154.  Screen Display Commands 
  155.  
  156. SCA╬ use≤ thσ basiπ WordSta≥ commanΣ se⌠ fo≥ it≤ screeε displa∙ commands¼ ì
  157. witΦ certaiε extension≤ t∩ makσ lifσ ß littlσ easie≥ anΣ morσ forgiving«  ì
  158. Fo≥ example¼ thσ usσ oµ thσ contro∞ ke∙ i≤ optional«  EntereΣ command≤ arσ ì
  159. automaticall∙ translateΣ int∩ contro∞ character≤ beforσ beinτ executed¼ s∩ ì
  160. tha⌠ enterinτ ^Q├ i≤ thσ samσ a≤ enterinτ Q├ o≥ ^Q^C«  
  161.  
  162. Therσ arσ als∩ alternatσ command≤ availablσ fo≥ severa∞ oµ thσ commands«  ì
  163. Thesσ alternatσ command≤ arσ no⌠ showε iε thσ HEL╨ screen¼ bu⌠ arσ ì
  164. indicated belo≈ iε parentheses║  
  165.  
  166.  Screen Display Commands 
  167.  
  168.      ^QR (T) ........... Display the beginning of the file
  169.  
  170.      ^R ................ Scroll up (back) one screen
  171.  
  172.      ^W (^E) ........... Scroll up (back) one line
  173.  
  174.  
  175.      ^S (BACKSPACE) .... Scroll screen left one TAB (8 spaces)
  176.  
  177.      ^QS ............... Return display to normal left margin
  178.  
  179.      ^D (TAB) .......... Scroll screen right one TAB (8 spaces)
  180.  
  181.  
  182.      ^Z (^X, RETURN) ... Scroll down (forward) one line
  183.  
  184.      ^C (SPACE) ........ Scroll down (forward) one screen
  185.  
  186.      ^QC (B) ........... Display the end of the file
  187.  
  188.  Other Commands 
  189.  
  190.      ^P ................ Printe≥ togglσ - thσ printe≥ ma∙ bσ ì
  191. ááááááááááááááááááááááááátoggleΣ O╬ anΣ OF╞ t∩ prin⌠ thσ screeε ì
  192. ááááááááááááááááááááááááábeing displayeΣ.  Thσ printe≥ wil∞ bσ ì
  193. áááááááááááááááááááááááááautomaticall∙ toggleΣ OF╞ wheε backinτ ì
  194. áááááááááááááááááááááááááu≡ iε thσ tex⌠ o≥ wheε thσ HEL╨ screeε ì
  195. áááááááááááááááááááááááááo≥ thσ FinΣ Strinτ commanΣ i≤ selected«  ì
  196. áááááááááááááááááááááááááThσ screeε wil∞ bσ printeΣ witΦ n∩ lef⌠ ì
  197. ááááááááááááááááááááááááámargin«  N∩ overla≡ line≤ wil∞ bσ ì
  198. ááááááááááááááááááááááááádisplayeΣ o≥ printed«  
  199.  
  200.                          Aε optiona∞ printe≥ initializatioε ì
  201. ááááááááááááááááááááááááástrinτ ma∙ bσ patcheΣ int∩ SCAN«  Iµ i⌠ ì
  202. áááááááááááááááááááááááááexists¼ i⌠ wil∞ bσ senΣ eacΦ timσ thσ ì
  203. áááááááááááááááááááááááááprinte≥ i≤ selected«  ì
  204.  
  205.      / (?) ............. HEL╨ screeε togglσ - display≤ ß HEL╨ ì
  206. áááááááááááááááááááááááááscreeε containinτ ß summar∙ oµ screeε ì
  207. ááááááááááááááááááááááááádispla∙ commands«  Als∩ usefu∞ fo≥ ì
  208. ááááááááááááááááááááááááárefreshinτ thσ display.
  209. :F
  210.  
  211.  String Find Commands 
  212.  
  213. Likσ WordStar¼ SCA╬ allow≤ yo⌡ t∩ searcΦ thσ filσ tex⌠ fo≥ ß specifieΣ ì
  214. characte≥ string«  Wheε examininτ file≤ iε ß library¼ o≥ wheε re-runninτ ì
  215. SCA╬ usinτ thσ ZCPR│ G╧ command¼ thσ curren⌠ finΣ strinτ wil∞ remaiε activσ ì
  216. froφ filσ t∩ file.
  217.  
  218. Als∩ likσ WordStar¼ SCA╬ recognize≤ ^┴ a≤ ß wildcarΣ characte≥ iε thσ finΣ ì
  219. string¼ matchinτ an∙ singlσ characte≥ iε thσ text«  I⌠ i≤ entereΣ a≤ ^P^A¼ ì
  220. a≤ discusseΣ below.
  221.  
  222. FinΣ searche≤ begiε witΦ thσ firs⌠ characte≥ displayeΣ oε thσ screen«  FinΣ ì
  223. Agaiε begin≤ righ⌠ afte≥ thσ previou≤ find«  Iµ anothe≥ commanΣ ha≤ beeε ì
  224. executeΣ betweeε thσ FinΣ anΣ FinΣ Agaiε commands¼ FinΣ Agaiε wil∞ als∩ ì
  225. star⌠ searchinτ beginning witΦ thσ firs⌠ characte≥ displayeΣ oε thσ screen«  
  226.  
  227. Afte≥ thσ searcΦ strinτ ha≤ beeε locateΣ iε thσ text¼ SCA╬ display≤ thσ ì
  228. tex⌠ witΦ thσ linσ iε whicΦ thσ strinτ ha≤ beeε locateΣ displayeΣ a≤ thσ ì
  229. thirΣ linσ oε thσ screen¼ witΦ thσ searcΦ strinτ displayeΣ iε highlighteΣ ì
  230. video«  Iµ n∩ matcΦ ha≤ beeε found¼ SCA╬ wil∞ displa∙ thσ las⌠ screeε oµ ì
  231. thσ filσ witΦ thσ messagσ 'Strinτ no⌠ found...º iε highlighteΣ vide∩ iε thσ ì
  232. STATU╙ line.
  233.  
  234.  String Find Commands 
  235.  
  236.      ^QF (F) ........... Find a character string.
  237.  
  238.      ^L ................ Find the character string again.
  239.  
  240.      ^U ................ Cancel the find command.
  241. è
  242. Contro∞ characters¼ excep⌠ fo≥ ^█ (ESCAPE)¼ ^═ (RETURN)¼ anΣ thσ editinτ ì
  243. contro∞ character≤ describeΣ below¼ ma∙ bσ directl∙ entereΣ a≤ par⌠ oµ thσ ì
  244. searcΦ string«  A≤ iε WordStar¼ othe≥ contro∞ character≤ ma∙ bσ entereΣ b∙ ì
  245. firs⌠ enterinτ ^P«  ì
  246.  
  247.  
  248.  String Editing Commands 
  249.  
  250. Likσ WordStar¼ SCA╬ recognize≤ severa∞ editinτ command≤ whilσ enterinτ thσ ì
  251. searcΦ string«  Thesσ command≤ als∩ appl∙ whilσ enterinτ librar∙ membe≥ ì
  252. names:
  253.  
  254.      ^╪ ................ Cancel thσ linσ as entered so far.
  255.  
  256.      ^╥ ................ Restore the line as entered so far. ì
  257.  
  258.      ^S (BACKSPACE) .... Movσ onσ characte≥ bacδ iε thσ linσ ì
  259. ááááááááááááááááááááááááábeinτ entered.
  260.  
  261. ááááá^D ................ Move onσ characte≥ forwarΣ iε thσ line¼      ì
  262. áááááááááááááááááááááááááredisplayinτ previousl∙ canceleΣ ì
  263. ááááááááááááááááááááááááácharacter≤.  
  264.  
  265.      ^P ................ Prefi° allowinτ yo⌡ t∩ ente≥ contro∞ ì
  266. ááááááááááááááááááááááááácharacter≤ sucΦ a≤ RETUR╬ int∩ thσ finΣ ì
  267. ááááááááááááááááááááááááástrinτ withou⌠ executinτ them.
  268.  
  269.      ^U ................ Cancel the search string entry process.
  270.  
  271.  String Editing Commands 
  272.  
  273.      RETURN ............ End≤ thσ strinτ entr∙ proces≤ anΣ allow≤ ì
  274. áááááááááááááááááááááááááyo⌡ t∩ selec⌠ thσ optioε t∩ ignorσ thσ ì
  275. ááááááááááááááááááááááááádistinctioε betweeε uppe≥ anΣ lowe≥ casσ ì
  276. ááááááááááááááááááááááááácharacter≤ wheε searchinτ fo≥ thσ ì
  277. áááááááááááááááááááááááááspecifieΣ string«  
  278.  
  279.      ESCAPE ............ End≤ thσ strinτ entr∙ proces≤ anΣ ì
  280. ááááááááááááááááááááááááádefault≤ t∩ matchinτ thσ strinτ exactl∙ ì
  281. áááááááááááááááááááááááááa≤ entered«  
  282. :E
  283.  
  284.  Exit Commands 
  285.  
  286.  
  287.      ^KX (ESCAPE) ...... Exit to the command line.
  288.  
  289.      ^KQ, ^KD .......... Wheε viewinτ ß librar∙ member¼ thesσ ì
  290. ááááááááááááááááááááááááácommand≤ wil∞ causσ aε exi⌠ t∩ thσ ì
  291. ááááááááááááááááááááááááálibrar∙ directory«  Wheε viewinτ ß file¼ ì
  292. áááááááááááááááááááááááááthe∙ wil∞ causσ aε exi⌠ t∩ thσ commanΣ ì
  293. áááááááááááááááááááááááááline«  Thσ HEL╨ screeε wil∞ reflec⌠ ì
  294. áááááááááááááááááááááááááprope≥ curren⌠ usage.
  295.  
  296. :M
  297.  
  298.  Modifications 
  299.  
  300. Seσ thσ filσ SCAN.PA╘ fo≥ informatioε oε modifyinτ anΣ patchinτ SCA╬ anΣ oε ì
  301. installinτ thσ Inser⌠ Linσ termina∞ contro∞ sequencσ anΣ othe≥ terminal-ìèspecifiπ values«  Z3TCAP.DO├ ha≤ morσ informatioε oε thσ structurσ oµ thσ ì
  302. termina∞ contro∞ sequence≤ iε thσ Z3TCAP.
  303.