__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
Dictionary look-up hack for w3m
1. INTRODUCTION
If you have a dictionary look-up command (such as 'webster'), you can
look up words in a document using w3m. This dictionary-lookup code
was contributed by `Rubikitch' (rubikitch@ruby-lang.org), and
further modified by Tushar Samant (scribble at pobox.com).
2. INSTALLATION
To make use of the dictionary look-up, you currently must change a
compile option by hand. After running configure, edit config.h
and change
#undef USE_DICT
to
#define USE_DICT
and recompile w3m (i.e. type "make install").
Note that w3m/0.3+cvs-1.373 or later, USE_DICT is defined by default.
Then find or install a CGI program which takes a word as a query
string and prints a response.
Some ways to do this would be:
* If you have the 'webster' command, put something like this
in a script called 'w3mdict':
#!/bin/sh
echo Content-type: text/plain
echo
webster $QUERY_STRING
Then install w3mdict as a local CGI (see the local CGI section
of the w3m manual), and set your dictionary options from the
options page of w3m (usually invoked with "o").
* If you want this function to look a word up on Google instead,
write a local CGI script like this:
#!/bin/sh
google_q='http://google.com/search?btnG=Google&q'
cat <<_END_
Content-type: text/plain
W3m-control: GOTO $google_q=$QUERY_STRING
W3m-control: DELETE_PREVBUF
_END_
and set its path as your dictionary-lookup URL option.
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.
To change these keys, edit ~/.w3m/keymap and edit lines for the
functions DICT_WORD and DICT_WORD_AT respectively.
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| de | Folder | 0755 |
|
|
| examples | Folder | 0755 |
|
|
| ja | Folder | 0755 |
|
|
| FAQ.html | File | 15.63 KB | 0644 |
|
| HISTORY.gz | File | 20.42 KB | 0644 |
|
| MANUAL.html | File | 37.92 KB | 0644 |
|
| NEWS.gz | File | 5.47 KB | 0644 |
|
| README | File | 3.03 KB | 0644 |
|
| README.SSL | File | 2.11 KB | 0644 |
|
| README.cookie | File | 2.7 KB | 0644 |
|
| README.dict | File | 1.75 KB | 0644 |
|
| README.func | File | 5.64 KB | 0644 |
|
| README.keymap | File | 1.28 KB | 0644 |
|
| README.m17n.gz | File | 4.79 KB | 0644 |
|
| README.menu | File | 3.26 KB | 0644 |
|
| README.mouse | File | 1.33 KB | 0644 |
|
| README.passwd | File | 760 B | 0644 |
|
| README.pre_form | File | 1.48 KB | 0644 |
|
| README.siteconf | File | 2.05 KB | 0644 |
|
| README.sixel | File | 836 B | 0644 |
|
| README.tab | File | 1.42 KB | 0644 |
|
| STORY.html | File | 9.29 KB | 0644 |
|
| changelog.Debian.gz | File | 2.18 KB | 0644 |
|
| copyright | File | 11.98 KB | 0644 |
|
| keymap.default | File | 2.55 KB | 0644 |
|
| keymap.lynx | File | 2.56 KB | 0644 |
|