/srv/irclogs.ubuntu.com/2019/05/22/#ubuntu-si.txt

napsy1lot-o-host-change-o05:09
=== napsy1 is now known as napsy
MatthaiJutro... ? Eno vprašanje. Nekaj programiram v Pythonu in uporabljam curses, pa mi ne piše slovenskih znakov (konkretno č). V drugi vrstici Python aplikacije sicer imam # coding: utf8, ampak očitno je treba še nekaj v curses posebej nastavit?07:06
napsyzna bit da tvoj terminal ne podpira utf-807:32
idioternaMatthai: LC_ALL=sl_SI.UTF-8 python bar.py07:36
idioternapa bo07:36
Matthai   locale.setlocale(locale.LC_ALL,"")07:37
Matthai   stdscr = curses.initscr()07:37
Matthaitole sem ugotovil07:38
idioternane to ne bo dobr07:38
idioternak je odvisn od sistemskih nastavitev07:39
Matthaihmm, v bistvu dela... je pa res, da mi terminal podpira slovenski locale07:39
Matthaimislim, sem ga pač skonfiguriral z dpkg-reconfigure07:39
idioternanamest "" dej en utf-8 locale07:39
idioternaaja07:39
idioternace ti je samo vazno da pr tebi dela je ok07:39
Matthaisamo če nisem dal te vrstice, ni delalo... tkao da očitno mora biti sistemska nastavitev, plus nastavitev v ncurses07:40
idioternakaj ti pa set|grep LC_07:47
idioternaizpise07:47
slax0rjutro07:49
Matthaiidioterna,07:49
Matthaiset|grep LC_07:49
MatthaiLC_ADDRESS=sl_SI.UTF-807:49
MatthaiLC_IDENTIFICATION=sl_SI.UTF-807:49
MatthaiLC_MEASUREMENT=sl_SI.UTF-807:49
MatthaiLC_MESSAGES=en_US.UTF-807:49
MatthaiLC_MONETARY=sl_SI.UTF-807:49
MatthaiLC_NAME=sl_SI.UTF-807:49
MatthaiLC_NUMERIC=sl_SI.UTF-807:49
MatthaiLC_PAPER=sl_SI.UTF-807:49
MatthaiLC_TELEPHONE=sl_SI.UTF-807:49
slax0ry u no pastebin?07:49
MatthaiLC_TIME=sl_SI.UTF-807:49
Matthai    local LC_CTYPE=C;07:49
Matthai    COMPREPLY+=($( compgen -W         "$( { LC_ALL=C ifconfig -a || ip addr show; } 2>/dev/null | command sed -ne             's/.*addr:\([^[:space:]]*\).*/\1/p' -ne             's|.*inet[[:space:]]\{1,\}\([^[:space:]/]*\).*|\1|p' )"         -- "$cur" ))07:49
Matthai            local argtype=$( LC_ALL=C $1 --help 2>&1 | command sed -ne                 "s|.*$prev\[\{0,1\}=[<[]\{0,1\}\([-A-Za-z0-9_]\{1,\}\).*|\1|p" );07:49
Matthai        COMPREPLY=($( compgen -W "$( LC_ALL=C $1 --help 2>&1 |             command sed -ne 's/.*\(--[-A-Za-z0-9]\{1,\}=\{0,1\}\).*/\1/p' | sort -u )"             -- "$cur" ));07:49
Matthai    COMPREPLY+=($(         { LC_ALL=C ifconfig -a || ip link show; } 2>/dev/null | command sed -ne         "s/.*[[:space:]]HWaddr[[:space:]]\{1,\}\($re\)[[:space:]].*/\1/p" -ne         "s/.*[[:space:]]HWaddr[[:space:]]\{1,\}\($re\)[[:space:]]*$/\1/p" -ne         "s|.*[[:space:]]\(link/\)\{0,1\}ether[[:space:]]\{1,\}\($re\)[[:space:]].*|\2|p" -ne         "s|.*[[:space:]]\(link/\)\{0,1\}ether[[:space:]]\{1,\}\($re\)[[:space:]]*$|\2|p"07:49
Matthai                LC_ALL=C "$( dequote "$cmd" )" ${2:---help} 2>&107:50
Matthai                LC_ALL=C "$( dequote "$cmd" )" ${2:---usage} 2>&107:50
Matthaisorry.. shame on me07:50
idioternaLC_ALL manjka :)07:51
idioternazato sm ti reku un07:51
idioterna Slovenska Ubuntu Linux skupnost www.ubuntu.si | Pogosta vprašanja http://www.ubuntu.si/pogosta_vprasanja/ | Ne sprašu09:36< idioterna> Matthai: LC_ALL=sl_SI.UTF-8 python bar.py07:51
idioternaoh well07:51
idioternashame on me too07:51
slax0rjs mam sam LC_COLLATE=C :P07:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!