From: AT <alexey_tourbin@mail.ru>
To: Linux-Mandrake RE <mandrake-russian@altlinux.ru>
Subject: [mdk-re] mutt with cp1251
Date: Wed Aug 29 21:00:13 2001
Message-ID: <20010829210124.A15821@localhost.localdomain> (raw)
In-Reply-To: <3B8D1445.1E0F98B4@logic.ru>; from aen@logic.ru on Wed, Aug 29, 2001 at 08:11:49PM +0400
> Кстати, настройки 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 терминалом это вроде как даже
и не проблема.
Такие дела.
PS: так где там в исходниках живут int poll(...) и int select(...)?
__
AT
next prev parent reply other threads:[~2001-08-29 21:00 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 ` AT [this message]
2001-08-30 13:18 ` [mdk-re] mutt with cp1251 Dmitry V. Levin
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=20010829210124.A15821@localhost.localdomain \
--to=alexey_tourbin@mail.ru \
--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