[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with emacs -nw under OS X 10.3.5 using latest CVS
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Problem with emacs -nw under OS X 10.3.5 using latest CVS |
Date: |
Thu, 04 Nov 2004 19:21:28 +0900 |
User-agent: |
Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Wed, 3 Nov 2004 17:38:11 -0500, John Barnard <address@hidden> said:
> I'm seeing some odd behavior when running emacs in terminal mode
> (i.e., emacs -nw) built from the latest CVS (as of yesterday) under
> 10.3.5 and latest released dev. tools. Basically there's no output
> shown from any command, prompt is not responsive, and the process
> loads spikes to 100%.
I could reproduce the problem using a Carbon build by setting LANG to
C. Does the following patch work for you?
YAMAMOTO Mitsuharu
address@hidden
Index: src/keyboard.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keyboard.c,v
retrieving revision 1.792
diff -c -r1.792 keyboard.c
*** src/keyboard.c 9 Oct 2004 23:24:49 -0000 1.792
--- src/keyboard.c 4 Nov 2004 10:11:05 -0000
***************
*** 607,613 ****
/* We are unable to use interrupts if FIONREAD is not available,
so flush SIGIO so we won't try. */
! #if !defined (FIONREAD) || defined(HAVE_CARBON)
#ifdef SIGIO
#undef SIGIO
#endif
--- 607,613 ----
/* We are unable to use interrupts if FIONREAD is not available,
so flush SIGIO so we won't try. */
! #ifndef FIONREAD
#ifdef SIGIO
#undef SIGIO
#endif
Index: src/s/darwin.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/s/darwin.h,v
retrieving revision 1.16
diff -c -r1.16 darwin.h
*** src/s/darwin.h 2 Sep 2004 17:02:11 -0000 1.16
--- src/s/darwin.h 4 Nov 2004 10:11:07 -0000
***************
*** 217,222 ****
--- 217,229 ----
/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
#define HAVE_SOCKETS
+ /* In Carbon, asynchronous I/O (using SIGIO) can't be used for window
+ events because they don't come from sockets, even though it works
+ fine on tty's. */
+ #ifdef HAVE_CARBON
+ #define NO_SOCK_SIGIO
+ #endif
+
/* Extra initialization calls in main for Mac OS X system type. */
#ifdef HAVE_CARBON
#define SYMS_SYSTEM syms_of_mac()