:: [DNG] ..a solution, was: Managing …
Top Page
Delete this message
Reply to this message
Author: Arnt Karlsen
Date:  
To: dng
Old-Topics: Re: [DNG] Managing shared libraries
Subject: [DNG] ..a solution, was: Managing shared libraries
On Sat, 7 Oct 2023 21:16:38 -1000, Joel wrote in message
<20231008071638.hhiheh7dc4oajubq@sprite>:

...
> > > Hi Boian and others, many thanks for the informative replies,
> > >
> > > I've found a solution that doesn't require an older readline.
> >
> > .._what_ "solution that doesn't require an older readline" did
> > you find?

...
>
> I didn't think it would be interesting to folks here, but
> since you ask: I was using a second library, libtermkit, to
> handle some of the key mappings and the two weren't playing
> together: I couldn't re-initialize readline after having
> unloaded libtermkey. Instead I found I can use readline to
> bind perl functions to the arrow keys. For example, to bind
> $coderef (a reference to a function) to the right arrow key.
>
> $term->add_defun($func_name, $coderef);
> $term->bind_keyseq("\\e]C",$func_name)


..thanks, and you'll never know what might interest people here. ;o)

> > > happy hacking to all! and to all a good night!


--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.