Re: LANG variable in RH9

2003-10-10 Thread Benjamin J. Weiss
> Benjamin J. Weiss wrote:
> >>Hi,
> >>
> >>What are the implications of changeing the LANG variable in RH9?
> >>
> >>Will it mess anything up?
> >>
> >>it was sugessted here
> >>http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/121.html
> >>
> >>that I change it to
> >>LANG="POSIX"
> >>
> >>Anyone know if for any reason this might be a bad idea?
> >>
> >>here is my current /etc/sysconfig/i18n file:
> >>
> >>LANG="en_US.UTF-8"
> >>SUPPORTED="en_US.UTF-8:en_US:en"
> >>SYSFONT="latarcyrheb-sun16"
> >>
> >>Thanks
> >
> >
> > I've changed mine to read:
> >
> > LANG="en_US"
> > SUPPORTED="en_US:en_US:en"
> > SYSFONT="latarcyrheb-sun16"
> >
> > and it has improved performance, especially in grep.
> >
> > Ben
> >
> >
>
> Thanks Ben,
>
> If I do that, do I need to do somthing drastic like reboot or init to
> take affect everywere?
>
> rick

Well, to tell the truth, I don't know what was required.  I just went ahead
and rebooted.  I'm sure that somebody here can tell you whether that was
necessary or not...

Ben


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: LANG variable in RH9

2003-10-10 Thread rbragg
Benjamin J. Weiss wrote:
Hi,

What are the implications of changeing the LANG variable in RH9?

Will it mess anything up?

it was sugessted here
http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/121.html
that I change it to
LANG="POSIX"
Anyone know if for any reason this might be a bad idea?

here is my current /etc/sysconfig/i18n file:

LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
Thanks


I've changed mine to read:

LANG="en_US"
SUPPORTED="en_US:en_US:en"
SYSFONT="latarcyrheb-sun16"
and it has improved performance, especially in grep.

Ben


Thanks Ben,

If I do that, do I need to do somthing drastic like reboot or init to 
take affect everywere?

rick

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: LANG variable in RH9

2003-10-10 Thread Benjamin J. Weiss
> Hi,
> 
> What are the implications of changeing the LANG variable in RH9?
> 
> Will it mess anything up?
> 
> it was sugessted here
> http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/121.html
> 
> that I change it to
> LANG="POSIX"
> 
> Anyone know if for any reason this might be a bad idea?
> 
> here is my current /etc/sysconfig/i18n file:
> 
> LANG="en_US.UTF-8"
> SUPPORTED="en_US.UTF-8:en_US:en"
> SYSFONT="latarcyrheb-sun16"
> 
> Thanks

I've changed mine to read:

LANG="en_US"
SUPPORTED="en_US:en_US:en"
SYSFONT="latarcyrheb-sun16"

and it has improved performance, especially in grep.

Ben


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


LANG variable in RH9

2003-10-10 Thread rbragg
Hi,

What are the implications of changeing the LANG variable in RH9?

Will it mess anything up?

it was sugessted here
http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/121.html
that I change it to
LANG="POSIX"
Anyone know if for any reason this might be a bad idea?

here is my current /etc/sysconfig/i18n file:

LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
Thanks

--
Rick Bragg
Green Mountain Network
http://www.gmnet.net
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: LANG=?

2003-10-05 Thread Ian Mortimer

> Some questions: Why would Redhat choose an encoding for rh9 that breaks
> all manner of things? 

Because unicode is the future.  For English language speakers it might
seem unnecessary but for those of us who have to provide support for
other languages it's a benefit.

The main problem at the moment seems to be a bug in perl's unicode
handling.  Apparently that's fixed in rawhide (and presumably will
be fixed in Fedora).

The bad news is the disease seems to have spread from RH 9 to RH 8.0
following the latest perl errata updates.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


LANG=?

