view etc/forms-d2.dat @ 109164:a7b09b567d58

If kbd_buffer is becoming full, stop reading until it drains (Bug#6571). * keyboard.c (input_available_signal): Declare. (kbd_buffer_nr_stored): New function. (kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571). (kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571). (tty_read_avail_input): If input is on hold, return. Don't read more that free slots in kbd_buffer (Bug#6571). * process.h (hold_keyboard_input, unhold_keyboard_input) (kbd_on_hold_p): Declare. * process.c (kbd_is_on_hold): New variable. (hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p): New functions. (wait_reading_process_output): If kbd_on_hold_p returns non-zero, select on empty input mask. (init_process): Initialize kbd_is_on_hold to 0.
author Jan D <jan.h.d@swipnet.se>
date Wed, 07 Jul 2010 19:39:49 +0200
parents d3ed6acade59
children
line wrap: on
line source

comp.sources.unix		v11i008	269	getty-enable	1	tron@sc.nsc.com (Ronald S. Karr)	Getty on/off programs for 4.[23] BSD		890505	This program can be used to dynamically enable / disable terminallines on a BSD system.
comp.sources.unix	11	v11i022	283	syslog	1	emory!arnold (Arnold D. Robbins {EUCC})	Development version of syslog(3), for ATT, too		28/08/1987	
comp.sources.unix	11	v11i033	290	less3	3	sun!intsc!convgt!mark	The 'less' pager		02/09/1987	
comp.sources.unix	11	v11i036	293	test.el	3	"Mark A. Ardis" <maa@sei.cmu.edu>	Test system for GNU Emacs		10/09/1987