Display And Keyboard Features [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Display And Keyboard Features
HP EDIT provides the following display and keyboard features:
* Three HP EDIT status lines and a 21-line text window
* Split screen capability
* Cursor movement and text repositioning capability from terminal
keys
* Function keys for executing frequently used commands
Screen Layout
The top three lines of the screen show the following information:
* Status Line
The first line shows whether you are in Command mode or Text Entry
mode. If you are in Command mode, instructions are provided for
accessing on-line Help. If you are in Text Entry mode,
instructions are provided for returning to Command mode.
* Message Line
The second line shows error messages, prompts, and HP EDIT message
responses to your input for certain commands.
* File and Record Line
The third line shows the current file name, the current record
number of the first line in the text window, and the total number
of records in the file.
The next 21 lines of the screen are available for your text. This area
is called the text window. If there are fewer than 21 lines in a file,
HP EDIT highlights the first column of all lines from the end of the file
to line 21. The bottom of the screen is reserved for eight function key
labels.
Refer to chapter 1, figure 1-1, for a screen example that shows these
components.
[REV BEG]
Splitting Text Windows
HP EDIT enables you to split the text window into two windows. This
allows you to access different portions of your file concurrently or view
two different files simultaneously. This feature is useful for comparing
text or moving text from one area to another.[REV END]
You split the window by opening a second window with the Open Window
command. You can then adjust the size of the windows, if necessary, with
the Size Window command. Refer to these commands in chapter 4 for
complete information about performing these functions.
Terminal Keys
You can use most of the terminal keys in Text Entry mode except those
that scroll information on the screen while editing text in Text Entry
mode.
You can use the cursor keys in Command mode to position the cursor, but
you should avoid using all other terminal keys in this mode. The HP EDIT
command interpreter does not recognize the other keys. Consequently,
using them can produce conflicting and often confusing results. If you
accidentally press one of these keys, you can execute the Refresh Screen
command to restore the display to its previous state.
Note that when HP EDIT starts, it disables the terminal Caps Lock
function. Consequently, to execute a command using a shifted character,
you must simultaneously press the Shift key and the character. Some
terminals have a Caps Lock configuration option that functions
independently from the Caps Lock key. If you have such a terminal, HP
EDIT only disables the option, but you must manually disable the actual
Caps Lock key.
Table 2-1 shows the terminal keys usable in Text Entry mode. Table 2-2
shows the terminal keys you should avoid using in either editing mode.
Table 2-1. Permissible Text Entry Terminal Keys
------------------------------------------------------------------------------------------
| |
| TERMINAL KEY EFFECT |
| |
------------------------------------------------------------------------------------------
| |
| Up Arrow Moves the cursor up a row. If the cursor is at the top of the |
| screen when you press the key, the cursor moves to the bottom of |
| the screen. |
| |
| Down Arrow Moves the cursor down a row. If the cursor is at the bottom of |
| the screen when you press the key, the cursor moves to the top |
| of the screen. |
| |
| Left Arrow Moves the cursor one column to the left. If the cursor is at |
| the left margin when you press the key, the cursor moves to the |
| right. |
| |
| Right Arrow Moves the cursor one column to the right. If the cursor is at |
| the right margin when you press the key, the cursor wraps around |
| to the left. |
| |
| Ins Line Inserts a line before the line containing the cursor. Line |
| numbers, if any, are not displayed until you press the Return |
| key or a function key. |
| |
| Ins Char Toggles insert and overwrite states. If the current state is |
| insert, the new state is overwrite. If the current state is |
| overwrite, the new state is insert. |
| |
| Del Line Deletes the line where the cursor is positioned. The lines |
| below scroll up. The cursor repositions itself to the first |
| column. |
| |
| Del Char Deletes the character at the current cursor position. The text |
| to the right of the cursor shifts left as the characters are |
| deleted. As with Backspace, you cannot delete characters |
| shifted off the right edge until they reappear. |
| |
| Clear Line Deletes text from the current cursor position to the end of the |
| line. |
| |
| Tab Moves the cursor forward to the next tab setting. You should |
| use the appropriate parameter option on the Options screen to |
| set tabs, and should not use the Clear Tab or Set Tab terminal |
| keys. |
| |
| Backtab Moves the cursor backward to the previous tab setting. You |
| should use the appropriate parameter option on the Options |
| screen to set tabs, and should not use the Clear Tab or Set Tab |
| terminal keys. |
| |
| Backspace If inserting text, deletes the character to the left of the |
| current cursor position. The text to the right of the cursor |
| shifts left as the characters are deleted. If overwriting text, |
| moves the cursor to the left without deleting the previous |
| character. |
| |
| Home Moves the cursor to the top left corner of the screen, which is |
| the status line. You should not type text on this line. Using |
| this key is helpful when you accidentally press the Roll Up or |
| Roll Down key. |
| |
------------------------------------------------------------------------------------------
Table 2-2. Excluded Terminal Keys
------------------------------------------------------------------------------------------
| |
| TERMINAL KEY EFFECT |
| |
------------------------------------------------------------------------------------------
| |
| Clear Display Deletes all lines of text displayed beyond the cursor. Has no |
| actual effect on the text, but affects the display. |
| |
| Next Page Moves the display to the next screen. Has no actual effect on |
| the text, but affects the display. |
| |
| Prev Page Moves the display to the previous screen. Has no actual effect |
| on the text, but affects the display. |
| |
| Roll Up Moves the display up a row. Has no actual effect on the text, |
| but affects the display. |
| |
| Roll Down Moves the display down a row. Has no actual effect on the text, |
| but affects the display. |
| |
| Clear Tab Clears a hardware tab for the terminal. If you subsequently |
| press the Tab key, the cursor may tab to the wrong position on |
| the screen, and data may be lost. |
| |
| Set Tab Sets the hardware tab for the terminal. If you subsequently |
| press the Tab key, the cursor may tab to the wrong position on |
| the screen, and data may be lost. |
| |
------------------------------------------------------------------------------------------
Function Keys
Function keys provide an alternative, simple method of executing selected
HP EDIT commands. When you press a function key, HP EDIT executes the
command that corresponds with one of the function key labels shown at the
bottom of the screen, or invokes another level of function keys.
Function keys are organized in a two-level hierarchy, with the exception
of the Help and Exit function keys. You first press a key from the first
level of command categories, called the Main function keys. HP EDIT
responds by displaying a second level of command choices. You then press
a key that corresponds with the command you want to execute.
Starting and exiting HP EDIT is slower when HP EDIT saves and restores
function keys. Consequently, you may want to disable function keys if
you are an advanced user. You can disable function keys from the Set
Options screen. If you disable them, however, the current screen line
and column numbers will not appear at the bottom of the screen.
Main Function Keys.
The main keys in Command mode are:
When pressed, each key invokes a second level of function keys, except
for the Help and Exit keys, which correspond to the commands Help and
Exit.
The main keys in Text Entry mode are identical to those in Command mode,
except that a Command Mode key replaces the Exit key. This key returns
you to Command mode and functions identically to pressing /Return.
File Commands Function Keys.
The File Commands function key displays the following set of keys:
These keys correspond to the following commands:
* Text File
* Keep Text
* Join File
* Change Filename
* Activate Next Process
* Activate Previous Process
The Main Keys function key returns you to the main set of keys.
Edit Commands Function Keys.
The Edit Commands function key invokes the following set of keys:
These keys correspond to the following commands:
* Insert Character
* Delete Character
* Append Line
* Replace Word
* Undo Last Command
* Refresh Screen
* Overwrite
[REV BEG]
When you press Insert Char F1, Delete Char F2, Append Line F3, Replace
Word F4, or Over Write F7, the following set of keys appears:
[REV END]
The Main Keys function key returns you to the main set of keys.
Position Commands Function Keys.
The Position Commands function key invokes the following set of keys:
These keys correspond to the following commands:
* Scroll Backward
* Scroll Forward
* Top Of File
* Bottom Of File
* Beginning Of Line
* End Of Line
* Go To Line/Mark
The Main Keys function key returns you to the main set of keys.
Search And Replace Function Keys.
The Search/Replace function key invokes the following set of keys:
These keys correspond to the following commands:
* Search Backward
* Search Forward
* Search And Replace Backward
* Search And Replace Forward
* Define Search Pattern
* Define Replace Pattern
The Main Keys function key returns you to the main set of keys.
Cut/Paste Function Keys.
The Cut/Paste function key invokes the following set of keys:
These keys correspond to the following commands:
* Set Mark
* Set Distance To Mark
* Copy To Buffer
* Cut To Buffer
* Paste Before
* Paste After
* Copy And Append To Buffer
The Main Keys function key returns you to the main set of keys.
MPE And Options Function Keys.
The MPE and Options function key invokes the following set of keys:
These keys correspond to the following commands:
* Run Program
* Execute MPE Command
* Run TDP Formatter
* Break To MPE
* Set Options
* Execute Editor Command
The Main Keys function key returns you to the main set of keys.
MPE/iX 5.0 Documentation