LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-18-2005, 01:23 PM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
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
 
Old 10-18-2005, 04:30 PM   #2
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 441

Rep: Reputation: 141Reputation: 141
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
 
Old 10-18-2005, 04:32 PM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
Spot on!

Now why didn't I think of this myself

Thanks!

-Y1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
International characters in Linux dominique Linux - Newbie 2 08-09-2007 02:01 PM
xmms and international characters jrdioko Linux - Software 15 01-15-2005 03:13 AM
Typing International Characters jrdioko Linux - General 12 09-19-2004 09:21 PM
easy entry of international characters teacup LinuxQuestions.org Member Success Stories 1 07-02-2004 11:51 AM
International characters over ssh EUtopian Linux - Software 5 11-03-2003 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration