Mercurial > emacs
comparison lisp/term/mac-win.el @ 59658:45074d913d23
* 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.
author | Steven Tamm <steventamm@mac.com> |
---|---|
date | Thu, 20 Jan 2005 18:13:48 +0000 |
parents | 9078a74f1daf |
children | e7acbfa92707 6d92d69fae33 |
comparison
equal
deleted
inserted
replaced
59657:f3aa25eacdb3 | 59658:45074d913d23 |
---|---|
1692 ;; If Emacs is started from the Finder, change the default directory | 1692 ;; If Emacs is started from the Finder, change the default directory |
1693 ;; to the user's home directory. | 1693 ;; to the user's home directory. |
1694 (if (string= default-directory "/") | 1694 (if (string= default-directory "/") |
1695 (cd "~")) | 1695 (cd "~")) |
1696 | 1696 |
1697 ;; Tell Emacs to use pipes instead of pty's for processes because the | 1697 ;; Darwin 6- pty breakage is now controlled from the C code so that |
1698 ;; latter sometimes lose characters. Pty support is compiled in since | 1698 ;; it applies to all builds on darwin. See s/darwin.h PTY_ITERATION. |
1699 ;; ange-ftp will not work without it. Fixed with darwin 7 (OS X 10.3). | 1699 ;; (setq process-connection-type t) |
1700 (setq process-connection-type | |
1701 (not (string-match "^[0-6]\\." operating-system-release))) | |
1702 | 1700 |
1703 ;; Assume that fonts are always scalable on the Mac. This sometimes | 1701 ;; Assume that fonts are always scalable on the Mac. This sometimes |
1704 ;; results in characters with jagged edges. However, without it, | 1702 ;; results in characters with jagged edges. However, without it, |
1705 ;; fonts with both truetype and bitmap representations but no italic | 1703 ;; fonts with both truetype and bitmap representations but no italic |
1706 ;; or bold bitmap versions will not display these variants correctly. | 1704 ;; or bold bitmap versions will not display these variants correctly. |