summaryrefslogtreecommitdiff
path: root/etc/root/dot.login
diff options
context:
space:
mode:
Diffstat (limited to 'etc/root/dot.login')
-rw-r--r--etc/root/dot.login8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/root/dot.login b/etc/root/dot.login
index e35a02bd3da..74a5d6f3599 100644
--- a/etc/root/dot.login
+++ b/etc/root/dot.login
@@ -1,11 +1,15 @@
-# $OpenBSD: dot.login,v 1.12 2009/05/01 18:08:42 millert Exp $
+# $OpenBSD: dot.login,v 1.13 2009/05/06 22:02:05 millert Exp $
#
# csh login file
if ( -x /usr/bin/tset ) then
set noglob histchars=""
onintr finish
- eval `tset -sQ '-munknown:?vt220' $TERM`
+ if ( $?XTERM_VERSION ) then
+ eval `tset -IsQ '-munknown:?vt220' $TERM`
+ else
+ eval `tset -sQ '-munknown:?vt220' $TERM`
+ endif
finish:
unset noglob histchars
onintr