changeset 59645:9078a74f1daf

* 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.
author Steven Tamm <steventamm@mac.com>
date Wed, 19 Jan 2005 19:14:01 +0000
parents d8d85276ffed
children 763e003c8226
files lisp/ChangeLog lisp/term/mac-win.el
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jan 19 19:09:42 2005 +0000
+++ b/lisp/ChangeLog	Wed Jan 19 19:14:01 2005 +0000
@@ -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
--- a/lisp/term/mac-win.el	Wed Jan 19 19:09:42 2005 +0000
+++ b/lisp/term/mac-win.el	Wed Jan 19 19:14:01 2005 +0000
@@ -1696,8 +1696,9 @@
 
 ;; 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,