summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorSteven Tamm <steventamm@mac.com>2005-01-20 18:13:48 +0000
committerSteven Tamm <steventamm@mac.com>2005-01-20 18:13:48 +0000
commita15252fdfb18b102d25c3c90e866036073a1c3de (patch)
tree4526fc8bbd1572becbf0ce4b595380353ddd31a5 /lisp
parentb059de99a9a3ad624d9652287ca24826609e0f37 (diff)
downloademacs-a15252fdfb18b102d25c3c90e866036073a1c3de.tar.gz
emacs-a15252fdfb18b102d25c3c90e866036073a1c3de.tar.bz2
emacs-a15252fdfb18b102d25c3c90e866036073a1c3de.zip
* editfns.c (Voperating_system_release): Added.
(init_editfns): Assign new variable operating-system-release based on call to uname if available. (get_operating_system_release): Added function to allow c-level access to operating system release. * config.h: Regenerated. * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or less. (MIN_PTY_KERNEL_VERSION): Defined minimum kernel version for using ptys as '7'. * term/mac-win.el (process-connection-type): Removed. Controlled now by s/darwin.h:PTY_ITERATION.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/term/mac-win.el8
2 files changed, 8 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5abd6512e46..6db1db5f854 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-20 Steven Tamm <steventamm@mac.com>
+
+ * term/mac-win.el (process-connection-type): Removed.
+ Controlled now by s/darwin.h:PTY_ITERATION.
+
2005-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
* window.el (handle-select-window): Don't switch window when we're
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index 519e8a5f076..a7ded41103e 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1694,11 +1694,9 @@ Switch to a buffer editing the last file dropped."
(if (string= default-directory "/")
(cd "~"))
-;; 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. Fixed with darwin 7 (OS X 10.3).
-(setq process-connection-type
- (not (string-match "^[0-6]\\." operating-system-release)))
+;; Darwin 6- pty breakage is now controlled from the C code so that
+;; it applies to all builds on darwin. See s/darwin.h PTY_ITERATION.
+;; (setq process-connection-type t)
;; Assume that fonts are always scalable on the Mac. This sometimes
;; results in characters with jagged edges. However, without it,