diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-07-07 19:14:18 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-07-07 19:14:18 +0000 |
commit | a44161c313d46a1b10fd764728a089c26037710a (patch) | |
tree | 075a7cc7ff83d3e1bc3dc06c154d3e34dcdc3e21 /readline/terminal.c | |
parent | d18570046c8cbacd074c2765813c06e541893f86 (diff) | |
download | gdb-a44161c313d46a1b10fd764728a089c26037710a.zip gdb-a44161c313d46a1b10fd764728a089c26037710a.tar.gz gdb-a44161c313d46a1b10fd764728a089c26037710a.tar.bz2 |
Import of readline 4.0readline_4_0
Diffstat (limited to 'readline/terminal.c')
-rw-r--r-- | readline/terminal.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/readline/terminal.c b/readline/terminal.c index a1fcc25..c22ec51 100644 --- a/readline/terminal.c +++ b/readline/terminal.c @@ -186,10 +186,8 @@ _rl_get_screen_size (tty, ignore_env) if (ignore_env == 0 && (ss = get_env_value ("COLUMNS"))) screenwidth = atoi (ss); -#if !defined(__DJGPP__) if (screenwidth <= 0 && term_string_buffer) screenwidth = tgetnum ("co"); -#endif } /* Environment variable LINES overrides setting of "li" if IGNORE_ENV @@ -199,10 +197,8 @@ _rl_get_screen_size (tty, ignore_env) if (ignore_env == 0 && (ss = get_env_value ("LINES"))) screenheight = atoi (ss); -#if !defined(__DJGPP__) if (screenheight <= 0 && term_string_buffer) screenheight = tgetnum ("li"); -#endif } /* If all else fails, default to 80x24 terminal. */ @@ -291,12 +287,10 @@ static void get_term_capabilities (bp) char **bp; { -#if !defined(__DJGPP__) register int i; for (i = 0; i < NUM_TC_STRINGS; i++) *(tc_strings[i].tc_value) = tgetstr (tc_strings[i].tc_var, bp); -#endif tcap_initialized = 1; } @@ -546,20 +540,16 @@ ding () void _rl_enable_meta_key () { -#if !defined(__DJGPP__) if (term_has_meta && term_mm) tputs (term_mm, 1, _rl_output_character_function); -#endif } void _rl_control_keypad (on) int on; { -#if !defined(__DJGPP__) if (on && term_ks) tputs (term_ks, 1, _rl_output_character_function); else if (!on && term_ke) tputs (term_ke, 1, _rl_output_character_function); -#endif } |