Bug 3035

Summary: tcsh does not set environment variables according to /etc/sysconfig/i18n
Product: [Retired] Red Hat Linux Reporter: Kolar, Petr <petr.kolar>
Component: tcshAssignee: Eido Inoue <havill>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-09-25 02:56:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kolar, Petr 1999-05-25 12:55:11 UTC
If some user has tcsh as her login shell, the environment
variables LC_ALL, LANG, LINGUAS etc. (which are set by the
script /etc/profile.d/lang.sh for bash) are not set. This
bug is in Red Hat since introducing /etc/sysconfig/i18n.

------- Email Received From  Alex deVries <adevries> 05/25/99 11:31 -------

Comment 1 Kolar, Petr 1999-05-25 15:42:59 UTC
To correct the bug use /etc/profile.d/lang.csh with this contents:

if ( -r /etc/sysconfig/i18n ) then
        eval `sed -e 's/ *#.*//' -e 's/^\([^=][^=]*\)=\(.*\)/setenv \1
\2;/' /etc/sysconfig/i18n`

If no comments are allowed in /etc/sysconfig/i18n, then "-e 's/
can be omitted.

Comment 2 Jay Turner 1999-06-28 15:39:59 UTC
This issue has been forwarded to a developer for further action.

Comment 3 Bill Nottingham 1999-09-25 02:56:59 UTC
This is fixed in the latest initscripts - it has a lang.csh.