Emacs 21 for Mac OS X
Latest News, FAQ, Files, Links, and other Resources.
Latest News


Obtaining and Building Emacs



Emacs Home Page

Emacs Project Page on Savannah

Emacs for Mac OS Classic Project Page

My OS X Programming Blog

    This is Emacs 21's Mac OS X maintainer's web page.

Truncated Process Output Problem When Emacs Runs in Terminal

Wednesday, October 22, 2003

Long-time users of Emacs on Mac OS X will know that the Lisp variable process-connection-type needs to be set to nil. Otherwise some output of processes started by Emacs may be lost. This is due to a broken implementation of pty's in Darwin.

Process-connection-type is set to nil by default in lisp/term/mac-win.el. But when Emacs is started in the terminal by emacs -nw, that code doesn't get executed. I'll probably fix the problem by removing pty support entirely in the future. For now, please add

(setq process-connection-type nil)

to your startup file or site startup file if you're experiencing problems with anything that starts an external process, e.g., tramp, compile, diff, ediff, man, etc.

October 2003
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Sep  Nov

Copyright © 2003 Andrew Choi <akochoi-emacs at shaw.ca> Created with
emacs Made on a Mac