Ticket #14556: trac_14556_sagelib.patch

File trac_14556_sagelib.patch, 889 bytes (added by Snark, 9 years ago)

Patch to the sage library

  • sage/interfaces/maxima.py

    # HG changeset patch
    # User Julien Puydt <julien.puydt@laposte.net>
    # Date 1368092167 -7200
    # Node ID 5df600b91b76e1a4a1248ce1977e92e63b69cdcf
    # Parent  1077314f416653b28e199c382667a1f11e444bdd
    Remove now useless hack for maxima and readline (#14556)
    
    diff --git a/sage/interfaces/maxima.py b/sage/interfaces/maxima.py
    a b  
    544544        Expect.__init__(self,
    545545                        name = 'maxima',
    546546                        prompt = '\(\%i[0-9]+\)',
    547                         command = 'maxima-noreadline --userdir="%s" -p "%s"'%(SAGE_MAXIMA_DIR,STARTUP),
     547                        command = 'maxima --userdir="%s" -p "%s"'%(SAGE_MAXIMA_DIR,STARTUP),
    548548                        maxread = 10000,
    549549                        script_subdirectory = script_subdirectory,
    550550                        restart_on_ctrlc = False,