gprolog icon indicating copy to clipboard operation
gprolog copied to clipboard

New show_information flag regression

Open pmoura opened this issue 2 years ago • 1 comments

$ 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.

pmoura avatar Aug 19 '23 15:08 pmoura

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.

pmoura avatar Sep 12 '23 10:09 pmoura