SuivantPrec.Bas prec.BasNiv. sup.

4.6 Modification of the command window under WinNTx 

When a CAS is launched in a command window of Windows NTx from assistant Rosetta, the text appears in blue on yellow background (cf. Fig. 3.1). Features of this window are determined by the program runprg.bat, under WinNTx.

To modify these colors:

  1.  Click on the button ../../../icones/rosetta/calfor01.gif of the assistant's strip to open the toolbar Alg\Calfor01, click then on the button Ed.  runprg to open the file runprg.bat in the Notepad.
  2.  Under the line color e1, add the line color fc and save the modification.
  3.  Open the toolbar Alg\Maxima and click on the button MAXIMA5.9 : Maxima should now appear in light red on white background.
  4.  Close the window of Maxima by typing quit();
In the command color ft, the first character f fixes the color of the background, the character t fixes the color of the text. The colors are given in the table below:

0 Black 1 Dark blue 2 Dark green 3 Dark cyan
4 Dark red 5 Dark violet 6 Dark yellow 7 Light grey
8 Dark grey9 Light blue A Light green B Light cyan
C Light redD Light violetE Light yellowF White

To modify the other features of the command window (numbers of lines and columns):

  1.  Take again the file runprg.bat. Under the line mode con cols=80 lines=200, add the line mode con cols=40 lines=20 and save the modification.
  2.  Restart Maxima by clicking on the button MAXIMA5.9 : Maxima should appear in a small window of 40 columns large and 20 lines height.
  3.  Close the window of Maxima by typing quit();
  4.  Take again the file runprg.bat, suppress the lines that you added there (or modify them as you please) then save the modification.

SuivantPrec.Bas prec.HautNiv. sup.