[mrtg] Re: MRTG & RedHat 8.0

Ambrose Li a.c.li at ieee.org
Mon Nov 25 18:38:03 MET 2002


If you edit the global /etc/profile, you might as well fix it
in /etc/sysconfig/i18n instead, which is probably the "correct"
"RedHat" thing to do.

(For me, I tend to comment out the "LANG" line. For Red Hat 7.x
at least, not commenting it out seems to break some locale-related
stuff.)

If not, modify the script that starts up MRTG to unset all
locale-related variables (LANG as well as any variable beginning
with LC_).

On Sun, Nov 24, 2002 at 11:16:42PM -0800, Andrew Davis wrote:

> RH set the default LANG to UTF8 in RH8. This *breaks* a lot of
> stuff. (I use KDE and have had issues as a result of this). At
> a command shell, type "ENV | grep LANG". I'll wager that
> LAN=UTF8. Edit your .bash_profile (or if you want, the global
> /etc/profile) and add the following:
> 
> LANG='en_US'
> export LANG
> 
> Log out and back in and try again. This should fix your
> problem. FYI... the default UTF8 isn't supported by a lot of
> apps... even some basic stuff like man breaks as a result.
>
> AD

-- 
Ambrose Li  <a.c.li at ieee.org>
http://ada.dhs.org/~acli/cmcc/  http://www.cccgt.org/

DRM is theft - We are the stakeholders

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list