prolog-inferior-mode

prolog-inferior-mode is an interactive compiled Lisp function in `prolog.el'.


(prolog-inferior-mode)

Parent mode: `comint-mode'.

Major mode for interacting with an inferior Prolog process.

The following commands are available:
key binding
--- -------

C-c Prefix Command
<remap> Prefix Command

<remap> <self-insert-command> prolog-inferior-self-insert-command

C-c C-d prolog-debug-on
C-c RET run-prolog
C-c C-t prolog-trace-on
C-c C-z prolog-zip-on
C-c / prolog-help-apropos
C-c ? prolog-help-on-predicate



Entry to this mode calls the value of `prolog-mode-hook' with no arguments,
if that value is non-nil. Likewise with the value of `comint-mode-hook'.
`prolog-mode-hook' is called after `comint-mode-hook'.

You can send text to the inferior Prolog from other buffers
using the commands `send-region', `send-string' and M-x prolog-consult-region.

Commands:
Tab indents for Prolog; with argument, shifts rest
of expression rigidly with the current line.
Paragraphs are separated only by blank lines and '%%'. '%'s start comments.

Return at end of buffer sends line as input.
Return not at end copies rest of line to end and sends it.
M-x comint-delchar-or-maybe-eof sends end-of-file as input.
M-x comint-kill-input and M-DEL are kill commands,
imitating normal Unix input editing.
M-x comint-interrupt-subjob interrupts the shell or its current subjob if any.
M-x comint-stop-subjob stops, likewise.
M-x comint-quit-subjob sends quit signal, likewise.

To find out what version of Prolog mode you are running, enter
`M-x prolog-mode-version'.

In addition to any hooks its parent mode `comint-mode' might have run,
this mode runs the hook `prolog-inferior-mode-hook', as the final step
during initialization.