International characters in tcsh on Slack 10.2
All,
Happily got Slackware 10.2 running on a laptop with Norwegian keyboard with special characters Æ Ø Å on the keyboard. These buttons work perfectly in all applications except in tcsh, where pressing them causes tcsh to "hang" for a couple of seconds before printing \ and the 3digit code for it. In zsh this is not a problem, and both the keys and the display of the Norwegian characters work perfectly in all other applications than tcsh (and bash - zsh is no problem though). As Google is my friend, I found that by adding setenv LANG no_NO setenv LC_TYPE no_NO to the .cshrc I now get ÆØÅ printed on the screen when I press the keys, but to my massive frustration it has now translated tcsh into Norwegian, which I absolutely hate. (I don't even speak it well). So - question is: How do I tell tcsh to enable/accept the ÆØÅ keys *without* translating everything into gibberish (read:Norwegian) Thanks! -Y1 |
If you set the enviroment variable LANG to something and then run "locale" you will see that every variable gets this value.
Then you can set any LC_ variable to a specific value. So if i am not wrong, what you want is the following: setenv LANG something (e.g en_US) setenv LC_CTYPE no_NO |
Spot on!
Now why didn't I think of this myself ;) Thanks! -Y1 |
All times are GMT -5. The time now is 01:50 AM. |