redict

redict

A TUI and library to work with DICT servers.

Using

Starting

To start redict simply do :

redict {server}:{port}

Searching

To search, just type the word you want to find the definition of ! You also have two useful tools in the search bar :

Thus : word @database :strategy

Means search "word" in "database" wiht algorithm "strategy".

Navigating

We can split redict screen in 3 parts :

There are generic key bindings :

| Key | Action | |-----|--------| | Esc | Exit redict | | PageUp | Scroll up in the tab page | | PageDown | Scroll down in the tab page | | Tab | Go to next mode | | BackTab | Go to previous mode | | Up | Go up in Search bar history | | Down | Go down in Search bar history | | CTRL-u | Empty search bar | | Enter | Refreshes current mode, possibly using the currently searched term | | Left | Move search bar cursor to the left | | Right | Move search bar cursor to the right |

Moreover, you can use your keyboard to edit the search bar direclty, that is anything typed will be added to the search bar.

Modes

Each mode does a different thing and allows you to view different informations about the server.

Define

Shows the definition on the currently searched term.

You can you CTRL-h and CTRL-l to navigate definitions.

Definitions are listed in the Sources bar, at the very bottom of the screen.

Match

Shows words matching the currently searched term.

This may be useful if your search show No definition in Define mode.

Strategies

Shows the available matching strategies for this server.

Databases

Shows the available databases for this server.

TODO

Features

I would like to:

Compliance

This tool is (for now) partly RFC 2229 compliant :

For now, this tool does not read dict URLs, either, but will in the future. It also does not pipelines the requests, as this is not needed in interactive use.