aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorDavid Aspinall1998-11-09 18:50:23 +0000
committerDavid Aspinall1998-11-09 18:50:23 +0000
commit9c97972a2e94fc01c34f67848c5634a8864b142a (patch)
treec64f7fe0a54474accf36eb64861fd9559af6d36e /generic
parent257d2cf3547f485c18991db54f56bd28c86b9ac3 (diff)
Added proof-rsh-command to help complete documentation (was allocated
to tms but he said he wouldn't get around to it)
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-config.el70
-rw-r--r--generic/proof-shell.el6
2 files changed, 49 insertions, 27 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index c047f342..5a5bc089 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -64,11 +64,6 @@
:type 'boolean
:group 'proof-general)
-(defcustom proof-one-command-per-line nil
- "*If non-nil, format for newlines after each proof command in a script."
- :type 'boolean
- :group 'proof-general)
-
(and (featurep 'toolbar)
(defcustom proof-toolbar-wanted t
"*Whether to use toolbar in proof mode."
@@ -112,11 +107,32 @@ you a reprimand!)"
;; confident about it. (I don't). -da
"If non-nil, enable indentation code for proof scripts.
Currently the indentation code can be rather slow for large scripts,
-or may be critical on the setting of regular expressions for
-particular provers."
+and is critical on the setting of regular expressions for particular
+provers. Enable it if it works for you."
+ :type 'boolean
+ :group 'proof-general)
+
+(defcustom proof-one-command-per-line nil
+ "*If non-nil, format for newlines after each proof command in a script.
+This option is not fully-functional at the moment."
:type 'boolean
:group 'proof-general)
+(defcustom proof-rsh-command ""
+ "Shell command prefix to run a command on a remote host.
+For example,
+
+ ssh bigjobs
+
+Would cause Proof General to issue the command 'ssh bigjobs isabelle'
+to start Isabelle remotely on our large compute server called 'bigjobs'.
+
+The protocol used should be configured so that no user interaction
+(passwords, or whatever) is required to get going."
+ :type 'string
+ :group 'proof-general)
+
+
;;
;; Faces.
;; We ought to test that these work sensibly:
@@ -424,25 +440,27 @@ to `nil' of the proof assistant does not support nested goals."
:type 'function
:group 'proof-script)
-(defcustom proof-atomic-sequence-lists nil
- "list of instructions for setting up atomic sequences of commands (ACS).
-
-Each instruction is
-a list of the form `(END START &optional FORGET-COMMAND)'. END is a
-regular expression to recognise the last command in an ACS. START
-is a function. Its input is the last command of an ACS. Its output
-is a regular exression to recognise the first command of the ACS.
-It is evaluated once and the output is successively matched agains
-previously processed commands until a match occurs (or the
-beginning of the current buffer is reached). The region determined
-by (START,END) is locked as an ACS. Optionally, the ACS is
-annotated with the actual command to retract the ACS. This is
-computed by applying FORGET-COMMAND to the first and last command
-of the ACS."
- ;; FIXME customize broken on choices with function in them?
- ;;:type '(repeat (cons regexp function (choice (const nil) function)))
- :type '(repeat (cons regexp function function))
- :group 'proof-shell)
+; Not yet implemented.
+;
+;(defcustom proof-atomic-sequence-lists nil
+; "list of instructions for setting up atomic sequences of commands (ACS).
+
+;Each instruction is
+;a list of the form `(END START &optional FORGET-COMMAND)'. END is a
+;regular expression to recognise the last command in an ACS. START
+;is a function. Its input is the last command of an ACS. Its output
+;is a regular exression to recognise the first command of the ACS.
+;It is evaluated once and the output is successively matched agains
+;previously processed commands until a match occurs (or the
+;beginning of the current buffer is reached). The region determined
+;by (START,END) is locked as an ACS. Optionally, the ACS is
+;annotated with the actual command to retract the ACS. This is
+;computed by applying FORGET-COMMAND to the first and last command
+;of the ACS."
+; ;; FIXME customize broken on choices with function in them?
+; ;;:type '(repeat (cons regexp function (choice (const nil) function)))
+; :type '(repeat (cons regexp function function))
+; :group 'proof-shell)
(defconst proof-no-command "COMMENT"
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index d3bc5bc0..78e60a7c 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -192,7 +192,11 @@ Does nothing if proof assistant is already running."
(message (format "Starting %s process..." proc))
;; Starting the inferior process (asynchronous)
- (let ((prog-name-list (proof-string-to-list proof-prog-name " ")))
+ (let ((prog-name-list (proof-string-to-list
+ (concat
+ proof-rsh-command
+ " "
+ proof-prog-name) " ")))
(apply 'make-comint (append (list proc (car prog-name-list) nil)
(cdr prog-name-list))))
;; To send any initialisation commands to the inferior process,