mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
c5c0a200d1
/usr/local/share/mule/site-lisp PR: ports/10276 Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
141 lines
5.7 KiB
Plaintext
141 lines
5.7 KiB
Plaintext
Configuration of diclookup-mule FreeBSD port
|
||
7.Jun.1998
|
||
MITA Yoshio <mita@jp.FreeBSD.org>
|
||
Special thanks to MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp>
|
||
|
||
`Diclookup-mule' is a frontend interface for NDTP (Network Dictionary
|
||
Transfer Protocol) server on mule.
|
||
One of mule (ja-*mule-2.3 or mule-2.3) is necessary for this program.
|
||
|
||
1. NDTP server installation.
|
||
|
||
An NDTP server must therfore be installed.
|
||
Two programs are known as NDTP server: dserver and ndtpd.
|
||
|
||
dserver: Dictionary server. NDTP has been a protocol for dserver.
|
||
It supports EB/EBG/EBXA/EPWING CDROM dictionaries.
|
||
FreeBSD port is ready for installation: ja-dserver-2.2.2
|
||
Dserver packages includes `dictionary file compression tool'
|
||
|
||
ndtpd: Dserver-compatible Network Dictionary server.
|
||
It also supports EB/EBG/EBXA/EPWING CDROM dictionaries.
|
||
Also refer documents to each packages for setup of server.
|
||
|
||
1. Add startup code to site-start.el
|
||
Typing
|
||
% /usr/local/lib/dserver/setup-diclookup.sh
|
||
displays you `ja-diclookup setup dialog':
|
||
------------------------ja-diclookup setup --------------------------
|
||
| |
|
||
| You have to install appropreate startup code for diclookup-mule. |
|
||
| This setup script automatically it to: |
|
||
| /usr/local/share/mule/19.34/site-lisp/site-start.el. |
|
||
| |
|
||
| Are you sure? |
|
||
|-------------------------------------------------------------------|
|
||
| [ Yes ] No |
|
||
|-------------------------------------------------------------------|
|
||
By answering [ Yes ], startup code is automatically added to
|
||
/usr/local/share/mule/19.34/site-lisp/site-start.el
|
||
(Deinstallation is possible by deinstall-diclookup.sh)
|
||
|
||
2. Usage.
|
||
Typing `M-x diclookup-mule' launches a new window for dictionary looking up.
|
||
f`word for looking up'[Enter] : Lookup a word
|
||
C`dictionary name'[Enter] : Change dictionary (TAB complition OK)
|
||
o : Switch to other window
|
||
n,p,[ENTER] : Move cursor in window.
|
||
Q : Quit and delete window.
|
||
q : Suspend
|
||
|
||
|
||
Dserver FreeBSD port<72><74><EFBFBD>åȥ<C3A5><C8A5>åפˤĤ<CBA4><C4A4>ơ<EFBFBD>
|
||
|
||
3.Nov.1996
|
||
Revised 20.Dec.1996
|
||
Revised 31.Jan.1998
|
||
<20><><EFBFBD>ĵ<EFBFBD>Ϻ <mita@jp.FreeBSD.org>
|
||
|
||
|
||
<09>ܼ<EFBFBD>
|
||
0. diclookup-mule <20><><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD><EFBFBD>.
|
||
I. <20><>ư<EFBFBD>ν<EFBFBD><CEBD><EFBFBD>.
|
||
I.1. setup.sh <20>ζ<EFBFBD><CEB6><EFBFBD>Ū<EFBFBD>ʺ<EFBFBD><CABA><EFBFBD>
|
||
II. <20><><EFBFBD><EFBFBD>(uninstall)
|
||
|
||
diclookup-mule <20><>, mule <20>ξ<EFBFBD><CEBE><EFBFBD>, <20>ŻҼ<C5BB><D2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>褦<EFBFBD>ˤ<EFBFBD><CBA4>뤿<EFBFBD><EBA4BF><EFBFBD><EFBFBD>
|
||
<EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>. <20><><EFBFBD><EFBFBD>ñ<EFBFBD>Τ<EFBFBD><CEA4>ŻҼ<C5BB><D2BC><EFBFBD><F1A4ACB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΤǤϤʤ<CFA4>, <20><><EFBFBD><EFBFBD><F1A5B5A1>Ф<EFBFBD>
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBF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EA4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD>.
|
||
dserver <20><>, ja-dserver-2.2.2 <20>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD>ѥå<D1A5><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤʤäƤ<C3A4><C6A4>ޤ<EFBFBD>.
|
||
ndtp <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FreeBSD ports colleciton <20>˼<EFBFBD><CBBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4>뤳<EFBFBD>ȤǤ<C8A4><C7A4>礦.
|
||
|
||
dserver <20>ޤ<EFBFBD><DEA4><EFBFBD>, ndtp <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>줾<EFBFBD><ECA4BE><EFBFBD>Υѥå<D1A5><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>°<EFBFBD><C2B0>
|
||
ʸ<><CAB8><EFBFBD>Ȥ<F2BBB2BE><C8A4>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||
|
||
I. <20><>ư<EFBFBD>ν<EFBFBD><CEBD><EFBFBD>.
|
||
|
||
~/.emacs <20>⤷<EFBFBD><E2A4B7><EFBFBD><EFBFBD> ${PREFIX}/share/mule/19.34/site-lisp/site-start.el <20>ʤɤ<CAA4>,
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, diclookup-mule <20><>ư<EFBFBD>Τ<EFBFBD><CEA4><EFBFBD><EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>ɲä<C9B2><C3A4>ޤ<EFBFBD>.
|
||
[${PREFIX}/lib/dserver/setup-diclookup.sh] <20><><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><>ưŪ<C6B0><C5AA>
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>site-start.el <20><><EFBFBD>ɲä<C9B2><C3A4>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
||
|
||
<20><> ${PREFIX}
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ${PREFIX} <20>Ȥ<EFBFBD> ports <20><EFBFBD><F2A5B3A5>ѥ<EFBFBD><D1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>δĶ<CEB4><C4B6>ѿ<EFBFBD> PREFIX <20><>
|
||
<20><><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>. packages <20>Ǥ<EFBFBD>, [/usr/local] <20>Ȥʤ<C8A4><CAA4>ޤ<EFBFBD>. <20>嵭<EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>,
|
||
[/usr/local/lib/dserver/setup-diclookup.sh] <20><>Ŭ<EFBFBD><C5AC><EFBFBD>ɤߤ<C9A4><DFA4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||
|
||
II. site-start.el <20>κ<EFBFBD><CEBA>Խ<EFBFBD>.
|
||
|
||
setup-diclookup.sh <20><><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><>ưŪ<C6B0><C5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɲä<C9B2><C3A4>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΤǤ<CEA4><C7A4><EFBFBD>,
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>.
|
||
${PREFIX}/share/mule/19.34/site-lisp/site-start.el <20>μ<EFBFBD><CEBC>ιԤǤ<D4A4>.
|
||
|
||
--------
|
||
(setq od-dictfile-list '("od-chujiten" "od-kojien" "od-readers" "od-crown")) ; diclookup-mule
|
||
--------
|
||
|
||
<20><><EFBFBD>ιԤǤ<D4A4>, <20><><EFBFBD>Ѥ<EFBFBD><D1A4>뼭<EFBFBD><EBBCAD> CDROM <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4>Ƥ<EFBFBD><C6A4>볰<EFBFBD><EBB3B0><EFBFBD><EFBFBD>, mule <20><>ɽ<EFBFBD><C9BD>
|
||
<20><><EFBFBD><EFBFBD><EFBFBD>뤿<EFBFBD><EBA4BF><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD>Ȥ߹<C8A4><DFB9>碌<EFBFBD>Ȥ<EFBFBD><C8A4>б<EFBFBD>ɽ (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¸<EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD>)<29><><EFBFBD>ɤ߹<C9A4><DFB9><EFBFBD>
|
||
<20><><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>,
|
||
|
||
od-chujiten EBXA <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ҿ<EFBFBD><D2BF><EFBFBD><EFBFBD>¡<EFBFBD><C2A1>±<EFBFBD><C2B1>漭ŵ5<C5B5><35>3<EFBFBD><33>
|
||
od-kojien EBXA <20><> <20><><EFBFBD>Ƚ<EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
od-readers EBXA <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ҥ<D2A5><EAA1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD>ŵ
|
||
od-crown EBXA <20><> <20><><EFBFBD><EFBFBD>Ʋ<EFBFBD><C6B2><EFBFBD>饦<EFBFBD><E9A5A6>ʩ<EFBFBD>¡<EFBFBD><C2A1><EFBFBD><EFBFBD>¼<EFBFBD>ŵ
|
||
|
||
<20>Ȥ<EFBFBD><C8A4><EFBFBD>, <20>仰<EFBFBD>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD>äƤ<C3A4><C6A4><EFBFBD> 8cm CDROM <20><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD>¸<EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ߹<C9A4><DFB9><EFBFBD>
|
||
<20><><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD>.
|
||
|
||
diclookup-mule-2.3.3 <20>ˤ<EFBFBD>¾<EFBFBD>ˤ<EFBFBD>, <20><><EFBFBD>Τ褦<CEA4>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>¸<EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>뤬·<EBA4AC>ä<EFBFBD>
|
||
<20><><EFBFBD>ޤ<EFBFBD><DEA4>Τ<EFBFBD>, Ŭ<><C5AC><EFBFBD>ɲú<C9B2><C3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>.
|
||
|
||
od-chujiten64 EBXA <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ҿ<EFBFBD><D2BF><EFBFBD><EFBFBD>¡<EFBFBD><C2A1>±<EFBFBD><C2B1>漭ŵ6<C5B5><36>4<EFBFBD><34>
|
||
od-chujiten64-epw EPWING <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ҿ<EFBFBD><D2BF><EFBFBD><EFBFBD>¡<EFBFBD><C2A1>±<EFBFBD><C2B1>漭ŵ6<C5B5><36>4<EFBFBD><34>
|
||
od-oxford Oxford <20><><EFBFBD><EFBFBD><F3A5B5A5><EFBFBD><EFBFBD>ѱѼ<D1B1>ŵ, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>饹
|
||
od-italian <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>奤<EFBFBD><E5A5A4><EFBFBD>ꥢ<EFBFBD><EAA5A2>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD>ŵ
|
||
|
||
<20>ä<EFBFBD>, EPWING <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ҿ<EFBFBD><D2BF><EFBFBD><EFBFBD>¡<EFBFBD><C2A1>±<EFBFBD><C2B1>漭ŵ6<C5B5><36>4<EFBFBD><34> <20><>, <20>ѥ<EFBFBD><D1A5>ե<EFBFBD><D5A5>å<EFBFBD>
|
||
<20>ϥ<EFBFBD><CFA5>ƥå<C6A5>http://www.pht.co.jp/ <20><><EFBFBD><EFBFBD><F3A4ABA4>ФƤ<D0A4><C6A4><EFBFBD>,
|
||
FreeBSD Pro 2.2.6J <20>˥Х<CBA5><D0A5>ɥ뤵<C9A5><EBA4B5><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>ʤ<EFBFBD>,
|
||
ɸ<><C9B8>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBF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