Hello,

I was myself trying to figure out how to use both unicode and cyrillic in
openbsd but, surfing the net, I haven't yet found a working howto on the
matter. Trying to alter LANG or LC_ALL has just sorted out complains from
the os during login, but no effect (actual locale is still "C").

Basically I do not need anything particular like emacs (I'm using openbsd on
i386), just need to see filenames with the correct characters and, if
needed, to type them with a key combination that changes keyboard layout
when using CLI.

Things, at the moment, just work under X, where (WM: xfce, for browsing:
opera) I can switch layouts (even if fots for cyrillic are not the best I've
ever seen so I'd also like to add better ones), so the problem is mostly
about CLI when no X is running.

I have found on the internet these two links on the topic:

http://www.in-ulm.de/~mascheck/locale/
http://www.pubbs.net/openbsd/200910/3886/

But they didn't help me a lot.
Any clues?

Thanks a lot
Paolo




On Wed, Jun 9, 2010 at 10:14 PM, Kenneth Gober <kgo...@gmail.com> wrote:

> On Wed, Jun 9, 2010 at 12:40 AM, Vadim Zhukov <persg...@gmail.com> wrote:
>
> > 2010/6/9 Vadim Zhukov <persg...@gmail.com>:
> > > Basically, you need:
> > > 1. echo "set +o emacs-usemeta" >>~/.profile
> > > 2. echo "XTerm*allowC1Printable: true" >>~/.Xdefaults
> >
> > I forgot that xterm doesn't start login shell by default, so
> > ~/.profile will not be called. The easiest way to fix this will be:
> >
> > echo "XTerm*loginShell: true" >>~/.Xdefaults
> >
> > The only bad side effect is wtmp spam as xterm will log every time it
> > starts.
> >
>
> you can avoid the wtmp spam by doing this instead:
> 1. echo "export ENV=~/.kshrc" >>~/.profile
> 2. echo "set +o emacs-usemeta" >>~/.kshrc
> 3. echo "XTerm*allowC1Printable: true" >>~/.Xdefaults
>
> doing this, xterm won't invoke ~/.profile, but it *will* invoke ~/.kshrc
>
> -ken

Reply via email to