home *** CD-ROM | disk | FTP | other *** search
- SBE
- ---
-
- SBE is a general-purpose text editor for modifying text files, such as .BAT
- files and input files for compilers. SBE stands for Split-Buffer Editor, which
- describes the internal representation of the text. One advantage to the
- approach used is that the speed of entry of characters is not affected by file
- size, as can be the case with other representations.
-
- With SBE, you can load up to eight files in memory at one time, if you have
- enough memory to do it. Each file is loaded into a buffer, and each buffer
- uses 64K, no matter what the size of the file is.
-
- .pa
- Status line
- -----------
- This is the information found on SBE's status line:
-
- +- The current buffer number, 0-7
- | +- The file currently being edited, not including the path name
- | | +- Insert mode/Overlay mode flag
- | | |+- An '*' here indicates that the file has been changed
- | | ||
- 0:test.c I* 16:227 F1-Help ESC-Menu SBE Copyright 1990 Don Branson
- | | | | |
- | | | | +- Copyright message
- | | | +- ESC displays menu options
- | | +- F1 displays help (But you know that already)
- | +- The total number of lines in the file
- +- The is the line number that the cursor is on
-
- .pa
- Cursor movement
- ---------------
-
- These are the key combinations and the resultant cursor movements:
- (Ctrl-key indicates that Ctrl should be held while pressing the second key).
-
- Left - one character to the left
- Ctrl-Left - one word to the left
- Right - one character to the right
- Ctrl-Right - one word to the right
- Up - previous line in file
- Down - next line in file
- Home - first character of current line
- Ctrl-Home - upper-left corner of screen
- End - after last character of current line
- Ctrl-End - lower-left corner of screen
- PgUp - previous page of text
- Ctrl-PgUp - beginning of file
- PgDn - next page of text
- Ctrl-PgDn - end of file
- .pa
- Other keys
- ----------
-
- These are the other keys that SBE supports and what they do.
-
- Del - deletes the character under the cursor
- Ins - toggles insert/overlay modes
- Backarrow - deletes the character to the left
- Enter - ends the line and moves the cursor to the next line
- Tab - moves the cursor to the next tab stop
- Shift-Tab - moves the cursor to the previous tab stop
-
- .pa
- Deleting and Undeleting
- -----------------------
-
- Whenever you delete text using Ctrl-c, Ctrl-d, or Ctrl-w, the text is saved
- in a buffer. If you delete more than once without moving the cursor, the
- subsequent text is added to the previous text. For example, if you delete ten
- adjacent lines using Ctrl-d, without moving the cursor, Ctrl-u will undelete
- all ten lines as a block. This is an easy way to copy or move a few lines.
-
- SBE saves up to ten buffers of code which you have deleted. You can select the
- buffer before the current delete buffer by using Alt-u after a Ctrl-u. This
- allows you to have more than one block of code which can be copied or moved.
-
- Ctrl-c - deletes all characters from the cursor to the end of the line
- Ctrl-w - deletes the next word
- Ctrl-d - deletes the current line
- Ctrl-u - undelete the text deleted by the previous Ctrl-c, Ctrl-d,
- or Ctrl-w
- Alt-u - re-deletes the text undeleted by Ctrl-u, and undeletes the text
- deleted by the prior Ctrl-c, Ctrl-d, or Ctrl-w
-