summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sade/termcap.c')
-rw-r--r--usr.sbin/sade/termcap.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.sbin/sade/termcap.c b/usr.sbin/sade/termcap.c
index 977b26c..4486dc9 100644
--- a/usr.sbin/sade/termcap.c
+++ b/usr.sbin/sade/termcap.c
@@ -26,15 +26,7 @@
static void
prompt_term(char **termp, char **termcapp)
{
- char str[80];
- static struct {
- const char *term, *termcap;
- } lookup[] = { { "ansi", termcap_ansi },
- { "vt100", termcap_vt100 },
- { "cons25", termcap_cons25 },
- { "cons25-m", termcap_cons25_m },
- { "xterm", termcap_xterm },
- { "cons25w", termcap_cons25w } }; /* must be last */
+ char str[80];
printf("\nPlease set your TERM variable before running this program.\n");
printf("Defaulting to an ANSI compatible terminal - please press RETURN\n");
OpenPOWER on IntegriCloud