those characters are ANSI terminal control sequences, used to highlight errors, etc etc. To disable it, input
?- set_prolog_flag(color_term, false).
before starting the protocol session. To disable permanently, place the same as a directive in your preference file. I.e. in Unix, place in ~/.plrc
:- set_prolog_flag(color_term, false).
If you use XPCE EMACS, you can edit preferences from menu
Edit\Prolog preferences