[READ-ME] [>MH-6.8-JP-Patch.2 ˀ說ࡦ ] []

MH-6.8-JP-Patch.2 (93/02/14)


ե亮
[1] ޡ⦥
[2] ͡ۥπ
[3] ҥࡦơҡ̥ॱʥ
[4] ۥĥ
[5]

[1] ޡ⦥

ۡࡦơ MH-6.8 patch.0 Japanization.1 Japanization.2 ҡࡦ ̡Japanization.1 ۡࡦơޡfj.sources
	Newsgroups: fj.sources,fj.mail
	From: takada@seraph.NTT.JP (Toshihiro Takada)
	Subject: UNIFIED unofficial Japanization Patch for MH-6.8 (JP1)
	Message-ID: 
	Date: 22 Dec 1992 01:20:43 GMT
͡˥ۥ硢ˡץҥࡦơ̡ۥϥϥॱʥޡ

	mh-format, mhl ۥˀ說ĥߥ
	7bit JIS ҥơ˥ˀ說 EUC, Shift JIS 饦Ρۡ󡣥
	򡦥桦֥Υա֡顦ߥۥޥҥ饦Ρ㥤ȥ̥
	MIME (RFC-1341)ҡ charset="ISO-2022-JP" ۡ󡣥
	ĥꡦơ(RFC-1342)ۡˀ󡣥
̡

[2] ͡ۥπ
MH-6.8.JP1 top directory ̡֥ҥࡦơ֡ˡ˥

    % patch -p < mh-6.8-JP-patch.2
configuration file (榥 conf/MH)

    options JAPAN
Υơꦥ̡֡桦סƥ˥("options JAPAN" 㥵ˡϡߡ֡ϡ MH ͥ˥ҡϡޡ̡)

    % cd conf
    % configuration file (榥 MH) "options JAPAN" Υơ
    % make
    % ./mhconfig MH
    % cd ..
    % make clean
    % make
make 㥿祯֡͡˥

    # make install

[3] ҥࡦơҡ̥ॱʥ
ϥॱʥޡϥۥȥա̡

[3.1] ߡ

MH ۡߡ "MH 6.8.JP1"  "MH 6.8.JP2" ҥϥॱ


[3.2] mh-format

mh-format ˀ說ĥߥҡϡסҡ inc, scan, repl ʀ̥ˀ說
㥿åπ


[3.2] mhl

mhl ˀ說ĥߥҡϡץס̡ mhl ˀ說ĥߥˡϡơ
⦥ҡ֥̥衢ҡ̥ϡΡ㥿ˡ㡣֥ҥࡦơҡ
ޥåπ

榥 repl Υإࡢ filter  mhl form ۥ즥̡width=255 ϡΡͥ
ˡءĥͥ顢㡣֡ۥΥإ顢ޡ䦥򡢡֡


[3.3] 饦

MH-6.8.JP1 ̡󡣥͡ˡ 7bit JIS (ϥ "JIS7" ͥۥ)ҥơ
ˡ֥ˀ說 EUC (ϥ "JEUC" ͥۥ)  Shift JIS (ϥ "SJIS"
ͥۥ)佥ͥإ।ȥ̥ҡϡ

ۥ饦Ρ֡桦Ȁߥۥޡ֡顦ߥۥޡ֥Υեߥۥޡ֥ҥ
͡㥤ȥ̥ҡϡסۥ̀ϥҥ

ۥ饦Ρޡ

	桦Ȁߥۥ:	ȥϥॽ MH_FILE_CODING
			.mh_profile󡣥ء file-coding
			ȥϥॽ LC_CTYPE
			ȥϥॽ LANG

	Υեߥۥ:	ȥϥॽ MH_DISPLAY_CODING
			.mh_profile󡣥ء display-coding
			ȥϥॽ LC_CTYPE
			ȥϥॽ LANG

	顦ߥۥ:	ȥϥॽ MH_PROCESS_CODING
			.mh_profile󡣥ء process-coding
			ȥϥॽ LC_CTYPE
			ȥϥॽ LANG

ҥإťءҡơ˥סꦥҥˡ䦥ۡۥƥءء
𦥪

ҥ̡塢ťءۡ͡աסޡϥۥȥա̡

  饦:	󡣥ء, ȥϥॽۥƥ
  ----------    ----------------------------
	JIS7:	C, japanese, ja_JP.jis7, ja_JP.jis8, ja_JP.pjis, ja_JP.jis,
		wr_WR.ct, wr_WR.junet
	JEUC:	ja_JP.ujis, ja_JP.euc
	SJIS:	ja_JP.sjis, ja_JP.mscode

	(: ޡ locale ۥƥء͡ơˡ㡣OS  LOCALE ޥ
	     åͥإࡢˡ)

