summaryrefslogtreecommitdiff
path: root/src/termchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/termchar.h')
-rw-r--r--src/termchar.h38
1 files changed, 7 insertions, 31 deletions
diff --git a/src/termchar.h b/src/termchar.h
index 49b1be87bea..c54c1dde061 100644
--- a/src/termchar.h
+++ b/src/termchar.h
@@ -64,29 +64,6 @@ struct tty_display_info
/* The previous terminal frame we displayed on this tty. */
struct frame *previous_terminal_frame;
- /* Terminal characteristics. */
-
- int must_write_spaces; /* Nonzero means spaces in the text must
- actually be output; can't just skip over
- some columns to leave them blank. */
- int fast_clear_end_of_line; /* Nonzero means terminal has a `ce' string */
-
- int line_ins_del_ok; /* Terminal can insert and delete lines */
- int char_ins_del_ok; /* Terminal can insert and delete chars */
- int scroll_region_ok; /* Terminal supports setting the scroll
- window */
- int scroll_region_cost; /* Cost of setting the scroll window,
- measured in characters. */
- int memory_below_frame; /* Terminal remembers lines scrolled
- off bottom */
-
-#if 0 /* These are not used anywhere. */
- /* EMACS_INT baud_rate; */ /* Output speed in baud */
- int min_padding_speed; /* Speed below which no padding necessary. */
- int dont_calculate_costs; /* Nonzero means don't bother computing
- various cost tables; we won't use them. */
-#endif
-
/* Strings, numbers and flags taken from the termcap entry. */
char *TS_ins_line; /* "al" */
@@ -198,6 +175,13 @@ struct tty_display_info
/* Flag used in tty_show/hide_cursor. */
int cursor_hidden;
+
+ /* Nonzero means use ^S/^Q for flow control. */
+ int flow_control;
+
+ /* This is a copy of struct frame's display_method value; needed for
+ freeing up memory when deleting the tty. */
+ struct display_method *display_method;
};
/* A chain of structures for all tty devices currently in use. */
@@ -215,13 +199,5 @@ extern struct tty_display_info *tty_list;
#define TTY_OUTPUT(t) ((t)->output)
#define TTY_TERMSCRIPT(t) ((t)->termscript)
-#define TTY_MUST_WRITE_SPACES(t) ((t)->must_write_spaces)
-#define TTY_FAST_CLEAR_END_OF_LINE(t) ((t)->fast_clear_end_of_line)
-#define TTY_LINE_INS_DEL_OK(t) ((t)->line_ins_del_ok)
-#define TTY_CHAR_INS_DEL_OK(t) ((t)->char_ins_del_ok)
-#define TTY_SCROLL_REGION_OK(t) ((t)->scroll_region_ok)
-#define TTY_SCROLL_REGION_COST(t) ((t)->scroll_region_cost)
-#define TTY_MEMORY_BELOW_FRAME(t) ((t)->memory_below_frame)
-
/* arch-tag: bf9f0d49-842b-42fb-9348-ec8759b27193
(do not change this comment) */