comparison src/sysdep.c @ 648:70b112526394

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Mon, 18 May 1992 08:14:41 +0000
parents 40b255f55df3
children 681c352bbf30
comparison
equal deleted inserted replaced
647:529171c8b71c 648:70b112526394
477 477
478 /*ARGSUSED*/ 478 /*ARGSUSED*/
479 setpgrp_of_tty (pid) 479 setpgrp_of_tty (pid)
480 int pid; 480 int pid;
481 { 481 {
482 EMACS_SET_TTY_PGRP (input_fd, pid); 482 EMACS_SET_TTY_PGRP (input_fd, &pid);
483 } 483 }
484 484
485 /* Record a signal code and the handler for it. */ 485 /* Record a signal code and the handler for it. */
486 struct save_signal 486 struct save_signal
487 { 487 {
1197 1197
1198 kbd_input_ast () 1198 kbd_input_ast ()
1199 { 1199 {
1200 register int c = -1; 1200 register int c = -1;
1201 int old_errno = errno; 1201 int old_errno = errno;
1202 extern int *input_available_clear_word; 1202 extern EMACS_TIME *input_available_clear_time;
1203 1203
1204 if (waiting_for_ast) 1204 if (waiting_for_ast)
1205 SYS$SETEF (input_ef); 1205 SYS$SETEF (input_ef);
1206 waiting_for_ast = 0; 1206 waiting_for_ast = 0;
1207 input_count++; 1207 input_count++;
1234 XSET (buf[i].code, Lisp_Int, cbuf[i]); 1234 XSET (buf[i].code, Lisp_Int, cbuf[i]);
1235 e.screen = selected_screen; 1235 e.screen = selected_screen;
1236 kbd_buffer_store_event (&e); 1236 kbd_buffer_store_event (&e);
1237 } 1237 }
1238 1238
1239 if (input_available_clear_word) 1239 if (input_available_clear_time)
1240 *input_available_clear_word = 0; 1240 EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0);
1241 errno = old_errno; 1241 errno = old_errno;
1242 } 1242 }
1243 1243
1244 /* Wait until there is something in kbd_buffer. */ 1244 /* Wait until there is something in kbd_buffer. */
1245 1245