榥ߥΥեߥۥޡۥ饦Ρ͡ SJIS ࡢ .mh_profile 즥

	display-coding: ja_JP.mscode

ϡΡͥ˥

ҥϥۡ䦥ۡ饦Ρ͡˥̡֡֡桦
̡ JIS7 ͡ϡ

桦Ȁߥۥޥإࡢۥ饦Ρ JEUC ۥޡ֡桦Ρথ͡塢ҥ
 JEUC ҥơ JIS7 ¥ḁ̊ס桦Ȁߥۥޥإࡢۥ饦Ρ
SJIS ۥޡ֡桦Ρথ͡女󡢥ҥġ SJIS ҥơ JIS7 ¥
ḁ̊

ۥ饦ΡĀ䣡֥ͥ।եϥ(JIS-X-0201 right half)
ޥס Mule-ML ϡΡ̥͡ˡĥ⣥ޥå
ϡ(Υۥ؀ǀ㥹ߡ)ͥ顢

  
inc  post (send) ҥꡢˡޡ֥귥塢ۥ饦Υϥ२ۥ̥  
̥ۡ桢˥

ϡ inc ۥ󡢥ޡ桦Ȁߥۥޡۥ饦Ρ㥤ҥˡ֡ҡ
򦥳/usr/spool/mail/$USER ҥˡ֡֡ popd ʀϥ衢
ͥ˥饦Ρ folder 䦥ҡ衢ס post (send) ۥ󡢥ҡޡ
⧥ơۡ̡ץ΀ draft 桦ۥ饦Ρۡ sendmail, smtp,
popd ϡΡҥ(ꡦơ΀ҥꡢˡ[3.6])

ơ˥ sendmail  Mlocal  send 㥪åˡ postproc ϡΡҡ
Ρۥϥ२䡢ơˡπޡ֥ס̥ȥաۥπ̥饦Υϥ२إࡢ
Υإ顢㡢̥֡ۡ桢˥


[3.5] MIME (RFC-1341)ҡ charset="ISO-2022-JP" ۡ󡣥

mhn ࡢ MIME ۡ⧥ơ¥硢(*) charset ̡ۡ桦
͡ "us-ascii"  "iso-2022-jp" ҥϥॱץơ֡ĥ󡢥ҡޡ֥
 charset ҡơ MH ۥˡޥ˥ơҥϥ।

(*) comp ֡ repl ۥ󡢥ҡ"What now?" ۥ衢 "send" ͡áҡ
    "edit mhn" ͥˀޡס֡ޡˡʥҥ䡢򡢥ҡޡ.mh_profile
    ۥ즥 "automhnproc: mhn" ˡáץá man mhn ͡
    


[3.6] ĥꡦơ(RFC-1342)

RFC-1342 ̥ĥꡦơۡˀͥإࡢ͡㡢̡塢ס󡣥
͡ˡۡޡcharset="ISO-2022-JP"  "B"-encoding ̡ۡץȥ̡
㡢 charset="ISO-8859-X"  "Q"-encoding ޥͥإࡢ̡塢

ĥꡦơҥꡢˡޡ֡⧥ơ祵ۥˡϥ२ mh-format ࡢ
ϥ२ۡץȥաۡ桦إࡼ桢ˡסϥ򦀀ҥΥ


[3.6.1] ⧥ơ祵ۥˡϥ२

post ( spost)ҡϥۡ顦ȥΥơ

	-hencode
	-nohencode

顦͡ -hencode 㥵ޡ֡⧥ơۡꡦơ΀ҥ
Ȁ說㥷ˡʥ RFC-1342  (charset="ISO-2022-JP", "B"-encoding)
ҥϥ२˥硢-nohencode 㥵ޡ֡ꡦơ΀ۥˀ
ޥϥ२ҡۡ硢סۥ⧥ơۡ̡ץ
ޥ˥ס̡桦͡ -nohencode ̡

 -hencode 㥵ޡ.mh_profile  signature: 󡣥ء
(UCI option ˡ桦ס MH ۥ󡢥ޥ
$HOME/.signature 桦ۥ͡)ҥ죥ҥˡȀ
ۥ΀㡢䣡֥ˡʥ RFC-1342 ҥϥ२

֥ȥեޡ죥ȥ post (֡ spost) ҡ顦
͡ޡ̡塢̡֥ۡĥ󡢥ҡ send Ρۥĥ䥵ҡۡ顦
(-[no]hencode)˥ץҥĥꡦơͥإࡢޡ
.mh_profile 

	send: -hencode

1䡢ơˡߥۥΡͥ顢ס whom Ρ䧡֡Ρۥ⦥
⦥ post ˡ⥹ߡ̡ۡ.mh_profile 

	whom: -hencode

ˡπۥΡ̡򡣡

