Source-Changes-HG archive

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

[src/netbsd-1-4]: src/etc/root Pull up revisions 1.6-1.8 (requested by jwise):



details:   https://anonhg.NetBSD.org/src/rev/cd17fa980d95
branches:  netbsd-1-4
changeset: 470393:cd17fa980d95
user:      he <he%NetBSD.org@localhost>
date:      Tue Feb 22 22:27:02 2000 +0000

description:
Pull up revisions 1.6-1.8 (requested by jwise):
  Implement better handling of the SU_FROM environment variable.

diffstat:

 etc/root/dot.login |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (16 lines):

diff -r 9da9dce9e3c3 -r cd17fa980d95 etc/root/dot.login
--- a/etc/root/dot.login        Tue Feb 22 22:16:32 2000 +0000
+++ b/etc/root/dot.login        Tue Feb 22 22:27:02 2000 +0000
@@ -1,10 +1,6 @@
-#      $NetBSD: dot.login,v 1.4.2.1 2000/02/18 19:32:00 he Exp $
+#      $NetBSD: dot.login,v 1.4.2.2 2000/02/22 22:27:02 he Exp $
 
-if ( $TERM == unknown ) then
-       tset -Q \?$TERM
-else
-       echo "Terminal type is '$TERM'."
-endif
+eval `tset -sQrm 'unknown:?unknown'`
 
 # Do not display in 'su -' case
 if ( ! $?SU_FROM ) then



Home | Main Index | Thread Index | Old Index