bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell-mode doesn't get a pty under Mac OS 10.3 in Nov/1/03 CVS version


From: Stephen McCracken
Subject: shell-mode doesn't get a pty under Mac OS 10.3 in Nov/1/03 CVS version
Date: Sun, 02 Nov 2003 19:22:51 -0700
User-agent: Microsoft-Entourage/10.1.4.030702.0

After reading the discussion about process-connection-type on akochoi's
weblog, I finally understood why job control was broken in shell-mode.  When
process-connection-type is nil, M-x shell gives me this message:

> Warning: no access to tty (Bad file descriptor).
> Thus no job control in this shell

Here is an easy fix, but it would be nice if I (and more importantly, new
users) didn't have to do this to make shell-mode work.

(add-hook 'comint-mode-hook
      (lambda ()
        (make-local-variable 'process-connection-type)
        (setq process-connection-type t)))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]