[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/keyboard.c,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/src/keyboard.c,v |
Date: |
Sun, 13 Jan 2008 00:43:59 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 08/01/13 00:43:56
Index: src/keyboard.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keyboard.c,v
retrieving revision 1.937
retrieving revision 1.938
diff -u -b -r1.937 -r1.938
--- src/keyboard.c 6 Jan 2008 21:34:57 -0000 1.937
+++ src/keyboard.c 13 Jan 2008 00:43:54 -0000 1.938
@@ -95,18 +95,7 @@
during the current critical section. */
int interrupt_input_pending;
-
-#ifdef HAVE_WINDOW_SYSTEM
-/* Make all keyboard buffers much bigger when using X windows. */
-#ifdef MAC_OS8
-/* But not too big (local data > 32K error) if on Mac OS Classic. */
-#define KBD_BUFFER_SIZE 512
-#else
-#define KBD_BUFFER_SIZE 4096
-#endif
-#else /* No X-windows, character input */
#define KBD_BUFFER_SIZE 4096
-#endif /* No X-windows */
#ifdef MULTI_KBOARD
KBOARD *initial_kboard;
@@ -7234,7 +7223,7 @@
if (n_to_read > sizeof cbuf)
n_to_read = sizeof cbuf;
#else /* no FIONREAD */
-#if defined (USG) || defined (DGUX) || defined(CYGWIN)
+#if defined (USG) || defined(CYGWIN)
/* Read some input if available, but don't wait. */
n_to_read = sizeof cbuf;
fcntl (fileno (tty->input), F_SETFL, O_NDELAY);
@@ -7284,9 +7273,9 @@
);
#ifndef FIONREAD
-#if defined (USG) || defined (DGUX) || defined (CYGWIN)
+#if defined (USG) || defined (CYGWIN)
fcntl (fileno (tty->input), F_SETFL, 0);
-#endif /* USG or DGUX or CYGWIN */
+#endif /* USG or CYGWIN */
#endif /* no FIONREAD */
if (nread <= 0)
- [Emacs-diffs] Changes to emacs/src/keyboard.c,v, Stefan Monnier, 2008/01/03
- [Emacs-diffs] Changes to emacs/src/keyboard.c,v, Nick Roberts, 2008/01/06
- [Emacs-diffs] Changes to emacs/src/keyboard.c,v,
Dan Nicolaescu <=
- [Emacs-diffs] Changes to emacs/src/keyboard.c,v, Richard M. Stallman, 2008/01/25
- [Emacs-diffs] Changes to emacs/src/keyboard.c,v, Stefan Monnier, 2008/01/27
- [Emacs-diffs] Changes to emacs/src/keyboard.c,v, Miles Bader, 2008/01/31