Remove unused USE_TERM_CONSOLE ifdefs #1015

This is unused after dropped amiga and msdos support.
This commit is contained in:
Fredrik Fornwall
2014-07-31 18:14:53 +02:00
committed by Justin M. Keyes
parent 84854202fe
commit 1de8fe30c8
3 changed files with 0 additions and 20 deletions

View File

@ -2593,7 +2593,6 @@ Macintosh:
":noremap". Add "mapcmd({string}, {mode})? Use code from ":mkexrc".
9 incsearch is incorrect for "/that/<Return>/this/;//" (last search pattern
isn't updated).
9 term_console is used before it is set (msdos, Amiga).
9 Get out-of-memory for ":g/^/,$s//@/" on 1000 lines, this is not handled
correctly. Get many error messages while redrawing the screen, which
cause another redraw, etc.

View File

@ -902,9 +902,6 @@ EXTERN int read_cmd_fd INIT(= 0); /* fd to read commands from */
/* volatile because it is used in signal handler catch_sigint(). */
EXTERN volatile int got_int INIT(= FALSE); /* set to TRUE when interrupt
signal occurred */
#ifdef USE_TERM_CONSOLE
EXTERN int term_console INIT(= FALSE); /* set to TRUE when console used */
#endif
EXTERN int termcap_active INIT(= FALSE); /* set by starttermcap() */
EXTERN int cur_tmode INIT(= TMODE_COOK); /* input terminal mode */
EXTERN int bangredo INIT(= FALSE); /* set to TRUE with ! command */

View File

@ -1435,15 +1435,6 @@ int set_termname(char_u *term)
# endif
#ifdef USE_TERM_CONSOLE
/* DEFAULT_TERM indicates that it is the machine console. */
if (STRCMP(term, DEFAULT_TERM) != 0)
term_console = FALSE;
else {
term_console = TRUE;
}
#endif
#if defined(UNIX)
/*
* 'ttyfast' is default on for xterm and a few others.
@ -1451,13 +1442,6 @@ int set_termname(char_u *term)
if (vim_is_fastterm(term))
p_tf = TRUE;
#endif
#ifdef USE_TERM_CONSOLE
/*
* 'ttyfast' is default on consoles
*/
if (term_console)
p_tf = TRUE;
#endif
ttest(TRUE); /* make sure we have a valid set of terminal codes */