Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> writes:

>> Granted, the readline library exposes a "operate-and-get-next" function,
>> by default bound to \C-o, with the same behaviour as the cmd.exe one. I
>> find it very handy in the scenario you picted. So again, "feature" and
>> "bug" may be effectively subjective :-)
>
> Have you actually got that working in Python with the readline module? 
> I've tried and tried and cannot get it to work. Any hints gratefully 
> appreciated.

I was pretty sure it worked when I revamped the readline support[1],
many years ago, but effectively I'm not able to do it now, and I find
this

  https://github.com/ipython/ipython/issues/41

where Chet Ramey says it's something that bash injects into the
library... and that it should be easy to implement by the calling
application.

So I guess my memory is faulty.

ciao, lele.

[1] 
http://ftp.vim.org/languages/python/python/contrib-09-Dec-1999/System/Pyrl.README
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
l...@metapensiero.it  |                 -- Fortunato Depero, 1929.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to