2003-10-03 Thread Kevin MacNeil
The other day I was trying to install the latest Mail::SpamAssassin
module through CPAN and it kept failing early in the compile. I've run
into this before, so I looked at /etc/sysconfig/i18n and sure enough my
LANG variable was set back to the default LANG="en_US.UTF-8". I changed
it to en_US (again) and SpamAssassin compiled cleanly.

Some questions: Why would Redhat choose an encoding for rh9 that breaks
all manner of things? And what reset the LANG variable back to UTF-8,
and how do I prevent this from happening again?


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: How to change your LANG environment variable?

2003-09-05 Thread Mike Vanecek
On Fri, 5 Sep 2003 10:46:15 -0500, James Williams wrote
> You can change the variable in the file listed below
> 
> /etc/sysconfig/i18n
> 
> James Williams
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of [EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 10:41 AM
> To: [EMAIL PROTECTED]
> Subject: How to change your LANG environment variable?
> 
> Hello,
> 
> I've got redhat 9, and I'm trying to change my LANG variable from
> LANG=en_US.UTF8 to just LANG=en_US
> 
> I know I can type LANG=en_US and it changes it, but gets set back after
> a reboot. Is there a file somewhere I need to change that to make it
> permanent?
> 
> Thanks!

I put export LANG=en_US SUPPORTED="en_US" LC_MESSAGES=C LC_ALL=C

in /etc/bashrc


> --
> Jody Cleveland
> ([EMAIL PROTECTED])
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: How to change your LANG environment variable?

2003-09-05 Thread Cleveland
 
> You can change the variable in the file listed below
> 
> /etc/sysconfig/i18n

Thanks!


--
Jody Cleveland
([EMAIL PROTECTED]) 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: How to change your LANG environment variable?

2003-09-05 Thread James Williams
You can change the variable in the file listed below

/etc/sysconfig/i18n

James Williams


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Friday, September 05, 2003 10:41 AM
To: [EMAIL PROTECTED]
Subject: How to change your LANG environment variable?

Hello,

I've got redhat 9, and I'm trying to change my LANG variable from
LANG=en_US.UTF8 to just LANG=en_US

I know I can type LANG=en_US and it changes it, but gets set back after
a reboot. Is there a file somewhere I need to change that to make it
permanent?

Thanks!


--
Jody Cleveland
([EMAIL PROTECTED]) 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How to change your LANG environment variable?

2003-09-05 Thread y.poirier
I'm not sure, but maybe in /etc/profile?

Regards,

Yanick Poirier.

> Hello,
>
> I've got redhat 9, and I'm trying to change my LANG variable from
> LANG=en_US.UTF8 to just LANG=en_US
>
> I know I can type LANG=en_US and it changes it, but gets set back after
> a reboot. Is there a file somewhere I need to change that to make it
> permanent?
>
> Thanks!
>
>
> --
> Jody Cleveland
> ([EMAIL PROTECTED])




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


How to change your LANG environment variable?

2003-09-05 Thread Cleveland
Hello,

I've got redhat 9, and I'm trying to change my LANG variable from
LANG=en_US.UTF8 to just LANG=en_US

I know I can type LANG=en_US and it changes it, but gets set back after
a reboot. Is there a file somewhere I need to change that to make it
permanent?

Thanks!


--
Jody Cleveland
([EMAIL PROTECTED]) 
<>

Why i18n (locales) is so slow? LANG="en_US.UTF-8"

2003-07-16 Thread Eric Wood
I'm sure this is an FAQ.  I've read up on
http://nscp.upenn.edu/aix4.3html/aixbman/prftungd/natlangsup.htm which
explains the structure types and why it's so expensive to do
internationalization.  So I went back to using "C" for my RH 8 and 9
systems:

$ cat /etc/sysconfig/i18n
#LANG="en_US.UTF-8"
LANG="C"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

Basically I'm trying to find out how LANG="en_US.UTF-8" would benefit me.
So far it has caused great pain as my grep searches (example below) are
severly slowed.   Since I only need english speaking anyway, is there any
benefit with "en_US.UTF-8" that I don't see?

-eric wood




$ LANG="en_US.UTF-8";export LANG
$ time bash -c 'grep WOOD /tmp/customers.tab | wc -l'
  13774

real0m20.267s
user0m20.240s
sys 0m0.030s

$ LANG="C";export LANG
$ time bash -c 'grep WOOD /tmp/customers.tab | wc -l'
  13774

real0m0.060s
user0m0.030s
sys 0m0.030s


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Funny char in MAN even with LANG=en_US.UTF-8

2003-06-04 Thread Bill Anderson
On Tue, 2003-06-03 at 14:20, [EMAIL PROTECTED] wrote:
> I *thought* the reason I was seeing funny characters in MAN output
> was due to the fact that I had set LANG=en in my environemnt,
> 
> however,
> 
> Even *with* LANG=en_US.UTF-8 I see the same funny character pairs
> (which I assume are UTF-8 in the source).
> 
> Why are they NOT iterpreted correctly?
> What do I need?
> More fonts?
> different XTERM?

LANG=C



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Funny char in MAN even with LANG=en_US.UTF-8

2003-06-04 Thread clemens
I *thought* the reason I was seeing funny characters in MAN output
was due to the fact that I had set LANG=en in my environemnt,

however,

Even *with* LANG=en_US.UTF-8 I see the same funny character pairs
(which I assume are UTF-8 in the source).

Why are they NOT iterpreted correctly?
What do I need?
More fonts?
different XTERM?

Just curious.
-- 
Reg.Clemens
[EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Lang variable

2003-01-08 Thread Ross
http://www.caldera.com/support/docs/wabi/html/locale.html#15

Full instructions there - not sure if you want US English or UK English.

Ross


On Thu, 2003-01-09 at 06:02, Andre Kirchner wrote:
> Hi,
> 
> what is the value of the LANG enviroment variable for
> the language to be English?
> 
> Thanks
> 
> Sieg
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Lang variable

2003-01-08 Thread Andre Kirchner
Hi,

what is the value of the LANG enviroment variable for
the language to be English?

Thanks

Sieg

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: LANG environmental variable

2002-12-09 Thread Samuel Flory
Distribution Lists wrote:


Where is the LANG environment variable set on RH 8 ?


[root@uldlinux02 tmp]# echo $LANG
en_US.UTF-8


Regards




 

[sflory@sflory tests]$ grep en_US  /etc/sysconfig/*
/etc/sysconfig/i18n:LANG="en_US.UTF-8"
/etc/sysconfig/i18n:SUPPORTED="en_US.UTF-8:en_US:en"
sflory@sflory tests]$ cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="LatArCyrHeb-16"





--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



LANG environmental variable

2002-12-09 Thread Distribution Lists
Where is the LANG environment variable set on RH 8 ?


[root@uldlinux02 tmp]# echo $LANG
en_US.UTF-8


Regards




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RHL 8.0 - Man and Grep problems due to LANG setting

2002-10-27 Thread Brian Mattey
Hi All,

I've found a problem caused by the setting of the LANG environment
variable with Red Hat Linux 8.0.

With RHL 8.0 the LANG variable gets set to "en_GB.UTF-8" whereas
previously (with 7.3) it used to get set to "en_GB.iso885915".

The new setting with RHL 8.0 causes two problems, one more severe than
the other.

Firstly if you telnet into a system from another system all the man
pages get "corrupted".

Secondly (this is the severe one) grep performs about 8 times slower
than it used to!  If you regularly scan large files as I do this can be
very painful.

Both can be fixed by setting the language back to "en_GB.iso885915" by
editing /etc/sysconfig/i18n.

If you want to leave it set to the UTF version you can downgrade to grep
2.4.2 and that works OK - but I wonder what other things might be
affected by the problem.

If anyone out there knows why this happens or a better way to fix it
then please let me know.

Regards,

Brian Mattey




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list