SuivantPrec.Bas prec.BasNiv. sup.

3.4 Test of use of the CAS in a shell of Emacs (mod. 15/03/2003) 

In section 3.2, we tested the computer algebra programs without GUI in a command window, to verify that they are correctly installed. It is the most convenient way to test them, but it is not necessarily the most convenient way to use them, in particular under Windows 9x since a window cannot contain more than 50 lines.

In this section, we test their use in a shell of Emacs. This method is especially interesting because it permits to use all the CAS without GUI of the CD-ROM (with the exception of Yacas), in a window with any length and under all versions of Windows (9x and NTx). It also permits to launch commands of CAS directly from assistant Rosetta, as one will see it farther. To test this mode of use :

  1.  Click on the button EMACS/ast of the ../../../icones/rosetta/calfor01.gif toolbar to launch Emacs.
  2.  When Emacs is open, click on the button Etests . The configurations of Macaulay and Gsview are launched again in command windows, then the window of Emacs is split in two and CoCoA is launched in the bottom part.
    ../../../images/rosetta/tstros14.gif
  3.  In normal time, the upper part can be used as a notepad, to cut and paste the important results. For now, delete it by typing Ctrl-X 0, in order to display the maximum of lines of CoCoA in the window of Emacs.
  4.  Type Quit; to quit CoCoA. Gap is launched then. Quit Gap by typing quit; then quit the other CAS by typing the command displayed by the test program just before their launching (cf. also table 3.1). For Macaulay, it is necessary to type two times on the key Enter. Note that the prompts of Pari (a question mark) and of Singular (the character >) don't appear. Among the CAS of the CD-ROM, only Yacas cannot be launched in this way  : an error message Handle non valide (under Windows 9x) or Descripteur non valide (under Windows NTx) shows off. Click on the button OK to go to the following CAS. At the end of the test, the message runprg.bat testcas nogui: finished shows off at the bottom of the window of Emacs. Note that the CAS with GUI are not launched in this test, since they are capable to preserve the totality of the commands typed in their own window.
  5.  Close Emacs with the option File / Exit Emacs.

SuivantPrec.Bas prec.HautNiv. sup.