Subject: | |
From: | |
Reply To: | |
Date: | Sun, 15 Mar 2009 16:34:18 +0100 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
Hello Andrea,
thanks for you answer.
But what I want is not to change LANG or LC_ALL.
If I start (in the same xterm) bash or zsh -
the correct keymap is done.
Therefore I believe it's an tcsh problem.
Regards, Olf Epler
>
> > my default locale are set to "C" -> /etc/sysconfig/i18n:
> > LANG="C" (or POSIX)
> > If I use bash or zsh it is possible to change the keyboard
> > layout in /etc/sysconfig/keyboard and also in /etc/X11/xorg.conf
> > to another keymap without changing the LANG settings.
> > But this does not work for tcsh.
> > Only if I also set LANG to the appropriate language the
> > correct keys are printed - but now also the default
> > language english is changed. I want to change only the keymap.
> > Can somebody help?
>
>
> I'm not sure if tcsh has anything to do with it.
>
> I suggest you set $LC_ALL and $LANG to "en_US.utf8". Enter your keyboard
> layout in "/etc/sysconfig/keyboard" (for the text console) and in
> "/etc/X11/xorg.conf" (for X apps). That's all.
>
> I'm attaching some excerpts from my config files. Aside from changing
> "it" to -presumably- "de", they should work if you're using a standard
> PC keyboard.
>
>
> -----BEGIN /etc/X11/xorg.conf EXCERPT-----
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbModel" "pc105"
> Option "XkbLayout" "it"
> Option "XkbOptions" "lv3:ralt_switch"
> EndSection
> ------END /etc/X11/xorg.conf EXCERPT------
>
>
> -----BEGIN /etc/sysconfig/keyboard-----
> KEYBOARDTYPE="pc"
> KEYTABLE="it"
> ------END /etc/sysconfig/keyboard------
>
>
> -----BEGIN /etc/csh.cshrc EXCERPT-----
> setenv LC_ALL "en_US.utf8"
> setenv LANG $LC_ALL
> ------END /etc/csh.cshrc EXCERPT------
>
----------------------------------------------------------
Olf Epler phone: +49 30 2093-7804
Humboldt University Berlin fax: +49 30 2093-7642
Department of Physics
Newtonstr. 15
12489 Berlin email: [log in to unmask]
----------------------------------------------------------
|
|
|