gprolog
gprolog copied to clipboard
New show_information flag regression
$ gprolog
GNU Prolog 1.6.0 (64 bits)
Compiled Jul 15 2023, 11:03:32 with /opt/local/bin/gcc-mp-12
Copyright (C) 1999-2023 Daniel Diaz
| ?- current_prolog_flag(show_information, V).
V = normal
yes
| ?- halt.
$ gprolog --quiet
| ?- current_prolog_flag(show_information, V).
V = normal
yes
This breaks using GNU Prolog in Jupyter notebooks running the Logtalk kernel. In the second case above, before this regression, the flag value was reported as off.
It seems that the changed behavior resulted from the implementation of the show_banner flag. I have now switched to query this flag (when defined) at Logtalk startup.