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

Davide Poletto davide.poletto at gmail.com
Thu Apr 16 20:52:52 UTC 2015


Hi Richard,

Here are my settings:

OmniOS 5.11     omnios-a708424  April 2015

root at intra:/root# pkg list -a |grep locale|grep it
locale/it                                         0.5.11-0.151014
 i--
locale/it-extra                                   0.5.11-0.151014
 i--

root at intra:/root# stty -a
speed 38400 baud; rows 54; columns 190;
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;
status = ^T;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff -iuclc ixany imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

root at intra:/root# kbd -lt
USB keyboard
type=6
layout=14 (0x0e)
delay(ms)=500
rate(ms)=40

root at intra:/root# locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

root at intra:/root# cat /etc/default/init
TZ="Europe/Rome"
CMASK=022

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.

Thanks for you help! really much appreciated.
Davide.


On Thu, Apr 16, 2015 at 8:04 PM, Richard PALO <richard at netbsd.org> wrote:
> Le 16/04/15 13:07, Davide Poletto a écrit :
>> Hi Richard,
>>
>> echo $TERMINFO reports only a blank line on my system.
>>
>> Davide.
>>
>
> Then you're probably on default.
> I must admit I'm still on 151013...
>
> A few things to probably indicate... what is your actual keyboard?
>
> I will dig out my logitech usb keyboard to try, it does seem usb has
issues.
> using ps/2 right now and it's fine.
>
> Do you have all the locale files installed?  (pkg list -a |grep
locale|grep it)
> for me I have:
>> richard at omnis:/home/richard$ pkg list -a |grep locale|grep fr
>> locale/fr                                         0.5.11-0.151013
     i--
>> locale/fr-extra                                   0.5.11-0.151013
     i--
> my locale is:
>> LANG=fr_FR.UTF-8
>> LC_CTYPE="fr_FR.UTF-8"
>> LC_NUMERIC="fr_FR.UTF-8"
>> LC_TIME="fr_FR.UTF-8"
>> LC_COLLATE="fr_FR.UTF-8"
>> LC_MONETARY="fr_FR.UTF-8"
>> LC_MESSAGES="fr_FR.UTF-8"
>> LC_ALL=
>
> you may also wish to post your 'stty -a' output.
> I have:
>> speed 9600 baud;
>> rows = 25; columns = 80; ypixels = 0; xpixels = 0;
>> csdata ?
>> eucw 1:0:0:0, scrw 1:0:0:0
>> intr = ^c; quit = ^\; erase = ^?; kill = ^u;
>> eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
>> start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
>> rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
>> status = ^t;
>> -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crtscts
-crtsxoff -parext
>> -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
>> ixon -ixany -ixoff imaxbel
>> isig icanon -xcase echo echoe echok -echonl -noflsh
>> -tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
>> opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
>
> I find deceiving to see that even though I use a ps/2 kbd, the following
is my 'kbd -lt'
>> USB keyboard
>> type=6
>> layout=8 (0x08)
>> delay(ms)=500
>> rate(ms)=40
>
> there's certainly a reason though with the keyboard itself.  I'll let you
know when I get
> my usb kbd located...
> --
> Richard PALO
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20150416/77a8fcb6/attachment-0001.html>


More information about the OmniOS-discuss mailing list