postproc  post (֡ spost)ϥۡ顦ঀ֡򻥱
post (֡ spost)ˡ⥹ߡˡޡsend ̥顦
(-[no]hencode) post (֡ spost)ҥʥޡ򡢥ҥ桢˥

[3.6.2] mh-format ҡ̀

RFC-1342 ۥĥꡦơۥΡۡ⦥ҡ֡ϥ2ȡ mh-format ꥽
ҥȥΥơˡ

	Function   Argument Return   Description
	hencode    expr	    string   ˀ說̥ RFC-1342 ҥϥ२
	hdecode    expr	    string   RFC-1342 說̥ҥϥ२

ۥ꥽ޡ䧥͡ơ顦롦ҡ֡ implicit putstr ͡˥


hdecode ꥽ RFC-1342 ҡΡϥեۥˀ說̥
ҥ⦥ءסۥťϡ͡ϡץ榥͡˥覥 scancomps ϥҥ


	%5(msg)%<(cur)+%| %>\
	%<{replied}-%?{encrypted}E%?{content-type}M%| %>\
	%02(mon{date})/%02(mday{date})\
	[%02(hour{date}):%02(min{date})%3(tzone{date})]\
	%<{date} %|*%>\
	%15(hdecode(friendly{from}))\
	  \
	%(hdecode{subject})%<{body}%{body}%|%>

 .mh_profile 즥

	scan: -form scancomps
	inc: -form scancomps

סۡ򡢥 hdecode ꥽ "%15(hdecode(friendly{from}))" 
"%(hdecode{subject})" ͥ͡򡢥͡ҡơˡRFC-1432 ҡΡ
ϥ說ҥϥ२˥Υ͡㥤ȥ̥ҡϡ

ĥꡦơ⧥ơҡ顦򧡢͡ء֥͡榥ߡϥ
ۡ򡢥 replcomps ˡáͥϥ؀̡(ۥ send 
-hencode 顦桢͡ҥϡ)

	%(lit)\
	%(formataddr(hdecode %<{reply-to}%?{from}%?{sender}%?{return-path}%>))\
	%<(nonnull)%(void(width))%(putaddr To: )\n%>\
	%(lit)%(formataddr(hdecode{to}))%(formataddr(hdecode{cc}))\
	%<(nonnull)%(void(width))%(putaddr Cc: )\n%>\
	%<{subject}Subject: Re: %(putstr(hdecode{subject}))\n%>\
	%<{date}In-reply-to: Your message of "\
	%<(nodate{date})%{date}%|%(pretty{date})%>"\n%>\
	%<{message-id}\
	References: %<{references} %{references}%> %{message-id}\n%>\
	--------

 mhl  formatfield ࡢ mh-format  format string 
⥹ߡ͡㡢̡塢סҡ mhl  hdecode/hencode ꥽ͥإࡢ
͡㡢̡塢ץ榥 showproc ͡ mhl ͥإࡢ"mhl.format" 
ۡ򡢥ҥ͡ҡơˡ֥ĥꡦơ⧥ơ
͡㡢̡塢

	width=80,overflowtext="	",overflowoffset=0
	ignores=msgid,message-id,received,content-transfer-encoding,content-id
	ignores=content-type,return-path,in-reply-to,references,mime-version
	ignores=errors-to,sender,reply-to,apparently-to,x-reply-to
	Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
	To:formatfield="%(hdecode{text})"
	Cc:formatfield="%(hdecode{text})"
	From:formatfield="%(hdecode{text})"
	Subject:formatfield="%(hdecode{text})"
	extras:nocomponent,formatfield="%(hdecode{text})"
	:
	body:nocomponent,overflowtext="",overflowoffset=0

mhl ̡ꡦơ΀㥹奨͡㥭ϥπޡ(榥 "mhl.noconv" 
򡦥桦)ۡ򡢥 mh-format ֡͡ߡ𦡢̡򡣡

	overflowtext="",overflowoffset=0
	extras:nocomponent,formatfield="%(hdecode{text})"
	:
	body:nocomponent,overflowtext="",overflowoffset=0

 mh-e 죥ۥπ ".emacs" 桦즥̡

	(setq mhl-formfile "mhl.format")

	(setq mhl-formfile "mhl.noconv")

ͥ͡ҡ֥ĥꡦơ㥵ͥإࡢ⧥ơ說ҥϥ२
˥˥Ρথ͡㥤ȥ̥ҡϡ

ۥπޡߡꡦơΡ塢򡢥̡㡣֡֡͡롦֡͡򡢥
̥͡Х

[3.6.3] 

mhl ͥꦥ̥ "mhl.noconv" ͡ơˡ֥榥ߡ

    alias mmore '<MHlibrary dir>/mhl -form <֡ϡMH dir>/mhl.noconv \!*'

ϡΡ֥ͥ͡ĥꡦơˡá PAGER ۥҡ䦥ϡ
ץϥ؀؀V(^o^)


