Re: What does it mean 'LANG=C'
"Mumia W." <[EMAIL PROTECTED]> writes: > What I need is an X keyboard configuration tutorial. The > Keyboard-and-Console-HOWTO is long in the tooth and only glances over > X. I used this site: http://www.jw-stumpel.nl/stestu.html -- John L. Fjellstad web: http://www.fjellstad.org/ Quis custodiet ipsos custodes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
On Sun, Jun 25, 2006 at 11:15:52AM -0500, Ron Johnson wrote: > Derek Martin wrote: > > On Sun, Jun 25, 2006 at 10:48:28AM -0500, Ron Johnson wrote: > >> When US keyboards have the Euro symbol on it, then it will have > >> happened. > > > > Well, I don't think that is or should be a requirement... I > > mean, why limit that idea to just the Euro symbol? > > Said nothing about "limit" and "only". The point was that when US > h/w is internationalized enough to have foreign symbols on it, > typing them will be, by default, mundane. The point I was trying to make is that this is an extremely arbitrary measure of whether or not a particular keyboard, or the OS you're using it under, is Unicode-friendly. The keyboard can only be so big before it loses its usefulness... The US keyboard already has a fine array of characters on it. I would venture a guess that the vast majority of US citizens who own a computer will never have a reason to type the Euro symbol as long as they live... so why should the US keyboard have it? What is needed is a handy way to enter characters that are NOT on it... And it sounds like SCIM is the answer I'm looking for, from another post in this thread. However, as it turns out I already have this installed on my Debian systems at work), and much like the other IMEs I've tried to get working, the documentation seems to be nonexistant (or at least I couldn't find much of anything useful in the 10 minutes I had to look this afternoon). > Until then, console apps (and thus the OS) won't be UTF-friendly. Actually, you may find these helpful: http://www.tldp.org/HOWTO/mini/Euro-Char-Support/ http://www.tldp.org/HOWTO/Belgian-HOWTO/configuration.html Particularly the first. While I don't speak Belgian, I did find that the second discussed several ways to configure the system to allow the entry of accented latin characters. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D pgpszxSm5AHaQ.pgp Description: PGP signature
Re: What does it mean 'LANG=C'
Jan Willem Stumpel wrote: [...] For instance to input accents by means of dead keys, and to input an enormous variety of "combined characters" by means of the Compose key, on a US keyboard, for instance, you could use setxkbmap us -variant alt-intl -option compose:rwin [...] Thanks, it took me much too long to figure out how to configure my keyboard using xmodmap. I did look at the setxkbmap et.al manual pages, but they were long on complexity and short on examples. What I need is an X keyboard configuration tutorial. The Keyboard-and-Console-HOWTO is long in the tooth and only glances over X. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
Mumia W. wrote: > Ron Johnson wrote: > >>Thibaut Paumard wrote: >> >>> = e gives € >>> + - gives ± >>>... >> >>And the Multi_key is? >> > > > You define the Multi_key using xmodmap. xmodmap is a bit outdated, and in fact "deprecated" now; see the "Debian X Window System Frequently Asked Questions" at http://necrotic.deadbeast.net/xsf/XFree86/trunk/debian/local/FAQ.xhtml#keyboard. All sorts of tricks with the keyboard are possible using the "xkb facilities". You can specify the Multi_key (alias the Compose key) in xorg.conf, or through the command line (setxkbmap command). For instance to input accents by means of dead keys, and to input an enormous variety of "combined characters" by means of the Compose key, on a US keyboard, for instance, you could use setxkbmap us -variant alt-intl -option compose:rwin This makes rwin (the right Windows key) the Compose key (a.k.a. Multi_key), and changes the keyboard to the "US international" variant. You can enter all sorts of things like the Euro sign (right-alt e which is the EU standard, but also right-alt 5, Compose = e, etc.), Spanish upside-down question mark and exclamation mark, left and right quotation marks, accents, macrons, etc. etc. There are many other possibilities. You can even define several different keyboard layouts, and a key to switch between them. One keystroke and you change your keyboard to Greek, Russian, Hebrew, what have you. See for instance http://www.jw-stumpel.nl/stestu#T6. Regards, Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
Ron Johnson <[EMAIL PROTECTED]> writes: > When US keyboards have the Euro symbol on it, then it will have > happened. > > P.S. - How do you enter a Euro symbol from a US kbd into Tbird? Set up the compose key (I have it set up as the Left Alt key) Then compose c = -- John L. Fjellstad web: http://www.fjellstad.org/ Quis custodiet ipsos custodes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mumia W. wrote: > Ron Johnson wrote: >> >> Thanks. What's ? >> > > Right-Alt key Of course, how silly of me! :P - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnvk1S9HxQb37XmcRAgh6AKDLMIALy8Fu1ayEc8gWjwPif3nKVACgqV0y Sjh6QCzmuCdFJHW1/8S5m4I= =6hfR -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
Ron Johnson wrote: Thanks. What's ? Right-Alt key -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
Ron Johnson wrote: Thibaut Paumard wrote: = e gives € + - gives ± ... And the Multi_key is? You define the Multi_key using xmodmap. I used the program xev to discover that the right windows key on my keyboard generates a keycode of 116, and I'm not using Windows, so I can make it a Multi_key like this: xmodmap -e 'keycode 116 = Multi_key' -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
On Sun, 2006-06-25 at 15:01 -0500, Ron Johnson wrote: > Thanks. What's ? Oh. That's the right alt-key on German keyboards. -- Lothar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
Ron Johnson wrote: When US keyboards have the Euro symbol on it, then it will have happened. P.S. - How do you enter a Euro symbol from a US kbd into Tbird? One key on your keyboard might be set aside for composing foreign characters; this is called the Compose key. To enter a Euro (€) symbol in an X application, hit " =e". P.P.S. - How do you do the same from the console? On my system (Debian Sarge), I hit " e" to get the Euro. For some programs, it helps to use a character encoding that contains the Euro such as iso-8859-15 or utf-8. BTW, my X subsystem didn't define a compose key, so I had to add one using xmodmap. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lothar Braun wrote: > On Sun, 2006-06-25 at 10:48 -0500, Ron Johnson wrote: >> When US keyboards have the Euro symbol on it, then it will have >> happened. >> >> P.S. - How do you enter a Euro symbol from a US kbd into Tbird? >> >> P.P.S. - How do you do the same from the console? > > You can use xmodmap for that. I'm using " + e" to produce the > Euro symbol. > I created a file named ~/.xmodmap and i'm loading it whenever X starts > up using xmodmap. The file looks like that: > > keycode 113 = Mode_switch > # ... stuff to create the german umlauts > keycode 26 = e E EuroSign Thanks. What's ? - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnuuFS9HxQb37XmcRArFOAKCV0hlCild//DSd2uLiA/AKbeZfpwCguqvL XeCOme4XKjpJ1n+krm1WLao= =P1c4 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thibaut Paumard wrote: > Le dimanche 25 juin 2006 à 10:48 -0500, Ron Johnson a écrit : >> When US keyboards have the Euro symbol on it, then it will have >> happened. >> >> P.S. - How do you enter a Euro symbol from a US kbd into Tbird? > > = e gives € > + - gives ± > ... And the Multi_key is? >> P.P.S. - How do you do the same from the console? > > No idea. > > Regards, T. > > > - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnutbS9HxQb37XmcRAg20AJ45JuNbepb1yq+9igSnv/tIndvMHgCgpv67 vXJ5MILMx3sfFd14dgacV1M= =1rBh -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
Le dimanche 25 juin 2006 à 10:48 -0500, Ron Johnson a écrit : > When US keyboards have the Euro symbol on it, then it will have > happened. > > P.S. - How do you enter a Euro symbol from a US kbd into Tbird? = e gives € + - gives ± ... > P.P.S. - How do you do the same from the console? No idea. Regards, T. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
On Sun, 2006-06-25 at 10:48 -0500, Ron Johnson wrote: > When US keyboards have the Euro symbol on it, then it will have > happened. > > P.S. - How do you enter a Euro symbol from a US kbd into Tbird? > > P.P.S. - How do you do the same from the console? You can use xmodmap for that. I'm using " + e" to produce the Euro symbol. I created a file named ~/.xmodmap and i'm loading it whenever X starts up using xmodmap. The file looks like that: keycode 113 = Mode_switch # ... stuff to create the german umlauts keycode 26 = e E EuroSign Hth, Lothar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > On Sun, Jun 25, 2006 at 09:36:59AM -0400, Derek Martin wrote: >> On Sun, Jun 25, 2006 at 08:01:21PM +0700, Surachai Locharoen >> wrote: [snip] > Still very relevant, because it is used to tell the application > which language to use when printing messages. Applications > written by unilingual programmers usually ignore this, but things Life was so much simpler in 1989. COBOL, VSAM, Embedded SQL, the occasional CICS app. You had the 255 characters that IBM wanted you to have, India was still a back-water socialist stagnant economy, PRC was trying and failing to break out, the Sovs were stealing VAXen. - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEntIrS9HxQb37XmcRAujHAJ91G/8rDq4CHlS5dmgQOKbx6+GHtgCgyoLT aK8Ceq0njKZ407VjejNkEKI= =0Ke7 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
On Sun, Jun 25, 2006 at 09:36:59AM -0400, Derek Martin wrote: > On Sun, Jun 25, 2006 at 08:01:21PM +0700, Surachai Locharoen wrote: > > I just want to know 'LANG=C' what does it mean? Normally, I see LANG is > > set to laguage which exist in the real world such as en, th, fr. > > The LANG variable sets the user's locale, which tells the system what > language and local conventions for things like time, money, numbers, > etc. the user prefers to use. The primary importance of this is to > tell the system what character set the user is using (and therefore > what characters the user can see on terminals, and such.) > > Modern systems are moving to UTF-8 environments, which makes the > language part mostly irrelevant; Still very relevant, because it is used to tell the application which language to use when printing messages. Applications written by unilingual programmers usually ignore this, but things like OpenOffice are capable of reacting to it significantly. > it can display (almost) all > characters in all supported languages, regardless of what language the > user is using. However, ancient Unix systems used a locale of 'C', > which uses the character set US-ASCII, and sorts things (like > directory entries, for example) according to the ASCII sequence of > characters. > > See the man page for locale in seciont 5 of the man pages for details: > > $ man 5 locale > > -- > Derek D. Martin > http://www.pizzashack.org/ > GPG Key ID: 0x81CFE75D > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron Johnson wrote: > Derek Martin wrote: >>> On Sun, Jun 25, 2006 at 10:48:28AM -0500, Ron Johnson wrote: [snip] P.S. - How do you enter a Euro symbol from a US kbd into Tbird? >>> Copy-paste from a web page or other source which has it? I >>> keep a file in my home directory with a few common symbols >>> that are hard or impossible to type with a US keyboard: > > That's ... not exactly what I had in mind. - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnruNS9HxQb37XmcRAvpqAJ0XQqgejeif1VHostHJhP/UugkLQACcDe1D K2CaVGRWS36lv5FGRE8d/uk= =pt/W -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Martin wrote: > On Sun, Jun 25, 2006 at 10:48:28AM -0500, Ron Johnson wrote: >> When US keyboards have the Euro symbol on it, then it will have >> happened. > > Well, I don't think that is or should be a requirement... I > mean, why limit that idea to just the Euro symbol? Said nothing about "limit" and "only". The point was that when US h/w is internationalized enough to have foreign symbols on it, typing them will be, by default, mundane. Until then, console apps (and thus the OS) won't be UTF-friendly. > Why not > include the Yen, or the Korean Won, the British pound (they're > still using their own money, aren't they?), not to mention the > thousands of other symbols used by other cultures... > >> P.S. - How do you enter a Euro symbol from a US kbd into Tbird? >> > > Copy-paste from a web page or other source which has it? I keep > a file in my home directory with a few common symbols that are > hard or impossible to type with a US keyboard: That's > ? ? ? ¥ £ ¤ × ÷ © ® ° ± ² ³ · ? ? ? ? ? ? > >> P.P.S. - How do you do the same from the console? > > No idea... > - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnra4S9HxQb37XmcRAgTfAKDVwpsV1f8wvkJJ9p8J7jwxujcaawCeJfBR VscGdlOLN+scxuBoCm5qvHY= =YjLZ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
On Sun, Jun 25, 2006 at 11:54:54AM -0400, Derek Martin wrote: > > P.S. - How do you enter a Euro symbol from a US kbd into Tbird? > > Copy-paste from a web page or other source which has it? I keep a > file in my home directory with a few common symbols that are hard or > impossible to type with a US keyboard: > > ℉ ℃ € ¥ £ ¤ × ÷ © ® ° ± ² ³ · ₤ ₩ ∞ £ ¥ ₩ BTW, there *is* another way... If you have your keyboard configured properly in your XF86Config file, you can type these characters, along with most of the accented latin characters, using some combination of Alt and/or Meta plus the regular keys. Originally I did exactly that, though I don't recall how the keyboard was configured, and it's since changed and I'm unable to do that now. You might have to configure your keyboard as "US-International" or enable dead keys, or something like that... -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D pgpnjN00rjdet.pgp Description: PGP signature
Re: What does it mean 'LANG=C'
On Sun, Jun 25, 2006 at 10:48:28AM -0500, Ron Johnson wrote: > When US keyboards have the Euro symbol on it, then it will have > happened. Well, I don't think that is or should be a requirement... I mean, why limit that idea to just the Euro symbol? Why not include the Yen, or the Korean Won, the British pound (they're still using their own money, aren't they?), not to mention the thousands of other symbols used by other cultures... > P.S. - How do you enter a Euro symbol from a US kbd into Tbird? Copy-paste from a web page or other source which has it? I keep a file in my home directory with a few common symbols that are hard or impossible to type with a US keyboard: ℉ ℃ € ¥ £ ¤ × ÷ © ® ° ± ² ³ · ₤ ₩ ∞ £ ¥ ₩ > P.P.S. - How do you do the same from the console? No idea... -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D pgp1WFlifz5oc.pgp Description: PGP signature
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Martin wrote: > On Sun, Jun 25, 2006 at 07:37:51AM -0700, Xeno Campanoli wrote: [snip] > While the majority of people in the Windows world have switched > to XP by now, there are still a surprisingly large number of > people using Windows 98/ME (or even older releases) which don't > support Unicode. The same is true in the Unix world... or at > least the people using those systems haven't gotten around to > updating their environments to use the Unicode support their OS > provides. > > So, it's a complicated issue. Maybe 10 years from now, everyone > will finally be using Unicode... but by then we'll probably have > some other standard too. ;-) When US keyboards have the Euro symbol on it, then it will have happened. P.S. - How do you enter a Euro symbol from a US kbd into Tbird? P.P.S. - How do you do the same from the console? - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnrBMS9HxQb37XmcRAmjnAKCWZZ8INhpUNEEO2SsAhNdeW8egJACg3dhR UV4HXz1VjUF4aESkGCLZelU= =5dYP -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
On Sun, Jun 25, 2006 at 07:37:51AM -0700, Xeno Campanoli wrote: > I've wondered about that. Why aren't "modern" systems just moving > straight to Unicode? Well, as I said, they are. It's mostly the modern PEOPLE who are not... ;-) Debian Sarge is pretty good as far as UTF-8 support, though for people who want to use multiple languages (more than one of which are non-latin languages) input support is still sub-optimal, hard to get working, and extremely poorly documented (as far as I can tell). I also use Fedora Core 4 on most of my personal systems, and I find that to be a little better than Sarge (it's a bit more current). I'm sure the less stable distributions of Debian have the same level of support as Fedora, but for various reasons I won't go into here, I don't use those. While the majority of people in the Windows world have switched to XP by now, there are still a surprisingly large number of people using Windows 98/ME (or even older releases) which don't support Unicode. The same is true in the Unix world... or at least the people using those systems haven't gotten around to updating their environments to use the Unicode support their OS provides. So, it's a complicated issue. Maybe 10 years from now, everyone will finally be using Unicode... but by then we'll probably have some other standard too. ;-) -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D pgptNCA1cBaJh.pgp Description: PGP signature
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xeno Campanoli wrote: > I've wondered about that. Why aren't "modern" systems just > moving straight to Unicode? UTF-8 *is* Unicode. http://en.wikipedia.org/wiki/UTF-8 > Derek Martin wrote: >> On Sun, Jun 25, 2006 at 08:01:21PM +0700, Surachai Locharoen >> wrote: >> >>> I just want to know 'LANG=C' what does it mean? Normally, I >>> see LANG is set to laguage which exist in the real world such >>> as en, th, fr. >>> >> >> The LANG variable sets the user's locale, which tells the >> system what language and local conventions for things like >> time, money, numbers, etc. the user prefers to use. The >> primary importance of this is to tell the system what character >> set the user is using (and therefore what characters the user >> can see on terminals, and such.) >> >> Modern systems are moving to UTF-8 environments, which makes >> the language part mostly irrelevant; it can display (almost) >> all characters in all supported languages, regardless of what >> language the user is using. However, ancient Unix systems used >> a locale of 'C', which uses the character set US-ASCII, and >> sorts things (like directory entries, for example) according to >> the ASCII sequence of characters. See the man page for locale >> in seciont 5 of the man pages for details: >> >> $ man 5 locale - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnqrqS9HxQb37XmcRAmAUAJ47qDWmB3DVxBeIm45q2ntrYUWqXQCcD33M n+QLdLAPEbqnoSxB8BYqSmM= =bn/k -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
I've wondered about that. Why aren't "modern" systems just moving straight to Unicode? Derek Martin wrote: On Sun, Jun 25, 2006 at 08:01:21PM +0700, Surachai Locharoen wrote: I just want to know 'LANG=C' what does it mean? Normally, I see LANG is set to laguage which exist in the real world such as en, th, fr. The LANG variable sets the user's locale, which tells the system what language and local conventions for things like time, money, numbers, etc. the user prefers to use. The primary importance of this is to tell the system what character set the user is using (and therefore what characters the user can see on terminals, and such.) Modern systems are moving to UTF-8 environments, which makes the language part mostly irrelevant; it can display (almost) all characters in all supported languages, regardless of what language the user is using. However, ancient Unix systems used a locale of 'C', which uses the character set US-ASCII, and sorts things (like directory entries, for example) according to the ASCII sequence of characters. See the man page for locale in seciont 5 of the man pages for details: $ man 5 locale -- Truth Before Power! Justice Before Ambition! Earth First! http://www.eskimo.com/~xeno, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
Ron Johnson wrote: > I thought C meant "plain *old* ASCII encoding, like what was used on > the PDP computers that C was written on". Well, yes, it is US English ASCII. But I have seen it being abused. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
On Sun, Jun 25, 2006 at 08:01:21PM +0700, Surachai Locharoen wrote: > I just want to know 'LANG=C' what does it mean? Normally, I see LANG is > set to laguage which exist in the real world such as en, th, fr. The LANG variable sets the user's locale, which tells the system what language and local conventions for things like time, money, numbers, etc. the user prefers to use. The primary importance of this is to tell the system what character set the user is using (and therefore what characters the user can see on terminals, and such.) Modern systems are moving to UTF-8 environments, which makes the language part mostly irrelevant; it can display (almost) all characters in all supported languages, regardless of what language the user is using. However, ancient Unix systems used a locale of 'C', which uses the character set US-ASCII, and sorts things (like directory entries, for example) according to the ASCII sequence of characters. See the man page for locale in seciont 5 of the man pages for details: $ man 5 locale -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D pgp1wPtyOLlDN.pgp Description: PGP signature
Re: What does it mean 'LANG=C'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linas Žvirblis wrote: > Surachai Locharoen wrote: > >> I just want to know 'LANG=C' what does it mean? Normally, I see >> LANG is set to laguage which exist in the real world such as >> en, th, fr. > > It means the default language - the one the application is > actually written in. In practice this is usually English, but one > could write an application in French (for example), and then > translate it to English. In that case setting 'LANG=C' would > indicate that an application should display messages in French. I thought C meant "plain *old* ASCII encoding, like what was used on the PDP computers that C was written on". - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEno9oS9HxQb37XmcRAsgIAKC66OiAtLhM4GXxD+x+qSc3//ZB+ACgibdm 6zIH83QbqA2MFIqe5te+f5M= =qvMp -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What does it mean 'LANG=C'
Surachai Locharoen wrote: > I just want to know 'LANG=C' what does it mean? Normally, I see LANG is > set to laguage which exist in the real world such as en, th, fr. It means the default language - the one the application is actually written in. In practice this is usually English, but one could write an application in French (for example), and then translate it to English. In that case setting 'LANG=C' would indicate that an application should display messages in French. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]