ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] консоьные шрифты в локале POSIX (root)
Date: Tue, 31 May 2005 00:29:25 +0400
Message-ID: <20050530202925.GC8002@basalt.office.altlinux.org> (raw)
In-Reply-To: <200505300934.07946@ruslandh>

[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]

On Mon, May 30, 2005 at 09:34:02AM +0400, Хихин Руслан wrote:
> Здравствуйте :)
> 
> Ни у кого такого нет ?
> 
> В консоле (ALT+F1 и виртуальной графической консоли - конкретно konsole) 
> root (локаль POSIX) 
> 1 не отображаются имена русских файлов.
> ls -l
> drwxrwxrwx    3 root root      8192 May 29 17:36 ??? ?????????
> (Мои документы)
> 
> 2 далее выяснил (ALT+F1) - не отображаются просто русские буквы
> echo "йцукенгшщзхъфывапролджэ" > test.tmp - всё правильно записалось, а 
> вот при наборе высвечивались греческие буквы (не знаю как снять с 
> консоли :) )

Здесь уже всё прокомментировали, но я всё же как мантейнер расскажу ещё
раз, и как модератор попрошу дальше эту тему в этом списке рассылки не
развивать.

Итак, по умолчанию, если вывод программы ls является терминалом, то ls
ведёт себя как "ls --hide-control-chars".  Набор символов, который
считается печатным, зависит от категории LC_CTYPE локали.

Таким образом, если у рута локаль POSIX, то "ls" не будет печатать на экран
кириллицу.  Если локаль ru_RU.*, то будет.  "ls | cat" тоже будет выводить
кириллицу (потому что ls выводит в pipe).


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-05-30 20:29 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-30  5:34 Хихин Руслан
2005-05-30  5:55 ` Epiphanov Sergei
2005-05-30 11:00 ` [sisyphus] " Michael Shigorin
2005-05-30 11:22   ` ABATAPA
2005-05-30 11:47     ` Michael Shigorin
2005-05-30 12:03       ` ABATAPA
2005-05-30 12:13         ` Eugene Ostapets
2005-05-30 12:30           ` ABATAPA
2005-05-30 12:33             ` [JT] " Denis Klykvin
2005-05-30 12:55               ` ABATAPA
2005-05-30 12:58                 ` Denis Klykvin
2005-05-30 13:08                   ` ABATAPA
2005-05-30 13:29                   ` Led
2005-05-30 13:44                     ` ABATAPA
2005-05-30 12:34             ` Eugene Ostapets
2005-05-30 12:28         ` Nick S. Grechukh
2005-05-30 12:33           ` ABATAPA
2005-05-30 12:36             ` Alexey I. Froloff
2005-05-30 12:56               ` ABATAPA
2005-05-30 13:03                 ` Eugene Ostapets
2005-05-30 13:31                   ` Led
2005-05-30 13:27                 ` Alexey I. Froloff
2005-05-30 13:52                   ` ABATAPA
2005-05-30 14:35                     ` Andrey Rahmatullin
2005-05-31  3:29                     ` Mike Lykov
2005-05-31  3:29                       ` [sisyphus] Administrativia Dmitry V. Levin
2005-05-30 13:00               ` [sisyphus] Re: консоьные шрифты в локале POSIX (root) Kylik Semen
2005-05-31  9:44               ` Maxim Tyurin
2005-05-30 12:44             ` Nick S. Grechukh
2005-05-30 12:58               ` Genix
2005-05-30 13:11                 ` Nick S. Grechukh
2005-05-30 13:17                   ` Epiphanov Sergei
2005-05-30 13:31                   ` Genix
2005-05-30 13:01               ` ABATAPA
2005-05-30 13:12                 ` Alexey I. Froloff
2005-05-30 13:57                   ` Led
2005-05-30 13:15                 ` Epiphanov Sergei
2005-05-30 13:25                   ` Led
2005-05-30 13:40                     ` ABATAPA
2005-05-30 19:09                       ` [sisyphus] [JT] " Michael Shigorin
2005-05-30 13:21                 ` [sisyphus] " Epiphanov Sergei
2005-05-30 13:34                   ` ABATAPA
2005-05-30 13:43                     ` Epiphanov Sergei
2005-05-30 14:13                       ` Andrei Bulava
2005-05-30 14:22                         ` Led
2005-05-30 14:44                           ` Andrei Bulava
2005-05-30 15:14                             ` Led
2005-05-30 15:22                               ` Andrey Rahmatullin
2005-05-30 15:31                                 ` Led
2005-05-30 19:24                                   ` Michael Shigorin
2005-05-30 22:49                                     ` Igor Zubkov
2005-05-31  4:45                                       ` Alexey I. Froloff
2005-05-31  8:01                                   ` Epiphanov Sergei
2005-05-31  8:10                                     ` Led
2005-05-31  8:31                                       ` Epiphanov Sergei
2005-05-31  8:50                                         ` Led
2005-05-31  9:43                                           ` Epiphanov Sergei
2005-05-31  9:55                                             ` Led
2005-05-31 10:19                                               ` Epiphanov Sergei
2005-05-31 13:18                                               ` [sisyphus] Administrativia Dmitry V. Levin
2005-05-30 13:54                     ` [sisyphus] Re: консоьные шрифты в локале POSIX (root) Led
2005-05-31  6:15                       ` Andrey Konovalov aka Krapa
2005-05-30 13:02 ` [sisyphus] " Epiphanov Sergei
2005-05-30 20:29 ` Dmitry V. Levin [this message]
2005-05-31  0:58   ` Хихин Руслан
2005-05-31  8:17   ` [sisyphus] [faq] " Michael Shigorin

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=20050530202925.GC8002@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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