emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r109026: Removed some unnecessary und


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109026: Removed some unnecessary undef INTERRUPT_INPUTs from src/s
Date: Wed, 11 Jul 2012 00:38:33 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109026
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2012-07-11 00:38:33 -0700
message:
  Removed some unnecessary undef INTERRUPT_INPUTs from src/s
  
  * src/s/bsd-common.h, src/s/cygwin.h: No need to undefine INTERRUPT_INPUT,
  since nothing has defined it on these platforms.
modified:
  src/ChangeLog
  src/s/bsd-common.h
  src/s/cygwin.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-07-11 07:37:39 +0000
+++ b/src/ChangeLog     2012-07-11 07:38:33 +0000
@@ -24,6 +24,9 @@
 
 2012-07-11  Glenn Morris  <address@hidden>
 
+       * s/bsd-common.h, s/cygwin.h: No need to undefine INTERRUPT_INPUT,
+       since nothing has defined it on these platforms.
+
        * s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/gnu-linux.h:
        * s/irix6-5.h: Move SIGNALS_VIA_CHARACTERS to configure.
 

=== modified file 'src/s/bsd-common.h'
--- a/src/s/bsd-common.h        2012-07-11 07:28:27 +0000
+++ b/src/s/bsd-common.h        2012-07-11 07:38:33 +0000
@@ -47,10 +47,6 @@
    for X functions taking float or double parameters.  */
 #define NARROWPROTO 1
 
-/* Do not use interrupt_input = 1 by default, because in 4.3
-   we can make noninterrupt input work properly.  */
-#undef INTERRUPT_INPUT
-
 /* First pty name is /dev/ptyp0.  */
 #define FIRST_PTY_LETTER 'p'
 

=== modified file 'src/s/cygwin.h'
--- a/src/s/cygwin.h    2012-07-11 07:28:27 +0000
+++ b/src/s/cygwin.h    2012-07-11 07:38:33 +0000
@@ -17,29 +17,6 @@
 You should have received a copy of the GNU General Public License
 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
-/* Emacs can read input using SIGIO and buffering characters itself,
-   or using CBREAK mode and making C-g cause SIGINT.
-   The choice is controlled by the variable interrupt_input.
-
-   Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
-
-   Emacs uses the presence or absence of the SIGIO and BROKEN_SIGIO macros
-   to indicate whether or not signal-driven I/O is possible.  It uses
-   INTERRUPT_INPUT to decide whether to use it by default.
-
-   SIGIO can be used only on systems that implement it (4.2 and 4.3).
-   CBREAK mode has two disadvantages
-     1) At least in 4.2, it is impossible to handle the Meta key properly.
-        I hear that in system V this problem does not exist.
-     2) Control-G causes output to be discarded.
-        I do not know whether this can be fixed in system V.
-
-   Another method of doing input is planned but not implemented.
-   It would have Emacs fork off a separate process
-   to read the input and send it to the true Emacs process
-   through a pipe. */
-#undef INTERRUPT_INPUT
-
 /* Define HAVE_PTYS if the system supports pty devices.  */
 #define HAVE_PTYS
 #define PTY_ITERATION          int i; for (i = 0; i < 1; i++) /* ick */


reply via email to

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