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

root root <root@plexia.com>, 281690@bugs.debian.org
Wed, 17 Nov 2004 10:50:32 +0100


Package: asterisk
Version: 1:1.0.2-2
Severity: normal

Hello,
when exiting from asterisk, it saves the history so that the next time I
connect to the console (for example with asterisk -r) I can use older
commands pressing the up arrow.

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".

I suppose there is some problem interpreting the space.

Alex

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages asterisk depends on:
ii  asterisk-sounds-main  1:1.0.2-2          Sound files for asterisk
ii  libasound2            1.0.6-3            ALSA library
ii  libc6                 2.3.2.ds1-18       GNU C Library: Shared libraries an
ii  libedit2              2.9.cvs.20040827-1 BSD editline and history libraries
ii  libexpat1             1.95.8-1           XML parsing C library - runtime li
ii  libgcc1               1:3.4.2-2          GCC support library
ii  libgsm1               1.0.10-13          Shared libraries for GSM speech co
ii  libncurses5           5.4-4              Shared libraries for terminal hand
ii  libopenh323-1.13.2    1.13.5.4-4         H.323 aka VoIP library
ii  libpq3                7.4.6-2            Shared library libpq.so.3 for Post
ii  libpri1               1.0.2-1            Primary Rate ISDN specification li
ii  libpt-1.6.3           1.6.6.4-5          Portable Windows Library
ii  libspeex1             1.0.rel.4-1        The Speex Speech Codec
ii  libssl0.9.7           0.9.7d-5           SSL shared libraries
ii  libtonezone1          1:1.0.0-2          tonezone library (runtime)
ii  unixodbc              2.2.4-11           ODBC tools libraries
ii  zlib1g                1:1.2.2-1          compression library - runtime

-- no debconf information