summaryrefslogtreecommitdiff
blob: a9628b78df0cb748d3cc3e634dd615f6d3742c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- gentoo/csh.login
+++ gentoo/csh.login
@@ -1,6 +1,9 @@
 ## Gentoo csh.login
 ##
-## 2005-09-27  --  Fabian Groffen (grobian@gentoo.org)
+## 2006-12-02  --  Fabian Groffen (grobian@gentoo.org)
+##     Don't set SHELL variable, should be done by login (bug #91725)
+##     Properly call tset, such that it actually does something (bug #156422)
+## 2005-09-27  --  Fabian Groffen
 ##     Resolved reported bug on MOTD (disabled it)
 ## 2003-01-13  --  Alain Penders (alain@gentoo.org)
 ##     Initial version.  Inspired by the Suse version.
@@ -14,9 +17,7 @@
     # Console
     if ( ! ${?TERM} )           setenv TERM linux
     if ( "$TERM" == "unknown" ) setenv TERM linux
-    # No tset available on SlackWare
     if ( -x "`which stty`" ) stty sane cr0 pass8 dec
-    if ( -x "`which tset`" ) tset -I -Q
     unsetenv TERMCAP
     settc km yes
 endif
@@ -27,11 +30,6 @@
 umask 022
 
 ##
-## Set our SHELL variable.
-##
-setenv SHELL /bin/tcsh
-
-##
 ## Setup a default MAIL variable
 ##
 if ( -f /var/spool/mail/$USER ) then