Skip to content

Has anyone gotten ediprolog to work with the docker image? #2680

Answered by triska
bmaddy asked this question in Q&A
Discussion options

You must be logged in to vote

The presence of ANSI escape codes seems to indicate that Scryer does not detect that it is being used in an environment that cannot interpret them.

You can try setting the environment variable TERM to the value dumb before launching Scryer Prolog. This is the value I get when I use ediprolog.el within Emacs. For instance, here is a portion of the *ediprolog-history* buffer after querying the environment variable with getenv/2 within Emacs:

Dec  5 18:57:34: starting: ("~/scryer-prolog/target/release/scryer-prolog")
?- use_module(library(os)).
   true.
?- getenv("TERM", X).
   X = "dumb".

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@triska
Comment options

Answer selected by bmaddy
@bmaddy
Comment options

@triska
Comment options

@bmaddy
Comment options

@triska
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants