|
|
1.1 root 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 command for this */
29:
30: extern int line_ins_del_ok; /* Terminal can insert and delete lines */
31: extern int char_ins_del_ok; /* Terminal can insert and delete chars */
32: extern int scroll_region_ok; /* Terminal supports setting the scroll window */
33: extern int memory_below_screen; /* Terminal remembers lines scrolled off bottom */
34: extern int fast_clear_end_of_line; /* Terminal has a `ce' string */
35:
36: extern int dont_calculate_costs; /* Nonzero means don't bother computing */
37: /* various cost tables; we won't use them. */
38:
39: /* Nonzero means no need to redraw the entire screen on resuming
40: a suspended Emacs. This is useful on terminals with multiple pages,
41: where one page is used for Emacs and another for all else. */
42: extern int no_redraw_on_reenter;
43:
44: /* DCICcost[n] is cost of inserting N characters.
45: DCICcost[-n] is cost of deleting N characters. */
46:
47: #define DCICcost (&DC_ICcost[screen_width])
48: extern int *DC_ICcost;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.