summaryrefslogtreecommitdiff
path: root/etc/root/dot.profile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2009-05-01 18:08:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2009-05-01 18:08:44 +0000
commitb40f1addf4460a692f6fa0e2e83000ef6c624a97 (patch)
treec0abd3ebd0c489739201071d2b5594879a432e0e /etc/root/dot.profile
parent568ea7db9578ee48e918db6dbef2d19eabd17e29 (diff)
Only have tset prompt for the terminal type if it is "unknown" or
not listed in /etc/ttys. OK deraadt@ guenther@
Diffstat (limited to 'etc/root/dot.profile')
-rw-r--r--etc/root/dot.profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/root/dot.profile b/etc/root/dot.profile
index d45224f86ae..a57b1f13407 100644
--- a/etc/root/dot.profile
+++ b/etc/root/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.6 2009/04/27 05:02:12 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.7 2009/05/01 18:08:43 millert Exp $
#
# sh/ksh initialization
@@ -8,6 +8,6 @@ export PATH
export HOME
umask 022
-if [ x"$TERM" != xxterm -a -x /usr/bin/tset ]; then
- eval `/usr/bin/tset -sQ \?$TERM`
+if [ -x /usr/bin/tset ]; then
+ eval `/usr/bin/tset -sQ '-munknown:?vt220' $TERM`
fi