1: /* Hooks by which low level terminal operations 2: can be made to call other routines. 3: Copyright (C) 1985 Richard M. Stallman. 4: 5: This file is part of GNU Emacs. 6: 7: GNU Emacs is distributed in the hope that it will be useful, 8: but WITHOUT ANY WARRANTY. No author or distributor 9: accepts responsibility to anyone for the consequences of using it 10: or for whether it serves any particular purpose or works at all, 11: unless he says so in writing. Refer to the GNU Emacs General Public 12: License for full details. 13: 14: Everyone is granted permission to copy, modify and redistribute 15: GNU Emacs, but only under the conditions described in the 16: GNU Emacs General Public License. A copy of this license is 17: supposed to have been given to you along with GNU Emacs so you 18: can know your rights and responsibilities. It should be in a 19: file named COPYING. Among other things, the copyright notice 20: and this notice must be preserved on all copies. */ 21: 22: 23: extern int (*topos_hook) (); 24: extern int (*raw_topos_hook) (); 25: 26: extern int (*clear_to_end_hook) (); 27: extern int (*clear_screen_hook) (); 28: extern int (*clear_end_of_line_hook) (); 29: 30: extern int (*ins_del_lines_hook) (); 31: 32: extern int (*change_line_highlight_hook) (); 33: extern int (*reassert_line_highlight_hook) (); 34: 35: extern int (*insert_chars_hook) (); 36: extern int (*write_chars_hook) (); 37: extern int (*delete_chars_hook) (); 38: 39: extern int (*ring_bell_hook) (); 40: 41: extern int (*reset_terminal_modes_hook) (); 42: extern int (*set_terminal_modes_hook) (); 43: extern int (*update_begin_hook) (); 44: extern int (*update_end_hook) (); 45: extern int (*set_terminal_window_hook) (); 46: 47: extern int (*read_socket_hook) (); 48: extern int (*fix_screen_hook) (); 49: 50: /* If nonzero, send all terminal output characters to this stream also. */ 51: 52: extern FILE *termscript;