<div dir="ltr"><div>Hi Richard,<br><br>Here are my settings:<br><br><span style="font-family:monospace,monospace">OmniOS 5.11     omnios-a708424  April 2015</span><br><br><span style="font-family:monospace,monospace">root@intra:/root# pkg list -a |grep locale|grep it<br>locale/it                                         0.5.11-0.151014            i--<br>locale/it-extra                                   0.5.11-0.151014            i--</span><br><br><span style="font-family:monospace,monospace">root@intra:/root# stty -a<br>speed 38400 baud; rows 54; columns 190;<br>intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O;<br>status = ^T;<br>-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts<br>-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel<br>opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0<br>isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke<br><br>root@intra:/root# kbd -lt<br>USB keyboard<br>type=6<br>layout=14 (0x0e)<br>delay(ms)=500<br>rate(ms)=40</span><br><br><span style="font-family:monospace,monospace">root@intra:/root# locale<br>LANG=<br>LC_CTYPE="C"<br>LC_NUMERIC="C"<br>LC_TIME="C"<br>LC_COLLATE="C"<br>LC_MONETARY="C"<br>LC_MESSAGES="C"<br>LC_ALL=<br><br>root@intra:/root# cat /etc/default/init<br>TZ="Europe/Rome"<br>CMASK=022</span><br></div><div><br>The fact is that the abnormal behaviour I see (and I always seen) with vi editor happens both with the local USB Italian Keyboard (It's a Fujitsu Siemens Keyboard of 2006 that works perfectly with any Linux I used and I use) AND when I log in through SSH...so It appears not related to the physical keyboard but to a system setting.<br><br>Thanks for you help! really much appreciated.<br>Davide.  <br><br><br>On Thu, Apr 16, 2015 at 8:04 PM, Richard PALO <<a href="mailto:richard@netbsd.org">richard@netbsd.org</a>> wrote:<br>> Le 16/04/15 13:07, Davide Poletto a écrit :<br>>> Hi Richard,<br>>><br>>> echo $TERMINFO reports only a blank line on my system.<br>>><br>>> Davide.<br>>><br>><br>> Then you're probably on default.<br>> I must admit I'm still on 151013...<br>><br>> A few things to probably indicate... what is your actual keyboard?<br>><br>> I will dig out my logitech usb keyboard to try, it does seem usb has issues.<br>> using ps/2 right now and it's fine.<br>><br>> Do you have all the locale files installed?  (pkg list -a |grep locale|grep it)<br>> for me I have:<br>>> richard@omnis:/home/richard$ pkg list -a |grep locale|grep fr<br>>> locale/fr                                         0.5.11-0.151013            i--<br>>> locale/fr-extra                                   0.5.11-0.151013            i--<br>> my locale is:<br>>> LANG=fr_FR.UTF-8<br>>> LC_CTYPE="fr_FR.UTF-8"<br>>> LC_NUMERIC="fr_FR.UTF-8"<br>>> LC_TIME="fr_FR.UTF-8"<br>>> LC_COLLATE="fr_FR.UTF-8"<br>>> LC_MONETARY="fr_FR.UTF-8"<br>>> LC_MESSAGES="fr_FR.UTF-8"<br>>> LC_ALL=<br>><br>> you may also wish to post your 'stty -a' output.<br>> I have:<br>>> speed 9600 baud;<br>>> rows = 25; columns = 80; ypixels = 0; xpixels = 0;<br>>> csdata ?<br>>> eucw 1:0:0:0, scrw 1:0:0:0<br>>> intr = ^c; quit = ^\; erase = ^?; kill = ^u;<br>>> eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;<br>>> start = ^q; stop = ^s; susp = ^z; dsusp = ^y;<br>>> rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;<br>>> status = ^t;<br>>> -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crtscts -crtsxoff -parext<br>>> -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc<br>>> ixon -ixany -ixoff imaxbel<br>>> isig icanon -xcase echo echoe echok -echonl -noflsh<br>>> -tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten<br>>> opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3<br>><br>> I find deceiving to see that even though I use a ps/2 kbd, the following is my 'kbd -lt'<br>>> USB keyboard<br>>> type=6<br>>> layout=8 (0x08)<br>>> delay(ms)=500<br>>> rate(ms)=40<br>><br>> there's certainly a reason though with the keyboard itself.  I'll let you know when I get<br>> my usb kbd located...<br>> --<br>> Richard PALO<br>><br></div></div>