On 6/17/18 1:47 AM, 林宏雄 wrote: > BTW this function is equivalent with _rl_function_of_keyseq_internal(). > And it just saves a call of strlen(keyseq) comparing to > rl_function_of_keyseq(). > Is it worth to be defined as a new public function?
It's needed for any external program that wants to find a function bound to an arbitrary key sequence that may include NULs. Read the thread starting at http://lists.gnu.org/archive/html/bug-bash/2018-03/msg00165.html for a discussion of the issue. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/ _______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
