diff options
Diffstat (limited to 'src/termhooks.h')
-rw-r--r-- | src/termhooks.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/termhooks.h b/src/termhooks.h new file mode 100644 index 00000000000..bec2c3aa119 --- /dev/null +++ b/src/termhooks.h @@ -0,0 +1,53 @@ +/* Hooks by which low level terminal operations + can be made to call other routines. + Copyright (C) 1985, 1986 Free Software Foundation, Inc. + +This file is part of GNU Emacs. + +GNU Emacs is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 1, or (at your option) +any later version. + +GNU Emacs is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Emacs; see the file COPYING. If not, write to +the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + + +extern int (*move_cursor_hook) (); +extern int (*raw_move_cursor_hook) (); + +extern int (*clear_to_end_hook) (); +extern int (*clear_screen_hook) (); +extern int (*clear_end_of_line_hook) (); + +extern int (*ins_del_lines_hook) (); + +extern int (*change_line_highlight_hook) (); +extern int (*reassert_line_highlight_hook) (); + +extern int (*insert_chars_hook) (); +extern int (*output_chars_hook) (); +extern int (*delete_chars_hook) (); + +extern int (*ring_bell_hook) (); + +extern int (*reset_terminal_modes_hook) (); +extern int (*set_terminal_modes_hook) (); +extern int (*update_begin_hook) (); +extern int (*update_end_hook) (); +extern int (*set_terminal_window_hook) (); + +extern int (*read_socket_hook) (); +extern int (*fix_screen_hook) (); +extern int (*calculate_costs_hook) (); + +/* If nonzero, send all terminal output characters to this stream also. */ + +extern FILE *termscript; + |