diff options
-rw-r--r-- | etc/root/dot.login | 18 | ||||
-rw-r--r-- | etc/root/dot.profile | 6 |
2 files changed, 12 insertions, 12 deletions
diff --git a/etc/root/dot.login b/etc/root/dot.login index f4fac29823e..e35a02bd3da 100644 --- a/etc/root/dot.login +++ b/etc/root/dot.login @@ -1,15 +1,15 @@ -# $OpenBSD: dot.login,v 1.11 2005/03/30 19:50:07 deraadt Exp $ +# $OpenBSD: dot.login,v 1.12 2009/05/01 18:08:42 millert Exp $ # # csh login file -set tterm='?'$TERM -set noglob -onintr finish -eval `tset -s -Q $tterm` -finish: -unset noglob -unset tterm -onintr +if ( -x /usr/bin/tset ) then + set noglob histchars="" + onintr finish + eval `tset -sQ '-munknown:?vt220' $TERM` + finish: + unset noglob histchars + onintr +endif if ( `logname` == `whoami` ) then echo "Read the afterboot(8) man page for administration advice." 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 |