···2828 patch.slang-1.2.2.keypad.1 \
2929 $(SAMPLES)
30303131+ICONV_DISTFILES=README make.sh
3232+3133all clean:
32343335distclean:
···3638check:
37393840install:
3939- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples
4141+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv
4042 for f in $(SAMPLES) ; do \
4143 $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ; \
4444+ done
4545+ for f in $(srcdir)/iconv/*.rc ; do \
4646+ $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv ; \
4247 done
43484449# Nothing needs to be done - uninstall in doc removes samples as well.
···5762 ln $(srcdir)/$$file $(distdir) 2> /dev/null \
5863 || cp -p $(srcdir)/$$file $(distdir); \
5964 done
6060-6565+ mkdir -p $(distdir)/iconv
6666+ for file in $(ICONV_DISTFILES) ; do
6767+ ln $(srcdir)/iconv/$$file $(distdir)/iconv 2> /dev/null \
6868+ || cp -p $(srcdir)/iconv/$$file $(distdir)/iconv; \
6969+ done
7070+ for file in $(srcdir)/iconv/*.rc ; do
7171+ ln $$file $(distdir)/iconv 2> /dev/null \
7272+ || cp -p $$file $(distdir)/iconv ; \
7373+ done
+15
contrib/iconv/README
···11+This directory contains sample collections of iconv-hooks for
22+various platforms. The files have been auto-generated from the
33+source code of Bruno Haible's libiconv implementation, version 1.5.1.
44+55+libiconv is available from <http://clisp.cons.org/~haible/packages-libiconv.html>.
66+77+If you want to re-generate the files from a newer version of
88+libiconv, just type:
99+1010+ rm -f *.rc
1111+ ./make.sh <top-level iconv directory>
1212+1313+Note, however, that make.sh isn't guaranteed to run on any system
1414+but the one used for generating these files.
1515+
···918918<sect1>Defining aliases for character sets <label id="charset-hook">
919919<p>
920920Usage: <tt/charset-hook/ <em/alias/ <em/charset/
921921+Usage: <tt/iconv-hook/ <em/charset/ <em/local-charset/
921922922922-This command defines an alias for a character set. This is useful
923923-to properly display messages which are tagged with a character set
924924-name not known to mutt.
923923+The <tt/charset-hook/ command defines an alias for a character set.
924924+This is useful to properly display messages which are tagged with a
925925+character set name not known to mutt.
926926+927927+The <tt/iconv-hook/ command defines a system-specific name for a
928928+character set. This is helpful when your systems character
929929+conversion library insists on using strange, system-specific names
930930+for character sets.
931931+925932926933<sect1>Setting variables based upon mailbox<label id="folder-hook">
927934<p>
+13
doc/muttrc.man.head
···111111to properly display messages which are tagged with a character set
112112name not known to mutt.
113113.TP
114114+\fBiconv-hook\fP \fIcharset\fP \fIlocal-charset\fP
115115+This command defines a system-specific name for a character set.
116116+This is useful when your system's
117117+.BR iconv (3)
118118+implementation does not understand MIME character set names (such as
119119+.BR iso-8859-1 ),
120120+but instead insists on being fed with implementation-specific
121121+character set names (such as
122122+.BR 8859-1 ).
123123+In this specific case, you'd put this into your configuration file:
124124+.IP
125125+.B "iconv-hook iso-8859-1 8859-1"
126126+.TP
114127\fBmessage-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
115128Before mutt displays (or formats for replying or forwarding) a
116129message which matches the given \fIpattern\fP (or, when it is