librm.so.2.0.1 -------------- This library contains the server frontend, a state stack, some string functions and some GUI extensions. Lots of changes since 1.1.0: - dropped the multiple search interface - added state stack (could have implemented it in 20 lines of TCL-code, though ...) - the search engine was replaced by a server frontend that talks to a separate server process - split up bloated glue.c code into glue, server frontend and state stack parts When 'wish' is linked with this library (e.g. using the 'load' command), the following new Tcl-commands become available: from glue.o: ----------- rm_expand_and_show expands all visible search results rm_fill_listbox <# of lines> fills the listbox in the GUI with placeholders rm_issubset duh. rm_subset_subtract deletes letters from a word rm_trim converts to lowercase, only keeps [a-z] characters from server_frontend.o: ---------------------- rm_server_cache_sync resyncs cache for a new search rm_server_create returns server PID rm_server_destroy rm_server_expand returns anagram #index, prepends "[X+!]" and appends "(the_rest)" rm_server_filter returns # of filtered anagrams rm_server_load loads a database. cleans up old database if necessary. optionally reads from gzip pipe. shows progress in a hard-wired canvas (yuck!), returns # of words rm_server_reverse <0|1> reverses all incoming indices rm_server_search returns # of anagrams rm_server_sort <0|1> 0 = sort by length , 1 = alphabetically rm_server_status returns some statistics from state_stack.o: ------------------ rm_push_state pushes all state variables (see state_stack.c), updates tcl-variable "stack_depth" rm_pop_state rm_dump_stack