A Draft command set for jDict, an interactive Java(tm) dictionary client by Andrew Smith, 2001 *General Commands set [[var] val] - set var val: set var to val. Variable must be on list of set'able variables. set var : return the val in var. set : return list of variables, and their values. unset var - unset var : set var to a zero-length string. Not all vars can be zero'd. raw command - raw cmd : send a raw comand to the server. send everything after the raw command. shelp - shelp : get server help. help/h/? - help : show client help. q - q : quit. implements - implements : show what the server supports, eg. mime, auth, etc. stats - stats : dispay output of SHOW SERVER & SHOW STATUS. possibly local client stats, too? [un]alias - alias a b : create a command 'a', that invokes command 'b'. unalias a : remove the 'a' alias. dbi [dbname] - dbi : list dictionaries on the server. (SHOW DB) dbi foo : get info about the 'foo' dictionary. (INFO foo) *Word Searching word - word : search for 'word', using default db's and strats. Word in this instance should not need speech marks for phrases, as it takes no arguments. For options, use the f command. f [-s strat] [-d db] word f -s regexp -d foo ^bar : finds all words starting with 'bar' in the foo dictionary, using a regexp expression. f -d foo giblet : finds the word 'giblet' in the foo dictionary. Uses whatever the user has set strategy. f "a phrase" : searches the default dictionaries, using the default strategy for "a phrase". f -d ! word : finds first word in first dictionary containing word. *Suggested Aliases *Variable Names