[1.6.0 ISO][patch] fix for bashrc
Couannette
couannette at free.fr
Sat Apr 22 13:03:16 UTC 2006
Zbigniew Luszpinski a écrit :
>>On Thu, 20 Apr 2006 15:02:24 +0200, Zbigniew Luszpinski <zbiggy at o2.pl>
>
> wrote:
>
>>>Hi!
>>>
>>>The /etc/bashrc sets the LANG to nothing. This patch fixes this.
>>>
>>>greets,
>>>Zbigniew 'zbiggy' Luszpinski
>>
>>nack,
>>
>>this should be a local addition (system administrator set) and not done by
>>the distribution (imagine background scripts running in utf or other
>>output, hosing all terminals and logfiles).
>>
>>Auke
>
>
> This could be reason for leaving it as is, but consider this:
> * There is no info about such need of setting manually
> * Most people will choose iso charset which is safe for lunar scripts
> * KDE is affected (look at first point, it took me some time to learn about
> manual setting of bashrc to fix KDE console window)
> * scripts with non English output show unreadable text
>
> I discovered this accidentaly. I have everywhere Polish characters except KDE
> console window. Removing LANG= or patching with this patch cured the problem.
> Most compiled programs are auto translated according to LANG so not only
> scripts are affected.
>
You can set your LANG in the X session script or in your bash profile, maybe.
> If there is uft problem, the iso can be displayed/set only during install
> process. Maybe it would be better to remove LANG= line from bashrc?
I agree with Auke: batch scripts should not be impacted by such settings. Keep
those files (bashrc,...) as slim as possible.
Couannette
More information about the Lunar
mailing list