I have written a small patch so mapiclient remembers the query history between sessions. Maybe this could be included in CVS. regards, -- Arjan Scherpenisse Centrum voor Wiskunde en Informatica, Amsterdam, the Netherlands Index: MapiClient.mx =================================================================== RCS file: /cvsroot/monetdb/MonetDB/src/mapi/clients/C/MapiClient.mx,v retrieving revision 1.56 diff -r1.56 MapiClient.mx 854a855,857
#ifdef HAVE_LIBREADLINE char history_file[100]; #endif 1000a1004,1012 #ifdef HAVE_LIBREADLINE #ifndef NATIVE_WIN32 snprintf(history_file, 100, "%s/.mapiclient_history", getenv("HOME")); #else snprintf(history_file, 100, "C:\\_mapiclient_history"); #endif read_history(history_file); #endif
1016a1029,1033
#ifdef HAVE_LIBREADLINE write_history(history_file); #endif