From owner-freebsd-questions Wed Dec 29 14:59:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id 76B08156EC for ; Wed, 29 Dec 1999 14:58:57 -0800 (PST) (envelope-from bartequi@nojunk.com) Received: from bartequi.ottodomain.org (ppp37-pa4.neomedia.it [195.103.207.229]) by aragorn.neomedia.it (8.9.3/8.9.3) with SMTP id XAA01269 for ; Wed, 29 Dec 1999 23:58:54 +0100 (CET) From: Salvo Bartolotta Date: Wed, 29 Dec 1999 22:05:00 GMT Message-ID: <19991229.22050000@bartequi.ottodomain.org> Subject: Re: Warning about C Library To: FreeBSD Questions X-Mailer: Supercalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Scott, I ran into this problem just ... yesterday, while playing with Gnome-1.0.53 :-) If Gnome is causing you trouble, please read my recent posting in c.u.b.f.m. newsgroup and, if you like, let me know what you think of the whole situation. You should define the LC_ALL, LC_CTYPE and LANG environment variables in your shell. For example, in my tcsh shell (file ~/.tcshrc): setenv LC_ALL en_US.ISO_8859-1 setenv LC_CTYPE en_US.ISO_8859-1 setenv LANG en_US.ISO_8859-1 In a bash shell, in order to get e.g. the Italian locale, add these lines to your ~/.bash_profile: LC_ALL=3Dit_IT.ISO_8859-1 export LC_ALL LC_CTYPE=3Dit_IT.ISO_8859-1 export LC_CTYPE LANG=3Dit_IT.ISO_8859-1 export LANG Now the console and perl (e.g. "killall") no longer complain. Gnome and KDE-1.1.2 seem to work properly -- in every supported language I have tried so far. As far as I can see, the working locales are under /usr/share/locale. Personally, I have defined these variables right at the beginning of the shell login files. You may want to read "man setocale(3)" and, in particular, "man perllocale(1)". I have just entered into this field ;-) I am Italian, I use an en_US.ISO_8859-1 locale as root and as normal user, and I am going to use a French and German locale as another two users -- just to practice these languages. My home users desperately wanted only the Italian locale ... I hope that this information will help. Best regards and Happy New Year, Salvo N.B. Myjokingdomain =3D=3D=3D> neomedia.it for a private reply. ******************************* * * * Windows: brain-dead limits * * BeOS: limited apps * * Linux: unlimited (mindset) * * FreeBSD: no limits * * * ******************************* >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 12/29/99, 7:10:29 AM, Scott Corey wrote regarding Warning about C Library: > I keep getting these warning on my console, however, I am at a loss of= > what I did wrong and how to go about fixing them. > "Gtk-WARNING **: locale not supported by C library" > "Warning: locale not supported by C library, library unchanged" > The weird part is that everything SEEMS to be working > Any help would be greatly appreciated. > Thanks, > Scott > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message