Hi Matt,

> If the dict client accepted multiple -d flags, users could search a
> short list of dictionaries on the specified server.

That does sound desirable.

A quick look at RFC 2229 suggests that the DICT protocol does not
permit multiple database names with a single DEFINE command, requiring
that the client issue separate requests for each database.  That
shouldn't be too hard to implement since dict already permits multiple
word lookups in a single invocation, and with command pipelining this
should not introduce a delay.

"3.4.  A Note on Virtual Databases" of the RFC even suggests such
client capabilities:

   However, sometimes, a client may want to search over some but not all
   of the databases that a particular server provides.  One alternative
   is for the client to use the SHOW DB command to obtain a list of
   databases and descriptions, and then (perhaps with the help of a
   human), select a subset of these databases for an interactive search.
   Once this selection has been done once, the results can be saved, for
   example, in a client configuration file.

I will look into this further.

Kirk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to