Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4680757 By: apostenet2
Just a precision on the last message I posted yesterday: program make file completion without any problem. That is part of the "partially working" I mentionned. I tried another thing to test call to rl_attempted_completion_function: just in one of the commands that can be launched, I put it with a constant substring of many commmands and its length, then gathered and printed results. It seems to work. At least I see custom completer called and results consistent. char **testchar; testchar = rl_attempted_completion_function("start_", 0, 5); if (testchar == NULL) printf("testchar NULL\n"); else { uc = 0; while((testchar[uc] && testchar[uc][0]) && uc < 255) { printf("uc: %i\n testchar[uc] : _%s_\n", uc, testchar[uc]); uc++; } } So I am happy to see it working but I don't undestand why it is not called on completion event whereas the pointer is correct and the return not NULL with standard entry. Could I have missed something? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=74807 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users