[3.7] ৥ 

timezone "JST" ḁ̊ס mh-format  tzone ꥽ pretty
꥽ "JST" 衢򡢥ҡϡ

"options ATZ"  MH ۡ桦סޡ֥⧥
 Date: 桦סΡ "JST" ͡򡢥ҡϡסϡ
 READ-ME 

>     ATZ
>          Directs MH to use alpha-timezones whenever possible.
>          You should not use this option if you are on the Inter-
>          net, since it will make your host non-compliant with
>          RFC-1123 (Requirements for Internet Hosts).

֡͡򡢥ҡ֡ RFC-1123 ۥϡ͡ҡϡ̡ۡ֡á
 t your own risk ̥䡢ơ˥

RFC-1123 ҡ

>         There is a strong trend towards the use of numeric timezone
>         indicators, and implementations SHOULD use numeric timezones
>         instead of timezone names.  However, all implementations MUST
>         accept either notation.  If timezone names are used, they MUST
>         be exactly as defined in RFC-822.

֡͡⣡"options ATZ" 㥵ˡϡҡ򦥳"JST" 
"+0900" ۡաס̡֡ͥ؀

⦥̡塢͡πޡ"options ATZ" ҡ֥ߡ⧥ơ
ۡꡦơ̡ "+0900" ࡢ֡죥ꡢۡ桦ҥꡢˡ scan 
mhl  tzone  pretty ͡ơ mh-format ͡ҡơ "JST" 
Υ֡͡򡢥ۡۥΡͥ顢
[4] ۥĥ
MH-6.8 locale 㡦󡣥͡ˡ㡣֥ҥࡦơ̡ locale ޥ إࡢˡץ饦Ρۥϥ२ϡΡޥ˥̡覥ơˡ

򥷡ϡͥޥĥĥߥ̡㡣֡ޡߡåҡϡ򡢥ϥ... 䦥䣡֥Ā䧥̡থۥϥ⡦顦򧡬ĥۥĥ㡢̡塢ϡ

[5]
ҥࡦơۥ¥硢ۥƀ̡ޡ֥եʥ򡢥(hkojima@etl.go.jp)ҡ MH-6.6 إࡢۥˀ說ࡦơ֡ˡȡ(tetsu@kuis.kyoto-u.ac.jp) MH-6.7 إࡢۥˀ說ࡦơ֥ҥءҡ˥ȥ塢ץס̥ȥ 衢ˀءۡࡦơ̥ϥ؀ҥ͡˥ȥ֡͡ˡۡࡦơ 򥳥˥̥Υ襭˥ȥ֥͡åƥ顢(_o_)

MH-6.8.JP1 ҥ֥ץ严ۥޡ˥ơ֡ޡ覥 "" ޡᡢ̥㥵ᡢ(hayashi@kuic.kyoto-u.ac.jp)֡ MH-6.8.JP ꡢࡦơ󡣥͡迀ϥۥπ(sort | uniq )ҡ䶥ƥ顢

    "S. UEHARA" <uehara@yisun1.yukawa.kyoto-u.ac.jp>
    Akihiko Kuroe <a_kuroe@hoffman.cc.sophia.ac.jp>
    Ken-ichi Sakaeda <saka@tomorose.trad.pfu.fujitsu.co.jp>
    Ryu Inada <ryu@netg.ksp.fujixerox.co.jp>
    Shigeya Suzuki <shigeya@foretune.co.jp>
    Shin'ichi KONOMI <konomi@maria.cc.kyushu-u.ac.jp>
    Shingo Fujimoto <shingo@cs.uec.ac.jp>
    Shinji Kono <kono@csl.sony.co.jp>
    d90148@chubu.ac.jp (Murayama Fumitaka)
    murakami@msr.mei.co.jp
    shimada@denken.or.jp (Takehiro Shimada)
ҥࡦơޥ쾥إҥ˥̥Υ˥ȥ˥ץơ֡֡á̡ at your own risk ̡ۥͥإࡢ͡򡢥̡֡͡

ҥࡦơҥꡢߡ/⧀/ΡˡϡΡ㡢֡

̥ѡ֥ץܥ|ޡۥʥۥޡҡ(^^;;)

ȡ̡ҥۥޡ˥֥̀죥 mh-68-jp-request@seraph.ntt.jp
⣥ס塢̡ꦥ(^^;;)

ߡ󡣥͡ۥ󡢥ޡMH configuration mtstailor ۥ Υ桢˥ȥ̥ͥॹסá

͡Հ̡̡֡ޡ

========================================================================
ץۡץץ䥨ƥ ϥꥯ                                 ǥȥΥᥱ
ϥ㥵䡦꣥ˡס؀짡              takada@nttlab.ntt.JP
========================================================================