[GAP Forum] Can't bind readline functions

Horn, Max, Prof. Dr. Max.Horn at uni-siegen.de
Mon Feb 10 16:13:13 GMT 2020


Hi David,

> On 10. Feb 2020, at 16:32, David Madore <david+gapforum at madore.org> wrote:
> 
> On Mon, Feb 10, 2020 at 03:43:42PM +0100, Ralf wrote:
>> 							      I guess
>> there is nothing similar in gap?
> 
> One possibility might be to use the `rlwrap` utility, which provides a
> standardized readline interface to any program having a dumb
> input/output mechanism (the cost, of course, is that you lose any
> program-specific completion).  However, to do that, we should disable
> Gap's own readline, which the manual says `-E` should do but it
> doesn't seem to work as I expect.

The `-E` option disables GAP's readline interface and then instead the legacy
input code is activated, which implements our own prompt handling (that was
the default before GNU readline was used in GAP).

Regards
Max

-- 
Prof. Dr. Max Horn
University of Siegen
Department of Mathematics
Emmy Noether Campus
Walter-Flex-Straße 3
57072 Siegen
Tel. (+49) 271 740-2868
E-Mail: max.horn at uni-siegen.de





More information about the Forum mailing list