| www.delorie.com/gnu/docs/octave/octave_36.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following variables are available for customizing the appearance of the command-line prompts. Octave allows the prompt to be customized by inserting a number of backslash-escaped special characters that are decoded as follows:
PS1 when it is ready to read a
command.
The default value of PS1 is "\s:\#> ". To change it, use a
command like
octave:13> PS1 = "\\u@\\H> " |
which will result in the prompt `boris@kremvax> ' for the user `boris' logged in on the host `kremvax.kgb.su'. Note that two backslashes are required to enter a backslash into a string. See section 5. Strings.
PS1 at the beginning of each line after the first. The default
value of PS2 is "> ".
--echo-input option, the value of
PS4 is printed before each line of input that is echoed. The
default value of PS4 is "+ ". See section 2.1 Invoking Octave, for
a description of --echo-input.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |