emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; OSX: isatty


From: Stefan Monnier
Subject: Re: 23.0.60; OSX: isatty
Date: Fri, 16 Nov 2007 17:22:07 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> This narrows down the report regarding accept-process-output a bit: I've
> built Emacs CVS against X11 only (no Carbon) on OSX 10.4.10. The
> following C program provides a simple test case:

>    #include <stdio.h>
>    #include <unistd.h>
>    int main() { printf("isatty(stdin): %d\n", isatty(fileno(stdin)));
>                 fflush(stdout); return 0; }

> When I run this program from within Emacs with M-x comint-run, I get
> different outputs in the buffer, depending on the Emacs version:

>    *) Before multi-tty merge:

>       isatty(stdin): 1

>    *) After multi-tty merge (current CVS):

>       isatty(stdin): 0

> For this reason, some programs stop showing prompts. M-x shell, for
> example, does not show any prompt, but the (bash) shell is there, and I
> can enter and execute commands in the buffer.

What's the value of `process-connection-type'?


        Stefan




reply via email to

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