summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/termcap.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-07-21 20:45:56 +0000
committerjkh <jkh@FreeBSD.org>2000-07-21 20:45:56 +0000
commitc0840074eadea46346bfde8f66f6e51df10235f7 (patch)
treee7195d4f3aea718036179c09d9372e3dff89fd70 /usr.sbin/sade/termcap.c
parentd0352e3c5f1205d0992b4fedbc66fd4b487cbbd1 (diff)
downloadFreeBSD-src-c0840074eadea46346bfde8f66f6e51df10235f7.zip
FreeBSD-src-c0840074eadea46346bfde8f66f6e51df10235f7.tar.gz
Add a terminal entry for xterm; a lot of people are using xterms
in the serial-installation of FreeBSD.
Diffstat (limited to 'usr.sbin/sade/termcap.c')
-rw-r--r--usr.sbin/sade/termcap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/sade/termcap.c b/usr.sbin/sade/termcap.c
index 5025dcd..9370177 100644
--- a/usr.sbin/sade/termcap.c
+++ b/usr.sbin/sade/termcap.c
@@ -31,7 +31,8 @@ prompt_term(char **termp, char **termcapp)
{ "vt100", termcap_vt100 },
{ "cons25w", termcap_cons25w },
{ "cons25", termcap_cons25 },
- { "cons25-m", termcap_cons25_m } };
+ { "cons25-m", termcap_cons25_m },
+ { "xterm", termcap_xterm } };
if (RunningAsInit) {
while (1) {
@@ -44,7 +45,8 @@ prompt_term(char **termp, char **termcapp)
printf("2 ...................... VT100 or compatible terminal.\n");
printf("3 ...................... FreeBSD system console (color).\n");
printf("4 ...................... FreeBSD system console (monochrome).\n\n");
- printf("Your choice: (1-4) ");
+ printf("5 ...................... xterm terminal emulator.\n\n");
+ printf("Your choice: (1-5) ");
fflush(stdout);
fgets(str, 80, stdin);
i = str[0] - '0';
OpenPOWER on IntegriCloud