1: /* Flags and parameters describing terminal's characteristics.
2: Copyright (C) 1985 Richard M. Stallman.
3:
4: This file is part of GNU Emacs.
5:
6: GNU Emacs is distributed in the hope that it will be useful,
7: but WITHOUT ANY WARRANTY. No author or distributor
8: accepts responsibility to anyone for the consequences of using it
9: or for whether it serves any particular purpose or works at all,
10: unless he says so in writing. Refer to the GNU Emacs General Public
11: License for full details.
12:
13: Everyone is granted permission to copy, modify and redistribute
14: GNU Emacs, but only under the conditions described in the
15: GNU Emacs General Public License. A copy of this license is
16: supposed to have been given to you along with GNU Emacs so you
17: can know your rights and responsibilities. It should be in a
18: file named COPYING. Among other things, the copyright notice
19: and this notice must be preserved on all copies. */
20:
21:
22: extern int baud_rate; /* Output speed in baud */
23: extern int screen_width; /* Number of usable columns */
24: extern int screen_height; /* Number of lines */
25: extern int must_write_spaces; /* Nonzero means spaces in the text
26: must actually be output; can't just skip
27: over some columns to leave them blank. */
28: extern int min_padding_speed; /* Speed below which no padding necessary */
29: extern int fast_clear_end_of_line; /* Nonzero means terminal has 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 window */
34: extern int memory_below_screen; /* Terminal remembers lines scrolled off bottom */
35: extern int fast_clear_end_of_line; /* Terminal has a `ce' string */
36:
37: extern int dont_calculate_costs; /* Nonzero means don't bother computing */
38: /* various cost tables; we won't use them. */
39:
40: /* DCICcost[n] is cost of inserting N characters.
41: DCICcost[-n] is cost of deleting N characters. */
42:
43: #define DCICcost (&DC_ICcost[MScreenWidth])
44: extern int DC_ICcost[1 + 2 * MScreenWidth];
Defined macros
Usage of this include