Yes, this patch should go in trunk I think. I it _really_ makes CAS usable, it could even go in some 1.4 version.
Depend on what you think as 'usable'... I just tested the patch for 1.4.x, with maxima (the only app I have) and with the provided lyx file. Everything works perfectly. I propose that we apply the patch to both 1.4 and 1.5 and let Enrico maintain the CAS system. As far as I know, he is the only one who understands the interface now. :-) BTW, this feature is really cool, and reminds me the old days when I use SWP to write linear algebra assignments. Cheers, Bo