[PATCH] use '$LINELENGTH' in ')trace )math'

5 views
Skip to first unread message

Qian Yun

unread,
Sep 18, 2024, 5:44:25 AM9/18/24
to fricas-devel
When using ')trace )math', we should respect the setting
'$LINELENGTH' (cab be set by ")set output length"),
so that we can utilize the wide screen space.

- Qian


diff --git a/src/interp/trace.boot b/src/interp/trace.boot
index 70964500..a686b00c 100644
--- a/src/interp/trace.boot
+++ b/src/interp/trace.boot
@@ -1196,7 +1196,7 @@ monitor_print(x, trace_str) ==
PRINMATHOR0(x, trace_str)

PRINMATHOR0(x, trace_str) ==
- $mathTrace => maprinSpecial(outputTran2(x), $monitor_depth, 80)
+ $mathTrace => maprinSpecial(outputTran2(x), $monitor_depth,
$LINELENGTH)
PRIN0(x, trace_str)

_/TRACELET_-PRINT(X, Y) ==

Waldek Hebisch

unread,
Sep 18, 2024, 8:18:53 AM9/18/24
to fricas...@googlegroups.com
On Wed, Sep 18, 2024 at 05:44:21PM +0800, Qian Yun wrote:
> When using ')trace )math', we should respect the setting
> '$LINELENGTH' (cab be set by ")set output length"),
> so that we can utilize the wide screen space.

Yes, OK.

--
Waldek Hebisch
Reply all
Reply to author
Forward
0 new messages