User Tools

Site Tools


cdc:nos2.source:opl871:xedith

XEDITH

Table Of Contents

Source Code

XEDITH.txt
  1. XEDIT - EXTENDED INTERACTIVE TEXT EDITOR.
  2. D. W. MEARS. 72/10/31.
  3. W. C. WELLS. 76/02/25.
  4. REVISED - 77/07/07.
  5.  
  6.  
  7. XEDIT IS DESIGNED TO BE "SIMPLE TO LEARN AND EASY TO USE".
  8. BEING "EASY TO USE" REQUIRES THAT WHENEVER POSSIBLE, COMMAND OPTIONS
  9. SHOULD DEFAULT TO THE ONE MOST USED. THIS DEFAULTING ALSO HOLDS FOR
  10. THE XEDIT CONTROL CARD WHICH IS DESCRIBED BELOW. IT SHOULD BE NOTED
  11. THAT TO EDIT A PRIMARY FILE, ALL ONE NEEDS TO TYPE IS... "XEDIT".
  12. UNFORTUNATELY, WHILE ALL THE XEDIT COMMANDS ARE SIMILAR IN MANY
  13. ASPECTS, IT HAS BEEN FOUND THAT THE QUANTITY OF COMMANDS TENDS TO
  14. OVERWHELM THE BEGINNING USER. IT IS THEREFORE RECOMMENDED THAT THE
  15. BEGINNING USERS BECOME FAMILIAR WITH THE FOLLOWING COMMANDS AND MASTER
  16. THE OTHERS AT A LATER DATE. THE COMMANDS ARE-
  17.  
  18. "HELP", "EXPLAIN", "PRINT", "$", "LOCATE" (ONLY THE FIRST FORM),
  19. "NEXT", "TOP", "INSERT", "DELETE", "CHANGE" (ONLY THE FIRST FORM),
  20. "END", AND "STOP".
  21.  
  22. THE XEDIT COMMAND ITSELF HAS THE FOLLOWING FORMAT-
  23.  
  24. XEDIT,EDITFIL,OPTIONS.
  25.  
  26. EDITFIL (THE FIRST PARAMETER) IS THE NAME OF THE FILE TO BE EDITED.
  27. EDITFIL DEFAULTS TO THE PRIMARY FILE IF ONE EXISTS, OR TO TAPE1 IF
  28. THERE IS NO PRIMARY FILE.
  29.  
  30. THE OPTIONS ARE ORDER-INDEPENDENT AND MUST NOT BE THE FIRST PARAMETER
  31. (I.E. IF ONE WISHES TO DEFAULT EDITFIL AND STILL USE PARAMETERS, HE
  32. MUST TYPE - "XEDIT,,OPTIONS.")
  33.  
  34. PARAMETER DESCRIPTION/ACTION
  35. ========= ==================
  36.  
  37. AS TURNS ON ASCII PROCESSING OF TEXT. THIS OPTION IS DEFAULT IF
  38. ONE IS IN THE 63 CHARACTER SET OR IN THE 64/ASCII
  39. CHARACTER SET. THIS OPTION IS NOT DEFAULT FOR BATCH USERS.
  40.  
  41. B DENOTES BATCH PROCESSING. WHILE UNDER BATCH PROCESSING,
  42. XEDIT SHIFTS ALL ERROR MESSAGES AND WILL IMMEDIATELY ABORT
  43. IF AN ERROR IS ENCOUNTERED. THIS OPTION IS DEFAULT FOR BATCH
  44. ORIGIN.
  45.  
  46. C PUTS THE EDITOR INTO CREATE MODE. THIS MODE ALLOWS ONE TO
  47. CREATE A NEW FILE WITHOUT PREVIOUSLY DEFINING THE FILE.
  48. NOTE- THE INITIAL LINE(S) OF INPUT MUST BE ADDED BY USING
  49. EITHER INPUT MODE OR THE INSERT COMMAND. IN ADDITION, XEDIT
  50. WILL DISABLE VARIOUS COMMANDS UNTIL ONE LINE OF TEXT HAS
  51. BEEN ENTERED. THE C OPTION DISABLES THE FR OPTION.
  52.  
  53. FR INSTRUCTS XEDIT TO OBTAIN THE INITIAL COMMAND FROM THE FIRST
  54. LINE OF THE EDITFIL, THUS ALLOWING FREQUENTLY USED
  55. "INITIALIZATION" COMMANDS TO BE ENTERED ONCE. TO ACCOMPLISH
  56. THIS AND YET MAINTAIN COMPATIBILITY WITH THE VARIOUS
  57. COMPILERS, XEDIT ASSUMES THAT THE INITIAL COMMAND BEGINS
  58. WITH THE FIRST NON-BLANK CHARACTER WHICH OCCURS AFTER TWO
  59. CONSECUTIVE BLANKS, AND THAT THE COMMAND CONTINUES UNTIL THE
  60. END OF THE FIRST LINE. (MULTIPLE COMMANDS CAN BE ENTERED VIA
  61. THE Y OR Z COMMANDS).
  62.  
  63. NH SUPPRESSES THE ISSUING OF THE XEDIT HEADER.
  64.  
  65. P CAUSES THE EDITFIL TO BE OBTAINED FROM THE PERMANENT FILE
  66. AREA. INTERNALLY, THIS OPTION CAUSES XEDIT TO ATTEMPT TO GET
  67. THE FILE, AND THEN ATTEMPT TO ATTACH THE FILE IN WRITE MODE
  68. IF THE GET FAILED. THE FILES ARE OBTAINED FROM THE EXISTING
  69. PACK.
  70.  
  71. I=LFN CAUSES XEDIT TO READ INPUT DIRECTIVES FROM FILE LFN.
  72.  
  73. L=LFN CAUSES NORMAL XEDIT OUTPUT TO BE PLACED ON FILE LFN INSTEAD
  74. OF THE FILE *OUTPUT*.
  75.  
  76. IN ADDITION TO THE "FR" PARAMETER DESCRIBED ABOVE, XEDIT ALSO ALLOWS
  77. ONE TO SPECIFY ADDITIONAL COMMANDS ON THE CONTROL CARD ITSELF. TO DO
  78. THIS, FOLLOW THE TERMINATOR (THE ")" OR ".") WITH A DELIMITER
  79. CHARACTER (SEE DELIMIT COMMAND) AND THE DESIRED LINES OF INPUT
  80. SEPARATED BY THE SAME DELIMITER CHARACTER. FOR EXAMPLE, THE FOLLOWING
  81. 3 SYSTEM COMMANDS WILL RESULT IN THE PRINTING OF THE LAST 5 LINES OF A
  82. DAYFILE.
  83.  
  84. BATCH
  85. /DAYFILE,TAPE1.
  86. /XEDIT,TAPE1.;XB;XN -6;P5;XQ
  87.  
  88. THE EXPRESSION FOLLOWING THE "." SHOWS EXAMPLES OF THE XEDIT "BOTTOM",
  89. "NEXT", "PRINT", AND "QUIT" COMMANDS.
  90.  
  91. AFTER THE XEDIT COMMAND IS ACCEPTED, XEDIT RESPONDS BY TYPING THE
  92. HEADER, AT THIS POINT, XEDIT WILL EITHER INDICATE A
  93. PROBLEM WITH THE SPECIFIED EDITFIL AND REQUEST THE NAME OF ANOTHER
  94. FILE -OR- WILL BEGIN EXECUTION OF THE FR AND CONTROL CARD COMMANDS.
  95. EVENTUALLY, XEDIT WILL ENTER COMMAND MODE WHICH IS SIGNALED BY A
  96. DOUBLE QUESTION MARK ("?? "). FROM THIS POINT ON, XEDIT WILL REQUEST
  97. COMMANDS BY USING THE "?? " PROMPT, AND DATA BY USING THE SINGLE
  98. QUESTION MARK PROMPT ("? ").
  99.  
  100. INITIALLY XEDIT IS IN "VERIFY" MODE. IN THIS MODE, ALL LINES OPERATED
  101. UPON ARE TYPED OUT AFTER THE OPERATION IS PERFORMED FOR VERIFICATION.
  102. THE ALTERNATIVE MODE IS "BRIEF" MODE. THIS MODE SUPPRESSES THE
  103. VERIFICATION. ADDITIONALLY, XEDIT ALLOWS ONE TO TOGGLE VERIFICATION
  104. FOR A SINGLE COMMAND BY PREFIXING THAT COMMAND WITH AN "X". THAT IS,
  105. IF XEDIT IS IN BRIEF MODE, PREFIXING A COMMAND WITH AN "X" WILL CAUSE
  106. THE COMMAND TO BE PROCESSED IN VERIFY MODE AND VICE VERSA. IT IS
  107. STRONGLY RECOMMENDED THAT VERIFY MODE BE USED IF ONE IS UNCERTAIN OF
  108. WHAT THE EDITOR IS DOING OR OF WHAT IS ON THE EDITED FILE.
  109.  
  110. DURING TEXT EDITING, XEDIT KEEPS A POINTER TO THE LINE OF THE FILE
  111. CURRENTLY BEING PROCESSED. INITIALLY THIS POINTER IS POSITIONED AT THE
  112. FIRST LINE OF THE FILE. IF A COMMAND CAUSES THE EDITOR TO ADVANCE THE
  113. POINTER IN ORDER TO COMPLETE PROCESSING OF THE COMMAND, THE NEXT
  114. COMMAND WILL BEGIN PROCESSING THE FILE AT THE NEW POSITION. THAT IS,
  115. EACH COMMAND WILL NOT AUTOMATICALLY BEGIN PROCESSING THE FILE FROM THE
  116. FIRST LINE.
  117.  
  118. IF THE EXECUTION OF A COMMAND CAUSES THE EDITOR TO REACH THE END OF
  119. INFORMATION, THE MESSAGE "END OF FILE" IS ISSUED. FURTHER PROCESSING
  120. OF THE COMMAND IS HALTED, AND THE POINTER IS POSITIONED AT THE TOP OF
  121. THE FILE.
  122.  
  123. THE GENERAL COMMAND STRUCTURE CONTAINS FIVE FIELDS, NAMELY-
  124.  
  125. PREFIX LINE COMMAND POSTFIX PARAMETER(S)
  126.  
  127. OF THE FIVE FIELDS, ONLY THE COMMAND FIELD (AND SOMETIMES THE
  128. PARAMETER(S) FIELD) IS REQUIRED. THE REMAINING FIELDS ARE USED TO
  129. EITHER MOVE THE POINTER BEFORE THE COMMAND IS EXECUTED OR TO MODIFY
  130. THE EXECUTION OF THE COMMAND. IN ALL CASES, EACH COMMAND SEQUENCE MUST
  131. BEGIN IN COLUMN ONE AND MAY NOT CONTAIN ANY IMBEDDED BLANKS. THE
  132. PARAMETER(S) FIELD, HOWEVER, MUST BE SEPARATED FROM THE COMMAND OR
  133. POSTFIX FIELD BY EITHER A BLANK OR A COMMA IF THE FIRST CHARACTER OF
  134. THE FIRST ARGUMENT IS ALPHABETIC. EXTRA SPACES AROUND ARGUMENTS ARE
  135. PERMITTED.
  136.  
  137. OF THE THREE REMAINING FIELDS, THE PREFIX AND POSTFIX FIELDS WILL BE
  138. DISCUSSED LATER. THE LINE FIELD IS USED TO POSITION THE EDITOR TO A
  139. DESIRED LINE NUMBER BEFORE EXECUTING THE COMMAND. THAT IS, IF ONE
  140. SPECIFIES A NUMBER BEFORE THE COMMAND, XEDIT WILL MOVE THE POINTER TO
  141. THE LINE IN THE FILE WHICH BEGINS WITH THAT LINE NUMBER EVEN IF THE
  142. LINE IS BEFORE THE CURRENT POINTER POSITION. IF THE DESIRED LINE
  143. CANNOT BE FOUND, XEDIT TERMINATES THE COMMAND AND ISSUES AN
  144. INFORMATIVE MESSAGE. ALSO, IF THE EDITOR IS IN "VERIFY" MODE, THE LINE
  145. WHERE THE SEARCH STOPPED IS ALSO PRINTED (THE FINAL POINTER POSITION).
  146.  
  147. IF A TERMINAL INTERRUPT IS ENTERED WHILE XEDIT IS PRINTING
  148. OUT, XEDIT WILL STOP PROCESSING THE COMMAND IT IS ON AND REQUEST A NEW
  149. COMMAND (I.E. XEDIT WILL DISCARD ANY REMAINING COMMANDS LEFT IN EITHER
  150. THE Y/Z AND/OR DELIMITED COMMAND SEQUENCE). THE POINTER WILL BE
  151. POSITIONED AT, OR ONE LINE AFTER, THE LAST LINE PROCESSED. NOTE- IF
  152. USING THE INPUT MODE ESCAPE FEATURE (SEE THE "INPUT" COMMAND), XEDIT
  153. WILL RETURN TO INPUT MODE.
  154.  
  155. THE FOLLOWING CONVENTIONS ARE OBSERVED IN THE XEDIT COMMAND
  156. DESCRIPTIONS. THE CHARACTER "/" DENOTES ANY CHARACTER (WITH THE
  157. EXCEPTION OF A NUMBER, COMMA, SPACE, OR ASTERISK) NOT FOUND IN THE
  158. STRING DELIMITED. FOR EXAMPLE-
  159.  
  160. /DELIMITED STRING/ COULD BE WRITTEN AS-
  161. ZDELIMITED STRINGZ OR
  162. 'DELIMITED STRING'
  163.  
  164. THE CHARACTERS $ AND $$ STAND FOR ANY POSITIVE INTEGER UNDER 100000.
  165. THEIR DEFAULT VALUES ARE 1 UNLESS OTHERWISE SPECIFIED. IN XEDIT
  166. COMMAND PROCESSING, THE CHARACTER * IN THE NUMERIC FIELD IN ANY
  167. COMMAND HAS THE NUMERIC VALUE 99999.
  168.  
  169. THE ABBREVIATION (IF THERE IS ONE) FOR EACH COMMAND BELOW IS ENCLOSED
  170. IN BRACKETS NEXT TO THE COMMAND.
  171. -
  172.  
  173.  
  174. ======================================================================
  175. INFORMATION COMMANDS.
  176. ======================================================================
  177. -
  178. HELP,CMD [H]
  179. ========
  180. ACTION- PRINTS HELP INFORMATION FOR THE SPECIFIC CMD. CMD MAY BE ANY
  181. XEDIT COMMAND OR COMMAND ABBREVIATION. IF CMD IS NOT SPECIFIED, AN
  182. EXPLANATION OF THE HELP COMMAND AND A LIST OF ALL XEDIT COMMANDS AND
  183. THEIR ABBREVIATIONS IS GIVEN.
  184. -
  185. EXPLAIN
  186. =======
  187. ACTION- GIVES A MORE DETAILED EXPLANATION OF THE LAST XEDIT MESSAGE.
  188. THIS COMMAND MUST BE USED IMMEDIATELY FOLLOWING THE COMMAND WHICH
  189. ISSUED THE MESSAGE(S). SUBSEQUENT EXPLAIN COMMANDS WILL EXPLAIN
  190. PREVIOUS MESSAGES UNTIL THE MESSAGES ASSOCIATED WITH THE LAST
  191. NON-EXPLAIN COMMAND ARE EXHAUSTED.
  192. -
  193. PRINT $ [P]
  194. =======
  195. ACTION- PRINTS $ LINES STARTING AT THE CURRENT POINTER POSITION. THE
  196. POINTER IS LEFT POSITIONED AT THE LAST LINE PRINTED.
  197. -
  198.  
  199.  
  200. ======================================================================
  201. COMMANDS FOR REPOSITIONING THE POINTER.
  202. ======================================================================
  203.  
  204. THE FOLLOWING COMMANDS CAN BE USED TO QUICKLY ADVANCE TO ANOTHER LINE.
  205. ALL COMMANDS IN THIS SECTION LEAVE THE POINTER AT THE LAST LINE
  206. PRINTED (ASSUMING THAT "VERIFY" MODE IS IN EFFECT).
  207. -
  208. BOTTOM [B]
  209. ======
  210. ACTION- MOVES THE POINTER TO THE LAST LINE IN THE CURRENT RECORD.
  211. -
  212. $
  213. =
  214. ACTION- A NUMBER BY ITSELF CAUSES XEDIT TO SEARCH FOR A LINE WITH A
  215. LINE NUMBER EQUAL TO $. TO ACCOMPLISH THIS SEARCH, XEDIT INITIALLY
  216. LOOKS AT THE CURRENT POSITION TO DETERMINE IF THE POINTER HAS ALREADY
  217. MOVED PAST THE DESIRED LINE. IF THIS IS THE CASE, XEDIT WILL
  218. AUTOMATICALLY RETURN TO THE TOP OF THE FILE BEFORE BEGINNING THE
  219. SEARCH. ONCE THE SEARCH IS INITIATED, XEDIT CONTINUES TO SCAN UNTIL
  220. EITHER THE DESIRED LINE OR A LINE WHOSE LINE NUMBER IS GREATER THAT $
  221. IS FOUND. THE POINTER IS LEFT AT THAT LINE.
  222. -
  223. LOCATE /STRING/ $ [L]
  224. =================
  225. ACTION- STARTING AT THE CURRENT LINE, PERFORM A STRING SEARCH FOR THE
  226. $TH LINE CONTAINING THE STRING SPECIFIED. IN VERIFY MODE, EACH LINE
  227. CONTAINING THE DELIMITED STRING IS PRINTED. IF NO TERMINATING
  228. DELIMITER IS FOUND, A DELIMITER IS ASSUMED AFTER THE LAST NONBLANK
  229. CHARACTER OF THE COMMAND LINE AND AN INFORMATIVE MESSAGE IS PROVIDED.
  230.  
  231. OTHER FORMS OF THE LOCATE COMMAND ARE-
  232.  
  233. LOCATE /STRING1...STRING2/ $ [L]
  234. ============================
  235. ACTION- LOCATES THE $TH LINE CONTAINING STRING1 WHICH IS FOLLOWED BY
  236. STRING2 SEPARATED BY ANY NUMBER OF INTERMEDIATE CHARACTERS. IN ALL
  237. OTHER WAYS THIS COMMAND IS THE SAME AS REGULAR LOCATE.
  238.  
  239. LOCATE /STRING1---STRING2/ $ [L]
  240. ============================
  241. ACTION- LOCATES THE $TH LINE CONTAINING STRING1 WHICH IS NOT FOLLOWED
  242. BY STRING2. IN ALL OTHER RESPECTS, THIS COMMAND IS IDENTICAL TO THE
  243. REGULAR LOCATE.
  244.  
  245. LOCATE /---STRING2/ $ [L]
  246. =====================
  247. ACTION- LOCATES THE $TH LINE WHICH DOES NOT CONTAIN STRING2.
  248. OTHERWISE, THIS FORM IS IDENTICAL TO THE REGULAR LOCATE.
  249.  
  250. IF THE $ FIELD IS 0 (WHICH IS DIFFERENT THAT BLANK), THEN XEDIT WILL
  251. NOT ADVANCE THE POINTER IN ORDER TO LOCATE THE STRING(S). ADDITIONALLY
  252. (IF THE STRING IS NOT FOUND), XEDIT WILL IGNORE ANY REMAINING COMMANDS
  253. ON THAT PARTICULAR COMMAND LINE (E.G. A Y/Z COMMAND OR DELIMITED
  254. COMMAND SEQUENCE). THIS FEATURE APPLIES TO ALL COMMANDS INVOLVING
  255. STRING SEARCHES.
  256.  
  257. FURTHERMORE, THE SCOPE OF ALL STRING SEARCHES CAN BE LIMITED BY THE
  258. USE OF THE "A" AND "W" POSTFIX CHARACTERS. IF ANY STRING SEARCH
  259. COMMAND IS SO MODIFIED, XEDIT WILL LIMIT THE COLUMNS IT SEARCHES
  260. ACCORDING TO THE POSTFIX (SEE THE WMARGIN COMMAND FOR INFORMATION ON
  261. SETTING THE WINDOWS). THE POSTFIX CHARACTERS PERFORM AS FOLLOWS-
  262.  
  263. THE "A" POSTFIX CAUSES XEDIT TO REQUIRE THAT THE FIRST CHARACTER OF
  264. STRING1 RESIDE WITHIN THE WINDOW. THUS, THE FOLLOWING COMMANDS WILL
  265. CAUSE XEDIT TO LOCATE A LINE WHICH BEGINS WITH THE STRING "DOCUMENT".
  266.  
  267. ?? WM,1,1
  268. ?? LA/DOCUMENT/
  269.  
  270. THE "W" POSTFIX CAUSES XEDIT TO REQUIRE THAT ALL CHARACTERS OF BOTH
  271. STRINGS (WHERE THERE ARE TWO) TO RESIDE WITHIN THE WINDOW. CAUTION-
  272. SPECIFYING A STRING WHICH HAS MORE CHARACTERS THAN THE WINDOW WILL
  273. NEVER LOCATE THE DESIRED STRING.
  274. -
  275. NEXT $ [N]
  276. ======
  277. ACTION- ADVANCES THE POINTER $ LINES FROM THE PRESENT POSITION.
  278.  
  279. NEXT -$ [N]
  280. =======
  281. ACTION- MOVES THE POINTER BACK $ LINES OR TO THE TOP OF THE FILE
  282. (WHICHEVER IS CLOSER). IF $ IS OMITTED OR EQUAL TO ZERO, NO MOVE IS
  283. PERFORMED. NOTE- THIS COMMAND IS CONSIDERABLY SLOWER THAT THE NORMAL
  284. NEXT.
  285. -
  286.  
  287.  
  288. TOP [T]
  289. ===
  290. ACTION- MOVES THE POINTER TO THE TOP OF THE FILE.
  291. -
  292.  
  293.  
  294. ======================================================================
  295. TAB CONTROL COMMANDS.
  296. ======================================================================
  297.  
  298. THE FOLLOWING COMMANDS ALL RELATE TO THE VARIOUS TAB STOPS. THE TAB
  299. STOPS ARE USED TO TABULATE WHENEVER THE TAB CHARACTER IS ENCOUNTERED
  300. IN THE DATA LINES REQUESTED BY THE "INSERT", "INSERTB", "REPLACE"
  301. COMMANDS OR WHEN THE USER IS IN "INPUT" MODE.
  302.  
  303. -
  304. DEFTAB / [DT]
  305. ========
  306. ACTION- DEFINES / AS A TAB CHARACTER. WHENEVER A / IS ENCOUNTERED IN A
  307. "REPLACE", "INSERT", "INSERTB" DATA LINE OR WHILE IN "INPUT" MODE,
  308. TABBING WILL OCCUR. THE AMOUNT OF TABBING IS CONTROLLED BY TAB STOPS
  309. (SEE "TAB" COMMAND).
  310. -
  311. TABS $ $ $ $ $ $ $ $ [TAB]
  312. ====================
  313. ACTION - DEFINES THE VALUES GIVEN AS TAB STOPS. THE TAB VALUES MUST BE
  314. IN INCREASING VALUE, AND MUST BE BETWEEN 1 AND 160. THIS COMMAND
  315. WITHOUT ANY PARAMETERS CLEARS ALL TAB STOPS. ANY TAB STOP NOT DEFINED
  316. HAS NO EFFECT OF THE TABBING, AND ANY TAB CHARACTER GIVEN IN THE INPUT
  317. LINE WHICH OCCURS PAST THE LAST TAB STOP WILL BE RETAINED WITHIN THE
  318. LINE. THE DEFAULT TAB STOPS ARE 11, 18, AND 30 (COMPASS). SEE THE
  319. "DEFTAB" COMMAND FOR INSTRUCTIONS ON SETTING THE TAB CHARACTER.
  320. -
  321. LISTAB [LT]
  322. ======
  323. ACTION- LISTS THE CURRENT TAB CHARACTER AND TAB STOPS.
  324. -
  325.  
  326.  
  327. ======================================================================
  328. INSERTING AND REPLACING ENTIRE LINES.
  329. ======================================================================
  330.  
  331. THE COMMANDS DESCRIBED BELOW ARE USED TO INSERT SMALL QUANTITIES OF
  332. TEXT. TABBING IS AVAILABLE, AND THE LINE COUNT PARAMETER CAN BE
  333. OVERRIDDEN BY ENTERING A NULL CARRIAGE RETURN IN RESPONSE TO THE DATA
  334. PROMPT.
  335. -
  336. INSERT $ [I]
  337. ========
  338. ACTION- INSERTS THE NEXT $ LINES OF INPUT AFTER THE CURRENT LINE. THE
  339. POINTER IS POSITIONED AT THE LAST LINE INSERTED. THE $ FIELD CAN BE
  340. OVERRIDDEN BY ENTERING A NULL LINE (I.E. A CARRIAGE RETURN BY ITSELF).
  341. -
  342. INSERTB $ [IB]
  343. =========
  344. ACTION- INSERTS $ LINES OF INPUT BEFORE THE CURRENT POINTER POSITION.
  345. THIS COMMAND DOES NOT ALTER THE POINTER POSITION. ALSO, THE $ FIELD
  346. CAN BE OVERRIDDEN BY ENTERING A NULL CARRIAGE RETURN.
  347. -
  348. REPLACE $ [R]
  349. =========
  350. ACTION- STARTING AT THE CURRENT POINTER POSITION, REPLACES $ LINES OF
  351. THE EDITED FILE WITH THE NEXT $ LINES OF INPUT. THE $ FIELD CAN BE
  352. OVERRIDDEN BY ENTERING A NULL CARRIAGE RETURN. THE POINTER IS LEFT
  353. POSITIONED AT THE LAST LINE REPLACED.
  354. -
  355. TOPNULL
  356. =======
  357. ACTION- SAME AS THE TOP COMMAND EXCEPT THAT A BLANK LINE IS INSERTED
  358. AS THE FIRST LINE OF THE FILE. IF THE EDIT FILE HAS LEADING RECORD
  359. MARKS BEFORE THE FIRST TEXT LINE, THIS COMMAND CAN BE USED TO POSITION
  360. THE POINTER BEFORE THOSE MARKS.
  361. -
  362.  
  363.  
  364. ======================================================================
  365. BULK INSERTION OF TEXT.
  366. ======================================================================
  367.  
  368. THE FOLLOWING COMMANDS ARE DESIGNED TO ALLOW ONE TO EASILY INSERT AN
  369. UNKNOWN QUANTITY OF TEXT INTO THE EDITED FILE.
  370. -
  371. INPUT / [A NULL LINE. I.E. A CARRIAGE RETURN]
  372. =======
  373. ACTION- TYPES OUT "INPUT" AND TAKES ALL THE LINES OF INPUT UP TO THE
  374. NEXT NULL LINE AND INSERTS THEM INTO THE FILE AFTER THE PRESENT
  375. POINTER POSITION. AFTER A NULL LINE IS TYPED, THE EDITOR RESPONDS BY
  376. TYPING OUT "EDIT", POSITIONING THE POINTER AT THE LAST LINE INPUT. AT
  377. THIS TIME, THE USER HAS RETURNED TO COMMAND MODE.
  378.  
  379. IN ADDITION, IF THE "INPUT /" FORM OF THE COMMAND IS USED, THEN XEDIT
  380. USES THE "/" AS THE "INPUT MODE ESCAPE CHARACTER". THAT IS, IF THIS
  381. CHARACTER IS USED AS THE FIRST CHARACTER OF AN INPUT LINE, XEDIT
  382. PASSES THE REMAINING CHARACTERS TO THE COMMAND PROCESSOR FOR
  383. EXECUTION.
  384.  
  385. THE ESCAPE CHARACTER IS CLEARED ONLY UPON USAGE OF ANOTHER "INPUT"
  386. COMMAND WHICH DOES NOT HAVE THE "/". SPECIFICALLY, THE ESCAPE
  387. CHARACTER REMAINS IF FORCE IF ONE SUBSEQUENTLY ENTERS AND/OR EXITS
  388. "INPUT" MODE VIA THE "NULL LINE" METHOD.
  389.  
  390. HOWEVER, XEDIT RESTRICTS THE USER TO ONLY THOSE COMMANDS WHICH DO NOT
  391. MOVE THE POINTER (WHILE THE USER IS "ESCAPED" FROM INPUT MODE). THIS
  392. MEANS THAT THE USER SHOULD USE THE "REPLACE" COMMAND RATHER THAN THE
  393. "DELETE" COMMAND IF HE WISHES TO VOID THE LAST ENTERED LINE. IF THE
  394. USER DOES WISH TO USE ONE OF THE RESTRICTED COMMANDS, XEDIT DOES ALLOW
  395. THE USER TO ENTER A MULTIPLE COMMAND STRING (SEE Y, Z AND/OR DELIMIT
  396. COMMAND) WHICH EXITS "INPUT" MODE (VIA THE "EDIT" COMMAND), EXECUTES
  397. THE DESIRED COMMAND, AND RE-ENTER "INPUT" MODE (VIA THE "INPUT /"
  398. COMMAND).
  399.  
  400. BECAUSE OF THIS RESTRICTION, XEDIT DOES NOT ALLOW THE USE OF THE $
  401. PARAMETER ON ANY COMMAND INVOLVING A STRING SEARCH. ADDITIONALLY,
  402. XEDIT WILL PERFORM THE STRING SEARCH AS IF A 0 (ZERO) WAS SPECIFIED.
  403.  
  404. NOTE- THE USER WILL ALWAYS RETURN TO INPUT MODE. THUS, IF THE COMMAND
  405. ABORTS, OR UPON SUCCESSFUL COMPLETION OF THE COMMAND, THE USER WILL
  406. RETURN TO INPUT MODE.
  407.  
  408. (BATCH USERS - SEE THE "EDIT" COMMAND.)
  409. -
  410. EDIT
  411. ====
  412. ACTION- THIS COMMAND IS THE COMPLEMENT TO THE "INPUT" COMMAND. WHEN
  413. USED WITH THE "INPUT MODE ESCAPE CHARACTER", THE COMMAND GIVES THE
  414. USER AN ALTERNATIVE METHOD OF EXITING INPUT MODE. THE COMMAND TYPES
  415. OUT "EDIT", AND EXITS INPUT MODE. IF THE USER IS NOT IN INPUT MODE,
  416. THIS COMMAND IS IGNORED.
  417.  
  418. WARNING FOR BATCH USERS. THE "INPUT" AND "EDIT" COMMANDS ARE THE ONLY
  419. WAY THAT INPUT MODE CAN BE USED. XEDIT WILL ABORT THE BATCH USER IF HE
  420. DOES NOT SPECIFY AN ESCAPE CHARACTER, OR FORGETS TO EXIT FROM INPUT
  421. MODE.
  422. -
  423. READ FNAME1 FNAME2 FNAME3
  424. =========================
  425. ACTION- READS THE LOCAL FILES FNAME1 FNAME2 ETC. INTO THE EDITED FILE
  426. AFTER THE CURRENT POINTER POSITION. THE FILES ARE READ STARTING WITH
  427. THE FIRST RECORD, CONTINUING UNTIL EITHER AN EMPTY RECORD OR AN END OF
  428. FILE (OR INFORMATION) IS SENSED. ANY RECORD MARKS EMBEDDED WITH THE
  429. "READ" OPERATION ARE COPIED TO THE WORKING FILE. AFTER EACH READ, THE
  430. POINTER IS POSITIONED AT THE LAST LINE READ. EACH FILE IS REWOUND
  431. BEFORE AND AFTER THE READ OPERATION. IF, FOR SOME REASON, THE FILE
  432. CANNOT BE READ (E.G. IT DOES NOT EXIST OR HAS AN ILLEGAL FILE NAME)
  433. PROCESSING OF THE COMMAND HALTS AT THAT POINT, NO MORE FILES ARE READ,
  434. AND AN INFORMATIVE MESSAGE IS ISSUED.
  435. -
  436. READP FNAME1 FNAME2 FNAME3 ... FNAMEN
  437. =====================================
  438. ACTION- SAME AS THE "READ" COMMAND EXCEPT THAT THE FILES ARE ACCESSED
  439. FROM THE PERMANENT FILE AREA. THE FILES CAN BE EITHER INDIRECT OR
  440. DIRECT ACCESS FILES AND ARE RETURNED AFTER THE READ OPERATION. NOTE-
  441. XEDIT OBTAINS THE FILES UNDER A SCRATCH NAME, THIS MEANS THAT DIRECT
  442. ACCESS FILES MAY OCCASIONALLY NOT BE ACCESSABLE IF ALREADY ATTACHED.
  443. -
  444.  
  445.  
  446. ======================================================================
  447. COMMANDS THAT COPY TEXT.
  448. ======================================================================
  449.  
  450. THE COMMANDS IN THIS SECTION ARE USED TO COPY PORTIONS (OR ALL) OF THE
  451. EDITED FILE TO EITHER LOCAL FILES OR TO DIRECT ACCESS FILES CURRENTLY
  452. ATTACHED IN WRITE MODE.
  453. -
  454. COPY FNAME $
  455. ============
  456. ACTION- COPIES $ LINES FROM THE EDITED FILE TO FILE "FNAME". THE
  457. POINTER IS POSITIONED AT THE LAST LINE COPIED. IN VERIFY MODE, EACH
  458. LINE COPIED IS PRINTED. THE FIRST COPY ONTO A FILE CAUSES IT TO BE
  459. REWOUND BEFORE COPYING BEGINS. CONSECUTIVE COPIES ONTO THE SAME FILE
  460. ADD INFORMATION TO THAT FILE. NOTE, XEDIT MUST BE ABLE TO WRITE ON
  461. FILE "FNAME". SPECIFICALLY, THIS MEANS THAT DIRECT ACCESS FILES MUST
  462. BE IN WRITE MODE AND THAT INDIRECT ACCESS FILES MUST NOT BE EXECUTE
  463. ONLY OR LOCKED.
  464.  
  465. THERE ARE TWO SPECIAL FILE NAMES WHICH ARE ALLOWED BY XEDIT. THE FIRST
  466. IS "OUTPUT". THIS NAME CAUSES XEDIT TO PRINT THE CONTENTS OF ALL THE
  467. LINES BETWEEN THE CURRENT POINTER POSITION AND THE FINAL LINE OF THE
  468. COPY. THIS OPTION IS ESPECIALLY DESIGNED TO BE USED WITH THE STRING
  469. SEARCH OPTIONS DESCRIBED LATER. THE OTHER RESERVED NAME IS "NULL".
  470. THIS NAME CAUSES XEDIT TO EFFECTIVELY COPY THE LINES TO A NULL FILE
  471. (I.E. TO THROW THE LINES AWAY). THIS FEATURE IS EXPRESSLY DESIGNED TO
  472. BE USED WITH THE "COPYD" COMMAND.
  473.  
  474. AS MENTIONED EARLIER, THIS COMMAND ALSO ALLOWS STRING SEARCHES TO BE
  475. INCLUDED IN THE TERMINATION REQUIREMENT. IF A STRING FIELD IS USED,
  476. XEDIT WILL COPY ALL THE LINES FROM THE CURRENT POINTER POSITION TO THE
  477. $TH OCCURANCE OF THE STRING MATCH OR TO THE "END OF FILE", WHICHEVER
  478. OCCURS FIRST. (FOR INFORMATION REGARDING THE STRING SEARCHES, SEE THE
  479. "LOCATE" COMMAND.) THE ALTERNATE FORMS ARE-
  480.  
  481. COPY FNAME /STRING/ $
  482. COPY FNAME /STRING1...STRING2/ $
  483. COPY FNAME /STRING1---STRING2/ $
  484. COPY FNAME /---STRING2/ $
  485. -
  486. FILE FNAME MODE [F]
  487. ===============
  488. ACTION- PLACES A COPY OF THE EDITED FILE ON EITHER A LOCAL FILE AND/OR
  489. A PERMANENT FILE AND CONTINUES EDITING. THE POINTER IS POSITIONED AT
  490. THE TOP OF THE FILE UPON COMPLETION OF THIS COMMAND. IN ALL OTHER
  491. RESPECTS, THIS COMMAND FUNCTIONS IDENTICALLY TO THE "END" COMMAND -
  492. THUS, SEE THE "END" COMMAND FOR A DETAILED EXPLANATION OF THE
  493. PARAMETERS.
  494. -
  495.  
  496.  
  497. ======================================================================
  498. COMMANDS THAT DELETE ENTIRE LINES.
  499. ======================================================================
  500. -
  501. DELETE $ [D]
  502. ========
  503. ACTION- DELETES $ LINES STARTING WITH THE CURRENT LINE. THE POINTER IS
  504. POSITIONED AFTER THE LAST LINE DELETED. IF THE USER IS IN VERIFY MODE,
  505. THE DELETED LINES ARE PRINTED.
  506.  
  507. ADDITIONALLY, ONE CAN SPECIFY VARIOUS STRING OPTIONS. IF A STRING IS
  508. SPECIFIED, XEDIT WILL DELETE $ LINES WHICH MATCH THE STRING
  509. SPECIFICATIONS. INFORMATION REGARDING STRING SEARCHES IS DETAILED
  510. UNDER THE "LOCATE" COMMAND. THE ADDITIONAL FORMS ARE-
  511.  
  512. DELETE /STRING/ $ [D]
  513. DELETE /STRING1...STRING2/ $ [D]
  514. DELETE /STRING1---STRING2/ $ [D]
  515. DELETE /---STRING2/ $ [D]
  516. -
  517. COPYD FNAME $
  518. =============
  519. ACTION- COPIES $ LINES TO FILE "FNAME" WHILE DELETING THE COPIED
  520. LINES. THE POINTER IS POSITIONED AFTER THE LAST LINE DELETED. FOR MORE
  521. INFORMATION REGARDING THIS COMMAND, SEE THE "COPY" COMMAND.
  522. -
  523.  
  524.  
  525. ======================================================================
  526. COMMANDS THAT CHANGE INDIVIDUAL LINES.
  527. ======================================================================
  528. -
  529. ADD $ [A]
  530. =====
  531. ACTION- TAKES THE NEXT LINE OF INPUT AND APPENDS IT TO $ LINES
  532. STARTING AT THE CURRENT POINTER POSITION. IF THE LENGTH OF THE NEW
  533. LINES EXCEED 160 CHARACTERS, AN INFORMATIVE MESSAGE IS ISSUED AND THE
  534. LINE IS TRUNCATED TO THAT LENGTH.
  535. -
  536. CHANGE /STRING1/STRING3/ $ [C]
  537. ==========================
  538. ACTION- CHANGES ALL OCCURANCES OF STRING1 TO STRING3 IN THE FIRST $
  539. LINES (STARTING AT THE POINTER) WHERE STRING1 OCCURS. STRING1 AND
  540. STRING3 ARE ARBITRARY STRINGS OF CHARACTERS AND MAY BE OF DIFFERENT
  541. LENGTH. IF THE LAST DELIMITER OF THE CHANGE COMMAND IS OMITTED, A
  542. DELIMITER IS ASSUMED AFTER THE LAST NON-BLANK CHARACTER OF THE COMMAND
  543. LINE AND A WARNING MESSAGE IS ISSUED. IF THE CHANGED LINE BECOMES
  544. LONGER THAN 160 CHARACTERS, IT IS TRUNCATED AND AN INFORMATIVE MESSAGE
  545. IS ISSUED.
  546.  
  547. OTHER FORMS OF THE CHANGE COMMAND ARE-
  548.  
  549. CHANGE /STRING1//$ [C]
  550. ==========================
  551. ACTION- IDENTICAL TO THE REGULAR CHANGE, EXCEPT THAT STRING1 IS
  552. REMOVED COMPLETELY.
  553.  
  554. CHANGE //STRING3/ $ [C]
  555. ===================
  556. ACTION- CHANGES THE NULL STRING TO STRING3. BY DEFINITION, XEDIT
  557. ASSUMES THE PRESENCE OF A NULL STRING IMMEDIATELY BEFORE THE FIRST
  558. CHARACTER WHICH IS AVAILABLE FOR SEARCHING. NORMALLY THIS CHARACTER IS
  559. THE FIRST CHARACTER OF THE LINE BUT CAN BE CHANGED VIA THE "WMARGIN"
  560. AND THE USE OF EITHER THE "A" OR "W" POSTFIX CHARACTERS. FOR EXAMPLE-
  561.  
  562. ?? WMARGIN 10,10
  563. ?? PRINT
  564. THIS IS AN EXAMPLE.
  565. ?? C//NOTE- /
  566. NOTE- THIS IS AN EXAMPLE.
  567. ?? CW//(INSERT)/
  568. NOTE- THI(INSERT)S IS AN EXAMPLE.
  569.  
  570. CHANGE /STRING1...STRING2/STRING3/ $
  571. ====================================
  572. ACTION- SIMILAR TO THE REGULAR CHANGE COMMAND EXCEPT THAT ALL
  573. CHARACTERS BETWEEN (AND INCLUDING) STRING1 AND STRING2 ARE CHANGED TO
  574. STRING3.
  575. -
  576. CHANGES /STRING1/STRING3/ $ [CS]
  577. ===========================
  578. ACTION- PERFORMS MUCH LIKE THE REGULAR CHANGE COMMAND EXCEPT THAT THE
  579. $ FIELD TAKES ON A DIFFERENT MEANING. IN THE REGULAR CHANGE COMMAND,
  580. ALL OCCURANCES OF STRING1 WHICH OCCUR IN $ LINES ARE CHANGED; IN THE
  581. CHANGES COMMAND, THE FIRST $ OCCURANCES OF STRING1 ARE CHANGE.
  582.  
  583. ALL FORMS AVAILABLE UNDER THE REGULAR CHANGE COMMAND ARE AVAILABLE
  584. UNDER THE CHANGES COMMAND.
  585. -
  586. DLBLANKS $ [DLB]
  587. ==========
  588. ACTION- DELETES ANY LEADING BLANKS FROM THE NEXT $ LINES INCLUDING THE
  589. CURRENT POINTER POSITION. BLANK LINES ARE DELETED ENTIRELY.
  590. -
  591. MODIFY [M]
  592. ======
  593. ACTION- MODIFIES THE LINE CURRENTLY POINTED AT. THE MODIFY DIRECTIVES
  594. ARE AS FOLLOWS-
  595.  
  596. DIRECTIVE EXPLANATION
  597. --------- ------------
  598. ^STRING# CAUSES THE STRING OF CHARACTERS BETWEEN THE ^ AND THE
  599. NEXT # TO BE INSERTED BEFORE THE CHARACTERS POINTED TO
  600. BY THE ^. AN ^ OR & WITHIN THE STRING IS TREATED AS A
  601. REGULAR CHARACTER. IF THE CLOSING # IS NOT SPECIFIED,
  602. XEDIT INSERTS THE REMAINDER OF THE LINE AS IF A # WAS
  603. SPECIFIED AFTER THE LAST NONBLANK CHARACTER.
  604.  
  605. THERE ARE TWO EXCEPTIONS. THE COMBINATION ^# CAUSES A #
  606. TO BE INSERTED BEFORE THE CHARACTER POINTED TO BY THE
  607. ^, AND AN ^ AS THE LAST CHARACTER OF THE DIRECTIVES
  608. CAUSES A BLANK TO BE INSERTED.
  609.  
  610. # (WHEN NOT THE FIRST # AFTER AN ^) CAUSES THE CHARACTER
  611. ABOVE IT TO BE DELETED.
  612.  
  613. & REPLACES THE CHARACTER ABOVE IT WITH A SPACE.
  614.  
  615. (SPACE) A SPACE BELOW A CHARACTER LEAVES IT UNCHANGED.
  616.  
  617. ANY OTHER CHARACTER REPLACES THE CHARACTER ABOVE IT.
  618.  
  619. THE CHARACTER # CORRESPONDS TO A SHARP (UPPER CASE 3) ON A TTY AND CDC
  620. 713 TERMINALS. THE CHARACTER ^ CORRESPONDS TO AN UP ARROW (UPPER CASE
  621. N) ON TTY TERMINALS OR A CARAT ON CDC 713 TERMINALS. THE CHARACTER &
  622. CORRESPONDS TO AN AMPERSAND (UPPER CASE 6) ON TTY AND CDC 713
  623. TERMINALS. EXAMPLE-
  624.  
  625. PRINT ORIGINAL LINE ?? PRINT
  626. 10 THIS STRING TO BE MORTIFD
  627. ISSUE MODIFY COMMAND ?? MODIFY
  628. XEDIT PRINTS THE LINE 10 THIS STRING TO BE MORTIFD
  629. THE DIRECTIVES LINE- ? ^ IS THE# D# ^IE
  630. VERIFICATION 10 THIS IS THE STRING TO BE MODIFIED
  631. -
  632. OCTCHANGE OCT1 OCT2 $ [OC]
  633. =====================
  634. ACTION- CONVERTS OCT1 AND OCT2 FROM OCTAL INTO DISPLAY CODE STRING,
  635. THEN EXECUTES THE NORMAL CHANGE COMMAND. EACH DISPLAY CODE CHARACTER
  636. MUST BE REPRESENTED BY AN EVEN NUMBER OF OCTAL DIGITS. AN ODD NUMBER
  637. OF DIGITS OR A NON-OCTAL CHARACTER WITHIN AN OCTAL PARAMETER IS
  638. ILLEGAL. CHANGING CHARACTERS TO 00 CODES MAY PRODUCE UNPREDICTABLE (OR
  639. UNDESIRABLE) RESULTS. THE OCT2 FIELD MAY BE NULL CAUSING THE
  640. OCCURANCES OF OCT1 TO BE DELETED. TO ENTER A NULL FIELD, ENTER
  641. "OCTCHANGE OCT1,,$".
  642.  
  643. -
  644. QMOD $ [QM]
  645. ======
  646. ACTION- PRINTS OUT COLUMN NUMBERS, TAKES MODIFY DIRECTIVES FROM THE
  647. NEXT LINE OF INPUT, AND USES THEM TO MODIFY $ LINES STARTING AT THE
  648. POINTER POSITION. THE POINTER IS NOT MOVED IF THE DIRECTIVES LINE IS
  649. BLANK.
  650. -
  651. YQMOD $ [YQM]
  652. =======
  653. ACTION- SAME AS QMOD EXCEPT THAT THE COLUMN NUMBERS ARE NOT PRINTED.
  654. -
  655.  
  656.  
  657. ======================================================================
  658. LINE NUMBER COMMANDS.
  659. ======================================================================
  660.  
  661. THE FOLLOWING ASSUMPTIONS APPLY TO THE "ADDLN", "ADDLNS", "DELETELN",
  662. AND "REPLACELN" COMMANDS.
  663.  
  664. 1.) THE MESSAGE "END OF FILE" IS ISSUED AFTER THE EDITOR SUCCESSFULLY
  665. COMPLETES PROCESSING OF THE COMMAND.
  666. 2.) THE POINTER IS POSITIONED AT THE TOP OF THE FILE BOTH BEFORE AND
  667. AFTER THE LINE NUMBERS ARE PROCESSED.
  668. 3.) IF THE LINE NUMBERS GET TOO LARGE (GREATER THAN 99999), THE FILE
  669. IS RESTORED TO THE STATE IT WAS IN BEFORE THE COMMAND WAS ISSUED.
  670. AN INFORMATIVE MESSAGE IS ISSUED, AND THE POINTER IS POSITIONED
  671. AT THE TOP OF THE FILE.
  672. 4.) THESE COMMANDS SHOULD NOT BE USED WHEN EDITING PROGRAMS WRITTEN
  673. IN BASIC.
  674. 5. DEFAULT VALUES ARE- $=1 $$=1.
  675.  
  676. -
  677. ADDLN $ $$ [ALN]
  678. ==========
  679. ACTION- ADDS LINE NUMBERS TO THE ENTIRE FILE. THE FIRST LINE NUMBER
  680. WILL BE $ AND THE INCREMENT WILL BE $$.
  681. -
  682. ADDLNS $ $$ [ALNS]
  683. ===========
  684. ACTION- ADDS LINE NUMBERS FOLLOWED BY ONE SPACE TO THE ENTIRE FILE.
  685. THE FIRST LINE NUMBER WILL BE $ AND THE INCREMENT WILL BE $$.
  686. -
  687. DBADL $ [DBL]
  688. =======
  689. ACTION- STARTING AT THE CURRENT POINTER POSITION, SEARCHES FOR AND
  690. DELETES $ BAD LINES. A BAD LINE IS ONE WHICH DOES NOT BEGIN WITH A
  691. LINE NUMBER. IN VERIFY MODE, ALL DELETED LINES ARE PRINTED.
  692. -
  693. DELETELN [DLN]
  694. ========
  695. ACTION- DELETES LINE NUMBERS FROM THE ENTIRE FILE. THIS COMMAND
  696. FOLLOWED BY THE "DLBLANKS" COMMAND CAN BE USED TO REMOVE LINE NUMBERS
  697. AND THE FOLLOWING BLANKS. CAUTION- IF THIS SEQUENCE IS USED, LINES
  698. CONTAINING ONLY LINE NUMBERS WILL BE DELETED ENTIRELY.
  699.  
  700.  
  701.  
  702. -
  703. FBADL $ [FBL]
  704. =======
  705. ACTION- STARTING AT THE CURRENT POINTER POSITION, SEARCHES FOR $ BAD
  706. LINES. A BAD LINE IS ONE WHICH DOES NOT BEGIN WITH A LINE NUMBER. IN
  707. VERIFY MODE, EACH BAD LINE FOUND IS PRINTED.
  708. -
  709. REPLACELN $ $$ [RLN]
  710. ==============
  711. ACTION- REPLACES LINE NUMBERS ON THE ENTIRE FILE. THE FIRST LINE
  712. NUMBER WILL BE $ AND THE INCREMENT WILL BE $$.
  713. -
  714. $
  715. =
  716. ACTION- SEARCHES THE EDITED FILE FOR A LINE WHICH BEGINS WITH THE LINE
  717. NUMBER $. IF THE LINE NUMBER OF THE CURRENT POINTER POSITION IS
  718. GREATER THAN $, THE FILE WILL BE REWOUND AND THE SEARCH BEGUN FROM THE
  719. TOP. THE SEARCH STOPS ON EITHER THE DESIRED LINE, OR THE LINE AFTER
  720. THE POSITION WHERE THE DESIRED LINE NUMBER SHOULD BE LOCATED. IN
  721. VERIFY MODE, THE FINAL POSITION IS PRINTED.
  722. -
  723.  
  724.  
  725. ======================================================================
  726. COMMANDS THAT PROCESS RECORD/FILE MARKS.
  727. ======================================================================
  728.  
  729. WITH THE EXCEPTION OF THE "DEOF" AND "DEOR" COMMANDS, XEDIT COMMANDS
  730. MAINTAIN ALL RECORD AND FILE MARKS WHICH APPEAR ON THE EDITED FILE.
  731. THE FOLLOW COMMANDS ALLOW ONE TO ADD, REMOVE OR TO CHANGE THE
  732. AUTOMATIC VERIFICATION OF THESE MARKS.
  733. -
  734. DEOF $ [DF]
  735. ======
  736. ACTION- DELETES THE NEXT $ END-OF-FILE (EOF) MARKS FROM THE EDITED
  737. FILE.
  738. -
  739. DEOR $ [DR]
  740. ======
  741. ACTION- DELETES THE NEXT $ END-OF-RECORD (EOR) MARKS FROM THE EDITED
  742. FILE.
  743. -
  744. TEOF /
  745. ======
  746. ACTION- TOGGLES THE PRINTING OF THE MESSAGE --EOF--. ALTERNATE FORMS
  747. OF THIS COMMAND ARE-
  748.  
  749. TEOF + ENABLES PRINTING.
  750. TEOF - DISABLES PRINTING.
  751. -
  752. TEOR /
  753. ======
  754. ACTION- TOGGLES THE PRINTING OF THE MESSAGE --EOR--. ALTERNATIVE FORMS
  755. OF THIS COMMAND ARE-
  756.  
  757. TEOR + ENABLES PRINTING.
  758. TEOR - DISABLES PRINTING.
  759. -
  760.  
  761. WEOF [WF]
  762. ====
  763. ACTION- WRITES AN END-OF-FILE MARK ON THE EDITED FILE BEFORE THE LINE
  764. AT THE CURRENT POINTER POSITION. NOTE- DUE TO THE DESIGN OF THE
  765. OPERATING SYSTEM, THE SYSTEM WILL OFTEN FORCE AN END-OF-RECORD MARK TO
  766. APPEAR BEFORE THE FILE MARK.
  767. -
  768. WEOR [WR]
  769. ====
  770. ACTION- WRITES AN END-O-RECORD MARK ON THE EDITED FILE BEFORE THE LINE
  771. AT THE CURRENT POINTER POSITION.
  772. -
  773.  
  774.  
  775. ======================================================================
  776. MARGIN CONTROL COMMANDS.
  777. ======================================================================
  778.  
  779. THE FOLLOWING COMMANDS RELATE TO THE VARIOUS MARGINS. WITH THE
  780. EXCEPTION OF THE "WMARGIN" COMMAND, THESE COMMANDS HAVE NO EFFECT ON
  781. ANY NON-MARGIN COMMAND. SPECIFICALLY, SETTING THE "RMARGIN" WILL NOT
  782. AUTOMATICALLY TRUNCATE THE EDITED FILE.
  783. -
  784. WMARGIN $ $$ [WM]
  785. ============
  786. ACTION- SETS THE LEFT AND RIGHT WINDOW MARGINS FOR USE BY THE "A" AND
  787. "W" POSTFIX CHARACTERS. THE MARGINS MUST BE ARRANGE SUCH THAT
  788.  
  789. 1 <= LEFT MARGIN <= RIGHT MARGIN <= 160
  790.  
  791. FOR THE USE OF THE "A" AND "W" POSTFIX CHARACTERS, SEE THE "LOCATE"
  792. COMMAND.
  793. -
  794. RMARGIN $ [RM]
  795. =========
  796. ACTION- SETS THE RIGHT MARGIN SETTING FOR USE BY THE "FINDLL" AND
  797. "TRUNCATE" COMMANDS. THE RIGHT MARGIN MUST BE BETWEEN 10 AND 160
  798. CHARACTERS, AND INITIALLY IS 160.
  799. -
  800. FINDLL $ [FLL]
  801. ========
  802. ACTION- FINDS $ LONG LINES STARTING AT THE CURRENT POINTER POSITION. A
  803. LONG LINE IS DEFINED AS A LINE WHICH CONTAINS MORE CHARACTERS THAN THE
  804. CURRENT "RMARGIN" SETTING. THIS COMMAND DOES NOT MODIFY ANY LINES.
  805. -
  806. TRUNCATE $ [TRUNC]
  807. ==========
  808. ACTION- TRUNCATES THE NEXT $ LINES TO "RMARGIN" NUMBER OF CHARACTERS
  809. STARTING WITH THE CURRENT LINE.
  810. -
  811.  
  812. ======================================================================
  813. GETTING OUT OF XEDIT.
  814. ======================================================================
  815. -
  816. END FNAME MODE [E]
  817. ==============
  818. ACTION- ENDS THE EDITING AND PLACES THE EDITED FILE WITH ALL THE
  819. CORRECTIONS ON FILE FNAME AND STORES THE FILE ACCORDING TO THE MODE
  820. SPECIFIED. THE VARIOUS MODES ARE-
  821.  
  822. SAVE OR S - EDITED FILE WILL BE A NEW PERMANENT FILE
  823. REPLACE OR R - EDITED FILE WILL REPLACE AN EXISTING FILE
  824. LOCAL OR L - EDITED FILE WILL BE BECOME A LOCAL FILE
  825. COPY OR C - EDITED FILE WILL BE COPIED ONTO FILE FNAME
  826.  
  827. ANY COMBINATION OF THE MODES CAN BE SPECIFIED PROVIDING THAT THE SHORT
  828. FORMS ARE USED. FOR EXAMPLE, SOME OF THE LEGAL COMBINATIONS ARE-
  829.  
  830. RL - A COMBINATION OF THE REPLACE AND LOCAL MODES
  831. CS - A COMBINATION OF THE COPY AND SAVE MODES
  832.  
  833. NOTE- IF THE C AND L MODES ARE SPECIFIED TOGETHER, XEDIT WILL
  834. AUTOMATICALLY CANCEL THE L MODE.
  835.  
  836. IF THE MODE IS NOT RECOGNIZED OR OMITTED, XEDIT DETERMINES THE DEFAULT
  837. FROM THE TYPE OF FILE INVOLVED. IF THE FILE IS A DIRECT ACCESS FILE,
  838. THE COPY MODE IS ASSUMED; IF THE FILE IS INDIRECT OR LOCAL, THE LOCAL
  839. MODE IS ASSUMED. NOTE- WHILE BOTH THE COPY AND LOCAL MODES END IN THE
  840. SAME RESULT IF THE FILE IS INDIRECT, THE COPY MODE TAKES CONSIDERABLY
  841. MORE TIME.
  842.  
  843. IF THE FILE NAME IS OMITTED, "EDITFIL" FROM THE XEDIT COMMAND IS
  844. ASSUMED. CAUTION - IF FNAME IS LOCKED, EXECUTE-ONLY, OR IN SOME
  845. OTHER WAY HAS WRITE PERMISSION REMOVED, THEN XEDIT VOIDS THE USE OF
  846. THE LOCAL AND COPY MODES. ALSO, XEDIT VOIDS THE LOCAL MODE IF THE FILE
  847. IS A DIRECT ACCESS FILE. THIS MEANS THAT THE BASIC END COMMAND (I.E.
  848. "END" WITH NO PARAMETERS) WILL NOT WORK IF THE INCOMING FILE HAS BEEN
  849. LOCKED. IN THIS CASE, XEDIT WILL ISSUE AN INFORMATIVE MESSAGE; IT IS
  850. STRONGLY RECOMMENDED THAT THE USER IMMEDIATELY USE THE "EXPLAIN"
  851. COMMAND FOR A DETAILED EXPLANATION.
  852. -
  853. QUIT FNAME MODE [Q]
  854. ===============
  855. ACTION- SAME AS THE END COMMAND.
  856. -
  857. STOP
  858. ====
  859. ACTION- ABORTS THE EDITOR WITHOUT WRITING CORRECTIONS ANYWHERE. THIS
  860. METHOD OF EXITING IS CONSIDERABLY FASTER THAN THE END AND QUIT
  861. COMMANDS. NOTE- IF XEDIT IS CALLED FROM WITHIN A JOB CARD STREAM OR
  862. PROCEDURE FILE, USING THIS COMMAND WILL CAUSE THE SYSTEM TO ABORT
  863. XEDIT, THUS CAUSING NORMAL EXIT CARD PROCESSING TO TAKE EFFECT.
  864. -
  865.  
  866.  
  867. ======================================================================
  868. ENTERING MULTIPLE COMMANDS/DATA ON A LINE.
  869. ======================================================================
  870.  
  871. THE FOLLOWING COMMANDS AND FORMS EACH ALLOW THE USER TO SPECIFY
  872. COMMANDS AND/OR DATA ON ONE LINE. WHILE THIS DOES NOT SAVE IT THE CPU
  873. TIME REQUIRED TO PROCESS THE COMMANDS, THIS DOES OFTEN SIGNIFICANTLY
  874. SAVE IN REAL TIME.
  875.  
  876. IN ALL CASES, THE FOLLOWING ACTIONS OCCUR-
  877.  
  878. 1. IF THE + PREFIX CHARACTER IS SPECIFIED ON A COMMAND, XEDIT ASSUMES TH
  879. THE TEXT REQUIRED TO FINISH THE COMMAND FOLLOWS THE COMMAND AS THE NEXT
  880. DELIMITED ITEM IN THE LIST. THE ONLY EXCEPTION TO THE RULE IS THE
  881. INPUT COMMAND WHICH ALWAYS OBTAINS ITS TEXT FROM THE PRIMARY INPUT
  882. SOURCE.
  883.  
  884. 2. IF XEDIT ENCOUNTERS ANY COMMAND ERROR (OTHER THAT A MISSING
  885. DELIMITER ON A STRING FIELD), XEDIT WILL ABORT ALL REMAINING COMMANDS
  886. AN RETURN TO THE PRIMARY INPUT SOURCE FOR THE NEXT COMMAND. NOTE- IF
  887. THE USER IS IN INPUT MODE, AND HAS BEEN USING THE ESCAPE FEATURE TO
  888. ENTER COMMANDS, XEDIT WILL RETURN TO INPUT MODE AND WILL EXPECT THE
  889. NEXT INPUT TEXT LINE.
  890.  
  891. 3. IF THE 0 OPTION IS USED ON A STRING SEARCH, AND THE STRING IS NOT
  892. FOUND, XEDIT WILL IGNORE ONLY THE REMAINING COMMANDS ON THAT PHYSICAL
  893. INPUT LINE. (NOTE- THE Y/Z COMMAND PARAMETER IS CONSIDERED ONE
  894. PHYSICAL INPUT LINE). I.E. IF THE FOLLOWING SEQUENCE IS USED-
  895.  
  896. ?? DEL;
  897. ?? PRINT;WHERE;Y$TOP$LOCATE/ZZZ/0$END;STOP
  898.  
  899. THEN XEDIT WILL EITHER END OR ABORT DEPENDING ON THE PRESENCE OF THE
  900. STRING "ZZZ" IN THE FIRST LINE OF THE FILE BEING EDITED.
  901. -
  902. DELIMIT / [DEL]
  903. =========
  904. ACTION- SETS THE CHARACTER / AS THE DELIMITER TO BE USED TO SEPARATE
  905. LINES OF INPUT. / MAY BE ANY CHARACTER EXCEPT SPACE, COMMA, OR
  906. ALPHABETICS. IF NO ARGUMENT IS SPECIFIED, THE DELIMITER CHARACTER IS
  907. CLEARED. FOR EXAMPLE-
  908.  
  909. ?? DEL ; (DEFINE ; AS THE DELIMITER CHARACTER)
  910. (INSERT THE NEXT 7 INPUT LINES)
  911. ?? +A;J(10);+I3;LINE1;LINE2;LINE3;XQ
  912.  
  913. IF THE DELIMIT COMMAND IS USED FROM WITHIN A "Y" OR "Z" COMMAND, THE
  914. EFFECT OF THE DELIMIT COMMAND IS SUPPRESSED UNTIL THE Y OR Z COMMAND
  915. SEQUENCE IS EXITED. IN OTHER WORDS, THE INITIAL DELIMITER ON THE Y/Z
  916. COMMAND REMAINS IN FORCE THROUGHOUT THE EXECUTION OF THE Y/Z COMMAND
  917. SEQUENCE.
  918.  
  919. THE DELIMITER CHARACTER MAY ALSO BE SET VIA THE XEDIT CONTROL CARD
  920. (SEE THE BEGINNING OF THIS WRITEUP).
  921. -
  922.  
  923. Y /COMMAND1/COMMAND2/ ... /COMMANDN
  924. ===================================
  925. ACTION- TAKES THE SPECIFIED LIST OF COMMANDS AND/OR DATA AND ENTERS IT
  926. INTO THE Y/Z COMMAND BUFFER AND THEN EXECUTES THAT BUFFER. THE NORMAL
  927. RULES REGARDING COMMAND ENTRY APPLY TO THE COMMANDS CONTAINED IN THE
  928. Y/Z LIST AND IF ANY COMMAND VIOLATES THE RULES, OR IS UNRECOGNIZED,
  929. THE REMAINING COMMANDS ARE IGNORED AND XEDIT RETURNS TO THE MAIN INPUT
  930. FILE FOR THE NEXT COMMAND. SPECIFICALLY, THIS ALLOWS COMMANDS AND
  931. DATA TO BE INTERMIXED WITHIN THE Y LIST AND ALLOWS ALL FEATURES
  932. AVAILABLE VIA THE DELIMIT COMMAND TO APPLY TO THE Y COMMAND LIST.
  933. -
  934. Z /COMMAND1/COMMAND2/ ... /COMMANDN
  935. ===================================
  936. ACTION- SAME AS THE "Y" COMMAND EXCEPT THAT THE COMMANDS ARE LISTED
  937. BEFORE BEING PROCESSED. HOWEVER, DATA ENTERED VIA THE "Z" COMMAND LIST
  938. ARE NOT LISTED.
  939. -
  940.  
  941.  
  942. ======================================================================
  943. MISCELLANEOUS COMMANDS.
  944. ======================================================================
  945. -
  946. BRIEF [B]
  947. =====
  948. ACTION- PUTS THE EDITOR INTO BRIEF MODE. IN BRIEF MODE, AUTOMATIC
  949. VERIFICATION OF COMMANDS IS SUPPRESSED. OTHER FORMS OF THIS COMMAND
  950. ARE-
  951.  
  952. BRIEF+ TURNS ON BRIEF MODE (SAME AS BRIEF)
  953. BRIEF- TURNS OFF BRIEF MODE (SAME AS VERIFY)
  954. -
  955. NOBELLS
  956. =======
  957. ACTION- REMOVES THE BELLS FROM THE XEDIT ERROR MESSAGES. THIS COMMAND
  958. HAS NO EFFECT IF THE BELLS HAVE ALREADY BEEN REMOVED VIA EITHER THE
  959. NOBELLS COMMAND OR BY BEING IN BATCH MODE. THERE IS NO REVERSE OF THIS
  960. OPERATION.
  961. -
  962. RESTORE [REST]
  963. =======
  964. ACTION- REMOVES ALL MODIFICATIONS MADE TO THE FILE SINCE THE POINTER
  965. WAS LAST AT THE TOP OF THE FILE. THE POINTER IS MOVED TO THE TOP OF
  966. THE FILE FOR THE FOLLOWING REASONS-
  967. 1. THE TOP OR TOPNULL COMMAND IS ENCOUNTERED.
  968. 2. THE ^ (UP ARROW) PREFIX CHARACTER IS ENCOUNTERED.
  969. 3. A NEXT- COMMAND IS ENCOUNTERED.
  970. 4. OR A LINE NUMBER SEARCH REQUIRING REVERSE MOTION IS ENCOUNTERED.
  971. -
  972. TRIM
  973. ====
  974. ACTION- TOGGLES THE "TRIM" FLAG. IF THE TRIM FLAG IS SET, THE XEDIT
  975. WILL IGNORE ALL TRAILING SPACES WHEN DOING ANY STRING SEARCH (E.G. THE
  976. "LOCATE" OR "CHANGE" COMMANDS). BY DEFAULT, THIS FLAG IS NOT SET.
  977. OTHER FORMS OF THIS COMMAND ARE-
  978.  
  979. TRIM+ SETS THE TRIM FLAG REGARDLESS OF ITS PREVIOUS STATE.
  980. TRIM- CLEARS THE FLAG REGARDLESS OF ITS PREVIOUS STATE.
  981. -
  982. VERIFY [V]
  983. ======
  984. ACTION- PUTS THE EDITOR INTO "VERIFY" MODE. IN VERIFY MODE ALL LINES
  985. OPERATED UPON WILL BE TYPED OUT. ALSO, WHEN AN EOR (WHICH IS NOT THE
  986. LAST EOR ON THE EDITED FILE) IS ENCOUNTERED, THE MESSAGE "--EOR--" IS
  987. OUTPUT. (THIS IS ALSO TRUE FOR END-OF-FILE MARKS). THE EDITOR IS
  988. INITIALLY IN VERIFY MODE. OTHER FORMS OF THIS COMMAND ARE-
  989.  
  990. VERIFY+ SETS THE VERIFY FLAG (SAME AS VERIFY)
  991. VERIFY- CLEARS THE VERIFY FLAG (SAME AS BRIEF)
  992. -
  993. WHERE [W]
  994. =====
  995. ACTION- PRINTS THE CURRENT LINE COUNT, I.E. THE NUMBER OF THE LINE
  996. (FROM THE FIRST LINE OF THE FILE) THE POINTER IS POINTING TO.
  997. -
  998. . $
  999. ===
  1000. ACTION- ADVANCES THE POINTER $ LINES AND EXECUTES THE LAST COMMAND
  1001. AGAIN. IF THE $ IS NULL, 1 IS ASSUMED; IF 0, THEN NO ADVANCE WILL TAKE
  1002. PLACE.
  1003. -
  1004. - $
  1005. ===
  1006. ACTION- ADVANCES THE POINTER $ LINES AND EXECUTES THE LIST OF COMMANDS
  1007. CONTAINED IN THE Y/Z COMMAND BUFFER (SEE THE Y OR Z COMMANDS). IF THE
  1008. $ IS NULL, 1 IS ASSUMED; IF 0, THEN NO ADVANCE WILL TAKE PLACE BEFORE
  1009. EXECUTING THE BUFFER.
  1010. -
  1011.  
  1012.  
  1013. ======================================================================
  1014. PREFIX CHARACTERS.
  1015. ======================================================================
  1016.  
  1017. THE FOLLOWING PREFIXES (THE FIRST FIELD IN THE XEDIT COMMAND SYNTAX)
  1018. ARE OPTIONAL ON ANY COMMAND. THEY MAY APPEAR IN ANY ORDER AND ARE
  1019. EXECUTED IMMEDIATELY. IF A PREFIX CHARACTER IS DUPLICATED, XEDIT WILL
  1020. PERFORM THE OPERATION DESCRIBED THAT MANY TIMES.
  1021. -
  1022. X*****
  1023. ======
  1024. ACTION- CHANGES THE VERIFICATION STATUS OF THE COMMAND ***** FROM THE
  1025. STATUS SET BY THE BRIEF OR VERIFY COMMANDS.
  1026. -
  1027. +*****
  1028. ======
  1029. ACTION- CAUSES THE TEXT REQUIRED BY COMMAND ***** TO BE OBTAINED FROM
  1030. THE NEXT FIELD IN EITHER A DELIMITED OR Y/Z COMMAND SEQUENCE RATHER
  1031. THAN THE PRIMARY INPUT SOURCE.
  1032. -
  1033. /*****
  1034. ======
  1035. ACTION- ADVANCE THE POINTER 1 LINE BEFORE PROCESSING COMMAND *****.
  1036. -
  1037.  
  1038. ^*****
  1039. ======
  1040. ACTION- MOVE THE POINTER TO THE TOP OF THE FILE BEFORE PROCESSING THE
  1041. COMMAND *****.
  1042. -
  1043.  
  1044.  
  1045. ======================================================================
  1046. POSTFIX CHARACTERS.
  1047. ======================================================================
  1048. -
  1049. *****W
  1050. ======
  1051. ACTION- SETS THE WINDOW OPTION FOR ANY COMMAND INVOLVING A STRING
  1052. SEARCH. WHEN THE WINDOW OPTION IS SELECTED, XEDIT REQUIRES THAT ALL
  1053. CHARACTERS IN THE STRING SEARCH RESIDE WITHIN THE WINDOW MARGINS (SEE
  1054. THE WMARGIN COMMAND). ADDITIONALLY, THIS OPTION IMPLIES THE SELECTION
  1055. OF THE TRIM OPTION (SEE THE TRIM COMMAND). WARNING- UNEXPECTED RESULTS
  1056. MAY OCCUR IF THIS OPTION IS USED WITH THE "OCTCHANGE" COMMAND.
  1057. -
  1058. *****A
  1059. ======
  1060. ACTION- SETS THE ANCHOR OPTION FOR COMMAND ***** (ONLY HAS EFFECT IF
  1061. COMMAND ***** INVOLVES A STRING SEARCH). WHEN THE ANCHOR OPTION IS
  1062. SELECTED, XEDIT REQUIRES THAT THE FIRST CHARACTER OF THE PATTERN
  1063. STRING RESIDE WITHIN THE WINDOW (SEE THE WMARGIN COMMAND). WARNING-
  1064. UNEXPECTED RESULTS MAY OCCUR IF THIS OPTION IS USED WITH THE
  1065. "OCTCHANGE" COMMAND.
  1066. -
  1067.  
  1068.  
  1069. ======================================================================
  1070. MESSAGES FROM XEDIT.
  1071. ======================================================================
  1072.  
  1073. IN THE FOLLOWING LIST OF MESSAGES, ANYTHING ENCLOSED IN BRACKETS IS A
  1074. DESCRIPTION OF WHAT APPEARS THERE DURING EXECUTION. ALSO, THIS LIST IS
  1075. ONLY ACCURATE WITH THOSE MESSAGES WITH XEDIT PRODUCES. VARIOUS SYSTEM
  1076. MESSAGES HAVE BEEN CONTAINED IN THIS LIST (AND ARE SO NOTED). WHERE
  1077. THESE OCCUR, A PROBABLE CAUSE HAS BEEN SUGGESTED ALTHOUGH THEY MAY
  1078. OCCUR FOR OTHER REASONS.
  1079.  
  1080. MESSAGE EXPLANATION
  1081. ------- ------------
  1082.  
  1083. ABORTED XEDIT HAS ABORTED (IN RESPONSE TO THE "STOP"
  1084. COMMAND).
  1085.  
  1086. ARGUMENT ERROR ISSUED FOR A VARIETY OF REASONS, INCLUDING-
  1087.  
  1088. 1. IN A COMMAND INVOLVING A STRING SEARCH.
  1089. IF A STRING FIELD IS REQUIRED AND IT IS
  1090. MISSING. NOTE THAT THE FORMS "/.../" AND
  1091. "/---/" DO NOT CONSTITUTE LEGAL STRING
  1092. FIELDS.
  1093.  
  1094. 2. IN A COMMAND INVOLVING A STRING CHANGE.
  1095. IF THE SECOND STRING FIELD IS REQUIRED AND
  1096. IT IS MISSING.
  1097.  
  1098. 3. IF ENTERING COMMANDS VIA THE INPUT MODE
  1099. ESCAPE CHARACTER (SEE THE INPUT COMMAND) AND
  1100. A PARAMETER OTHER THAN 0 IS USED ON ANY
  1101. COMMAND WHICH MIGHT POSSIBLY MOVE THE
  1102. POINTER. SOME OF THE AFFECTED COMMANDS ARE-
  1103. "CHANGE", "LOCATE", AND "REPLACE".
  1104.  
  1105. 4. RELATED TO POINT 3. THIS RESTRICTION ALSO
  1106. APPLIES TO ANY PREFIX CHARACTER WHICH MOVES
  1107. THE POINTER, AND TO THE LINE NUMBER FIELD OF
  1108. THE COMMANDS.
  1109.  
  1110. 5. IF THE ARGUMENTS ON A COMMAND ARE ILLEGAL
  1111. OR MISSING.
  1112.  
  1113. 6. IN OCTCHANGE, IF THE SPECIFIED OCTAL
  1114. NUMBER(S) DO NOT CONTAIN OCTAL OR AN EVEN
  1115. NUMBER OF DIGITS.
  1116.  
  1117. BAD TEXT LINE ENCOUNTERED ISSUED WHEN XEDIT DETECTS THAT THE LAST
  1118. WORD BEFORE A FILE MARK (EOR/EOF/EOI) DOES
  1119. NOT CONTAIN A PROPER LINE TERMINATOR. THIS
  1120. WILL USUALLY OCCUR FOR THE FOLLOWING
  1121. REASONS.
  1122.  
  1123. 1. THE FILE YOU ARE TRYING TO EDIT IS A
  1124. BINARY OR OTHER NON-TEXT TYPE FILE.
  1125.  
  1126. 2. THE FILE BEING EDITED HAS BEEN CREATED BY
  1127. USING THE TELEX "TEXT" COMMAND; AND, UPON
  1128. LEAVING TEXT MODE, THE FILE HAS NOT BEEN
  1129. PACKED.
  1130.  
  1131. THIS ERROR CAUSES AN IMMEDIATE ABORT OF
  1132. XEDIT, ALL FILES ARE RESTORED. THIS
  1133. CONDITION CAN BE REMEDIED BY EITHER USING
  1134. THE PACK COMMAND, OR BY USING THE COPYCF
  1135. COMMAND (WHERE APPROPRIATE).
  1136.  
  1137. BAD FILE NAME ISSUE IF THE SPECIFIED FILE NAME CONTAINS
  1138. BAD CHARACTERS OR IS OVER 7 CHARACTERS -OR-
  1139. THE FILE NAME IS MISSING -OR- THE FILE NAME
  1140. IS RESERVED BY XEDIT.
  1141.  
  1142. BATCH ABORT - COMMAND ERROR. A SYNTAX ERROR (EXCLUDING THE
  1143. DELIMITER ERROR) WAS ENCOUNTERED WHILE XEDIT
  1144. IS OPERATING UNDER BATCH MODE. XEDIT ABORTS
  1145. RATHER THAN CONTINUING TO EXECUTE, POSSIBLY
  1146. RUINING THE FILE.
  1147.  
  1148. BATCH ABORT - RETRY COUNT EXCEEDED. WHILE OPERATING UNDER BATCH
  1149. MODE, XEDIT ALLOWS ONLY ONE RETRY WHEN
  1150. TRYING TO OBTAIN THE NAME OF THE EDIT FILE.
  1151. I.E., THIS MESSAGE WILL BE ISSUED IN PLACE
  1152. OF THE SECOND OCCURANCE OF THE MESSAGE "NAME
  1153. EDIT FILE". ADDITIONALLY, XEDIT WILL ABORT.
  1154.  
  1155. BATCH MODE ABORT. END OF RECORD ENCOUNTERED. WHILE OPERATION IN BATCH
  1156. MODE - AN EOR, EOF OR EOI WAS ENCOUNTERED ON
  1157. THE PRIMARY INPUT FILE.
  1158.  
  1159. CANNOT EDIT EXECUTE ONLY FILES. THE SPECIFIED EDIT FILE IS
  1160. EXECUTE ONLY. XEDIT WILL QUERY THE USER FOR
  1161. THE NAME OF ANOTHER FILE.
  1162.  
  1163. COMMAND NOT VALID ISSUES IN INPUT MODE IF THE DESIRED COMMAND
  1164. WILL ALWAYS MOVE THE POINTER (E.G. "DELETE",
  1165. "END", ETC.).
  1166.  
  1167. ISSUED IN CREATION MODE IF THE DESIRED
  1168. COMMAND ASSUMES THE PRESENCE OF A TEXT LINE.
  1169. CREATION MODE IS AUTOMATICALLY EXITED ONCE
  1170. THE INITIAL LINE OF TEXT HAS BEEN INSERTED
  1171. INTO THE FILE.
  1172.  
  1173. COMMAND STACKING ERROR AN ATTEMPT WAS MADE TO RECURSIVELY CALL AN
  1174. INPUT MEDIUM. THIS ERROR NORMALLY OCCURS
  1175. WHEN ONE TRIES TO EXECUTE THE Y/Z COMMAND
  1176. BUFFER FROM WITHIN THE Y/Z COMMAND SEQUENCE
  1177. (SEE THE Y/Z COMMANDS FOR RULES REGULATING
  1178. THIS) -OR- BY TRYING TO USE THE INPUT MODE
  1179. ESCAPE CHARACTER AFTER STACKING INPUT
  1180. COMMANDS.
  1181.  
  1182. DELIMITER THE CLOSING DELIMITER IN A DELIMITED STRING
  1183. FIELD IS MISSING. THIS MESSAGE IS SHOULD BE
  1184. CONSIDERED AS A CAUTION.
  1185.  
  1186. EDIT INPUT MODE HAS BEEN EXITED. THIS MESSAGE IS
  1187. ALSO ISSUED ANYTIME THE EDIT COMMAND IS
  1188. USED, REGARDLESS OF WHETHER THE USER IS IN
  1189. INPUT MODE.
  1190.  
  1191. EMPTY OR FILE NOT FOUND THE SPECIFIED EDIT FILE IS NOT LOCAL TO
  1192. THE USER, ELSE THE FILE IS NULL.
  1193.  
  1194. --EOR-- AN END-OF-RECORD MARK HAS BEEN READ FROM THE
  1195. EDIT FILE, AND, UNLESS A "DEOR" COMMAND IS
  1196. BEING PROCESSED, IT HAS BEEN RETAINED.
  1197.  
  1198. --EOF-- AN END-OF-FILE MARK HAS BEEN READ FROM THE
  1199. EDIT FILE, AND, UNLESS A "DEOF" COMMAND IS
  1200. BEING PROCESSED, IT HAS BEEN RETAINED.
  1201.  
  1202. END OF FILE THE END-OF-INFORMATION HAS BEEN ENCOUNTERED
  1203. ON THE EDIT FILE. PROCESSING OF THE LAST
  1204. COMMAND CEASES, AND THE POINTER IS MOVED TO
  1205. THE TOP OF THE FILE.
  1206.  
  1207. ERROR IN XEDIT ARGUMENTS SELF-EXPLANATORY.
  1208.  
  1209. FILE FUNCTION ILLEGAL THE SPECIFIED OPTION ON AN "END", "FILE", OR
  1210. "QUIT" COMMANDS IS NOT LEGAL FOR THE FILE
  1211. SPECIFIED. THIS INCLUDES-
  1212.  
  1213. 1. USING THE "L" OPTION WITH A DIRECT ACCESS
  1214. FILE.
  1215.  
  1216. 2. USING THE "C" OPTION WHEN THE SPECIFIED
  1217. FILE CANNOT BE WRITTEN ON.
  1218.  
  1219. [FILE] IS A LOCAL FILE THE EDITED FILE WAS WRITTEN ONTO THE LOCAL
  1220. FILE [FILE].
  1221.  
  1222. FILE NAME CONFLICT THE SAME FILE NAME(S) HAVE BEEN USED MORE
  1223. THAN ONCE ON THE XEDIT CONTROL CARD.
  1224.  
  1225. FILE NOT XEDITABLE THE SPECIFIED EDIT FILE DOES NOT CONTAIN A
  1226. LEGAL LINE, BUT IS NOT EMPTY. ONE INSTANCE
  1227. OF THIS WOULD BE A FILE CONTAINING MORE THAN
  1228. ONE END-OF-RECORD (EOR) MARK, BUT WITH NO
  1229. DATA CONTAINED WITHIN THE RECORDS.
  1230.  
  1231. [FILE] REPLACED THE EDITED FILE WAS WRITTEN TO THE PERMANENT
  1232. FILE AREA REPLACING AN EXISTING INDIRECT
  1233. ACCESS FILE.
  1234.  
  1235. [FILE] REWRITTEN [FILE] WAS REWOUND AND THE EDITED FILE WAS
  1236. WRITTEN ONTO IT. IF [FILE] IS A DIRECT
  1237. ACCESS FILE, THIS HAS UPDATED THE PERMANENT
  1238. COPY OF THE FILE. IF [FILE] IS AN INDIRECT
  1239. ACCESS FILE, ONLY THE LOCAL COPY OF THE FILE
  1240. HAS BEEN UPDATED.
  1241.  
  1242. [FILE] SAVED THE EDITED FILE WAS WRITTEN TO THE PERMANENT
  1243. FILE AREA AS AN INDIRECT ACCESS FILE.
  1244.  
  1245. [FILE] TOO LONG (SYSTEM MESSAGE) XEDIT ATTEMPTED TO SAVE OR
  1246. REPLACE A FILE THAT WAS LONGER THAN THE
  1247. MAXIMUM INDIRECT ACCESS FILE SIZE ALLOWED.
  1248.  
  1249. ILLEGAL DELIMITER CHARACTER THE DELIMITER SPECIFIED VIA THE XEDIT
  1250. CONTROL CARD (THE CHARACTER IMMEDIATELY
  1251. FOLLOWING THE "." OR ")") IS AN ILLEGAL
  1252. DELIMITER CHARACTER.
  1253.  
  1254. ILLEGAL PARAMETER 1. AN ATTEMPT WAS MADE TO DEFINE AN
  1255. ALPHABETIC COMMAND DELIMITER.
  1256.  
  1257. 2. THE COMMAND HAS DATA AFTER THE LAST
  1258. PARAMETER.
  1259.  
  1260. 3. AN ATTEMPT WAS MADE TO SET THE VALUE OF
  1261. RMARGIN TO LESS THAT 10 OR GREATER THAT 160.
  1262.  
  1263. 4. THE SPECIFIED TAB STOPS ARE NOT IN
  1264. INCREASING ORDER AND/OR ARE NOT BETWEEN 1
  1265. AND 160.
  1266.  
  1267. INPUT XEDIT HAS ENTERED INPUT MODE.
  1268.  
  1269. LINE NUMBER NOT FOUND, COMMAND NOT EXECUTED
  1270. THE SPECIFIED LINE NUMBER PREFIX SPECIFIED A
  1271. LINE NUMBER WHICH IS NOT IN THE FILE.
  1272.  
  1273. LINE NUMBER TOO LARGE THE NEW LINE NUMBER IN THE "ADDLN",
  1274. "ADDLNS", OR "REPLACELN" COMMANDS HAS
  1275. EXCEEDED 99999.
  1276.  
  1277. LOCAL FILE ERROR THE ATTEMPT TO MAKE THE SPECIFIED FILE LOCAL
  1278. HAS FAILED. THIS ERROR SHOULD NEVER OCCUR -
  1279. IF IT DOES, PLEASE NOTIFY A CONSULTANT.
  1280.  
  1281. NAME EDIT FILE THE SPECIFIED EDIT FILE IS NOT AVAILABLE FOR
  1282. EDITING. THUS, XEDIT IS ASKING FOR THE NAME
  1283. OF ANOTHER NAME TO EDIT. NOTE- THE MESSAGE
  1284. ISSUED IMMEDIATELY BEFORE THIS IS REASON WHY
  1285. THE SPECIFIED FILE IS NOT AVAILABLE.
  1286.  
  1287. NO SUCH COMMAND THE COMMAND IS ILLEGAL OF AN IMPROPER
  1288. SEPARATOR WAS USED AFTER THE COMMAND.
  1289.  
  1290. STRING NOT FOUND THE SPECIFIED STRING COULD NOT BE LOCATED ON
  1291. THE CURRENT LINE AND THE 0 OPTION WAS USED
  1292. (SEE THE "LOCATE" COMMAND).
  1293.  
  1294. XEDIT 3.1.00 THIS IS THE XEDIT VERSION NUMBER. IT
  1295. IS ISSUED IMMEDIATELY AFTER THE XEDIT
  1296. CONTROL CARD IS HONORED AND MAY BE CANCELLED
  1297. BY THE USE OF THE *NH* PARAMETER ON THE
  1298. CONTROL CARD. THE FIRST NUMBER INDICATES THE
  1299. NUMBER OF TIMES XEDIT HAS UNDERGONE MAJOR
  1300. REVISION. THE SECOND NUMBER IS THE NUMBER OF
  1301. TIMES EXTERNAL MODIFICATIONS HAVE BEEN MADE
  1302. (SINCE THE LAST MAJOR REVISION), AND THE
  1303. THIRD NUMBER IS THE NUMBER OF INTERNAL
  1304. MODIFICATIONS SINCE THE LAST EXTERNAL
  1305. MODIFICATION. THUS, THIS DOCUMENTATION IS
  1306. ACCURATE UNTIL VERSION 3.1.X.
  1307.  
  1308. YOU DELETED THE ENTIRE FILE XEDIT CANNOT FIND A LINE AT WHICH TO
  1309. POSITION THE POINTER. THE ORIGINAL EDIT FILE
  1310. REMAINS UNCHANGED AND THE EDITOR STOPS.
  1311.  
  1312.  
  1313. ======================================================================
  1314. ADVANCED THOUGHTS AND TOPICS.
  1315. (NOT FOR BEGINNERS).
  1316. ======================================================================
  1317.  
  1318. FROM VARIOUS FEEDBACK AND QUESTIONS RECEIVED FROM VARIOUS USERS, IT
  1319. HAS BEEN REALIZED THAT A SHORT SECTION ON HINTS WOULD BE WELCOMED.
  1320. THIS SECTION CONTAINS COMBINATIONS OF COMMANDS WHICH ALLOW XEDIT TO
  1321. PERFORM OPERATIONS NOT EASILY SEEN FROM THE INDIVIDUAL COMMANDS.
  1322. ADDITIONALLY, THIS SECTION CONTAINS VARIOUS HINTS ON DECREASING THE
  1323. CPU TIME REQUIRED BY XEDIT AND MISCELLANEOUS NOTES WHICH MAY BE OF
  1324. INTEREST TO THE ADVANCED USER.
  1325.  
  1326. MAKING BETTER USE OF THE CPU.
  1327.  
  1328. 1. PERHAPS THE EASIEST WAY TO SAVE CPU COSTS IS TO MAKE ALL CHANGES TO
  1329. THE FILE PROGRESSIVELY. THAT IS, AVOID ALL USAGE OF THE "NEXT-" COMMAND
  1330. WHEN AT ALL POSSIBLE. IT IS ALMOST AS EFFICIENT TO MAKE TWO PASSES
  1331. THROUGH A FILE AS IT IS TO USE THE "NEXT-" COMMAND.
  1332.  
  1333. 2. ESPECIALLY IF EDITING LARGE FILES, CONSIDERABLE SAVINGS CAN BE HAD
  1334. IN BACKING UP IN THE FILE IF ONE USES THE "WHERE" COMMAND (TO
  1335. DETERMINE THE PRESENT LOCATION) AND THEN USES THE "TOP" AND "NEXT $"
  1336. COMMANDS TO TRAVEL TO THE DESIRED LINE (THE $ IS THE LINE NUMBER
  1337. DESIRED -1) RATHER THAN THE EASIER (IN SOME CIRCUMSTANCES) SEQUENCE OF
  1338. "TOP" AND "LOCATE/STRING/". (STRING SEARCHES ARE AROUND 5 TIMES SLOWER
  1339. THAN THE "NEXT" COMMAND).
  1340.  
  1341.  
  1342.  
  1343.  
  1344. EDITING ON AN UNSTABLE SYSTEM
  1345. OR
  1346. HOW TO RECOVER MODIFICATIONS IF TERMINATED.
  1347.  
  1348. TO DO THIS SIMPLY REQUIRES SOME KNOWLEDGE OF HOW XEDIT WORKS.
  1349. BASICALLY, XEDIT TAKES YOUR FILE AND TRANSFERS THE INFORMATION (ALONG
  1350. WITH ANY MODIFICATIONS) TO ONE OF TWO SCRATCH FILES. AFTER THE INITIAL
  1351. PASS, XEDIT THEN TRANSFERS THE INFORMATION BETWEEN THE TWO SCRATCH
  1352. FILES. WHEN XEDIT ENDS, THE SCRATCH FILES ARE EITHER RENAMED OR THE
  1353. INFORMATION IS COPIED TO THE DESIRED FILE. THUS, TO RE-ENTER XEDIT IF
  1354. XEDIT TERMINATES DUE TO A SYSTEM ABORT, TRACK LIMIT OR OTHER
  1355. UNEXPECTED ERROR, TAKE A LOOK AT THE SCRATCH FILES "SCRA" AND "SCRB".
  1356. NORMALLY (ASSUMING THAT YOU ARE ADDING MORE TEXT THAT REMOVING) THE
  1357. MOST UP-TO-DATE COPY OF THE FILE IS USUALLY THE LONGER FILE. NOTE- NOT
  1358. ALL YOUR CHANGES WILL BE ON THIS FILE (IT WILL BEHAVE AS IF A RESTORE
  1359. COMMAND HAD BEEN ISSUED) AND IT WILL HAVE TO BE RENAMED BEFORE
  1360. RE-ENTERING XEDIT.
  1361.  
  1362. IF EDITING ON A HIGHLY UNSTABLE SYSTEM, ONE CAN ASSURE THAT HE WILL
  1363. HAVE THE FILES "SCRA" AND "SCRB" IF HE DEFINES, AND ATTACHES, THEM
  1364. PRIOR TO EACH XEDIT RUN.)
  1365.  
  1366.  
  1367. QUICK CREATION OF A TEXT FILE.
  1368.  
  1369. WITH THE ADDITION OF THE INPUT AND EDIT COMMANDS, ALONG WITH THE INPUT
  1370. MODE ESCAPE CHARACTER, ONE CAN EASILY CREATE HIS INITIAL FILE USING
  1371. THE NORMAL TEXT MODE. THE FIRST FEW LINES ON THIS FILE SHOULD CONTAIN
  1372. XEDIT DIRECTIVES INITIALIZING THE TAB CHARACTER AND ETC. THEN THE
  1373. COMMAND INPUT (WITH THE ESCAPE) IS INPUTTED AND THE DESIRED TEXT IS
  1374. ENTERED. FOLLOWING THIS IS THE EDIT COMMAND FOLLOWED BY THE END
  1375. COMMAND. AFTER PACKING THE FILE, THE XEDIT COMMAND IS USED ALONG WITH
  1376. THE PROPER OPTIONS. AN EXAMPLE OF THIS FOLLOWS.
  1377.  
  1378.  
  1379. /NEW,FILE
  1380. /TEXT
  1381. ENTER TEXT MODE.
  1382.  
  1383. DT%
  1384. TABS 7
  1385. INPUT-
  1386. %PROGRAM ZZZ (INPUT,OUTPUT)
  1387. 10%I = 0
  1388. ... REMAINDER OF TEXT ...
  1389. %END
  1390. -EDIT
  1391. END
  1392. (BREAK/INTERRUPT)
  1393. EXIT TEXT MODE.
  1394. /PACK
  1395. PACK COMPLETE.
  1396. /XEDIT,C,C,I=FILE.
  1397. XEDIT 3.1.0
  1398. INPUT
  1399. EDIT
  1400. C IS A LOCAL FILE
  1401. /
  1402.  
  1403.  
  1404. COPYING, MOVING AND DITTOING TEXT.
  1405.  
  1406. WHILE XEDIT DOES NOT HAVE ONE COMMAND WHICH WILL AUTOMATICALLY MOVE
  1407. TEXT, IT DOES HAVE TWO VERY USEFUL PRIMATIVES WHICH ALLOW TEXT
  1408. MOVEMENT TO BE DONE WITHOUT TOO MUCH BOTHER. THE COMMANDS ARE
  1409. "COPY"/"COPYD" AND "READ". BY THE USE OF THESE TWO COMMANDS, ONE CAN,
  1410. WITHOUT TOO MUCH BOTHER, COPY A PORTION OF TEXT TO A SCRATCH FILE AND
  1411. READ IT IN ELSEWHERE. ADDITIONALLY, ONE CAN PROCEED TO RE-READ IT IN
  1412. AGAIN, THUS PERFORMING A DITTO FUNCTION. THE "COPYD" COMMAND ALLOWS
  1413. THE TEXT TO BE REMOVED FROM THE EDIT FILE FOR INSERTION LATER.
  1414.  
  1415.  
  1416. REPEATING SEQUENCES OF COMMANDS.
  1417.  
  1418. OFTEN IT IS DESIRED TO HAVE A SEQUENCE OF COMMANDS REPEAT OVER AN
  1419. ENTIRE FILE. BY USING THE Y OR Z COMMANDS, ONE CAN SAVE THE RE-TYPING
  1420. OF ALL THE COMMANDS, BUT MUST STILL REPEATEDLY ENTER THE "-" COMMAND.
  1421. BY MAKING USE OF THE 0 OPTION ON STRING SEARCHES (SEE THE LOCATE
  1422. COMMAND), ONE CAN (CAREFULLY) CONSTRUCT HIS OWN COMMAND SEQUENCES.
  1423. REMEMBERING THAT THE 0 OPTION CAUSES XEDIT TO IGNORE THE REMAINING
  1424. COMMANDS ON A LINE IF THE DESIRED STRING IS NOT ON THE CURRENT LINE,
  1425. ONE CAN CONSTRUCT COMPLEX LOOPS WITHIN A Y OR Z COMMAND. THE SUCCESS
  1426. OF THESE LOOPS REQUIRES CAREFUL THOUGHT AND THE TERMINATION TEST MUST
  1427. BE THOUGHT OUT CAREFULLY. IMPROPERLY CODING A LOOP CAN CAUSE XEDIT TO
  1428. EFFECTIVELY HANG UNTIL TIME LIMIT. THE EXAMPLE SHOWN ASSUMES THAT THE
  1429. STRING "ABCD" IS NOT CONTAINED IN THE FIRST LINE OF THE FILE.
  1430.  
  1431. REPLACING ALL LINES CONTAINING THE STRING "ABCD" BY THE LINE "FOUND
  1432. ONE" CAN BE DONE BY-
  1433.  
  1434. ?? TOP
  1435. ?? Y$LOCATE/ABCD/$L/ABCD/0$+REPLACE$FOUND ONE$-
  1436.  
  1437. THE COMMAND OPERATES AS FOLLOWS-
  1438.  
  1439. 1. ADVANCE THE POINTER TO THE STRING "ABCD". (IF THIS COMMAND
  1440. ENCOUNTERS THE END-OF-FILE, RETURN TO THE FIRST LINE OF THE FILE WHICH
  1441. DOES NOT CONTAIN THE STRING "ABCD".
  1442.  
  1443. 2. CHECK TO SEE IF THE CURRENT LINE CONTAINS THE STRING "ABCD". THIS
  1444. TEST WILL FAIL ONLY WHEN THE END-OF-FILE HAS BEEN ENCOUNTERED (AND THE
  1445. Y COMMAND WILL BE EXITED).
  1446.  
  1447. 3. AS THE STRING "ABCD" HAS BEEN FOUND, CONTINUE TO THE "REPLACE"
  1448. COMMAND. THE DATA FOR THE REPLACE (SINCE THE + PREFIX IS NOT USED) IS
  1449. THE NEXT PHRASE ON THE LINE (OR "FOUND ONE").
  1450.  
  1451. 4. EXECUTE THE LAST Y/Z COMMAND (THE "-" COMMAND). THIS LOOPING WORKS
  1452. SINCE THE - COMMAND IS THE LAST COMMAND ON THE Y/Z LINE. IF THE
  1453. COMMAND WAS LOCATED IN ANY OTHER PART OF THE LINE, XEDIT WOULD ISSUE
  1454. THE ERROR "COMMAND STACKING ERROR".
  1455.  
  1456.  
  1457. ======================================================================
  1458.  
  1459. THE FOLLOWING IS A SAMPLE USE OF SOME OF THE COMMANDS IN XEDIT. SOME
  1460. COMMENTS APPEAR IN BRACKETS NEXT TO NOTABLE LINES.
  1461.  
  1462. NEW,SAMPLE [CREATE A NEW FILE CALLED SAMPLE]
  1463. READY
  1464. AUTO
  1465. 00100 PROGRAM(INPUT,OUTPUT
  1466. 00110 PRINT,*INPUT YOUR EYE QUEUE*
  1467. 00120 READ,IQ
  1468. 00130 J=SQRT(FLOAT(IQ))
  1469. 00140 IP=10HPRIME
  1470. 00150 DO I=2,J
  1471. 00160 IF(MOD(IQ,I).EQ.0)IP=10HNOT PRIME
  1472. 00170 10 CONTINUE
  1473. 00180 PRINT 400,IQ,IP
  1474. 00190 400 FORMAT(*YOR IQ - *I10* IS *A10*)
  1475. 00200 STOP $
  1476. 00210 *DEL*
  1477. SAVE
  1478. READY
  1479. XEDIT [CALL UP XEDIT]
  1480. XEDIT 3.1.0 [XEDIT ACKNOWLEDGES]
  1481. ?? C/YIR/YOUR/ [TRY TO FIX MISSPELLING]
  1482. END OF FILE ["YIR" COULD NOT BE FOUND]
  1483. ?? C$YOR$YOUR [TRY TO FIX MISSPELLING]
  1484. DELIMITER [THE CLOSING $ IS MISSING]
  1485. 00190 400 FORMAT(*YOUR IQ - *I10* IS *A10*) [VERIFICATION]
  1486. ?? 115MODIFY [ATTEMPT TO MODIFY LINE NUMBERED 115]
  1487. LINE NUMBER NOT FOUND, COMMAND NOT EXECUTED
  1488. 00120 READ,IQ [LINE 115 WAS NOT FOUND, POINTER AT 120]
  1489. ?? X190M [MODIFY LINE NUMBERED 190 (IN BRIEF MODE)]
  1490. 00190 400 FORMAT(*YOUR IQ - *I10* IS *A10*)
  1491. ? # [REMOVE THE EXTRA *]
  1492. ?? C/$/$ END/ [ADD THE END STATEMENT]
  1493. 00200 STOP $ END [VERIFICATION]
  1494. ?? TOP [SET THE POINTER TO THE TOP]
  1495. ?? A [ADD THE TRAILING ")"]
  1496. ? )
  1497. 00100 PROGRAM(INPUT,OUTPUT) [VERIFICATION]
  1498. ?? M
  1499. 00100 PROGRAM(INPUT,OUTPUT)
  1500. ^ TEST # [ADD THE PROGRAM NAME]
  1501. 00100 PROGRAM TEST (INPUT,OUTPUT) [VERIFICATION]
  1502. ?? XQ [QUIT EDITING (IN BRIEF MODE)]
  1503. REPLACE [ADD THE CORRECTIONS TO THE PERM. FILE]
  1504. READY
  1505. FORTRAN
  1506. READY
  1507. RNH [RUN THE CORRECTED PROGRAM]
  1508. INPUT YOUR EYE QUEUE
  1509. ? 175
  1510. YOUR IQ - 175 IS NOT PRIME
  1511. STOP
  1512. RUN COMPLETE.
  1513.  
  1514. ========== END OF XEDIT DOCUMENTATION ==========
cdc/nos2.source/opl871/xedith.txt ยท Last modified: 2023/08/05 17:24 by Site Administrator