Browse Source

do not tset if the terminal is already xterm; ok matthieu guenther

OPENBSD_4_6
deraadt 15 years ago
parent
commit
f3f6972802
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/root/dot.profile

+ 2
- 2
src/etc/root/dot.profile View File

@ -1,4 +1,4 @@
# $OpenBSD: dot.profile,v 1.5 2005/03/30 21:18:33 millert Exp $
# $OpenBSD: dot.profile,v 1.6 2009/04/27 05:02:12 deraadt Exp $
# #
# sh/ksh initialization # sh/ksh initialization
@ -8,6 +8,6 @@ export PATH
export HOME export HOME
umask 022 umask 022
if [ -x /usr/bin/tset ]; then
if [ x"$TERM" != xxterm -a -x /usr/bin/tset ]; then
eval `/usr/bin/tset -sQ \?$TERM` eval `/usr/bin/tset -sQ \?$TERM`
fi fi

Loading…
Cancel
Save