SED - Miscellaneous functions

SED  - Miscellaneous Functions

Top  Previous  Next

 

Cancel (Ctrl-G)

The cancel function aborts partially entered commands such as searches or repeat counts.

 

Refresh (Ctrl-L)

The refresh function rebuilds the screen display if it should be corrupted in any way. The current line is placed at the centre of the screen if possible. Alternatively, the repeat counter may be used to specify the screen line number on which the current line is to be placed.

 

Expand character (Ctrl-X =)

Certain control characters (e.g. tab, form feed) are represented on the screen by question marks. The expand character function displays the character sequence number for the character at the cursor position. It also shows the cursor position in terms of field, value and subvalue which is useful when editing data files.

 

Split window (Ctrl-X 2)

The split window function divides the screen into two separate windows. These initially hold two views of the same buffer but can be used to show different buffers.

 

Unsplit window (Ctrl-X 1)

The unsplit window function returns to single window mode from a split window view.

 

Toggle window (Ctrl-X O)

The toggle window function moves between the two windows of a split window display.

 

Quit (Ctrl-X Ctrl-C or Ctrl-X C)

The quit function terminates an editing session. If any records have been modified but not written back to disk, SED will prompt for confirmation that this action is intended.

 

Where a select list is in use, SED will move to the next item from this list.

 

Where only a file name was specified on the command line, SED will prompt for a further record name.

 

Run extension (Esc-E)

The run extension function prompts for an extension program name and executes that extension.

 

CompRun (Ctrl-X M)

The CompRun function compiles the QMBasic program in the current window and, if the compilation is successful, runs the program.

 

Command (Esc-X)

The command function is used to alter various long term states of the editor and to perform other actions.

 

Click here for a list of commands.