home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / australi / qed_bat.lzh / QEDEUE.HTX < prev    next >
Text File  |  1991-04-28  |  9KB  |  281 lines

  1. `BEGIN`
  2.             ╔═══╗                                        
  3.           ╔═╩═╗ ╚═╗                                      
  4.         ╔═╝ ╔═╩═╗ ╚═╗                                   
  5.       ╔═╝ ╔═╝   ╚═╗ ╚═╗                    tm 
  6.     ╔═╩═══╩═══════╩═╗ ╚═╦═════╦════╦══════╗              
  7.   ╔═╩═══════════════╩═══╩═════╩════╩══════╩═╗           
  8. ╔═╩═════════════════════════════════════════╩═╗  
  9. ╚═════════════════════════════════════════════╝  
  10.  
  11. QEDSME SMartEditors(tm)  for End User Editing    V1.00  900930 
  12. ~GO       HTX~0~@hyTeXt -a -o -c Go~    A demonstration hypertext file. 
  13.                 Requires ═╦═ HyText.Exe v2.8 ex PC-SIG1234 ═╦═. 
  14.                           ╚═ HytYtt.Exe v1.0 ═══════════════╝  
  15. ~GO       BAT~0~command~    Run demonstration. 
  16. ~README      ~0~$ReadMe~    This File. 
  17. ~README   GES~0~$ReadMe.Ges~    Readme file with Gestetner(r) LCL(c) codes. 
  18. ~QEDBAT   EXE~0~@QedBat Sample~    Editor for DOS Batch .BAT files. 
  19. SAMPLE   BAT    Sample edit file. 
  20.  
  21. QEDBAT is a simple screen editor that knows something
  22. about the special keywords and syntax of MS-DOS and DR-DOS batch files,
  23. and also the command line switches of selected programs.
  24. Keywords are highlighted in different colors and syntax  
  25. err~U~0~errors~rs, where detected, are highlighted in ~red~0~red~.
  26.  
  27. The occurance of an error doesn't stop the
  28. user from typing in errors, the highlighting of
  29. errors is to aid error correction. Indeed, since QEDBAT doesn't 
  30. presume to know all the syntax that might appear in a Batch file, 
  31. it must not prevent the user from overruling any hints that 
  32. may be inappropriate or incomplete. 
  33.  
  34. QEDBAT does most of its syntax checks on a line by line
  35. basis as you edit that line.  
  36.  
  37. Strictly speaking, since there are minor differences between 
  38. the commands on different versions of DOS and on different brands 
  39. of PC's, there ought to be many customised versions of QEDBAT ... that's  
  40. something for the future! 
  41.  
  42. QEDBAT ═╗ 
  43. QEDHTX ═╬═ operate with a ═╦═════════ common ═══════╦══╦═ ~LooK~0~LooK~ ═╦═. 
  44. QEDGES ═╣                  ╚═ say 90% standardised ═╝  ╚═ ~FeeL~0~LooK~ ═╝ 
  45. QEDKMT ═╝ 
  46.  
  47. Command Line Options: 
  48.  
  49. ~QEDBAT sample~0~@QedBat sample~             Assume .BAT as default filename extension. 
  50.  
  51. ~QEDBAT sample.~0~@QedBat sample.~            Override default filename extension. 
  52.  
  53. ~QEDBAT /w sample~0~@QedBat /w sample~          Runs in write-protect view mode. 
  54.  
  55. QEDBAT sample /rc ~345~0~HoHo~ 12  Position cursor at row 345 col 12. 
  56.  
  57. ~QEDBAT /?~0~@QedBat /?~                 Help.  
  58.  
  59. Special Requirements: CGA. 
  60.     (Restricted operation with mono monitors.)  
  61.  
  62. Registration: costs $19.90.     See PRICES.GES file for more details. 
  63.  
  64. QEDBAT is based on the Turbo Pascal v3 screen editor QED.PAS 
  65. from PC-BLUE0261 ( now converted to TP5 ) , and is similar to other
  66. SMartEditors(tm) in the QEDSME(tm) series. 
  67.  
  68. Comments and Registrations to: 
  69.     Try This! 
  70.     PO Box 363 
  71.     Mona Vale NSW 2103                          Phone: +61-2-997-2543 
  72.     Australia                                   Fax:   +61-2-979-5632        
  73.  
  74. ~BACK~0~BACK~ 
  75. ~EXIT~0~EXIT~ to DOS prompt ( and quit this demonstration ) 
  76.  
  77. 910204 ReadMe.Ges.001 Copyright (c) QEDSME - All Rights Reserved.  
  78. `BEGIN` 
  79. `command` 
  80. Type  GO at the DOS prompt 
  81.  
  82. A:\>  GO    [return]  
  83.  
  84.         ~BACK~0~BACK~ to previous menu. 
  85.         ~EXIT~0~EXIT~ to DOS prompt ( quits HyTeXt ). 
  86. `command` 
  87. `HoHo` 
  88.  
  89.     Jump to line 345 .... the file probably isn't that long!?! 
  90.  
  91. `HoHo` 
  92. `errors` 
  93.       rem     Here are some potential errors in a ═╦═ DR-DOS ═╦═ BATch file
  94.       rem                                          ╚═ MS-DOS ═╝ 
  95.       echo =====DEMONSTRATION======= 
  96.       cd   longpath~n~0~#errlnam~ame 
  97.       echo Welcome, %firstn% %la~:~0~#errcolon~tn%, to our EUE demonstration. 
  98.       Dir c:\eui\doc\*.doc 
  99.       Pa~v~0~#errpause~se 
  100.       Type read~*~0~#erraster~.doc
  101.       pause 
  102.       cd c:\pathname\doc 
  103.       type explain.doc
  104.       ~paws~0~#errpaws~  10 
  105.       cd   c:\pathname\doc\explain~.~0~#errext~doc 
  106.       type c:\pathname\doc\explain.doc 
  107.       pause 
  108.       ~QedGes~0~QedGes~ ~/rc~0~#slrc~ 345 12 readme
  109.       ~QedHtx~0~#QedHtx~ /w sample
  110.       ~QE~0~#QEdit~dit ~-n345~0~#dashn~ sample.txt 
  111.       ~QedIte~0~#QedIte~ /rc 345 12 sample
  112.       ~QedKmt~0~#QedKmt~ /rc 345 12 sample 
  113.       rem                                       ~BACK~0~BACK~ 
  114. `errors` 
  115. `#errcolon` 901002mvp
  116. The environment variable %lastn% 
  117. contains an invalid character.
  118. QEDBAT only allows  [A-Z][a-z][9-0][_]
  119.  
  120. QEDSME Software Labaratory scientists
  121. think that this is about right. The
  122. rules matches the needs of CD-ROM.
  123. `#errcolon` 
  124. `#errlnam` 
  125.  
  126.     Pathnames may only have up to eight
  127.     alphanumeric characters in a row
  128.     between the backslashes '\' 
  129. `#errlnam` 
  130. `#errpause` 
  131. What DOS command is 'Pavse'.
  132. Since it starts with a capital letter
  133. QEDBAT tries to find a matching command, 
  134. and PAuse is the nearest match, 
  135. matching with the first two letters.
  136. If the unknown command started
  137. with a lower case letter, then
  138. QEDBAT assumes that YOU know what it is.
  139.  
  140. `#errpause`
  141. `#erraster` 
  142.  
  143. MS-DOS 3.3 doesn't allow wild cards 
  144. in the TYPE command.    
  145.  
  146. DR-DOS does.
  147.  
  148. QEDBAT assumes the more restrictive case
  149. `#erraster` 
  150. `#errpaws`                         
  151. 'paws' isn't a DOS command or even a
  152. commonly used program such as 'grep.exe'.
  153. Since 'paws' starts with a lower
  154. case letter, QEDBAT assumes that YOU
  155. know what you are doing, and allows
  156. you to proceed, while colouring the word
  157. differently, to advise you about this.
  158. `#errpaws`
  159. `#errext` 
  160.  
  161. File extensions are not allowed
  162. with the ChangeDirectory command. 
  163. `#errext` 
  164. `#QedBat` 
  165.  
  166.         QEDBAT 
  167.  
  168. SMartEditor(tm) for BATch files
  169. `#QedBat` 
  170. `#slrc` 
  171.         /RC  345  12
  172.         .    .    ..... Column 12 
  173.         .    .......... Row 345
  174.         ..... start editor and position
  175. `#slrc`
  176. `#dashn`
  177.  
  178.     -n345 
  179.  
  180. Provided you have version 2.5 something 
  181. of Semware's QEdit program, you can 
  182. start the editor with the cursor 
  183. positioned at this row by using
  184. this command line switch. 
  185. `#dashn` 
  186. `#QEdit` 
  187. QEdit is a text editor from SemWare.
  188.  
  189. QEdit is small , fast , efficient , 
  190. configurable, menu driven , handles 
  191. large files , and so on. 
  192.  
  193.  
  194. `#QEdit` 
  195. `#QedIte` 
  196.  
  197.         QEDITE 
  198.  
  199. SMartEditor(tm) for Ideal Terminal
  200.  
  201.     a comminications program
  202. `#QedIte` 
  203. `#QedHtx`
  204.    
  205.         QEDHTX 
  206.  
  207. SMartEditor(tm) for HyTeXt.
  208. HyTeXt is a simple hypertext 
  209. system from ═╦═ SME-PD _*S1234 ═╦═. 
  210.              ╚═════ PCSIG 1234 ═╝ 
  211. `#QedHtx` 
  212. `QedGes` 
  213.  
  214.         QEDGES 
  215.  
  216. SMartEditor(tm) for GEStetner LCL commands 
  217.  
  218.     ~BACK~0~BACK~ 
  219.  
  220. `QedGes` 
  221. `#QedKmt` 
  222.  
  223.         QEDKMT 
  224.  
  225. SMartEditor(tm) for KerMiT
  226.  
  227. KerMiT is a communications program
  228.  
  229. from Columbia University NY.
  230. `#QedKmt` 
  231. `red` 
  232. Q:  Why are ═╦═ errOrs ═╦═ coloured red ? 
  233.              ╚═ blues ══╝ 
  234.  
  235. A1: This a reasonable convention because 
  236. similiar negative words are already associated 
  237. with the color red, e.g.  STOP  WRONG  DANGER. 
  238.  
  239. A2: In nature, Yellow is often the colour associated 
  240. with DANGER , POISON . 
  241.  
  242. A3: In this hypertext demonstration, the active HOTword 
  243. is coloured RED ?!?! 
  244.  
  245. A4: In history, RED is often associated with BLOOD, 
  246. a strong, positive, active color. How then do you  
  247. explain the modern association of RED with ERROR? 
  248.  
  249.  
  250.      ~BACK~0~BACK~ 
  251. `red` 
  252. `LooK`
  253.  
  254.     QEDSME's ═╦═ LooK ═╦═ is not to be confused 
  255.               ╚═ FeeL ═╝ 
  256.      
  257.     with 'Look and Feel' , which is the subject of 
  258.     some other company's trademark application. 
  259.  
  260.     While the basic ═╦═ black ═╦═ look and feel of QEDSME's 
  261.                      ╚═ white ═╝ 
  262.     SMartEditors(tm) is attibutable to the original QED.PAS  
  263.     from PC-BLUE 0261, several enhancements are copyright  
  264.     including: 
  265.            ╚═══╦═ XED(tm) eXpert Error Detection colour scheme ═╦═ . 
  266.                ╠═ OFT(tm) single-key-at-a-time ══╦═ commands ═╦═╣ 
  267.                ║                                 ╚═ synonyms ═╝ ║ 
  268.                ╚═ IYI(tm) matching ═╦═ command strings ═══════╦═╝ 
  269.                                     ╚═ command line switches ═╝ 
  270.     ~BACK~0~BACK~ 
  271. `LooK` 
  272. `PCS` 
  273.         PCS - Peter Campbell Software ( formerly of Pukerua Bay ) 
  274.  
  275.         PCS - PO Box  54-180  Mana  New Zealand   ( after 1991 ) 
  276.  
  277.         PCS is author of the FAST language, a nice assembler for the PC. 
  278.  
  279.         PCS also is author of SOFA, FFD and FASTBASE. 
  280. `PCS` 
  281.