home *** CD-ROM | disk | FTP | other *** search
- .brp
- .ctd \
- .hbb
- .fif
- EXPRESS - Full Screen Editor (c)1985 C. & L. Stump
- .fin
- .hbe
- .fbb
- \\%pageno%\\
- .fbe
- .inl 12
- .inr 4
- .spb 4
- .alc
- .fif
- EDITING COMMANDS
- ----------------
- .fin
- .all
- .spb 4
- The following are descriptions of commands that can be executed
- while in EXPRESS's edit mode. They are all executed by typing a one or
- more character sequence, usually control characters, or function
- keys if you have customized the control commands.
-
- Any time a specific control character is mentioned, it will be preceded
- by a '^'; thus, ^N means 'control+N'. You should remember that the
- <CONTROL> key is similar to the <SHIFT> key; you must hold it down WHILE
- YOU TYPE THE OTHER KEY. This should not be confused with the <ESCAPE>
- key, which is typed separately from the other character(s) in the
- sequence.
-
- If you have not customized the keys, you will notice that some of the
- commands are a two character sequence started with a ^U. This is the
- 'undo' or 'alternate function' key. This was necessary because there are
- more editing commands than there are control characters.
-
- For people who have chosen to customize their control character layout
- to achieve compatibility with other editors, implement special function
- keys on their terminal, or whatever other reason, a space - (____) - has
- been provided wherever a specific control character is mentioned. This
- will allow you to write in the control character or function key you
- have selected for this operation.
-
- The commands will be described in an order that is non-alphabetical,
- but more related to the commands' relationships to one another.
- .brp
- .fif
- CURSOR CONTROL
- --------------
- .fin
- .inb+4
-
-
- .unl 4
- Cursor Left ^H (Backspace) (____)
-
- Moves the cursor one position to the left non-destructively.
-
- If the cursor is already in the first column of the line, it will be
- placed in the last column of the of the preceding line.
-
-
- .unl 4
- Cursor Right ^L (____)
-
- Moves the cursor one position to the right non-destructively.
-
- If the cursor is already in the last column of the line, as defined by
- the screen width or, if in wrap mode, the current right margin, the
- cursor will go to the beginning of the next line.
-
-
- .unl 4
- Next Tab ^I (Tab) (____)
-
- Moves the cursor to the next tab stop on the line.
-
- If the cursor is already past the last tab stop on the line, the line is
- extended into the next line on the screen and the cursor is moved to the
- beginning of this 'continuation line'.
-
- If insert mode is on or if the cursor is moving past the last character
- on a line, a tab will be inserted at the cursor position, otherwise the
- command just positions the cursor.
-
- If you wish, you can cause the <TAB> key to insert the appropriate
- number of spaces instead of a tab character. This is useful when the
- file will later be used by a program that does not understand tab
- characters (Turbo Pascal, for instance). To 'turn off the tabs', return
- to command mode with <ESC>, (______) and enter the command:
-
- tabs off
-
- After this time, no more tab characters will be entered into the file
- (although all existing tab characters will remain).
-
-
- .unl 4
- Previous Tab ^U^I (^U Tab) (______)
-
- Moves the cursor to the first tab stop preceding the current
- cursor location in the line. This command is always
- non-destructive.
-
- If the cursor is at the beginning of the line, the command is
- ignored.
-
-
- .unl 4
- Next Word ^W (____)
-
- Moves the cursor to the beginning of the next word following the
- current cursor location. The beginning of a word is signalled by
- either the start of a new line or an non-alphanumeric character
- ('a'-'z','A'-'Z','0'-'9') preceding an alphanumeric character.
-
- If there are no more words on the current line, the cursor is
- moved to the beginning of the next line.
-
-
- .unl 4
- Previous Word ^A (____)
-
- Moves the cursor to the beginning of the current word or, if it
- is already on the beginning of the current word, to the
- beginning of the first word preceding it.
-
- If there are no more words on the line the cursor is moved to
- the beginning of the line; if the cursor is already at the
- beginning of the line, it is moved to the beginning of the last
- word on the line above.
-
-
- .unl 4
- Indent ^U^W (______)
-
- Moves the cursor to the next tab stop and sets that column as
- the new left margin. Please notice that the new margin is the
- next tab stop after the CURRENT LOCATION OF THE CURSOR, not the
- current left margin. This command is functionally identical to
- using the INDENT command from the command mode.
-
- If the cursor is already in the last column of the line, the
- command is ignored.
-
-
- .unl 4
- Undent ^U^A (______)
-
- Moves the cursor to the first tab previous to the current cursor
- location and sets that column as the new left margin. See the
- note for Indent above.
-
- If the cursor is already in the first column then this command
- is ignored.
-
-
- .unl 4
- Start of Line ^U^H (____)
-
- Moves the cursor to the beginning of the current line.
-
-
- .unl 4
- End of Line ^U^L (____)
-
- Moves the cursor to the end of the current line.
-
-
- .unl 4
- Carriage Return ^M <CR> (____)
-
- Moves the cursor to the beginning of the next line. If you are
- currently in entry mode or if you are at the end of the edit
- buffer, a new line is inserted. This command merely positions
- the cursor; it does not actually place a ^M in the file, so you
- can simply type a carriage return from the middle of a line to
- move to the next line, you don't have to worry about going to
- the end or beginning of the line first as with some other
- editors.
-
- If you wish to break a line in two you may use the 'break line'
- command, ^B (____) described later. If you really must have the
- carriage return break a line in two then you may set the 'break
- line on CR' flag in ECONFIG and the carriage return key will actually
- insert a carriage return/linefeed into the file (when entry mode is on).
-
-
- .unl 4
- Cursor Up ^K (____)
-
- Moves the cursor up one line. If this operation would cause the
- cursor to go off the top of the screen, then it is scrolled one
- line towards the beginning of the edit buffer.
-
- If the cursor is already on the first line of the edit buffer
- then this command is ignored.
-
-
- .unl 4
- Cursor Down ^J (Linefeed) (____)
-
- Moves the cursor down one line. If this would cause the cursor
- to go off the bottom of the screen, the screen is scrolled one line
- towards the end of the edit buffer.
-
- If the cursor is already on the last line of the edit buffer
- then the command is ignored.
-
-
- .unl 4
- Start of Screen ^U^K (____)
-
- Moves the cursor to the first line on the screen.
-
-
- .unl 4
- End of Screen ^U^J (____)
-
- Moves the cursor to the bottom line of the screen.
-
-
- .unl 4
- Start of Buffer ^U^R (____)
-
- Moves the cursor to the first page of the edit buffer.
-
-
- .unl 4
- End of Buffer ^U^T (____)
-
- Moves the cursor to the last page of the edit buffer.
-
-
- .unl 4
- Start of Line/Screen/Buffer ^^ (____)
-
- Moves the cursor to the beginning of the current line when typed
- once. Typed twice, it moves to the beginning of the first line
- on the screen. Three times moves to the beginning of the first
- line of the edit buffer.
-
- If the cursor is already in the desired position, the command is
- ignored.
-
-
- .unl 4
- End of Line/Screen/Buffer ^N (____)
-
- Moves the cursor to one position past the last non-space on the
- current line when typed once. When typed twice, it moves to the
- end of the last line on the screen. If it is typed three times,
- it moves the cursor to the end of the last line in the edit
- buffer.
-
- If the cursor is already in the desired location, no action is
- taken.
- .brp
- .inb -4
- .fif
- SCROLLING COMMANDS
- ------------------
- .fin
- .inb +4
-
-
- .unl 4
- Scroll Backward One Line ^F (____)
-
- Scrolls the screen one line towards the beginning of the edit
- buffer; the cursor remains in the same position on the screen.
-
- If the first line of the edit buffer is already on the screen,
- the command is ignored.
-
-
- .unl 4
- Scroll Forward One Line ^G (____)
-
- Scrolls the screen one line towards the end of the edit buffer.
- The cursor maintains the same absolute position on the screen.
-
- If less than half of the lines on the screen are actual lines of
- the file (as signified by the [EOB] message following the last
- line) then the command is ignored.
-
-
- .unl 4
- Scroll Backward Continuously ^U^F (______)
-
- Scrolls the screen towards the beginning of the buffer, one line
- at a time.
-
- While scrolling is in progress, several keys take on a special
- function:
-
- .inb +4
- .unl 4
- 1. Typing any digit, 1-9 or 0, will change the auto-scroll
- speed to that speed. '1' gives the slowest scroll speed and
- '0' gives the fastest. These are arranged in ascending order
- across the top of the computer keyboard.
-
- .unl 4
- 2. The minus key (-) changes the direction of the scroll. If
- you were scrolling backward, you will begin scrolling
- forward, if you were scrolling forward, you will begin
- scrolling backward. This key was chosen because it is
- usually situated immediately to the right of the '0' key on
- the computer keyboard and it also has the meaning of
- negate' which is what you are doing - negating the command.
-
- .unl 4
- 3. Any other key will stop the scrolling action and return you
- to normal edit mode.
-
- .inb -4
- Scrolling will automatically stop when the beginning of the
- buffer is reached.
-
-
- .unl 4
- Scroll Forward Continuously ^U^G (______)
-
- Scrolls the screen towards the end of the buffer, one line at a
- time.
-
- The scrolling speed of this command can be set from command mode
- or while scrolling, just as for the Scroll Backward Continuously
- command.
-
- To stop scrolling type any key other than the ones listed in the
- Scroll Backward command.
-
- Scrolling stops automatically when the last line of the buffer
- is on the screen.
-
-
- .unl 4
- Center Cursor Line ^] (____)
-
- Scrolls the line that the cursor is currently on to the middle
- of the screen. This is useful for seeing the context in the file
- of a word that has just been found using the SEARCH command.
-
- If this command would cause scrolling past the beginning of the
- file, as much scrolling is done as possible, then the terminal
- beeps.
-
-
- .unl 4
- Next Page ^T (____)
-
- Clears the current page from the screen and displays the next 24
- lines (or however many lines your terminal can display) on the screen.
- If you wish to page rapidly through a file to find a certain section,
- you may press the 'next page' key several times; you do not have to wait
- for the screen to finish painting. As soon as you type any key, painting
- of the screen is temporarily suspended and the new command is executed.
-
- If there are no more lines in the edit buffer past the ones
- already displayed, this command takes no action.
-
-
- .unl 4
- Previous Page ^R (____)
-
- Clears the current page from the screen and displays the
- previous 24 lines (or however many your terminal can display) on
- the screen. The same comments about the painting of the screen
- given in the Next Page command hold for this command (and all
- other commands, for that matter), too.
-
- If there are less than 24 lines preceding the current screen
- being displayed, then the first 24 lines of the file are
- displayed.