comparison src/sysdep.c @ 2828:a25c824ed558

[xemacs-hg @ 2005-06-26 18:04:49 by aidan] Rename the ascii-character property, support more keysyms.
author aidan
date Sun, 26 Jun 2005 18:05:05 +0000
parents e20ee26d2313
children 5eb04c84c7ae
comparison
equal deleted inserted replaced
2827:936a6576c655 2828:a25c824ed558
1600 } 1600 }
1601 #endif 1601 #endif
1602 if (CONSOLE_TTY_DATA (con)->controlling_terminal) 1602 if (CONSOLE_TTY_DATA (con)->controlling_terminal)
1603 { 1603 {
1604 tty.main.c_cc[VINTR] = /* C-g (usually) gives SIGINT */ 1604 tty.main.c_cc[VINTR] = /* C-g (usually) gives SIGINT */
1605 event_to_character (CONSOLE_QUIT_EVENT (con), 0, 1, 0); 1605 event_to_character (CONSOLE_QUIT_EVENT (con), 0, 1);
1606 /* Set up C-g for both SIGQUIT and SIGINT. 1606 /* Set up C-g for both SIGQUIT and SIGINT.
1607 We don't know which we will get, but we handle both alike 1607 We don't know which we will get, but we handle both alike
1608 so which one it really gives us does not matter. */ 1608 so which one it really gives us does not matter. */
1609 tty.main.c_cc[VQUIT] = tty.main.c_cc[VINTR]; 1609 tty.main.c_cc[VQUIT] = tty.main.c_cc[VINTR];
1610 } 1610 }
1694 #ifndef HAVE_TERMIO 1694 #ifndef HAVE_TERMIO
1695 #ifdef HAVE_TCHARS 1695 #ifdef HAVE_TCHARS
1696 /* Note: if not using CBREAK mode, it makes no difference how we 1696 /* Note: if not using CBREAK mode, it makes no difference how we
1697 set this */ 1697 set this */
1698 tty.tchars = new_tchars; 1698 tty.tchars = new_tchars;
1699 tty.tchars.t_intrc = event_to_character (CONSOLE_QUIT_EVENT (con), 0, 1, 0); 1699 tty.tchars.t_intrc = event_to_character (CONSOLE_QUIT_EVENT (con), 0, 1);
1700 if (TTY_FLAGS (con).flow_control) 1700 if (TTY_FLAGS (con).flow_control)
1701 { 1701 {
1702 tty.tchars.t_startc = '\021'; 1702 tty.tchars.t_startc = '\021';
1703 tty.tchars.t_stopc = '\023'; 1703 tty.tchars.t_stopc = '\023';
1704 } 1704 }