Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc tset was useful for fixed terminals and rarely changing ...



details:   https://anonhg.NetBSD.org/src/rev/1167ef9e7fcc
branches:  trunk
changeset: 343984:1167ef9e7fcc
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Tue Mar 08 09:51:15 2016 +0000

description:
tset was useful for fixed terminals and rarely changing configurations.
But for current software terminal emulators and varying network
logins it's just confusing.

No longer run tset when logging in.

ok @martin

diffstat:

 etc/root/dot.login   |  4 +---
 etc/root/dot.profile |  6 +-----
 etc/skel/dot.login   |  5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

diffs (50 lines):

diff -r 361cc4be8a94 -r 1167ef9e7fcc etc/root/dot.login
--- a/etc/root/dot.login        Tue Mar 08 08:34:17 2016 +0000
+++ b/etc/root/dot.login        Tue Mar 08 09:51:15 2016 +0000
@@ -1,6 +1,4 @@
-#      $NetBSD: dot.login,v 1.9 2009/05/15 23:57:50 ad Exp $
-
-eval `tset -sQrm 'unknown:?unknown'`
+#      $NetBSD: dot.login,v 1.10 2016/03/08 09:51:15 mlelstv Exp $
 
 # Do not display in 'su -' case
 if ( ! $?SU_FROM ) then
diff -r 361cc4be8a94 -r 1167ef9e7fcc etc/root/dot.profile
--- a/etc/root/dot.profile      Tue Mar 08 08:34:17 2016 +0000
+++ b/etc/root/dot.profile      Tue Mar 08 09:51:15 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.profile,v 1.27 2014/11/30 23:43:30 riz Exp $
+#      $NetBSD: dot.profile,v 1.28 2016/03/08 09:51:15 mlelstv Exp $
 
 export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
 export PATH=${PATH}:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
@@ -12,10 +12,6 @@
 
 export HOST="$(hostname)"
 
-if [ -x /usr/bin/tset ]; then
-       eval $(tset -sQrm 'unknown:?unknown')
-fi
-
 umask 022
 #ulimit -c 0
 
diff -r 361cc4be8a94 -r 1167ef9e7fcc etc/skel/dot.login
--- a/etc/skel/dot.login        Tue Mar 08 08:34:17 2016 +0000
+++ b/etc/skel/dot.login        Tue Mar 08 09:51:15 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.login,v 1.3 2003/04/24 01:02:26 perry Exp $
+#      $NetBSD: dot.login,v 1.4 2016/03/08 09:51:15 mlelstv Exp $
 #
 # This is the default .login file.
 # Users are expected to edit it to meet their own needs.
@@ -13,9 +13,6 @@
   setenv SHELL /bin/csh
 endif
 
-set noglob
-eval `tset -s -m 'network:?xterm'`
-unset noglob
 stty status '^T' crt -tostop
 
 if ( -x /usr/games/fortune ) /usr/games/fortune



Home | Main Index | Thread Index | Old Index