Re: [asterisk-users] Ctrl-W killing entire line, not just last word
On Fri, Dec 20, 2013 at 8:39 PM, Tzafrir Cohen wrote: > In 1.4 1.6 1.8 there was no option to build with an external libedit. > In see, thank you. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ctrl-W killing entire line, not just last word
On Thu, Dec 19, 2013 at 12:20 AM, dotnetdub wrote: > 1.4 1.6 1.8 11.6.0 > > All compiled and all running on debian 6 or 7 > Thanks. Was it built with libedit or libeditline? According to what I gather from Tzafrir the behaviour that you see is expected from libeditline, but it is a bug for libedit. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ctrl-W killing entire line, not just last word
On Mon, Dec 16, 2013 at 12:41 AM, dotnetdub wrote: > Always has cleared the entire line.. > Interesting, thanks. From where is your Asterisk? Self-compiled? Distro package? Which distro? -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ctrl-W killing entire line, not just last word
On Sun, Dec 15, 2013 at 3:58 PM, Tiago Geada wrote: > I would guess you need to recompile ? > I was under the impression that the library was dynamically linked. I am using the Ubuntu binaries for Asterisk, so if someone could confirm that their Asterisk build does in fact kill (delete) a single word on Ctrl-W, then I'll file a bug against the Ubuntu bug tracker. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ctrl-W killing entire line, not just last word
On Wed, Dec 11, 2013 at 10:20 PM, Tzafrir Cohen wrote: > You need libedit-dev, not libeditline-dev. > Thank you Tzafrir. However, even after installing libedit and libedit-dev, Ctrl-W still kills (deletes) to the beginning of the line. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Ctrl-W killing entire line, not just last word
On the Asterisk CLI, I notice that pressing Ctrl-W deletes the entire line of text, as opposed to just the last word. Is this an artifact of using editline instead of readline? I'll note that other Emacs-style keypresses work just fine on the Asterisk CLI, but Ctrl-W is a real pain. I would go so far as to call this a bug as it is certainly behaviour that differs from what the user expects. Here are my system details: *CLI> core show version Asterisk 11.5.1 built by dotancohen @ eris on a x86_64 running Linux on 2013-10-07 19:20:49 UTC *CLI> Asterisk cleanly ending (0). Executing last minute cleanups - eris():~$ uname -a Linux eris 3.8.0-34-generic #49-Ubuntu SMP Tue Nov 12 18:00:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux - eris():~$ cat /etc/issue Ubuntu 13.04 \n \l Interestingly, I don't even seem to have editline installed and thus Asterisk is likely using its own packaged editline: - eris():~$ aptitude search editline p libeditline-dev- development files for libeditline p libeditline-dev:i386 - development files for libeditline p libeditline0 - line editing library similar to readline p libeditline0:i386 - line editing library similar to readline p libghc-editline-dev- Haskell bindings to the BSD editline library (libedit p libghc-editline-dev:i386 - Haskell bindings to the BSD editline library (libedit v libghc-editline-dev-0.2.1.1-b3dee - v libghc-editline-dev-0.2.1.1-c95e1:i386 - p libghc-editline-doc- Haskell bindings to the BSD editline library (libedit Thank you! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users