On 11/14/14 4:57 PM, Vadim Berezniker wrote: > > If the completer had a way to tell readline (through Bash) where the > > completion should be inserted that would allow a workaround for this > issue > > without requiring any actions from the user. > > It's not only that, but the text that would have to be removed from the > buffer (the `previous' word) before inserting any possible completions, > and making sure that text isn't removed from the line inappropriately. > > > Correct. Is that feasible? It looked doable from my look through the bash & > readline code, but I don't have a lot of familiarity with intricacies of > shells/terminals. > Would there be interest in a patch that would implement such a feature?
Sure, it's feasible. I don't have any plans to do it anytime soon, though, which is why I suggested the approach leveraging what's available today. I'd be glad to look at a patch that added this functionality to the completion code. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/