MPE/iX Shell and Utilities Reference Manual, Vol 2

shedit(3) MPE/iX Shell and Utilities shedit(3)
The command sequences recognized are listed in functional groups. The notation s-2META-
represents s-2ESC followed by the letter The terminology is historical. Many commands ac-
cept an optional preceding count which is entered in decimal as s-2META-igits, or as CTRL-
which multiplies the current count (initially 1) by 4. The command is executed that number of
times.
Cursor Movement
n
CTRL- Move the cursor back n characters.
nCTRL-F Move the cursor forward n characters.
CTRL-A Move the cursor to beginning of line.
CTRL-E Move the cursor to end of line.
nMETA-b Move the cursor back to nth previous beginning of word (string of alphanumer-
ics).
n
META-f Move the cursor forward to nth beginning of word.
CTRL
-]c Move the cursor forward to next character c on current line.
META-space
CTRL-@ Set mark at cursor position.
CTRL-X CTRL-X
Exchange cursor position and mark.
Line Search
These commands display a different history line.
n
CTRL-P Select the nth previous command line from history.
nCTRL-N Select the nth next command line from history.
META-< Select the earliest command line from history.
META-> Select the latest command line from history.
nCTRL-RstringENTER
Select the nth previous command line matching string.Ifn is zero, then select
the next matching command after the current line.
Text Change
n erase (erase character)
nBACKSPACE
nCTRL-H Delete n characters to the left of the cursor.
Miscellaneous Information 3-39