The following commands allow you to position the cursor.
The above table describes the most basic possible keystrokes that you need in order to do editing of the input line. On most terminals you can also use the arrow keys in place of C-f and C-b to move forward and backward.
Notice how C-f moves forward a character while M-f moves forward a word. It is a loose convention that control keystrokes operate on characters while meta keystrokes operate on words.
There is also a function available so that you can clear the screen from within Octave programs.
clc () | Built-in Function |
home () | Built-in Function |
Clear the terminal screen and move the cursor to the upper left corner. |