summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-04 14:33:00 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-04 14:33:00 -0800
commit06b63c9b0c6fd87e699ba6ba3be959bfd150ef8a (patch)
treec1182e76215f9f7f593461b7d1f47c8dd12909f3 /src/systty.h
parent76abf5e5a55899a0b3f8851fce7406858978e9a6 (diff)
downloademacs-06b63c9b0c6fd87e699ba6ba3be959bfd150ef8a.tar.gz
Remove EMACS_OUTQSIZE+sleep hack.
* dispnew.c (update_frame_1): Remove hack for terminals slower than 2400 bps, which throttled Emacs by having it sleep. This code hasn't worked since at least 2007, when the multi-tty stuff was added, and anyway those old terminals are long dead. * systty.h (EMACS_OUTQSIZE): Remove; unused. The macro isn't used even without the dispnew.c change, as dispnew.c doesn't include systty.h.
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/systty.h b/src/systty.h
index b7f36c6c259..0611511d901 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -52,17 +52,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#endif /* not CDEL */
#endif /* not _POSIX_VDISABLE */
-/* Get the number of characters queued for output. */
-
-/* EMACS_OUTQSIZE(FD, int *SIZE) stores the number of characters
- queued for output to the terminal FD in *SIZE, if FD is a tty.
- Returns -1 if there was an error (i.e. FD is not a tty), 0
- otherwise. */
-#ifdef TIOCOUTQ
-#define EMACS_OUTQSIZE(fd, size) (ioctl ((fd), TIOCOUTQ, (size)))
-#endif
-
-
/* Manipulate a terminal's current process group. */
/* EMACS_GETPGRP (arg) returns the process group of the process. */