Re: How to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000
- From: Cesar Rabak <csrabak@xxxxxxxxxxxx>
- Date: Sat, 28 Apr 2007 18:16:53 -0300
student escreveu:
szgyg wrote:student wrote:I want to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000.
Would someone please give me, or direct me to, an example how this is done?
SWI FAQ
http://gollem.science.uva.nl/twiki/pl/bin/view/FAQ/BindEditor
13 ?- pwd.
j:/documents and settings/administrator/desktop
Yes
14 ?- set_prolog_flag(editor, gvim).
Yes
15 ?- edit(file(junk)).
% Waiting for editor ...
% Editor returned failure; skipped make/0 to reload files
Hmm, apparently there is more to it.
Well, perhaps in your installation, because in my Windows XP, it works as directed in the FAQ.
Just to be sure: is 'gvim' in your path?
.
- Follow-Ups:
- References:
- How to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000
- From: student
- Re: How to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000
- From: szgyg
- Re: How to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000
- From: student
- How to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000
- Prev by Date: Re: How to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000
- Next by Date: Re: i am a prolog beginner pls help me in getting this
- Previous by thread: Re: How to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000
- Next by thread: Re: How to make the SWI-Prolog 'edit' command invoke gvim instead of Notepad on Windows 2000
- Index(es):
Relevant Pages
|
|