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

  1. .brp
  2. .ctd \
  3. .hbb
  4. .fif
  5.             EXPRESS - Full Screen Editor                (c)1985 C. & L. Stump
  6. .fin
  7. .hbe
  8. .fbb
  9. \\%pageno%\\
  10. .fbe
  11. .inl 12
  12. .inr 4
  13. .spb 4
  14. .alc
  15. .fif
  16. EDITING COMMANDS
  17. ----------------
  18. .fin
  19. .all
  20. .spb 4
  21. The following are descriptions of commands that can be executed
  22. while in EXPRESS's edit mode. They are all executed by typing a one or
  23. more character sequence, usually control characters, or function
  24. keys if you have customized the control commands.
  25.  
  26. Any time a specific control character is mentioned, it will be preceded
  27. by a '^'; thus, ^N means 'control+N'. You should remember that the
  28. <CONTROL> key is similar to the <SHIFT> key; you must hold it down WHILE
  29. YOU TYPE THE OTHER KEY. This should not be confused with the <ESCAPE>
  30. key, which is typed separately from the other character(s) in the
  31. sequence.
  32.  
  33. If you have not customized the keys, you will notice that some of the
  34. commands are a two character sequence started with a ^U. This is the
  35. 'undo' or 'alternate function' key. This was necessary because there are
  36. more editing commands than there are control characters.
  37.  
  38. For people who have chosen to customize their control character layout
  39. to achieve compatibility with other editors, implement special function
  40. keys on their terminal, or whatever other reason, a space - (____) - has
  41. been provided wherever a specific control character is mentioned. This
  42. will allow you to write in the control character or function key you
  43. have selected for this operation.
  44.  
  45. The commands will be described in an order that is non-alphabetical,
  46. but more related to the commands' relationships to one another.
  47. .brp
  48. .fif
  49. CURSOR CONTROL
  50. --------------
  51. .fin
  52. .inb+4
  53.  
  54.  
  55. .unl 4
  56. Cursor Left     ^H (Backspace) (____)
  57.  
  58. Moves the cursor one position to the left non-destructively.
  59.  
  60. If the cursor is already in the first column of the line, it will be
  61. placed in the last column of the of the preceding line.
  62.  
  63.  
  64. .unl 4
  65. Cursor Right  ^L (____)
  66.  
  67. Moves the cursor one position to the right non-destructively.
  68.  
  69. If the cursor is already in the last column of the line, as defined by
  70. the screen width or, if in wrap mode, the current right margin, the
  71. cursor will go to the beginning of the next line.
  72.  
  73.  
  74. .unl 4
  75. Next Tab  ^I (Tab) (____)
  76.  
  77. Moves the cursor to the next tab stop on the line.
  78.  
  79. If the cursor is already past the last tab stop on the line, the line is
  80. extended into the next line on the screen and the cursor is moved to the
  81. beginning of this 'continuation line'.
  82.  
  83. If insert mode is on or if the cursor is moving past the last character
  84. on a line, a tab will be inserted at the cursor position, otherwise the
  85. command just positions the cursor.
  86.  
  87. If you wish, you can cause the <TAB> key to insert the appropriate
  88. number of spaces instead of a tab character. This is useful when the
  89. file will later be used by a program that does not understand tab
  90. characters (Turbo Pascal, for instance). To 'turn off the tabs', return
  91. to command mode with <ESC>, (______) and enter the command:
  92.  
  93.     tabs off
  94.  
  95. After this time, no more tab characters will be entered into the file
  96. (although all existing tab characters will remain).
  97.  
  98.  
  99. .unl 4
  100. Previous Tab  ^U^I (^U Tab) (______)
  101.  
  102. Moves the cursor to the first tab stop preceding the current
  103. cursor location in the line. This command is always
  104. non-destructive.
  105.  
  106. If the cursor is at the beginning of the line, the command is
  107. ignored.
  108.  
  109.  
  110. .unl 4
  111. Next Word  ^W (____)
  112.  
  113. Moves the cursor to the beginning of the next word following the
  114. current cursor location. The beginning of a word is signalled by
  115. either the start of a new line or an non-alphanumeric character
  116. ('a'-'z','A'-'Z','0'-'9') preceding an alphanumeric character.
  117.  
  118. If there are no more words on the current line, the cursor is
  119. moved to the beginning of the next line.
  120.  
  121.  
  122. .unl 4
  123. Previous Word  ^A (____)
  124.  
  125. Moves the cursor to the beginning of the current word or, if it
  126. is already on the beginning of the current word, to the
  127. beginning of the first word preceding it.
  128.  
  129. If there are no more words on the line the cursor is moved to
  130. the beginning of the line; if the cursor is already at the
  131. beginning of the line, it is moved to the beginning of the last
  132. word on the line above.
  133.  
  134.  
  135. .unl 4
  136. Indent  ^U^W (______)
  137.  
  138. Moves the cursor to the next tab stop and sets that column as
  139. the new left margin. Please notice that the new margin is the
  140. next tab stop after the CURRENT LOCATION OF THE CURSOR, not the
  141. current left margin. This command is functionally identical to
  142. using the INDENT command from the command mode.
  143.  
  144. If the cursor is already in the last column of the line, the
  145. command is ignored.
  146.  
  147.  
  148. .unl 4
  149. Undent  ^U^A (______)
  150.  
  151. Moves the cursor to the first tab previous to the current cursor
  152. location and sets that column as the new left margin. See the
  153. note for Indent above.
  154.  
  155. If the cursor is already in the first column then this command
  156. is ignored.
  157.  
  158.  
  159. .unl 4
  160. Start of Line    ^U^H (____)
  161.  
  162. Moves the cursor to the beginning of the current line.
  163.  
  164.  
  165. .unl 4
  166. End of Line    ^U^L (____)
  167.  
  168. Moves the cursor to the end of the current line.
  169.  
  170.  
  171. .unl 4
  172. Carriage Return  ^M <CR> (____)
  173.  
  174. Moves the cursor to the beginning of the next line. If you are
  175. currently in entry mode or if you are at the end of the edit
  176. buffer, a new line is inserted. This command merely positions
  177. the cursor; it does not actually place a ^M in the file, so you
  178. can simply type a carriage return from the middle of a line to
  179. move to the next line, you don't have to worry about going to
  180. the end or beginning of the line first as with some other
  181. editors.
  182.  
  183. If you wish to break a line in two you may use the 'break line'
  184. command, ^B (____) described later. If you really must have the
  185. carriage return break a line in two then you may set the 'break
  186. line on CR' flag in ECONFIG and the carriage return key will actually
  187. insert a carriage return/linefeed into the file (when entry mode is on).
  188.  
  189.  
  190. .unl 4
  191. Cursor Up  ^K (____)
  192.  
  193. Moves the cursor up one line. If this operation would cause the
  194. cursor to go off the top of the screen, then it is scrolled one
  195. line towards the beginning of the edit buffer.
  196.  
  197. If the cursor is already on the first line of the edit buffer
  198. then this command is ignored.
  199.  
  200.  
  201. .unl 4
  202. Cursor Down     ^J (Linefeed) (____)
  203.  
  204. Moves the cursor down one line. If this would cause the cursor
  205. to go off the bottom of the screen, the screen is scrolled one line
  206. towards the end of the edit buffer.
  207.  
  208. If the cursor is already on the last line of the edit buffer
  209. then the command is ignored.
  210.  
  211.  
  212. .unl 4
  213. Start of Screen    ^U^K (____)
  214.  
  215. Moves the cursor to the first line on the screen.
  216.  
  217.  
  218. .unl 4
  219. End of Screen    ^U^J (____)
  220.  
  221. Moves the cursor to the bottom line of the screen.
  222.  
  223.  
  224. .unl 4
  225. Start of Buffer    ^U^R (____)
  226.  
  227. Moves the cursor to the first page of the edit buffer.
  228.  
  229.  
  230. .unl 4
  231. End of Buffer    ^U^T (____)
  232.  
  233. Moves the cursor to the last page of the edit buffer.
  234.  
  235.  
  236. .unl 4
  237. Start of Line/Screen/Buffer     ^^ (____)
  238.  
  239. Moves the cursor to the beginning of the current line when typed
  240. once. Typed twice, it moves to the beginning of the first line
  241. on the screen. Three times moves to the beginning of the first
  242. line of the edit buffer.
  243.  
  244. If the cursor is already in the desired position, the command is
  245. ignored.
  246.  
  247.  
  248. .unl 4
  249. End of Line/Screen/Buffer    ^N (____)
  250.  
  251. Moves the cursor to one position past the last non-space on the
  252. current line when typed once. When typed twice, it moves to the
  253. end of the last line on the screen. If it is typed three times,
  254. it moves the cursor to the end of the last line in the edit
  255. buffer.
  256.  
  257. If the cursor is already in the desired location, no action is
  258. taken.
  259. .brp
  260. .inb -4
  261. .fif
  262. SCROLLING COMMANDS
  263. ------------------
  264. .fin
  265. .inb +4
  266.  
  267.  
  268. .unl 4
  269. Scroll Backward One Line  ^F (____)
  270.  
  271. Scrolls the screen one line towards the beginning of the edit
  272. buffer; the cursor remains in the same position on the screen.
  273.  
  274. If the first line of the edit buffer is already on the screen,
  275. the command is ignored.
  276.  
  277.  
  278. .unl 4
  279. Scroll Forward One Line ^G (____)
  280.  
  281. Scrolls the screen one line towards the end of the edit buffer.
  282. The cursor maintains the same absolute position on the screen.
  283.  
  284. If less than half of the lines on the screen are actual lines of
  285. the file (as signified by the [EOB] message following the last
  286. line) then the command is ignored.
  287.  
  288.  
  289. .unl 4
  290. Scroll Backward Continuously  ^U^F (______)
  291.  
  292. Scrolls the screen towards the beginning of the buffer, one line
  293. at a time.
  294.  
  295. While scrolling is in progress, several keys take on a special
  296. function:
  297.  
  298. .inb +4
  299. .unl 4
  300. 1.  Typing any digit, 1-9 or 0, will change the auto-scroll
  301. speed to that speed. '1' gives the slowest scroll speed and
  302. '0' gives the fastest. These are arranged in ascending order
  303. across the top of the computer keyboard.
  304.  
  305. .unl 4
  306. 2.  The minus key (-) changes the direction of the scroll. If
  307. you were scrolling backward, you will begin scrolling
  308. forward, if you were scrolling forward, you will begin
  309. scrolling backward. This key was chosen because it is
  310. usually situated immediately to the right of the '0' key on
  311. the computer keyboard and it also has the meaning of
  312. negate' which is what you are doing - negating the command.
  313.  
  314. .unl 4
  315. 3.  Any other key will stop the scrolling action and return you
  316. to normal edit mode.
  317.  
  318. .inb -4
  319. Scrolling will automatically stop when the beginning of the
  320. buffer is reached.
  321.  
  322.  
  323. .unl 4
  324. Scroll Forward Continuously     ^U^G (______)
  325.  
  326. Scrolls the screen towards the end of the buffer, one line at a
  327. time.
  328.  
  329. The scrolling speed of this command can be set from command mode
  330. or while scrolling, just as for the Scroll Backward Continuously
  331. command.
  332.  
  333. To stop scrolling type any key other than the ones listed in the
  334. Scroll Backward command.
  335.  
  336. Scrolling stops automatically when the last line of the buffer
  337. is on the screen.
  338.  
  339.  
  340. .unl 4
  341. Center Cursor Line    ^] (____)
  342.  
  343. Scrolls the line that the cursor is currently on to the middle
  344. of the screen. This is useful for seeing the context in the file
  345. of a word that has just been found using the SEARCH command.
  346.  
  347. If this command would cause scrolling past the beginning of the
  348. file, as much scrolling is done as possible, then the terminal
  349. beeps.
  350.  
  351.  
  352. .unl 4
  353. Next Page  ^T (____)
  354.  
  355. Clears the current page from the screen and displays the next 24
  356. lines (or however many lines your terminal can display) on the screen.
  357. If you wish to page rapidly through a file to find a certain section,
  358. you may press the 'next page' key several times; you do not have to wait
  359. for the screen to finish painting. As soon as you type any key, painting
  360. of the screen is temporarily suspended and the new command is executed.
  361.  
  362. If there are no more lines in the edit buffer past the ones
  363. already displayed, this command takes no action.
  364.  
  365.  
  366. .unl 4
  367. Previous Page  ^R (____)
  368.  
  369. Clears the current page from the screen and displays the
  370. previous 24 lines (or however many your terminal can display) on
  371. the screen. The same comments about the painting of the screen
  372. given in the Next Page command hold for this command (and all
  373. other commands, for that matter), too.
  374.  
  375. If there are less than 24 lines preceding the current screen
  376. being displayed, then the first 24 lines of the file are
  377. displayed.
  378.