Bug#737198: maxima doesn't honour *prompt-prefix* and *prompt-suffix* as used by cantor-backend-maxima

2014-08-11 Thread Robert Dodier
OK, it turns out I did not correct install Cantor after compiling it
(incorrect installation prefix).  However, I've now fixed that
problem, and the result is that Cantor loads the Maxima init file
successfully and Maxima does honor the prompt prefix and suffix
variables, as verified by strace.

So in summary, both Cantor and Maxima appear to be working as
expected. Both are built from current source code. I am working on
Linux (Ubuntu 12.04).


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737198: maxima doesn't honour *prompt-prefix* and *prompt-suffix* as used by cantor-backend-maxima

2014-08-11 Thread Camm Maguire
tags 737198 unreproducible
thanks

Greetings, and thanks so much for looking into this.  To the OP, please
let me know if anything has been overlooked.  If not, I plan on closing
this in a week's time.

Take care,

Robert Dodier robert.dod...@gmail.com writes:

 OK, it turns out I did not correct install Cantor after compiling it
 (incorrect installation prefix).  However, I've now fixed that
 problem, and the result is that Cantor loads the Maxima init file
 successfully and Maxima does honor the prompt prefix and suffix
 variables, as verified by strace.

 So in summary, both Cantor and Maxima appear to be working as
 expected. Both are built from current source code. I am working on
 Linux (Ubuntu 12.04).





-- 
Camm Maguirec...@maguirefamily.org
==
The earth is but one country, and mankind its citizens.  --  Baha'u'llah


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737198: maxima doesn't honour *prompt-prefix* and *prompt-suffix* as used by cantor-backend-maxima

2014-08-09 Thread Robert Dodier
I've managed to build and install the current version of Cantor from Git.
Cantor reports its version as 0.5.
KDE version is 4.8.5.
Maxima version is branch_5_33_base_153_ge30d638 (post-5.33 from Git).

When I launch Cantor, :lisp *alt-display2d*  is nil, which indicates
that cantor-initmaxima.lisp was not loaded.
After :lisp (load
/usr/share/kde4/apps/share/apps/cantor/maximabackend/cantor-initmaxima.lisp)
then *alt-display2d* is 'cantor-latex-print as expected, and other
variables are set as well.
Running strace as suggested and entering expressions such as 1+1 and
x*x shows that output is wrapped in cantor-result ...
/cantor-result as expected.

So my guess about what's going on is that Cantor did not locate, or
did locate and failed to load, the Maxima init file.
Maybe OP can determine whether or not the file was actually loaded.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737198: maxima doesn't honour *prompt-prefix* and *prompt-suffix* as used by cantor-backend-maxima

2014-07-28 Thread Robert Dodier
I installed (via apt-get) cantor and cantor-backend-maxima on my
Ubuntu 12.04 system.

$ cantor --version
Qt: 4.8.1
KDE Development Platform: 4.8.5 (4.8.5)
Cantor: 0.3

When I launch cantor --backend maxima, it seems to work as expected.
However, I find that the variables and functions defined in
cantor-initmaxima.lisp
are apparently undefined. For example, :lisp *prompt-prefix* is null.
My guess is that cantor-initmaxima.lisp was not loaded,
perhaps because it is apparently not included in the package
cantor-backend-maxima.

Is it possible that the init file was not loaded correctly?
What is the value of *prompt-prefix* and other stuff defined there?

I realize that there may be a newer version of cantor-backend-maxima.
I can't (short of some major updating) compile the current source code
from Git for lack of KDE 4.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737198: maxima doesn't honour *prompt-prefix* and *prompt-suffix* as used by cantor-backend-maxima

2014-07-16 Thread Camm Maguire
forwarded 737198 maxima-disc...@lists.sourceforge.net
thanks

Package: maxima
Version: 5.32.1-1
Severity: normal
Tags: upstream

Hi,

Running the unittests in cantor I found that maxima is not honouring the
*prompt-prefix* and *prompt-suffix* as are set by cantor (and documented in
maxima's doc/implementation/external-interface.txt).

cantor uses /usr/share/kde4/apps/cantor/maximabackend/cantor-initmaxima.lisp
to initialize it, and expects them to notice requests of additional
information, such as when evaluating: integrate(x^n,x)

Running cantor, a sort of nice way to read the dialog between them is to
use:
strace -vfo /tmp/cantor_maxima.strace -s 1024 -e write cantor --backend maxima

I've noticed that the git version of maxima has a number of changes around
format-prompt and such, but I could not get it to compile to test it.

Thanks,

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages maxima depends on:
ii  gnuplot-x11   4.6.4-1
ii  libc6 2.17-97
ii  libgmp10  2:5.1.3+dfsg-1
ii  libreadline6  6.2+dfsg-0.1
ii  libx11-6  2:1.6.2-1

Versions of packages maxima recommends:
ii  maxima-share  5.32.1-1

Versions of packages maxima suggests:
pn  maxima-docnone
pn  maxima-emacs  none
pn  texmacs   none
ii  tk8.5 [wish]  8.5.14-2
pn  xmaxima   none

-- no debconf information


-- 
Camm Maguirec...@maguirefamily.org
==
The earth is but one country, and mankind its citizens.  --  Baha'u'llah


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737198: maxima doesn't honour *prompt-prefix* and *prompt-suffix* as used by cantor-backend-maxima

2014-01-31 Thread Maximiliano Curia
Package: maxima
Version: 5.32.1-1
Severity: normal
Tags: upstream

Hi,

Running the unittests in cantor I found that maxima is not honouring the
*prompt-prefix* and *prompt-suffix* as are set by cantor (and documented in
maxima's doc/implementation/external-interface.txt).

cantor uses /usr/share/kde4/apps/cantor/maximabackend/cantor-initmaxima.lisp
to initialize it, and expects them to notice requests of additional
information, such as when evaluating: integrate(x^n,x)

Running cantor, a sort of nice way to read the dialog between them is to
use:
strace -vfo /tmp/cantor_maxima.strace -s 1024 -e write cantor --backend maxima

I've noticed that the git version of maxima has a number of changes around
format-prompt and such, but I could not get it to compile to test it.

Thanks,

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages maxima depends on:
ii  gnuplot-x11   4.6.4-1
ii  libc6 2.17-97
ii  libgmp10  2:5.1.3+dfsg-1
ii  libreadline6  6.2+dfsg-0.1
ii  libx11-6  2:1.6.2-1

Versions of packages maxima recommends:
ii  maxima-share  5.32.1-1

Versions of packages maxima suggests:
pn  maxima-docnone
pn  maxima-emacs  none
pn  texmacs   none
ii  tk8.5 [wish]  8.5.14-2
pn  xmaxima   none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org