Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


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

Rep: Reputation: 36
International characters in tcsh on Slack 10.2


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)


Old 10-18-2005, 04:30 PM   #2
Registered: May 2005
Location: Greece
Posts: 432

Rep: Reputation: 114Reputation: 114
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
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




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 Member Success Stories 1 07-02-2004 11:51 AM
International characters over ssh EUtopian Linux - Software 5 11-03-2003 12:50 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:02 AM.

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