home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / a / express.lbr / EXPRESS5.DZC / EXPRESS5.DOC
Encoding:
Text File  |  1993-10-26  |  15.9 KB  |  433 lines

  1. .brp
  2. .inb -4
  3. .fif
  4. EDITING COMMANDS
  5. ----------------
  6. .fin
  7. .inb +4
  8.  
  9.  
  10. .unl 4
  11. Rubout  <RUB> <DEL> (____)
  12.  
  13. The cursor is moved left one position and the character in this position
  14. is replaced with a space (' '). If you are at the beginning of the line
  15. It remains there and replaces that character with a space.
  16.  
  17. Rubout works slightly different when in insert mode. The cursor is moved
  18. back one space and the character is deleted, but then the rest of the
  19. line is adjusted one position to the left to close up the space left by
  20. the deletion. If you are at the beginning of the line in insert mode,
  21. rubout will append the current line on the line above, effectively
  22. deleting the carrige return/linefeed at the end of that line. (note that
  23. this can be changed with ECONFIG so that RUB cannot delete
  24. return/linefeed)
  25.  
  26.  
  27. .unl 4
  28. Delete Character  ^D (____)
  29.  
  30. Removes the character that the cursor is currently on and adjusts the
  31. remainder of the line one position to the left. The cursor remains in
  32. the same position on the screen.
  33.  
  34. Since tab stops are stored as single characters, you may delete a tab
  35. with the Delete Character command. This is helpful when restructuring a
  36. computer program in Pascal, C, or some other structured language,
  37. because it allows you to 'undent' a whole section of code quickly by
  38. simply typing ^D^M (_______) several times (once for each line).
  39.  
  40.  
  41.  
  42. .unl 4
  43. Insert Single Space  ^E (____)
  44.  
  45. Opens up space for one character at the current cursor position.
  46.  
  47. This is useful for minor alterations, such as misspelled words, when it
  48. is inconvenient to toggle insert mode, type the character, and then
  49. toggle insert mode again. It is also helpful when you wish to move a
  50. line to the right on the screen by inserting spaces at the beginning of
  51. the line, but do not want the cursor to move from its present position.
  52.  
  53.  
  54. .unl 4
  55. Partial Insert Mode     ^Q (______)
  56.  
  57. Temporarily turns on insert mode (as described in the section on
  58. 'Toggle Insert Mode'). Each character you type after this
  59. command will be 'inserted' into the line instead of typing over
  60. what is already there. Typing any control command except
  61. 'Rubout', <DEL> (____), 'Tab', ^I (____), 'Insert Control
  62. Character', ^C (____), or, of course, this command itself, will
  63. return you to the 'replacing mode' of text entry.
  64.  
  65. This command is useful for many of the same reasons as 'Insert
  66. Single Space' and 'Full Insert Mode', and which of these
  67. commands you usually use is a matter of personal taste; they
  68. were all included so that you can pick the way you want to do
  69. it. The commands you don't use can be filed away in the back of
  70. your mind so that if you ever need them you will remember they
  71. exist, but probably you will never need, or want, to remember
  72. and use all of the commands available.
  73.  
  74. If you are currently in full insert mode, this command will
  75. place you in partial insert mode.
  76.  
  77.  
  78. .unl 4
  79. Toggle Full Insert Mode  ^U^Q (____)
  80.  
  81. This key changes the state of insert mode; if it is on, it is
  82. turned off and if it is off, it is turned on. This new setting
  83. remains in effect until the command is issued again or until the
  84. editing session is terminated.
  85.  
  86. Another command similar to this is 'Partial Insert Mode', ^Q
  87. (______), described above. This command 'temporarily' enters
  88. insert mode until another editing command is given.
  89.  
  90. When insert mode is on, everything that is typed is 'inserted'
  91. at the cursor location, that is, it does not type over the
  92. character that the cursor is on. It is functionally equivalent
  93. to typing an 'Insert Space' command, ^E (____), before typing
  94. each character.
  95.  
  96. When insert mode is off, any character that is typed simply
  97. replaces the character that the cursor was on before the new
  98. character was typed.
  99.  
  100.  
  101. .unl 4
  102. Delete Word     ^V (____)
  103.  
  104. Deletes from the current cursor position to the beginning of the
  105. next word and adjusts the line to close up the space.
  106.  
  107. This command has three distinct uses which vary slightly. The first is,
  108. of course, to delete an entire word; this is done by placing the cursor
  109. on the first character of the word (usually with the 'next' or 'previous
  110. word' command) and executing the command.
  111.  
  112. The second use is to delete the end of a word. This is done by placing
  113. the cursor on the first character that you wish to be deleted and
  114. entering the command.
  115.  
  116. You may also delete a large group of spaces by placing the cursor on the
  117. first space to be deleted and executing the command; all spaces up to
  118. the beginning of the next word will be deleted.
  119.  
  120.  
  121.  
  122. .unl 4
  123. UNdelete Word  ^U^V (______)
  124.  
  125. Any time a deletion of more than a single character is
  126. performed, the deleted text is placed temporarily in a buffer in
  127. case the deletion was not wanted, or possibly if you want to put
  128. the deleted text somewhere else in the file. When you perform
  129. the UNdelete Word command, enough space is provided at the
  130. current cursor location for the previously deleted text and it
  131. is inserted there. Note that it is possible (and often
  132. desirable) to delete a line with ^Z (____) and then UNdelete it
  133. as a word or partial line with ^U^V or ^U^Y. The opposite
  134. operation is also possible.
  135.  
  136. The delete buffer is left intact following this operation, so
  137. you may UNdelete the same string as many times and in as many
  138. places as you wish.
  139.  
  140. If no text has previously been deleted during this edit session,
  141. the command takes no action.
  142.  
  143.  
  144. .unl 4
  145. Delete to End of Line  ^Y (____)
  146.  
  147. Deletes, starting at the current cursor location, to the end of
  148. the current line on the screen. If the line below is a
  149. continuation of the current line, the contents of the
  150. continuation line are also deleted, and the continuation line is
  151. removed from the screen. The deleted text is saved temporarily
  152. in the delete buffer for possible later 'UNdeletion'.
  153.  
  154.  
  155. .unl 4
  156. UNdelete End of Line  ^U^Y (______)
  157.  
  158. This command is functionally identical to UNdelete word. It is
  159. provided as a separate sequence merely for consistency and
  160. convenience.
  161.  
  162.  
  163. .unl 4
  164. Delete Line     ^Z (____)
  165.  
  166. When typed once, this command takes no action. This is to
  167. prevent erroneous deletion of lines. However, every time it is
  168. typed after the first time, it deletes one line from the screen.
  169. The deleted text is stored temporarily (until the next word or
  170. line deletion) in the delete buffer for possible 'UNdeletion' at
  171. a later time and place.
  172.  
  173. Typing any other character causes its flag to be reset and you
  174. must then type it an extra time to begin deleting lines again.
  175.  
  176. If this command deletes the last line of the edit buffer, it
  177. automatically moves the cursor up one line to the new last line.
  178.  
  179. If the deletion causes the screen to be less than half full of
  180. actual lines of the file (as shown by the presence of the [EOB]
  181. message) then the screen is scrolled down one line (towards the
  182. beginning of the edit buffer.
  183.  
  184. If there is only one line in the edit buffer, it will only be
  185. cleared, not deleted; if there were no lines in the edit buffer,
  186. there would be no place for the cursor to be positioned.
  187.  
  188.  
  189. .unl 4
  190. UNdelete Line  ^U^Z (______)
  191.  
  192. This command is similar to the UNdelete Word command except that
  193. a new line is inserted above the line the cursor is currently on
  194. for the deleted text to be UNdeleted into. Again, I will point
  195. out that it is possible to delete a word or partial line and
  196. UNdelete it as a line.
  197.  
  198. If there have been no previous deletions during this editing
  199. session, a blank line will be inserted above the line the cursor
  200. is currently on.
  201.  
  202.  
  203. .unl 4
  204. Insert Line     ^X (____)
  205.  
  206. Inserts a new line ABOVE the line the cursor is currently on and
  207. places the cursor at the beginning of this new line, as
  208. specified by the value of INDENT.
  209.  
  210.  
  211. .unl 4
  212. Toggle Entry Mode    ^\ (____)
  213.  
  214. This key changes the state of entry mode; if it is on, it is
  215. turned off and if it is off, it is turned on. The new setting
  216. remains in effect until the command is issued again, the editing
  217. session is ended, or wrap mode is turned on (at which time it is
  218. turned off).
  219.  
  220. When entry mode is on, a carriage return command, ^M <CR>
  221. (____), causes a new line to be inserted below the current one
  222. after which the cursor is placed at the beginning of the new
  223. line.
  224.  
  225. When entry mode is off, a carriage return acts normally.
  226.  
  227. Entry mode is useful when adding new sections to the middle of a
  228. computer program or other text. It relieves you from the burden
  229. of having to type so many Insert Line commands, ^X (____). This
  230. is not needed when typing at the end of a file, as new lines are
  231. inserted automatically then.
  232.  
  233.  
  234. ECONFIG's <D>efault setting section allows you to set entry mode either
  235. initially on or off.
  236.  
  237.  
  238. .unl 4
  239. Break Line    ^B (____)
  240.  
  241. Breaks the line the cursor is on into two lines, the first from
  242. the start of the line to the character preceding the cursor and
  243. the second from the cursor position to the end of the line. The
  244. cursor is left at the end of the first line.
  245.  
  246. If you are in wrap mode, an attempt will be made to reformat the
  247. lower line in with the lines following it. This allows you to
  248. use this command to break paragraphs without having to do any
  249. manual reformatting.
  250.  
  251.  
  252. .unl 4
  253. Concatenate Lines  ^O (____)
  254.  
  255. Joins the line following the line that the cursor is on with the
  256. cursor line. This is the opposite operation of Break Line.
  257.  
  258. When in wrap mode, this command simply attempts to reformat the
  259. remainder of the current paragraph to the currently set right
  260. margin.
  261.  
  262. If their are no lines below the current line or the line below
  263. is already a continuation of the current line, the command is
  264. ignored.
  265. .brp
  266. .inb -4
  267. .fif
  268. BLOCK COMMANDS
  269. --------------
  270. .fin
  271. .inb +4
  272.  
  273.  
  274. Block commands allow you to move large 'chunks' of text around the
  275. file. These commands are accesible from Command mode as well as edit
  276. mode in case you are more accustomed to using them that way. They are
  277. explained more fully in the COMMAND MODE section of the manual under
  278. Block Commands. The EXPRESS.OVL file must be present in some user area
  279. of the current drive or drive A to use the Block Commands.
  280.  
  281.  
  282. .unl 4
  283. Insert Block Marker     ^P^P (____)
  284.  
  285. This inserts, at the beginning of the line the cursor is
  286. currently on, a marker for use by the BMOVE, BCOPY, BDELETE, and
  287. BSAVE commands. You can enter as many of these as you like,
  288. although having anything other than two when you try to execute
  289. a block operation will get you an error message. These markers
  290. can be SEARCHed for and REPLACEd just like any other character.
  291. If you do not like the character currently used for displaying a
  292. block marker, you may change it to any other displayable
  293. character with the configurator program.
  294.  
  295. To remove a single block marker, you may use the command ^P^U,
  296. (______), or you can simply position the cursor over the block
  297. marker and do a ^D, (____) (or any other editing command that
  298. deletes). The advantage of the ^P^U, (______) sequence is that
  299. it works if you are anywhere on the same line as the block
  300. marker; you don't have to place the cursor directly over it. To
  301. remove all block markers at once, use the BKILL command in
  302. command mode.
  303.  
  304. Block markers are automatically cleared from the file before it
  305. is written to disk.
  306.  
  307.  
  308. .unl 4
  309. Block Copy    ^P^C   (_____)
  310.  
  311. Places a copy of the currently marked block 'in front of' the line the
  312. cursor is currently on. The original block remains untouched and the
  313. block markers are not cleared.
  314.  
  315.  
  316. .unl 4
  317. Block Move    ^P^M  (_____)
  318.  
  319. Moves the currently marked block to 'in front of' the line the cursor is
  320. currently on. The block markers are removed after the operation.
  321.  
  322.  
  323. .unl 4
  324. Block Delete    ^P^D  (_____)
  325.  
  326. Deletes the currently marked block of text. Be careful with this command
  327. because it does not ask for confirmation (as BDELETE in command mode
  328. does) and its deletions are final!!! Block delete in edit mode is faster
  329. and more convenient, but dangerous in the hands of a careless person.
  330.  
  331.  
  332. .unl 4
  333. Kill Block Markers    ^P^K  (_____)
  334.  
  335. Removes all block markers from the edit buffer.
  336. .brp
  337. .inb -4
  338. .fif
  339. SPECIAL COMMANDS
  340. ----------------
  341. .fin
  342. .inb +4
  343.  
  344.  
  345. Some of these commands are related, but mostly, their reason for
  346. being placed here is that they don't fit anywhere else.
  347.  
  348.  
  349. .unl 4
  350. Continue Search/Replace  ^S (____)
  351.  
  352. Finds the next occurence of the last string SEARCHED for. If you
  353. are in replace mode, the keys described in the section on
  354. selective replace will be in effect after you find the next
  355. occurence.
  356.  
  357. If there are no more occurences of the search string following
  358. the cursor in the edit buffer, EXPRESS will beep and leave the
  359. cursor where it is.
  360.  
  361.  
  362. .unl 4
  363. Insert Control Character  ^C (____)
  364.  
  365. When this command is typed, no attempt will be made to translate
  366. the next character into a command. This allows the entry of
  367. control characters (and keys that have been redefined as macro keys)
  368. directly into the file.
  369.  
  370. Some uses of this are to place printer commands, to do things
  371. such as formfeeds and font changes, into a file, or possibly to
  372. do things such as clearing the screen of a terminal before
  373. printing a file.
  374.  
  375. All control characters are displayed as '^c' where 'c' is the letter
  376. corresponding to the control character. It is also possible to enter
  377. RUBouts (DEL) into the file in the same manner; they are displayed as
  378. '^?'. Once in the file, the control characters can all be SEARCHed for,
  379. REPLACEd, and whatever else you might wish to do with them. They are
  380. distinguishable from the regular characters, such as the
  381. following: '^C', by the fact that you cannot position the cursor
  382. directly on the 'C' if it is a control character, but you can if
  383. it is just a '^' followed by a 'C'.
  384.  
  385. The only exceptions to the above statements are that the
  386. characters ^Z and ^@ cannot be entered into the file. Entry of
  387. ^Z was disallowed on purpose, because ^Z is the CP/M End of File
  388. character; having it occur in the middle of a file would create
  389. results ranging from mildly annoying to catastrophic. The
  390. inability to enter ^@ originally stemmed from CP/M's Direct
  391. Console I/O function's inability to directly input a character
  392. with a value of 0. This fact was taken advantage of and now ^@
  393. is a special character used internal to EXPRESS (along with the
  394. characters represented by 0FFh and 0FEh; all other characters
  395. from 01h to FDh may be entered, whether your terminal can display them
  396. or not). However, I have never heard of ANY computer system, terminal,
  397. or printer that used ^@ for anything except a delay character, so this
  398. should never be any hindrance.
  399.  
  400. The entry of characters greater than <RUB> (7FH) is also
  401. supported by the Insert Control Character command. If you can't display
  402. characters with bit 7 set, they will be displayed as '\c' if a printable
  403. character with bit 7 set, or '/c' if a control character with bit 7 set
  404. (where 'c' is the character) if you can display these characters on your
  405. terminal then you can enter them as regular characters by following the
  406. instructions in the configuration section under 'Displaying Graphics
  407. Characters'.
  408.  
  409.  
  410. .unl 4
  411. Enter/Leave Command Mode  ^[ <ESC> (____)
  412.  
  413. This command clears the screen and places you in command mode.
  414. when in command mode, the cursor is placed after a prompt '>'
  415. and you may input any of the commands described in the 'Command
  416. Mode' section of the manual. All of the single-line edit
  417. commands may be used for editing your entry on the command line;
  418. you can even delete a word while in edit mode and UNdelete it
  419. onto the command line, for instance.
  420.  
  421. If you are currently in command mode, you can enter edit mode by
  422. typing this same command; you may think of it as a toggle
  423. switch, moving you between the two modes of operation.
  424.  
  425. This key is also used to get you out of various situations that
  426. you may find yourself in (similar to ^C in CP/M). For instance,
  427. the TYPE command and the BPRINT command use this key to cancel
  428. their operation immediately and return, of course, to command
  429. mode.
  430.  
  431. For more information on command mode and what to do once you get
  432. there, see the 'Command Mode' section of the manual.
  433.