Initial revision
[bpt/emacs.git] / src / termchar.h
1 /* Flags and parameters describing terminal's characteristics.
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc.
3
4 This file is part of GNU Emacs.
5
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 1, or (at your option)
9 any later version.
10
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20
21 extern int baud_rate; /* Output speed in baud */
22 extern int screen_width; /* Number of usable columns */
23 extern int screen_height; /* Number of lines */
24 extern int must_write_spaces; /* Nonzero means spaces in the text
25 must actually be output; can't just skip
26 over some columns to leave them blank. */
27 extern int min_padding_speed; /* Speed below which no padding necessary */
28 extern int fast_clear_end_of_line; /* Nonzero means terminal has
29 command for this */
30
31 extern int line_ins_del_ok; /* Terminal can insert and delete lines */
32 extern int char_ins_del_ok; /* Terminal can insert and delete chars */
33 extern int scroll_region_ok; /* Terminal supports setting the scroll
34 window */
35 extern int memory_below_screen; /* Terminal remembers lines scrolled
36 off bottom */
37 extern int fast_clear_end_of_line; /* Terminal has a `ce' string */
38
39 extern int dont_calculate_costs; /* Nonzero means don't bother computing
40 various cost tables; we won't use them. */
41
42 /* Nonzero means no need to redraw the entire screen on resuming
43 a suspended Emacs. This is useful on terminals with multiple pages,
44 where one page is used for Emacs and another for all else. */
45 extern int no_redraw_on_reenter;