ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] mutt with cp1251
Date: Thu Aug 30 13:18:37 2001
Message-ID: <20010830132148.H10953@ldv.office.alt-linux.org> (raw)
In-Reply-To: <20010829210124.A15821@localhost.localdomain>; from alexey_tourbin@mail.ru on Wed, Aug 29, 2001 at 09:01:24PM +0400

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

On Wed, Aug 29, 2001 at 09:01:24PM +0400, AT wrote:
> > Кстати, настройки mutt из etcskel-ru-cp1251 не годятся?
> 
> Нет. Hint:
> 
> $ diff -ur /etc/skel.ru_RU.CP1251/.mutt /etc/skel.ru_RU.KOI8-R/.mutt
> $
> 
> Во-первых, по умолчанию он шлёт письма в кодировке терминала, т.е.

А чем плохо такое умолчание?

> send_charset == charset (так написано в man muttrc). Чтобы слать письма в
> кодировке koi8-r, нужно ему сказать:
> 
> 	set charset=windows-1251
> 	set send_charset=koi8-r

да.

> Во-вторых, когда делаешь postpone незаконченного письма, то при следующем
> сеансе в качестве текста восстанавливается полная билеберда (или
> белиберда). Предположение: при postpone он кодирует текст в send_charset,
> а при восстановлении об этом забывает. Или наоборот -- не кодирует и
> вспоминает. :) Короче, все мыкания ни к чему не приводят, и проще
> оказывается набить текст заново. Очень неприятно. :(

спасибо, посмотрим.

> В третьих, у меня есть ощущение, что "кодировкой по умолчанию" также
> является кодировка терминала. То есть, если приходит 8-битный текст без
> указания кодировки, то он его пытается отобразить в 1251 (то есть видно
> опять же чорт знает что), тогда как с koi8-r терминалом это вроде как даже
> и не проблема.

Я полагаю, что это правильное умолчание. Впрочем, авторы mutt полагают,
что правильным умолчанием является iso-8859-1. А как Вы полагаете?

> PS: так где там в исходниках живут int poll(...) и int select(...)?

А посмотреть? :)


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.ru/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

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

  reply	other threads:[~2001-08-30 13:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-29 15:32 [mdk-re] [JT] Convenient mail client Roman S
2001-08-29 15:45 ` Mikhail Nikitin
2001-08-29 15:54   ` Баталов Григорий
2001-08-29 16:12     ` Mikhail Nikitin
2001-08-29 17:20       ` Баталов Григорий
2001-08-29 20:06       ` Aleksey Novodvorsky
2001-08-29 21:00         ` [mdk-re] mutt with cp1251 AT
2001-08-30 13:18           ` Dmitry V. Levin [this message]
2001-08-30 18:03             ` AT
2001-08-30 18:52               ` Dmitry V. Levin
2001-08-30 20:00                 ` AT
2001-08-30 20:19                   ` Alexander Bokovoy
2001-08-30 21:43                     ` AT
2001-08-30 21:54                       ` Alexander Bokovoy
2001-08-30 22:05                         ` Aleksey Novodvorsky
2001-08-30 20:25                   ` Dmitry V. Levin
2001-08-30 21:43                     ` AT
2001-08-31 11:45                       ` Dmitry V. Levin
2001-08-31 10:17               ` Dmitri D. Sayakin
2001-08-30 16:29         ` [mdk-re] [JT] Convenient mail client Michael Bykov
2001-08-31 11:32           ` [mdk-re] emacs Mikhail Zabaluev
2001-08-31 13:57             ` Michael Bykov

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=20010830132148.H10953@ldv.office.alt-linux.org \
    --to=ldv@alt-linux.org \
    --cc=mandrake-russian@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 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