`<div dir="ltr"><div><div><div><div>Hi Volker,<br><br></div>I reset the locale via /etc/default/init so the situation is now the initial one with locale that shows:<br><br><div><span style="font-family:monospace,monospace">LANG=<br></span></div><div><span style="font-family:monospace,monospace">LC_CTYPE="C"<br></span></div><div><span style="font-family:monospace,monospace">LC_NUMERIC="C"<br></span></div><div><span style="font-family:monospace,monospace">LC_TIME="C"<br>LC_COLLATE="C"<br>LC_MONETARY="C"<br>LC_MESSAGES="C"</span></div><span style="font-family:monospace,monospace">LC_ALL=</span><br><br></div>With these parameters (I suspect with the LC_CTYPE not set to it_IT.UTF-8 as I tested before) the Keyboard layout is the initial one and I've lost the characters like "°" or "à" that worked with it_IT.UTF-8. I can live with that...the point is still the vi editor. It's nearly impossible to use it to edit any configuration file.<br><br></div>Once vi is launched I'm used to enable the INSERT mode with ESC + a and then start editing (this happens in Linux), in this case if I press ESC + a vi doesn't enter into INSERT mode at all and consequent keys that are pressed are wihtout any sense for me...as example if I press the Up Key to move up vi prints the letter "B", what is interesting is that if I press ESC once again it switches into another mode...and pressing the "dd" will delete the line on which the cursor is (dd delete) so there something weird about vi and my configuration (which is the default as per OmniOS fresh install) <- This behaviour was the same with every single OmniOS install I did in the past (same Timezone, same Keyboard layout).<br></div><br>Davide.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 16, 2015 at 1:18 PM, Volker A. Brandt <span dir="ltr"><<a href="mailto:vab@bb-c.de" target="_blank">vab@bb-c.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I will try to set locale so it will report:<br>
><br>
> LANG= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY=<br>
> LC_MESSAGES= LC_ALL=<br>
<br>
</span>Forget locale. Just set the variables in your bash session.<br>
<br>
<br>
Regards -- Volker<br>
<div class="HOEnZb"><div class="h5">--<br>
------------------------------------------------------------------------<br>
Volker A. Brandt Consulting and Support for Oracle Solaris<br>
Brandt & Brandt Computer GmbH WWW: <a href="http://www.bb-c.de/" target="_blank">http://www.bb-c.de/</a><br>
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY Email: <a href="mailto:vab@bb-c.de">vab@bb-c.de</a><br>
Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgröße: 46<br>
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt<br>
<br>
"When logic and proportion have fallen sloppy dead"<br>
</div></div></blockquote></div><br></div>
`