diff options
| author | David Aspinall | 2000-02-28 09:30:45 +0000 |
|---|---|---|
| committer | David Aspinall | 2000-02-28 09:30:45 +0000 |
| commit | 8215dbdde54b1ac99fbd151533cae597c1ed5fc8 (patch) | |
| tree | 3fa99064f1bec21d9f761f87f80361ab29d7364f | |
| parent | dc7e072dc5aaa48903927a2c0bc603a4fac6cc05 (diff) | |
Added back ^G fix for Solaris, but not for non-mule FSF.
| -rw-r--r-- | generic/proof-shell.el | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el index 26b946c2..532e6c65 100644 --- a/generic/proof-shell.el +++ b/generic/proof-shell.el @@ -222,11 +222,21 @@ Does nothing if proof assistant is already running." ;; Split on spaces: FIXME: maybe should be whitespace. " ")) - ;; Experimental fix for backslash/long line problem. - ;; Make start-process (called by make-comint) - ;; use a pipe, not a pty. Seems to work. - ; (process-connection-type nil)) - ) + ;; Experimental fix for backslash/long line problem with + ;; Solaris. Make start-process (called by make-comint) + ;; use a pipe, not a pty, by setting process-connection-type=nil. + ;; It seems to work, but has known disadvantages. + ;; (I've forgotten what they are, size problems?). + ;; Unfortunately, this appears to conflict with *non*-mule + ;; versions of FSF Emacs which don't work properly + ;; with piped communication. (Anyone know why?) + ;; So non-mule FSF loses with Solaris. + (process-connection-type + ;; FIXME: test for Solaris here to use pty's on Linux + (if (or (string-match "XEmacs" emacs-version) + (boundp 'mule-version)) + nil + process-connection-type))) ; default ;; An improvement here might be to catch failure of ;; make-comint and then kill off the buffer. Then we |
