<div dir="ltr"><div><div>Hello list,<br><br></div>I did a fresh OmniOS 151014 install, during setup I set Timezone to my time zone (which is "Europe/Rome" because the server is going to be used in Italy) and physical Keyboard layout to Italian (I selected Keyboard Layout as 21 "Italian" when the default one is 47 "US-English") as per installer's requests.<br><br></div><div>Now I've a question which is mostly related to the vi usage and was valid with every OmniOS versions I tested so far: I never been able to use vi editor in OmniOS as I do (entering editing mode, writing characters, deleting ones, etc.) in Linux because it seems it doesn't recognize any expected key combinations.<br><br>Is it possible that I have a general issue with my locale settings and so the vi editor doesn't recognize properly any command I execute (and sequence of those commands like ESC+a to insert or ESC+Shift+: to go to vi's prompt for saving, quitting, etc.)?<br><br></div><div>I noticed that not all my Italian keyboard's keys are printed out (or recognized at all) on the OmniOS's shell.<br><br>As example, all the accent characters like "è", "é", "ì", "ù", "à" or "°" are not recognized and the Numerical Keypad available on the right, when disabled via the Bloc Num key, provide this strange keys mapping:<br></div><div><br></div><div><span style="font-family:monospace,monospace">1 </span><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace">goes to a string's end</span><br></span>2 </span><span style="font-family:monospace,monospace">shows next commands, if any in Shell history</span></div><div><span style="font-family:monospace,monospace">3 prints "z"<br></span></div><div><span style="font-family:monospace,monospace">4 moves the cursor left along a string if this one was written on the prompt<br></span></div><div><span style="font-family:monospace,monospace">5 prints "z"<br>6 moves the cursor right along a string if this one was written on the prompt<br></span></div><div><span style="font-family:monospace,monospace">7 goes to a string's start<br></span></div><div><span style="font-family:monospace,monospace">8 shows previous commands, if any in Shell history<br></span></div><div><span style="font-family:monospace,monospace">9 prints "z"<br></span></div><div><span style="font-family:monospace,monospace">/ prints "z"<br></span></div><div><span style="font-family:monospace,monospace">* prints "z"<br></span></div><div><span style="font-family:monospace,monospace">- prints "4z"<br></span></div><div><span style="font-family:monospace,monospace">+ prints "3z"<br></span></div><div><span style="font-family:monospace,monospace">Enter prints "0z"<br></span></div><div><span style="font-family:monospace,monospace">. prints "9z"<br></span></div><div><span style="font-family:monospace,monospace">0 prints "7z"</span><br><br></div><div>which is somewhat curious.<br><br></div><div>Just for reference (as OmniOS's root) below what my OmniOS reports:<br><br></div><div><span style="font-family:monospace,monospace"><b>kbd -l</b><br><br></span></div><div><span style="font-family:monospace,monospace">type=6<br></span></div><div><span style="font-family:monospace,monospace">layout=14 (0x0e)<br></span></div><div><span style="font-family:monospace,monospace">delay(ms)=500<br></span></div><div><span style="font-family:monospace,monospace">rate(ms)=40</span><br><br></div><div><span style="font-family:monospace,monospace"><b>cat /etc/default/init</b><br><br></span></div><div><span style="font-family:monospace,monospace">TZ="Europe/Rome"<br></span></div><div><span style="font-family:monospace,monospace">CMASK=022</span><br><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace"><b>locale</b><br><br></span></div><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><div><span style="font-family:monospace,monospace">LC_ALL=<br><br></span></div><div><span style="font-family:monospace,monospace"><b>locale -a|grep "it_IT"</b><br><br></span></div><div><span style="font-family:monospace,monospace">it_IT.ISO8859-15<br>it_IT.UTF-8</span><br><br></div><div>Could anybody provide me some help with that?<br><br></div><div>Simple tasks like editing the /etcvssh/sshd_config to enable SSH Root access or editing the "<a href="http://omnios_zpool_install.pl">omnios_zpool_install.pl</a>" script (during the OmniOS install phase) is and was always an hard task with vi on OmniOS!<br><br></div><div>Thanks, Davide.<br></div></div>