Re: [on topic] Re: readline trick needed

2012-10-16 Thread Ned Deily
In article , Peter Otten <__pete...@web.de> wrote: > Ned Deily wrote: > > Keep in mind that the Python readline module may be linked to either the > > GPL-licensed GNU readline or the BSD-licensed editline (libedit) library > > (the default on newer OS X systems and probably on *BSD systems) and >

Re: [off topic], was Re: [on topic] Re: readline trick needed

2012-10-16 Thread Dwight Hutto
On Tue, Oct 16, 2012 at 10:36 AM, Peter Otten <__pete...@web.de> wrote: > Dwight Hutto wrote: > > I knew I'd eventually regret putting "on topic" into the subject... I didn't write that. If you're referring to OT, it means Off Topic, and a response would be appreciated. And you can call me David,

[off topic], was Re: [on topic] Re: readline trick needed

2012-10-16 Thread Peter Otten
Dwight Hutto wrote: I knew I'd eventually regret putting "on topic" into the subject... Well done, Dwight. -- http://mail.python.org/mailman/listinfo/python-list

Re: [on topic] Re: readline trick needed

2012-10-16 Thread Dwight Hutto
On Tue, Oct 16, 2012 at 7:27 AM, Steven D'Aprano wrote: > On Tue, 16 Oct 2012 10:30:01 +0200, Peter Otten wrote: > >> Steven D'Aprano wrote: >> >>> I'm working with the readline module, and I'm trying to set a key >>> combination to process the current command line by calling a known >>> function,

Re: [on topic] Re: readline trick needed

2012-10-16 Thread Steven D'Aprano
On Tue, 16 Oct 2012 13:20:24 +0100, Robert Kern wrote: > On 10/16/12 12:27 PM, Steven D'Aprano wrote: >> Well, I was hoping for a pure Python solution, rather than having to >> troll through who knows how many thousands of lines of code in a >> language I can barely read. > > Are you confusing I

Re: [on topic] Re: readline trick needed

2012-10-16 Thread Robert Kern
On 10/16/12 12:27 PM, Steven D'Aprano wrote: On Tue, 16 Oct 2012 10:30:01 +0200, Peter Otten wrote: Steven D'Aprano wrote: I'm working with the readline module, and I'm trying to set a key combination to process the current command line by calling a known function, *and* enter the command lin

Re: [on topic] Re: readline trick needed

2012-10-16 Thread Steven D'Aprano
On Tue, 16 Oct 2012 10:30:01 +0200, Peter Otten wrote: > Steven D'Aprano wrote: > >> I'm working with the readline module, and I'm trying to set a key >> combination to process the current command line by calling a known >> function, *and* enter the command line. >> >> Something along the lines

Re: [on topic] Re: readline trick needed

2012-10-16 Thread Peter Otten
Ned Deily wrote: > In article , Peter Otten <__pete...@web.de> > wrote: >> Steven D'Aprano wrote: >> > I'm working with the readline module, and I'm trying to set a key >> > combination to process the current command line by calling a known >> > function, *and* enter the command line. > [...] >> A

Re: [on topic] Re: readline trick needed

2012-10-16 Thread Ned Deily
In article , Peter Otten <__pete...@web.de> wrote: > Steven D'Aprano wrote: > > I'm working with the readline module, and I'm trying to set a key > > combination to process the current command line by calling a known > > function, *and* enter the command line. [...] > Anyway, here's what I came u

[on topic] Re: readline trick needed

2012-10-16 Thread Peter Otten
Steven D'Aprano wrote: > I'm working with the readline module, and I'm trying to set a key > combination to process the current command line by calling a known > function, *and* enter the command line. > > Something along the lines of: > > * execute function spam() in some context where it can a

Re: readline trick needed

2012-10-13 Thread Mark Lawrence
On 13/10/2012 23:52, Mark Lawrence wrote: On 13/10/2012 23:26, Joshua Landau wrote: On 13 October 2012 23:13, Mark Lawrence wrote: On 13/10/2012 22:31, Joshua Landau wrote: With two irritants (including 8), is it not advisable that python-list gets an admin to block these accounts? Eve

