Re: [Rd] readline operate-and-get-next

2010-09-08 Thread Rafael Laboissiere
Dear Prof Ripley, * Rafael Laboissiere [2010-08-14 20:55]: > * Rafael Laboissiere [2010-08-12 20:24]: > > I did not hear from you but I went ahead and prepared a patch according > to your recommendations, attached below. I hope that the copyright and > licensing issues are correctly sorted ou

Re: [Rd] readline operate-and-get-next

2010-08-14 Thread Rafael Laboissiere
* Rafael Laboissiere [2010-08-12 20:24]: > * Prof Brian Ripley [2010-08-12 18:25]: > > > If you provide a patch with these extremely important issues > > resolved, we will consider its merits. But not otherwise. > > Please, tell me whether what I wrote above is okay and I will prepare a > new

Re: [Rd] readline operate-and-get-next

2010-08-12 Thread Rafael Laboissiere
* Prof Brian Ripley [2010-08-12 18:25]: > Hmm, one of those 'minimal changes' was to omit the copyright and > licence statements. I very much doubt that you have the right to post > copied code without those, and we certainly do not have the right to > use such code in the R sources. I am sorry

Re: [Rd] readline operate-and-get-next

2010-08-12 Thread Prof Brian Ripley
On Sun, 8 Aug 2010, Rafael Laboissiere wrote: Okay, I could not refrain myself and implemented the change in src/unix/sys-std.c. The patch is attached below. I tested it in the 2.11.1 source and it worked fine. At any rate, the patch applies cleanly to the SVN source. Three notes about this

Re: [Rd] readline operate-and-get-next

2010-08-08 Thread Rafael Laboissiere
Okay, I could not refrain myself and implemented the change in src/unix/sys-std.c. The patch is attached below. I tested it in the 2.11.1 source and it worked fine. At any rate, the patch applies cleanly to the SVN source. Three notes about this patch: 1. The code is taken from the bash source

[Rd] readline operate-and-get-next

2010-08-07 Thread Rafael Laboissiere
Both Bash and Octave have a nifty addition to the readline library called "operate-and-get-next", bound to "C-o". This function accepts the current line for execution and fetch the next line relative to the current line from the history for editing (see http://www.faqs.org/docs/bashman/bashref_101