From 105666beb97db7bb4e32d92abffd1709b064864b Mon Sep 17 00:00:00 2001 From: Torsten Hilbrich Date: Wed, 20 Mar 2002 21:36:00 +0100 Subject: Imported version 1.8 from tarball added search for similiar words when the searched word is not found --- doc/dictionary/HTTP-Proxy.html | 14 --- doc/dictionary/Index.html | 34 ------- doc/dictionary/Installation.html | 146 ---------------------------- doc/dictionary/Usage.html | 21 ---- doc/dictionary/User-callable-Functions.html | 16 --- doc/dictionary/Variables.html | 20 ---- doc/dictionary/index.html | 81 --------------- 7 files changed, 332 deletions(-) delete mode 100644 doc/dictionary/HTTP-Proxy.html delete mode 100644 doc/dictionary/Index.html delete mode 100644 doc/dictionary/Installation.html delete mode 100644 doc/dictionary/Usage.html delete mode 100644 doc/dictionary/User-callable-Functions.html delete mode 100644 doc/dictionary/Variables.html delete mode 100644 doc/dictionary/index.html (limited to 'doc/dictionary') diff --git a/doc/dictionary/HTTP-Proxy.html b/doc/dictionary/HTTP-Proxy.html deleted file mode 100644 index d6f0dd9..0000000 --- a/doc/dictionary/HTTP-Proxy.html +++ /dev/null @@ -1,14 +0,0 @@ -HTTP Proxy - - - -

-Node:HTTP Proxy, -Previous:Variables, -Up:Variables -



- -

HTTP Proxy

- - - diff --git a/doc/dictionary/Index.html b/doc/dictionary/Index.html deleted file mode 100644 index 8f1df45..0000000 --- a/doc/dictionary/Index.html +++ /dev/null @@ -1,34 +0,0 @@ -Index - - - -

-Node:Index, -Previous:User callable Functions, -Up:Top -



- -

Index

- - - - -

Table of Contents

- - - - diff --git a/doc/dictionary/Installation.html b/doc/dictionary/Installation.html deleted file mode 100644 index 3d1e197..0000000 --- a/doc/dictionary/Installation.html +++ /dev/null @@ -1,146 +0,0 @@ -Installation - - - - -

-Node:Installation, -Next:, -Previous:Top, -Up:Top -



- -

Installation

- -

The dictionary client is distributes as tar.gz file. You can -found the latest version at -http://www.myrkr.in-berlin.de/dictionary/dictionary-1.7.2.tar.gz. -Please download this file now before continue reading. - -

Unpacking

- -

To unpack the archive use the following command: -

gzip -dc dictionary-1.7.2.tar.gz | tar -xf -
-
- -

If you have a GNU tar installed, you can also the following -command: -

tar -xzf dictionary-1.7.2.tar.gz
-
- -

A directory named dictionary-1.7.2 will have been created by -these commands. - -

Installing the files

- -

There are several ways of installing this package. If you are a -Debian user you can create a Debian Package for installation using the -dpkg command. XEmacs users can create a XEmacs package -which can be easily installed too. Other users have to compile the -package using the supplied Makefile and manually install the -files. All these installation methods are described in the following -sections. - -

Debian

- -

If you are using a current Debian distribution (one that support the -emacsen package system) and have the dpkg-dev package installed -(for running dpkg-buildpackage) you can use the supplied -debian support: - -

make debian
-
- -

This will create a package named dictionary-1.7.2-1_all.deb or -similiar in the parent directory of dictionary-1.7.2. You can -now install this package as root, it will automatically byte-compile -itself for all installed emacs versions and provide a startup-file -which autoloads this package. In the configuration example given below -you can omit the autoload lines. - -

If you no longer want to use this package, you can remove it using: - -

dpkg -r dictionary
-
- -

XEmacs 21

- -

XEmacs starting with version 21 has support for so called xemacs -packages. These packages are also supported, you can create them -using: -

make EMACS=xemacs package
-
- -

The created package will be named dictionary-1.7-pkg.tar.gz and -stored within the current directory. If you don't want to install -this package manually, you can use the following command, provided you -have sufficient privileges (if unsure, login as super user): - -

make EMACS=xemacs package-install
-
- -

If you have more than one XEmacs versions installed make sure the -EMACS argument to make points to the correct binary. - -

Please note, dictionary is now part of the official XEmacs package -distribution. This means you can install this package using the -integrated package management. - -

Manual Installation

- -

The first step in the manual installation is the byte compilation of -the lisp file for quicker loading and execution. Using the supplied -Makefile this is quite easy, just invoke: - -

make
-
- -

in the dictionary-1.7.2 sub directory. This will use emacs as -the name of the Emacs executable. If you want to use a different -location or a different program (for example, XEmacs) for byte -compilation, use the EMACS argument to the Makefile like -in the following example for XEmacs: - -

