> I think you misunderstood him. I think the command he is looking for is > > operate-and-get-next (C-o) > Accept the current line for execution and fetch the next line > relative to the current line from > the history for editing. Any argument is ignored.
If that's what he means by "enter", I think you're right. > However, this is listed in man bash, not in man readline. It is in the bash > interface to readline. If they want it right away, they can implement the > same function in their own readline interface, the function doesn't look that > complicated. It is operate_and_get_next in bashline.c > > I do think it would be a good idea to put this into readline itself. Chet, > how do you see the prospect of operate-and-get-next being directly in > readline? I was not thinking about doing it, because it manipulates state that the calling application is supposed to manage (rl_startup_hook) and requires that state to be maintained across calls to readline(). Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU [email protected] http://tiswww.tis.case.edu/~chet/ _______________________________________________ Bug-readline mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-readline
