]> code.delx.au - gnu-emacs/commitdiff
* term/mac-win.el (process-connection-type): Use new
authorSteven Tamm <steventamm@mac.com>
Wed, 19 Jan 2005 19:14:01 +0000 (19:14 +0000)
committerSteven Tamm <steventamm@mac.com>
Wed, 19 Jan 2005 19:14:01 +0000 (19:14 +0000)
operating-system-release variable to use ptys on Darwin 7 (OSX
10.3) when using carbon build.

lisp/ChangeLog
lisp/term/mac-win.el

index cf269a770e9d9fae49dc8f57676e7335a009cd82..f7eb4f9749cb3cb54d2b4fc2ef99855372efdca6 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-19  Steven Tamm  <steventamm@mac.com>
+
+       * term/mac-win.el (process-connection-type): Use new
+       operating-system-release variable to use ptys on Darwin 7 (OSX
+       10.3) when using carbon build.
+
 2005-01-19  Jay Belanger  <belanger@truman.edu>
 
        * calc/calc-ext.el (calc-fancy-prefix-other-key): Don't clear
index 4b3c7531e5a99d2c8b8e3ba5f5db79b4abd35bc8..519e8a5f07635f75bcabc4614efff86b67c4ffb9 100644 (file)
@@ -1696,8 +1696,9 @@ Switch to a buffer editing the last file dropped."
 
 ;; Tell Emacs to use pipes instead of pty's for processes because the
 ;; latter sometimes lose characters.  Pty support is compiled in since
-;; ange-ftp will not work without it.
-(setq process-connection-type nil)
+;; ange-ftp will not work without it.  Fixed with darwin 7 (OS X 10.3).
+(setq process-connection-type 
+      (not (string-match "^[0-6]\\." operating-system-release)))
 
 ;; Assume that fonts are always scalable on the Mac.  This sometimes
 ;; results in characters with jagged edges.  However, without it,