[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] vi-mode and python shell

From: Chet Ramey
Subject: Re: [Bug-readline] vi-mode and python shell
Date: Wed, 5 Aug 2015 11:00:06 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 8/5/15 9:59 AM, Carlos Pita wrote:
> Thank you as always, Chet. Worked as announced ;).
> I've wrapped it up inside an Arch PKGBUILD and published it in the AUR
> [1]. I had to symlink 7 libs to 6 in order to keep the system working.
> At first sight I find no issues, but do you think is too rude even for
> a development "do it at your own risk" package? Are there severe
> binary incompatibilities?

There are several incompatibilities sufficient for me to bump the major
version number.  There are a couple of new readline APIs, the significant
one in the callback interface.  The internal readline state word is now an
unsigned long, so there can be more states, and that is a binary

> Btw, the new mode-in-prompt indicators are cool, is the text configurable?

Yes, there are three new bindable string variables that control the mode
strings.  They undergo the same expansions as key binding sequences, so
you can use the standard set of control and meta characters, and you can
put \001 and \002 in the mode strings, so you can have invisible character
sequences like in the rest of the prompt.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]