Hi Eythan,
I have read that people use dillo to read documents, long documents, and perhaps whole books, or chapters... In such cases there comes a time when a use of a dictionary is a must. Is it possible to have a dpi that will allow for the running of any shell command on a highlighted portion of the screen?
It can be done.
In this example running a dictionary on a word? The output of the command would go into a new tab, or window or split of the current window, horizontally or vertically, depending on the key-binding.
I'd make the dpi have its own window and let dillo grab the word from the mouse pointer position before asking the dpi for the word. All with a keyboard shortcut; very practical! Again, it can be done. If you're a developer, look at the code for selections (to know how to get the word under the mouse pointer), then look at how bookmarks are added (to learn how to send a dpi command) and then read the dpi docs, to bind your dpi. HTH Jorge.-