1 Dec 2002 19:07
Patch: history file in 'query' module
Francesco Bochicchio <bockman <at> virgilio.it>
2002-12-01 18:07:56 GMT
2002-12-01 18:07:56 GMT
Hi all, I've made a small change to the query module, to load/save the command history from/to a file. The file name is given as configuration parameter 'history_file' of the query module config file (query.conf). If this parameter is present, the query module loads the command history from the file at startup and after each 'query input' saves the new command history on the same file. It seems to work on my PC. One thing I left out is error handling (file not found, error reading/writing, etc...) ... but maybe is better is such errors are handled silently? The changes have been made against ion-devel-20021104. In case anyone is interested, the patch is attached. Ciao -- -- FB



RSS Feed