# HG changeset patch # User Jim Blandy # Date 736994106 0 # Node ID a0f174dc6ac56f074a23b15abd0d7954406b0f1c # Parent d7cacd33223018a8ce008c18ea511654907468c6 * s/template.h: Explain the relative significance of the SIGIO and INTERRUPT_INPUT macros. diff -r d7cacd332230 -r a0f174dc6ac5 src/s/template.h --- a/src/s/template.h Mon May 10 00:34:31 1993 +0000 +++ b/src/s/template.h Mon May 10 00:35:06 1993 +0000 @@ -50,8 +50,13 @@ /* 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 macro 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 disadvatages 1) At least in 4.2, it is impossible to handle the Meta key properly. @@ -62,8 +67,7 @@ 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. -*/ + through a pipe. */ #define INTERRUPT_INPUT