#4778: [with patch, positive review] Creates Scilab pexpect interface
-------------------------+--------------------------------------------------
 Reporter:  ronanpaixao  |        Owner:  ronanpaixao
     Type:  enhancement  |       Status:  closed     
 Priority:  minor        |    Milestone:  sage-3.2.2 
Component:  interfaces   |   Resolution:  fixed      
 Keywords:  scilab       |  
-------------------------+--------------------------------------------------
Comment (by ronanpaixao):

 I know the newlines are ugly, but I left it as-is because correcting those
 would require a lot of strips which could truncate output in unexpected
 ways. I believe the principle of eval is to return whatever the program
 outputs to the user and let him do the processing. Imagine, for example,
 if one strips all newlines: the output of whos() would then be all
 rendered in one line, completely breaking the tables.

 Then, I thought about stripping at least the output of get() but then I
 ran into a problem with matrix formatting, in which the first line of a
 matrix would be misaligned, not to mention that taking newlines off would
 display matrices in a single line.

 Ronan

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4778#comment:10>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to