make EMACS=xemacs
-
- -

If your custom package is not up-to-date expect some warnings about -free variables. - -

The next step is the installation of the files. At the moment there -is no support for this step, you have to copy the compiled lisp files -(named *.elc) to a directory within your load-path by -yourself. Usually the directories /usr/lib/emacs/site-lisp or -/usr/local/lib/emacs/site-lisp are suitable locations for this. -XEmacs users please use the according xemacs/site-lisp -directory. - -

The final step is to inform your Emacs of the newly installed package. -I added a dictionary-init.el file to the distribution which -contains some autoload instructions to let Emacs know of the -new functions. You can now insert the contents of this file in your -.emacs or .xemacs file or install -dictionary-init.el into the site-lisp directory and load -it using: - -

(load "dictionary-init")
-
- -

Key Bindings

- -

You probably want to define some key combinations to invoke the -dictionary-search or dictionary-match functions. - -

The following example shows the key bindings I'm using myself for this -package. These are not supplied by this package because the -C-c prefix key together with a letter suffix are reserved for -the user itself. To activate these bindings insert them into your -.emacs or .xemacs file: - -

;; key bindings for the dictionary package
-(global-set-key "\C-cs" 'dictionary-search)
-(global-set-key "\C-cm" 'dictionary-match-words)
-
- - - diff --git a/doc/dictionary/Usage.html b/doc/dictionary/Usage.html deleted file mode 100644 index 8093821..0000000 --- a/doc/dictionary/Usage.html +++ /dev/null @@ -1,21 +0,0 @@ -Usage - - - - -

-Node:Usage, -Next:, -Previous:Installation, -Up:Top -



- -

Usage

- -

The default setup of dictionary connects to dict://dict.org, so -the package should work without modification if you are connected to -the Internet. Otherwise you should configure the package first, -See Variables. - - - diff --git a/doc/dictionary/User-callable-Functions.html b/doc/dictionary/User-callable-Functions.html deleted file mode 100644 index 626e889..0000000 --- a/doc/dictionary/User-callable-Functions.html +++ /dev/null @@ -1,16 +0,0 @@ -User callable Functions - - - - -

-Node:User callable Functions, -Next:, -Previous:Variables, -Up:Top -



- -

User callable Functions

- - - diff --git a/doc/dictionary/Variables.html b/doc/dictionary/Variables.html deleted file mode 100644 index 9358af5..0000000 --- a/doc/dictionary/Variables.html +++ /dev/null @@ -1,20 +0,0 @@ -Variables - - - - -

-Node:Variables, -Next:, -Previous:Usage, -Up:Top -



- -

Variables

- - - - - diff --git a/doc/dictionary/index.html b/doc/dictionary/index.html deleted file mode 100644 index 72e7574..0000000 --- a/doc/dictionary/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - -Dictionary Client Manual - - - - - - - -This file documents Dictionary, a client software for a RFC 2229 dict server. - -

Copyright (C) 1998, 2002 Torsten Hilbrich - -

Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 or -any later version published by the Free Software Foundation; with no -Invariant Sections, with the Front-Cover texts being "A GNU Manual", -and with the Back-Cover Texts as in (a) below. A copy of the license -is included in the section entitled "GNU Free Documentation License" -in the Emacs manual. - -

(a) The FSF's Back-Cover Text is: "You have freedom to copy and -modify this GNU Manual, like GNU software. Copies published by the -Free Software Foundation raise funds for GNU development." - -

This document is part of a collection distributed under the GNU Free -Documentation License. If you want to distribute this document -separately from the collection, you can do so by adding a copy of the -license to the document, as described in section 6 of the license. - -Top - - -

-Node:Top, -Next: -



- -

Next: - -

Dictionary

- -

Dictionary is a Emacs1 package for accessing a -dictionary server providing word definitions. - -

The Request for Comments 2229 http://www.dict.org/rfc2229.txt -defines a protocol for communication between a dictionary client and a -dictionary server. The dictionary server keeps several databases -(containing dictionary definitions) and provides an interface for the -client to list the definition for a word and to search for words -matching to pattern. - -

This software implements the client side of that protocol. It allows -you to use a dictionary server (for example provided by the site -www.dict.org) from within Emacs. - -

Please note that the dictionary protocol uses the port 2628 which is -likely to be blocked by firewalls. It is possible to connect to the -dictionary server through a HTTP proxy similiar to the way HTTPS -connections on port 443 are relayed, See HTTP Proxy. - -

- -

Footnotes

-
    -
  1. -

    In the following manual Emacs is a name -for both GNU Emacs and XEmacs. If I need to differ between both Emacs -variants I will use these names instead

    - -

- - - -- cgit v1.2.3