Eli User Interface Reference Manual
During an interactive Eli session, an odin-command may be edited
before it is interpreted by typing either control characters
or escape sequences.
(An escape sequence is entered by typing ESC followed by one or
Note that unlike control keys, case matters in escape sequences;
ESC F is not the same as ESC f.)
A control character or escape sequence may be typed anywhere on the line,
not just at the beginning.
In addition, a return may also be typed anywhere on the line, not just at
Most control characters and escape sequences may be given a repeat count,
n, where n is a number.
To enter a repeat count, type the escape key, the number, and then
the character or escape sequence:
ESC 4 ^F
This sequence moves the cursor forward four characters.
If a command may be given a repeat count then the text "[n]"
is given at the end of its description.
Eli accepts the following control characters when editing odin-commands:
- Move to the beginning of the line
- Move left (backwards) [n]
- Delete character [n]
- Move to end of line
- Move right (forwards) [n]
- Ring the bell
- Delete character before cursor (backspace key) [n]
- Complete filename (tab key); see below
- Done with line (return key)
- Kill to end of line (or column [n])
- Redisplay line
- Done with line (alternate return key)
- Get next line from history [n]
- Get previous line from history [n]
- Search backward (forward if [n]) through history for text;
must start line if text begins with an uparrow
- Transpose characters
- Insert next character, even if it is an edit command
- Wipe to the mark
- Exchange current location and mark
- Yank back last killed text
- Start an escape sequence (escape key)
- Move forward to next character c
- Delete character before cursor (delete key) [n]
Eli accepts the following escape sequences when editing odin-commands:
- ESC ^H
- Delete previous word (backspace key) [n]
- ESC DEL
- Delete previous word (delete key) [n]
- ESC SP
- Set the mark (space key); see ^X^X and ^Y above
- ESC .
- Get the last (or [n]'th) word from previous line
- ESC ?
- Show possible completions; see below
- ESC <
- Move to start of history
- ESC >
- Move to end of history
- ESC b
- Move backward a word [n]
- ESC d
- Delete word under cursor [n]
- ESC f
- Move forward a word [n]
- ESC l
- Make word lowercase [n]
- ESC m
- Toggle whether 8-bit chars display normally or with the
- ESC u
- Make word uppercase [n]
- ESC y
- Yank back last killed text
- ESC w
- Make area up to mark yankable
- ESC nn
- Set repeat count to the number nn
- ESC C
- Read from environment variable _C_, where C is an uppercase letter
If you type the escape key followed by an uppercase letter, C,
then the contents of the environment variable _C_
are read in as if you had typed them at the keyboard.
For example, if the variable
_L_ contains the following:
ESC L will move to the beginning of the line, kill the
entire line, enter the echo command needed to clear the terminal (if your
terminal is like a VT-100), and send the line back to Eli.
The command editing mechanism also supports filename completion.
Suppose the root directory has the following files in it:
bin vmunix core vmunix.old
If you type
rm /v and then the tab key, Eli will finish off
as much of the name as possible by adding
Because the name is not unique, it will then beep.
If you type the escape key and a question mark, it will display the
If you then type a period and a tab, Eli will finish off the filename
The tab key is shown by
[TAB] and the automatically-entered text
is shown as munix.