ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Шрифты в консоли
Date: Sat, 12 Nov 2011 22:10:41 +0400
Message-ID: <4EBEB6A1.3040104@mail.ru> (raw)
In-Reply-To: <20111112174027.GG13267@osdn.org.ua>

12.11.2011 21:40, Michael Shigorin пишет:
> В смысле что если дело только в этом, то стоит искать,
> почему не выполняется из /etc/profile.d/console.sh .

Да, там действительно всё это прописано:

# cat  /etc/profile.d/console.sh
if [ -z "${DISPLAY-}" ]; then
         if [ -x /usr/share/console-scripts/vt_activate_user_map ]; then
                 /usr/share/console-scripts/vt_activate_user_map ||:
         fi

         if [ -x /usr/share/console-scripts/vt_activate_unicode ]; then
                 /usr/share/console-scripts/vt_activate_unicode ||:
         fi
fi

# cat /usr/share/console-scripts/vt_activate_unicode
#!/bin/sh

NEED_UNICODE=
for f in "$HOME/.i18n" /etc/sysconfig/i18n; do
         if [ -s "$f" ] && . "$f" ; then
                 break
         fi
done

case "$LANG" in
         *.utf8|*.UTF-8) NEED_UNICODE=1 ;;
esac

if [ "$TERM" = 'linux' -a "`/sbin/consoletype`" = 'vt' ]; then
         [ -n "$NEED_UNICODE" ] &&
                 f='/bin/unicode_start' ||
                 f='/bin/unicode_stop'

         [ ! -x "$f" ] ||
                 "$f"
fi


Завтра, постараюсь дойти и отписаться.

-- 
	С уважением,
		Владимир.


  reply	other threads:[~2011-11-12 18:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-12 15:36 Vladimir Karpinsky
2011-11-12 15:39 ` Michael Shigorin
2011-11-12 15:58   ` Vladimir Karpinsky
2011-11-12 17:18     ` Michael Shigorin
2011-11-12 17:24       ` Vladimir Karpinsky
2011-11-12 17:26         ` Michael Shigorin
2011-11-12 17:36           ` Vladimir Karpinsky
2011-11-12 17:40             ` Michael Shigorin
2011-11-12 18:10               ` Vladimir Karpinsky [this message]
2011-11-13 14:43   ` Vladimir Karpinsky
2011-11-13 18:00     ` Michael Shigorin
2011-11-13 18:43       ` Vladimir Karpinsky
2011-11-14 13:38       ` Vladimir Karpinsky

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=4EBEB6A1.3040104@mail.ru \
    --to=vkarpinsky@mail.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git