summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-26 14:46:08 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-26 14:46:08 +0000
commitd31d4c05cff725db571d4463da4106638304e29b (patch)
treebecea166674c93c72b9d1ecfb56595e124ebd818 /tty-term.c
parent094bca5ac3024957700ff5c0af74fbec18a79172 (diff)
Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tty-term.c b/tty-term.c
index 09ff9b1e..0c22b527 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -388,21 +388,6 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
xasprintf(cause, "terminal does not support cud1 or cud");
goto error;
}
- if (!tty_term_has(term, TTYC_IL1) && !tty_term_has(term, TTYC_IL)) {
- xasprintf(cause, "terminal does not support il1 or il");
- goto error;
- }
- if (!tty_term_has(term, TTYC_DL1) && !tty_term_has(term, TTYC_DL)) {
- xasprintf(cause, "terminal does not support dl1 or dl");
- goto error;
- }
- if (!tty_term_has(term, TTYC_ICH1) &&
- !tty_term_has(term, TTYC_ICH) && (!tty_term_has(term, TTYC_SMIR) ||
- !tty_term_has(term, TTYC_RMIR))) {
- xasprintf(cause,
- "terminal does not support ich1 or ich or smir and rmir");
- goto error;
- }
/* Figure out if we have 256 or 88 colours. */
if (tty_term_number(term, TTYC_COLORS) == 256)