Bug#281690: asterisk: old command in history are not usable because spaces are not preserved correctly

Tzafrir Cohen Tzafrir Cohen <tzafrir.cohen@xorcom.com>, 281690@bugs.debian.org
Thu, 03 Feb 2005 15:31:58 +0200


On Wed, Nov 17, 2004 at 10:50:32AM +0100, root wrote:

> The command history is not well retrieved, for example if my last
> command was "restar now", when I reconnect to asterisk and press the up
> key I get "restart\040now".

Actually the command histroy is probably not well saved but is
well-retrieved.

Those '\040'-s appear in it.

In addition, the history is not saved when the user exists asterisk -r
with ctrl-C , which is why I basically dodn't notice it before.

-- 
Tzafrir Cohen   icq#16849755  +972-50-7952406
tzafrir.cohen@xorcom.com    http://xorcom.com