rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

Add gnuplot level to bug_report #4048

Open rtoy opened 3 months ago

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-09 10:46:19 Created by macrakis on 2021-04-20 21:34:11 Original: https://sourceforge.net/p/maxima/bugs/3771


bug_report doesn't show the version of gnuplot and the gnuplot window doesn't include it.

This command works:

plot2d(x,[x,0,1],[gnuplot_preamble,"show version"])

but surely we don't expect users to figure that out.

I suggest that bug report include the gnuplot version, even if that means calling out to gnuplot.

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-09 10:46:20 Created by robert_dodier on 2021-04-20 23:11:00 Original: https://sourceforge.net/p/maxima/bugs/3771/#22d6


Yeah, putting the Gnuplot version into build_info makes sense. I find that system(sconcat(gnuplot_command, " --version")) outputs a nice short string (gnuplot 5.4 patchlevel 1 on my system) which is great. However, it appears to be written to stderr instead of stdout so with_stdout doesn't capture. Not sure what to do there.

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-09 10:46:24 Created by robert_dodier on 2021-04-20 23:11:37 Original: https://sourceforge.net/p/maxima/bugs/3771/#9785