Re: [asterisk-users] Ctrl-W killing entire line, not just last word

2013-12-22 Thread Dotan Cohen
On Fri, Dec 20, 2013 at 8:39 PM, Tzafrir Cohen tzafrir.co...@xorcom.com 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

2013-12-20 Thread Tzafrir Cohen
On Wed, Dec 18, 2013 at 10:20:12PM +, dotnetdub wrote:
 1.4 1.6 1.8 11.6.0
 
 All compiled and all running on debian 6 or 7
 

In 1.4 1.6 1.8 there was no option to build with an external libedit.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.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

2013-12-19 Thread Dotan Cohen
On Thu, Dec 19, 2013 at 12:20 AM, dotnetdub dotnet...@gmail.com 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

2013-12-19 Thread dotnetdub
 libedit

-- 
_
-- 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

2013-12-18 Thread dotnetdub
1.4 1.6 1.8 11.6.0

All compiled and all running on debian 6 or 7




On 16 December 2013 12:27, Dotan Cohen dotanco...@gmail.com wrote:
 On Mon, Dec 16, 2013 at 12:41 AM, dotnetdub dotnet...@gmail.com 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

-- 
_
-- 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

2013-12-16 Thread Dotan Cohen
On Mon, Dec 16, 2013 at 12:41 AM, dotnetdub dotnet...@gmail.com 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

2013-12-15 Thread Tiago Geada
I would guess you need to recompile ?


On 12 December 2013 20:07, Dotan Cohen dotanco...@gmail.com wrote:

 On Wed, Dec 11, 2013 at 10:20 PM, Tzafrir Cohen
 tzafrir.co...@xorcom.com 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

-- 
_
-- 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

2013-12-15 Thread Dotan Cohen
On Sun, Dec 15, 2013 at 3:58 PM, Tiago Geada tiago.ge...@gmail.com 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

2013-12-15 Thread dotnetdub
Always has cleared the entire line..

On 15 December 2013 16:25, Dotan Cohen dotanco...@gmail.com wrote:
 On Sun, Dec 15, 2013 at 3:58 PM, Tiago Geada tiago.ge...@gmail.com 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

-- 
_
-- 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

2013-12-12 Thread Dotan Cohen
On Wed, Dec 11, 2013 at 10:20 PM, Tzafrir Cohen
tzafrir.co...@xorcom.com 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

2013-12-11 Thread Dotan Cohen
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


Re: [asterisk-users] Ctrl-W killing entire line, not just last word

2013-12-11 Thread Tzafrir Cohen
On Wed, Dec 11, 2013 at 09:22:54PM +0200, Dotan Cohen wrote:

 Interestingly, I don't even seem to have editline installed and thus
 Asterisk is likely using its own packaged editline:

You need libedit-dev, not libeditline-dev.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.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