mirror of
https://github.com/openbsd/src.git
synced 2024-12-21 23:18:00 -08:00
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@
This commit is contained in:
parent
8a9450e581
commit
7217bca946
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user