#11859: Auto adapt MAX_COLUMN to terminal
---------------------------+------------------------------------------------
Reporter: hivert | Owner: was
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.7.2
Component: interfaces | Keywords: MAX_COLUMN, line splitting
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
When printing list of matrices, sage use {{{MAX_COLUMN}}} to split the
list.
{{{
sage: m = matrix([[1,2,3,4]]*3)
sage: [m]*10
[
[1 2 3 4] [1 2 3 4] [1 2 3 4] [1 2 3 4] [1 2 3 4] [1 2 3 4]
[1 2 3 4] [1 2 3 4] [1 2 3 4] [1 2 3 4] [1 2 3 4] [1 2 3 4]
[1 2 3 4], [1 2 3 4], [1 2 3 4], [1 2 3 4], [1 2 3 4], [1 2 3 4],
[1 2 3 4] [1 2 3 4] [1 2 3 4] [1 2 3 4]
[1 2 3 4] [1 2 3 4] [1 2 3 4] [1 2 3 4]
[1 2 3 4], [1 2 3 4], [1 2 3 4], [1 2 3 4]
]
}}}
By default {{{MAX_COLUMN = 70}}}. We should ask the terminal if possible.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11859>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.