The Quintus Prolog compatibility package can be accessed by issuing the directive
The effect of the compatibility library is local to the module where it is loaded (except for the redefinition of some global event handlers). The directive must therefore be given in every module that wants to use the compatibility mode. The Quintus package includes the C-Prolog one.:- use_module(library(quintus)).