Running gnu-prolog in inferior-prolog-mode (OS X)
Peter Ilberg <[email protected]> 07 Aug 2002 08:19:49 -0500
| Newsgroups | gmane.emacs.macintosh.user |
|---|---|
| Message-ID | <[email protected]> |
Hello!
I'm having trouble running gnu-prolog in inferior-prolog-mode.
It seems to work except that I'm not getting a prompt in
emacs 21.3.50. It works in "terminal" emacs that comes with
OS X 10.1.4/5.
This sounds quite similar to a recent post to the list from
Brian Marick. He ran into the same issue with Ruby. I didn't
find a solution to his problem in the mailing list archives,
so I was wondering if this has been resolved offline?
I've downloaded/compiled emacs-21.3.50 from
savannah.gnu.org, and gprolog-1.2.13 from gprolog.inria.fr.
In order to get the environment variables I've set up an
applescript that runs a shell script which in turn launches
Emacs.app from tcsh. This way I can launch emacs from the
dock and have the correct (tcsh) environment variables. I've
also setq prolog-program-name to "gprolog" which is in the
path.
When I M-x run-prolog in emacs-21.3.50 the subprocess is
(apparently) launched correctly and prints its banner info
but no prompt. It's waiting for input however. If I type
append([1,2,3],[4,5],X).
the result appears but, again, not prompt. This works fine
using the "terminal" emacs that comes with OS X (20.7 I
believe). I've also had the same problem with free_bp199,
another prolog system, before replacing it with gprolog
hoping that it would fix the problem.
Thanks in advance,
Peter
-- Peter Ilberg <[email protected]>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf