next up previous contents index
Next: Help files Up: Initialization file Previous: Inclusion of files   Contents   Index


Colors

This section of the initialization file is optional. It contains four lines. The first three lines contain an integer between 0 and 7. They correspond to the following colors

.
0 : black
.
1 : red
.
2 : green
.
3 : yellow
.
4 : blue
.
5 : magenta
.
6 : light blue
.
7 : white
The prompt of the command interpreter (defined in the section !mode (cf. 3.2) will be printed in bold characters with the color specified in the first line. The error messages of the command interpreter will be printed in bold characters with the color specified in the second line. The instructions of a program that is running will be printed with the colour corresponding to the third line. In the number of the fourth line is non zero, the ANSI codes will also be printed also on monitor files (cf. 4.9).


Example :

!color
4
1
5
0


In this example the prompt will be printed in blue, the error messages in red and the instructions of programs in magenta. No color codes will appear in monitor files.


next up previous contents index
Next: Help files Up: Initialization file Previous: Inclusion of files   Contents   Index
2009-11-12