diff options
author | Akinori Ito <aito@eie.yz.yamagata-u.ac.jp> | 2001-11-08 05:14:08 +0000 |
---|---|---|
committer | Akinori Ito <aito@eie.yz.yamagata-u.ac.jp> | 2001-11-08 05:14:08 +0000 |
commit | 68a07bf03b7624c9924065cce9ffa45497225834 (patch) | |
tree | c2adb06a909a8594445e4a3f8587c4bad46e3ecd /doc/README.dict | |
download | w3m-68a07bf03b7624c9924065cce9ffa45497225834.tar.gz w3m-68a07bf03b7624c9924065cce9ffa45497225834.zip |
Initial revision
Diffstat (limited to '')
-rw-r--r-- | doc/README.dict | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/README.dict b/doc/README.dict new file mode 100644 index 0000000..63fd4a2 --- /dev/null +++ b/doc/README.dict @@ -0,0 +1,39 @@ +Dictionary look-up hack for w3m + +1. INTRODUCTION + +If you have dictionary look-up command (like 'webster'), you can +look a word in a document using w3m. This dictionary-lookup code +was contributed by `Rubikitch' (rubikitch@ruby-lang.org). + +2. INSTALL + +To make use of dictionary look-up, you have to change compile +option by hand. After running configure, edit config.h and +change + +#undef DICT + +into + +#define DICT + +and recompile w3m. (You have to recompile dict.c and keybind.c.) + +Then prepare a command named 'w3mdict.' For example, if you want +to use 'webster' command, do the following: + +% cd /usr/local/bin +% ln -s `which webster` w3mdict + +In general, w3mdict can be any command that takes a word as an +argument and outputs something onto stdout. + +3. USAGE + +You can use the following two commands. + +ESC w Input a word and look it up using w3mdict command. + +ESC W look up the current word in the buffer. + |