Re: readline trick needed

2012-10-13 Thread Mark Lawrence
On 13/10/2012 23:26, Joshua Landau wrote: On 13 October 2012 23:13, Mark Lawrence wrote: On 13/10/2012 22:31, Joshua Landau wrote: With two irritants (including 8), is it not advisable that python-list gets an admin to block these accounts? Even if it does nothing more than slow them, t

Re: readline trick needed

2012-10-13 Thread Chris Angelico
On Sun, Oct 14, 2012 at 9:25 AM, Joshua Landau wrote: > On 13 October 2012 22:44, Chris Angelico wrote: >> >> On Sun, Oct 14, 2012 at 8:31 AM, Joshua Landau >> wrote: >> > With two irritants (including 8), is it not advisable that >> > python-list >> > gets an admin to block these accounts?

Re: readline trick needed

2012-10-13 Thread Joshua Landau
On 13 October 2012 23:13, Mark Lawrence wrote: > On 13/10/2012 22:31, Joshua Landau wrote: > >> >> With two irritants (including 8), is it not advisable that python-list >> gets an admin to block these accounts? Even if it does nothing more than >> slow them, that's something. >> >> > Most ir

Re: readline trick needed

2012-10-13 Thread Joshua Landau
On 13 October 2012 22:44, Chris Angelico wrote: > On Sun, Oct 14, 2012 at 8:31 AM, Joshua Landau > wrote: > > With two irritants (including 8), is it not advisable that > python-list > > gets an admin to block these accounts? Even if it does nothing more than > > slow them, that's something.

Re: readline trick needed

2012-10-13 Thread Mark Lawrence
On 13/10/2012 22:31, Joshua Landau wrote: With two irritants (including 8), is it not advisable that python-list gets an admin to block these accounts? Even if it does nothing more than slow them, that's something. Most irritants are mere amateurs compared to Ilias Lazaridis. I wonder i

Re: readline trick needed

2012-10-13 Thread Chris Angelico
On Sun, Oct 14, 2012 at 8:31 AM, Joshua Landau wrote: > With two irritants (including 8), is it not advisable that python-list > gets an admin to block these accounts? Even if it does nothing more than > slow them, that's something. That's what killfiles are for. You have two options: http:/

Re: readline trick needed

2012-10-13 Thread Joshua Landau
On 13 October 2012 22:14, Roel Schroeven wrote: > Etienne Robillard schreef: > > On Sun, 14 Oct 2012 00:47:52 +1100 >> Chris Angelico wrote: >> >> Excuse me? >>> >>> I'm not overly familiar with readline, so perhaps there is a really >>> obvious way to do what Steven's trying to do, but this p

Re: readline trick needed

2012-10-13 Thread Roel Schroeven
Etienne Robillard schreef: On Sun, 14 Oct 2012 00:47:52 +1100 Chris Angelico wrote: Excuse me? I'm not overly familiar with readline, so perhaps there is a really obvious way to do what Steven's trying to do, but this post does not appear to be the result of a lack of thinking. If it really

Re: readline trick needed

2012-10-13 Thread Etienne Robillard
On Sun, 14 Oct 2012 00:47:52 +1100 Chris Angelico wrote: > Excuse me? > > I'm not overly familiar with readline, so perhaps there is a really > obvious way to do what Steven's trying to do, but this post does not > appear to be the result of a lack of thinking. > > If it really IS that obvious

Re: readline trick needed

2012-10-13 Thread Chris Angelico
On Sun, Oct 14, 2012 at 12:44 AM, Etienne Robillard wrote: > Why dont you grow yourself some usable neurons instead ? Don't you realize > now stackoverflow.com is starting > to hurt your capacity to cogitate on your own or have you not realized this > yet? Excuse me? I'm not overly familiar wi

Re: readline trick needed

2012-10-13 Thread Etienne Robillard
On 13 Oct 2012 13:30:14 GMT Steven D'Aprano wrote: > I'm working with the readline module, and I'm trying to set a key > combination to process the current command line by calling a known > function, *and* enter the command line. > > Something along the lines of: > > * execute function spam()