.exe
)
extension. Command is an atom describing the command. The
following %-sequences are replaced in Command before the
result is handed to shell/1:
%e | Replaced by the (OS) command name of the editor |
%f | Replaced by the (OS) full path name of the file |
%d | Replaced by the line number |
If the editor can deal with starting at a specified line, two clauses should be provided. The first pattern invokes the editor with a line number, while the second is used if the line number is unknown.
The default contains definitions for vi, emacs, emacsclient, vim, notepad^* and wordpad^*. Starred editors do not provide starting at a given line number.
Please contribute your specifications to bugs@swi-prolog.org.