From: Steven Tamm Date: Wed, 19 Jan 2005 19:14:01 +0000 (+0000) Subject: * term/mac-win.el (process-connection-type): Use new X-Git-Tag: ttn-vms-21-2-B4~2664 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8db8a5cf5fe726b504372fd2e6bb7ab685657e7b;p=emacs.git * 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cf269a770e9..f7eb4f9749c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2005-01-19 Steven Tamm + + * 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 * calc/calc-ext.el (calc-fancy-prefix-other-key): Don't clear diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index 4b3c7531e5a..519e8a5f076 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el @@ -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,