Bug#300667: dict: Alternate suggestion
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]
Bug#300667: dict: Alternate suggestion
Package: dict Version: 1.9.15-1 Followup-For: Bug #300667 I've just found this thread, and would like to suggest an alternate solution. If the dict client accepted multiple -d flags, users could search a short list of dictionaries on the specified server. Even before the translation dictionaries were added I found myself wanting to see results from two or three of the available dictionaries but not any others. As the list of dictionaries grows, this seems like the simplest way to provide users with something in-between stopping at the first result found and showing hits from many databases. Eventually this could even be moved into the configuration file, but making it available on the command line would be a nice start. It would also let me create aliases for easily querying different translation dictionaries when I need to do that. Thanks for all your great work so far, Matt -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.27-1-k7 Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1) Versions of packages dict depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii netbase 4.20 Basic TCP/IP networking system ii recode 3.6-10 Character set conversion utility ii zlib1g 1:1.2.2-3compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]