If I execute gnuplot 5.2.6 from command line (in GNU/Linux) like
gnuplot -v
last line printed is
unrecognized option -v
That is reasonable. However, whenever I type something incorrect the message appears again
gnuplot> a=
^
constant expression required
unrecognized option -v
I think that that is not intended.
I can't reproduce this here with either 5.2.6 or current 5.2.8
Is there any other information you can provide about the sequence of commands?
I reproduced it in 5.2.8 of Termux for Android too. I paste everything. II hope newlines are correctly placed
Strange. Could you paste here the output from "show version long"? Maybe that will provide another clue.
Thanks. That does give a hint.
I'm guessing the bug is specific to the use of libeditline, which is the least-used and least-tested of the three options you have for building gnuplot with a command-line editor. I don't know whether the bug is in the library itself or in gnuplot's use of the library API. I will leave this issue open so that the next time one of the developers is looking at the libeditline code they can keep it in mind.
Nope. I can't reproduce it using libeditline. Scratch that idea.