[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23.0.60; OSX: isatty
From: |
Markus Triska |
Subject: |
23.0.60; OSX: isatty |
Date: |
Fri, 16 Nov 2007 22:31:56 +0100 |
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.
In GNU Emacs 23.0.60.1 (i386-apple-darwin8.10.1, X toolkit)
of 2007-11-12 on mt-computer.local
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--without-carbon' '--with-x' '--without-gif'
'--without-tiff' '--enable-font-backend' 'LIBS=-lresolv''
- 23.0.60; OSX: isatty,
Markus Triska <=
- Re: 23.0.60; OSX: isatty, Stefan Monnier, 2007/11/16
- Re: 23.0.60; OSX: isatty, Markus Triska, 2007/11/16
- Re: 23.0.60; OSX: isatty, Stefan Monnier, 2007/11/16
- Re: 23.0.60; OSX: isatty, Markus Triska, 2007/11/17
- Re: 23.0.60; OSX: isatty, Markus Triska, 2007/11/17
- [patch] Re: 23.0.60; OSX: isatty, Markus Triska, 2007/11/19
- Re: [patch] Re: 23.0.60; OSX: isatty, Stefan Monnier, 2007/11/22