ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Неправильное отображение man в UTF8
@ 2015-02-20 20:39 Ilya Mashkin
  2015-02-20 20:56 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Ilya Mashkin @ 2015-02-20 20:39 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Добрый день!

Русская man-страница моего пакета aria2 отображается некорректно,
внутри там UTF8, а вывод похож на koi8-r.

Какие правильные действия сейчас нужно сделать с этой страницей, чтобы
пользователи могли увидеть небитый русский текст?

Вот сама страница:

https://yadi.sk/d/JJKEguiXeooRc

Кстати, в сети увидел люди используют вот такой ключик man для
просмотра локальных man:

$ man -l doc/manual-src/ru/man/aria2c.1


Что нужно сделать у нас, чтобы тоже так работало? Такого ключа не увидел.

Спасибо!

--
Илья Машкин

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] Неправильное отображение man в UTF8
  2015-02-20 20:39 [sisyphus] Неправильное отображение man в UTF8 Ilya Mashkin
@ 2015-02-20 20:56 ` Dmitry V. Levin
  2015-02-21  0:30   ` Ilya Mashkin
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2015-02-20 20:56 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

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

Hi,

On Sat, Feb 21, 2015 at 12:39:38AM +0400, Ilya Mashkin wrote:
> Добрый день!
> 
> Русская man-страница моего пакета aria2 отображается некорректно,
> внутри там UTF8, а вывод похож на koi8-r.
> 
> Какие правильные действия сейчас нужно сделать с этой страницей, чтобы
> пользователи могли увидеть небитый русский текст?

Сделать такую первую строчку:
.\" -*- mode: troff; coding: utf8 -*-

> Кстати, в сети увидел люди используют вот такой ключик man для
> просмотра локальных man:
> 
> $ man -l doc/manual-src/ru/man/aria2c.1
> 
> Что нужно сделать у нас, чтобы тоже так работало? Такого ключа не увидел.

Так будет работать:
man ./doc/manual-src/ru/man/aria2c.1


-- 
ldv

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] Неправильное отображение man в UTF8
  2015-02-20 20:56 ` Dmitry V. Levin
@ 2015-02-21  0:30   ` Ilya Mashkin
  0 siblings, 0 replies; 3+ messages in thread
From: Ilya Mashkin @ 2015-02-21  0:30 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

2015-02-20 23:56 GMT+03:00 Dmitry V. Levin <ldv@altlinux.org>:
> Hi,
>
> On Sat, Feb 21, 2015 at 12:39:38AM +0400, Ilya Mashkin wrote:
>> Добрый день!
>>
>> Русская man-страница моего пакета aria2 отображается некорректно,
>> внутри там UTF8, а вывод похож на koi8-r.
>>
>> Какие правильные действия сейчас нужно сделать с этой страницей, чтобы
>> пользователи могли увидеть небитый русский текст?
>
> Сделать такую первую строчку:
> .\" -*- mode: troff; coding: utf8 -*-
>
>> Кстати, в сети увидел люди используют вот такой ключик man для
>> просмотра локальных man:
>>
>> $ man -l doc/manual-src/ru/man/aria2c.1
>>
>> Что нужно сделать у нас, чтобы тоже так работало? Такого ключа не увидел.
>
> Так будет работать:
> man ./doc/manual-src/ru/man/aria2c.1
>

Да, все заработало, спасибо!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-21  0:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-20 20:39 [sisyphus] Неправильное отображение man в UTF8 Ilya Mashkin
2015-02-20 20:56 ` Dmitry V. Levin
2015-02-21  0:30   ` Ilya Mashkin

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