From 8ba590b4738aa952cf598cb5a1a22415d67529f1 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sat, 28 Nov 2009 14:42:21 +0000 Subject: Sync OpenBSD patchset 563: Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set. --- tty-term.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'tty-term.c') diff --git a/tty-term.c b/tty-term.c index 596b293a..9305c5d5 100644 --- a/tty-term.c +++ b/tty-term.c @@ -1,4 +1,4 @@ -/* $Id: tty-term.c,v 1.37 2009-11-26 09:19:05 nicm Exp $ */ +/* $Id: tty-term.c,v 1.38 2009-11-28 14:42:21 tcunha Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -392,21 +392,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) -- cgit