From e45a1fe921b938857ee605537095f16472f6a8a3 Mon Sep 17 00:00:00 2001 From: lukem Date: Mon, 24 Jun 2002 17:36:27 +0000 Subject: [PATCH] Add wsvt25 termcap entry, and use it if BOOTMODEL=big. Sysinst now looks nice in colour. From Grant Beattie , with changes by me. --- distrib/i386/floppies/common/dot.profile | 8 ++++-- distrib/i386/floppies/common/termcap.mini | 32 ++++++++++++++++++++++- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/distrib/i386/floppies/common/dot.profile b/distrib/i386/floppies/common/dot.profile index 1d47b8e2d8b1..922d7b5ecaaa 100644 --- a/distrib/i386/floppies/common/dot.profile +++ b/distrib/i386/floppies/common/dot.profile @@ -1,4 +1,4 @@ -# $NetBSD: dot.profile,v 1.1 2002/02/03 16:22:22 lukem Exp $ +# $NetBSD: dot.profile,v 1.2 2002/06/24 17:36:27 lukem Exp $ # # Copyright (c) 1997 Perry E. Metzger # Copyright (c) 1994 Christopher G. Demetriou @@ -36,7 +36,6 @@ PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ export PATH TERM=pc3 -export TERM HOME=/ export HOME BLOCKSIZE=1k @@ -46,6 +45,11 @@ export EDITOR BOOTMODEL=@BOOTMODEL@ export BOOTMODEL +if [ "${BOOTMODEL}" = "big" ]; then + TERM=wsvt25 +fi +export TERM + umask 022 ROOTDEV=/dev/md0a diff --git a/distrib/i386/floppies/common/termcap.mini b/distrib/i386/floppies/common/termcap.mini index d5d4b849c1da..5125f61caace 100644 --- a/distrib/i386/floppies/common/termcap.mini +++ b/distrib/i386/floppies/common/termcap.mini @@ -1,4 +1,4 @@ -# $NetBSD: termcap.mini,v 1.1 2002/02/03 16:22:22 lukem Exp $ +# $NetBSD: termcap.mini,v 1.2 2002/06/24 17:36:27 lukem Exp $ # # Copyright (c) 1980, 1985, 1989 The Regents of the University of California. # All rights reserved. @@ -59,3 +59,33 @@ vt100|vt100-am|dec vt100 (w/advanced video):\ :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\ :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\ :up=\E[A:us=\E[4m: + +vt220|vt200|DEC VT220 in vt100 emulation mode:\ + :am:bs:mi:pt:xn:xo:\ + :co#80:li#24:vt#3:\ + :@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\ + :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\ + :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\ + :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\ + :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\ + :im=\E[4h:\ + :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ + :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\ + :k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\ + :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\ + :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:\ + :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\ + :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\ + :sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\ + :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l: + +wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\ + :Co#16:NC#32:pa#256:ms:ut:\ + :@7=\E[8~:\ + :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\ + :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kh=\E[7~:F1=\E[23~:F2=\E[24~:\ + :AB=\E[4%dm:AF=\E[3%dm:op=\E[m:\ + :co#80:li#25:tc=vt220: + +wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta:\ + :km:tc=wsvt25: