# HG changeset patch # User Steven Tamm # Date 1106162041 0 # Node ID 9078a74f1daf9276e517fc5abb81b594d3b4288b # Parent d8d85276ffed0a62d8c0e44c28510a26aa92f2ff * 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 -r d8d85276ffed -r 9078a74f1daf lisp/ChangeLog --- 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 + + * 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 -r d8d85276ffed -r 9078a74f1daf lisp/term/mac-win.el --- 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,