From 7217bca946b1725ea59977fb9f037bdfb9b3c524 Mon Sep 17 00:00:00 2001 From: millert Date: Thu, 16 Nov 2023 16:05:13 +0000 Subject: [PATCH] Use tset -I for all terminals, not just xterm. 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@ --- etc/skel/dot.login | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/etc/skel/dot.login b/etc/skel/dot.login index 1087d67d3f6..e6f84d58636 100644 --- a/etc/skel/dot.login +++ b/etc/skel/dot.login @@ -1,13 +1,9 @@ -# $OpenBSD: dot.login,v 1.6 2015/12/15 16:37:58 deraadt Exp $ +# $OpenBSD: dot.login,v 1.7 2023/11/16 16:05:13 millert Exp $ # # csh login file if ( ! $?TERMCAP ) then - if ( $?XTERM_VERSION ) then - tset -IQ '-munknown:?vt220' $TERM - else - tset -Q '-munknown:?vt220' $TERM - endif + tset -IQ '-munknown:?vt220' $TERM endif stty newcrt crterase -- 2.20.1