[OmniOS-discuss] OmniOS 151014: questions about locale settings and vi editing command's issues.

Davide Poletto davide.poletto at gmail.com
Thu Apr 16 11:11:18 UTC 2015


I will try to set locale so it will report:

LANG=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_ALL=

even if it will be difficult with my crazy vi editor...and tell you back.

Thanks, Davide.

On Thu, Apr 16, 2015 at 12:57 PM, Volker A. Brandt <vab at bb-c.de> wrote:

> > Yes, physical USB Italian keyboard directly connected to my little
> > HP MicroServer G7 (or G8, no matter).
>
> I am using exactly the same, original Chicony/HP USB keyboard directly
> connected to an HP N54L (G7).  It is a German keyboard of course. :-)
>
> > I'm using the default OmniOS Shell...after login:
> >
> > echo $SHELL /usr/bin/bash
> >
> > echo $TERM sun-color
> >
> > They're default, never touched (as the /root/.profile file too).
> >
> > I'm starting to have few suspects there is something wrong with
> > these "default" settings...Isn't it Volker?
>
> No, the default works just fine for me and always has:
>
> root at nfs:/root# pkg list -H entire
> entire                             11-0.151014                i--
>
> root at nfs:/root#  echo $SHELL
> /usr/bin/bash
>
> root at nfs:/root# echo $TERM
> sun-color
>
> root at nfs:/root# kbd -l
> type=6
> layout=9 (0x09)
> delay(ms)=500
> rate(ms)=40
>
> All keys work fine in vi, including the arrow keys, also those in
> the numerical keypad.  I can enter all special characters (like
> German umlauts, äöüß).
>
> I do not have LANG and any LC_* variable set in my root environment.
> So, in the shell I need to press the bash escape character (^V):
>
> root at nfs:/root# echo ^Vü
> ü
>
> Try unsetting LANG and LC_* and see if the arrow keys work.
>
>
> Hope this helps -- Volker
> --
> ------------------------------------------------------------------------
> Volker A. Brandt               Consulting and Support for Oracle Solaris
> Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
> Am Wiesenpfad 6, 53340 Meckenheim, GERMANY            Email: vab at bb-c.de
> Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 46
> Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt
>
> "When logic and proportion have fallen sloppy dead"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20150416/7f99e9b8/attachment.html>


More information about the OmniOS-discuss mailing list