Terminal initialization is usually only needed for hardware terminals,
which are rare these days, and the initialization strings result
in a bunch of extra newlines on pseudo-terminals. OK nicm@
-# $OpenBSD: dot.login,v 1.14 2009/12/20 15:35:35 deraadt Exp $
+# $OpenBSD: dot.login,v 1.15 2023/11/16 16:03:51 millert Exp $
#
# csh login file
if ( -x /usr/bin/tset ) then
set noglob histchars=""
onintr finish
- if ( $?XTERM_VERSION ) then
- eval `tset -IsQ '-munknown:?vt220' $TERM`
- else
- eval `tset -sQ '-munknown:?vt220' $TERM`
- endif
+ eval `tset -IsQ '-munknown:?vt220' $TERM`
finish:
unset noglob histchars
onintr
-# $OpenBSD: dot.profile,v 1.9 2010/12/13 12:54:31 millert Exp $
+# $OpenBSD: dot.profile,v 1.10 2023/11/16 16:03:51 millert Exp $
#
# sh/ksh initialization
case "$-" in
*i*) # interactive shell
if [ -x /usr/bin/tset ]; then
- if [ X"$XTERM_VERSION" = X"" ]; then
- eval `/usr/bin/tset -sQ '-munknown:?vt220' $TERM`
- else
- eval `/usr/bin/tset -IsQ '-munknown:?vt220' $TERM`
- fi
+ eval `/usr/bin/tset -IsQ '-munknown:?vt220' $TERM`
fi
;;
esac