[Bug 241056] New: "Unmatched `." when using "~/.i18n" with csh
https://bugzilla.novell.com/show_bug.cgi?id=241056 Summary: "Unmatched `." when using "~/.i18n" with csh Product: SUSE Linux 10.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: werner@novell.com ReportedBy: Ulrich.Windl@rz.uni-regensburg.de QAContact: qa@suse.de The administrator manual should be a bit more verbose on the fact that ~/.i18n is intended to be used for all available shells (i.e. bash and tcsh) with just one syntax. I had to find out... However due to a bug in /etc/profile.d/lang.csh (aaa_base-10-12.8) at line 26 ("eval `sed -n ..."), whenever you try to use ~/.i18n with csh, "Unmatched `." is output, and all locale values are reset to "POSIX". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 ------- Comment #1 from werner@novell.com 2007-02-01 07:28 MST ------- For the administrator manual I'm not suitable ;) For the bug in /etc/profile.d/lang.csh please try out the next attachment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 ------- Comment #2 from werner@novell.com 2007-02-01 07:31 MST ------- Created an attachment (id=116834) --> (https://bugzilla.novell.com/attachment.cgi?id=116834&action=view) /etc/profile.d/lang.csh simply the last famous ` was missed. Add also an set LC_ALL to be able to handle the value of the environment variable LC_ALL as a simple shell variable (e.g. using ${%LC_ALL}) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |Ulrich.Windl@rz.uni-regensburg.de ------- Comment #3 from werner@novell.com 2007-02-01 07:32 MST ------- Please test the attchment (id=116834) from comment #2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 Ulrich.Windl@rz.uni-regensburg.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|Ulrich.Windl@rz.uni- | |regensburg.de | ------- Comment #4 from Ulrich.Windl@rz.uni-regensburg.de 2007-02-01 09:01 MST ------- Basically the replacement script works, but it leaves the question how smart it should be: If ~/.i18n only has "LC_CTYPE=ISO-8859-1", and the default setting is "LANG=en_US.UTF-8", that combination of locale settings is "interesting". In any case the documentation (section "22.4: Sprach- und Länderspezifische Einstellungen") should be revised a bit, too (as comment #0 suggested). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@novell.com AssignedTo|werner@novell.com |rwalter@novell.com Component|Basesystem |Documentation QAContact|qa@suse.de |ke@novell.com ------- Comment #5 from werner@novell.com 2007-02-01 09:17 MST ------- For such a problem the scripts /etc/profile.d/csh.utf8 and /etc/profile.d/sh.utf8 exists. Those are used to correct the charmap appendings. Switch over to documentation QA for a better documentstion. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 rwalter@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rwalter@novell.com |ke@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 ------- Comment #6 from ke@novell.com 2007-05-14 09:44 MST ------- I do not know nothing about tcsh. Bash is the default and I will just add a warning, no code proposals. It is an interesting feature that both /etc/profile.d/lang.csh and /etc/profile.d/lang.sh want to access the same file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 ------- Comment #7 from werner@novell.com 2007-05-14 09:55 MST ------- Why you want add a warning? Please simply refere ~/.i18n as users choise with the same syntax as used in /etc/sysconfig/language but without the starting `RC_' and without ROOT_USES_LANG. The script /etc/profile.d/lang.csh simply parses ~/.i18n and /etc/sysconfig/language with the help of `sed' to get out the lines with e.g. LANG= LC_...= and generates csh code which is used after `eval'ing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Component|Documentation |Documentation Product|SUSE Linux 10.1 |openSUSE 10.3 Resolution| |FIXED Fixed in Milestone|--- |unspecified Version|Final |unspecified ------- Comment #8 from ke@novell.com 2007-05-15 09:52 MST ------- nice feature, thanks for the explanation. I adjusted the text accordingly (in SVN). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241056
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=241056
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=241056#c14
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=241056#c15
--- Comment #15 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=241056#c16
--- Comment #16 from Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com