From: gosha <gosha@elins.ru> To: devel-ports@lists.altlinux.org Subject: [devel-ports] Пропадаю. ( Интернационализация i18n && boot_ramdisk) вручную Date: Fri, 16 May 2008 11:36:41 +0000 Message-ID: <200805161136.41811.gosha@elins.ru> (raw) Добрый день. EO> Нужен еще /usr/lib/locale/ru* и glibc-gconv-modules Скопировано все, что можно. #locale <cr> выдает правильную информацию. Но ситуация прежняя - Русский шрифт в консоли- ok; printf("абвгдежз"); - Тестируем русификацию partimage: - файл /usr/locale/share/ru/LC_MESSAGES/partimage.mo существует. - Печатается пустыми символами (нулевая строкаб 0 символов в строке) printf( i18n ("абвгдежз") ); - После удаления файла /usr/locale/share/ru/LC_MESSAGES/partimage.mo все печатается по английси ok. Используются самодельные initscripts в /etc/ Могло что- то пропуститься в скриптах/настройках /etc/ , что могло бы привести к такому результату? Или это не подгружаются .so Существуют ли методы определения причины такой ситуации ? ================================================================ export LANG=ru_RU.KOI8-R export LC_ALL=ru_RU.KOI8-R # Load system font if [ -x /sbin/setsysfont ]; then [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n if [ -f /etc/sysconfig/console/$SYSFONT.psf.gz -o -f /usr/lib/kbd/consolefonts/$SYSFONT.psf.gz ]; then /sbin/setsysfont fi fi echo -en "\t\t\tОперационая система Alt Linux\n\n " # Load keymap if [ -x /bin/loadkeys ]; then KEYTABLE= KEYMAP= if [ -f /etc/sysconfig/console/default.kmap ]; then KEYMAP=/etc/sysconfig/console/default.kmap else if [ -f /etc/sysconfig/keyboard ]; then . /etc/sysconfig/keyboard fi if [ -n "$KEYTABLE" -a -d "/usr/lib/kbd/keymaps" ]; then KEYMAP="$KEYTABLE.kmap" fi fi if [ -n "$KEYMAP" ]; then # Since this takes in/output from stdin/out, we can't use initlog if [ -n "$KEYTABLE" ]; then echo -n $"Loading default keymap ($KEYTABLE): " else echo -n $"Loading default keymap: " fi loadkeys $KEYMAP < /dev/tty0 > /dev/tty0 2>/dev/null && \ echo fi fi echo -ne "\033(K" echo -ne "\033(K" > /dev/console echo -ne "\033(K" > /dev/tty1 echo -ne "\033(K" > /dev/tty2 echo -ne "\033(K" > /dev/tty3 echo -ne "\033(K" > /dev/tty4 -- С Уваженим, gosha.
next reply other threads:[~2008-05-16 11:36 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-05-16 11:36 gosha [this message] 2008-05-16 8:36 ` Eugene Ostapets
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200805161136.41811.gosha@elins.ru \ --to=gosha@elins.ru \ --cc=devel-ports@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux architecture porting This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-ports devel-ports/ http://lore.altlinux.org/devel-ports \ devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com public-inbox-index devel-ports Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-ports AGPL code for this site: git clone https://public-inbox.org/public-inbox.git