[asterisk-bugs] [Asterisk 0016858]: asterisk command history loads as unusable garbage

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 4 08:11:37 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16858 
====================================================================== 
Reported By:                jw-asterisk
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16858
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.2 
JIRA:                       SWP-932 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-17 21:19 CST
Last Modified:              2010-03-04 08:11 CST
====================================================================== 
Summary:                    asterisk command history loads as unusable garbage
Description: 
When using asterisk interactively with command interface a history file is
created (~/.asterisk_history). Lines written to the history file are
white-space encoded (in ast_el_write_history:history:case
H_SAVE:history_save:strvis).

But when the history file is loaded it reverse (strunvis) is not
performed.  Therefore the history becomes unusable garbage.
====================================================================== 

---------------------------------------------------------------------- 
 (0118954) Marquis (reporter) - 2010-03-04 08:11
 https://issues.asterisk.org/view.php?id=16858#c118954 
---------------------------------------------------------------------- 
No, I believe that might have been someone else.  I never said that.

As for "correctly" configured, then your assertion is that the base Fedora
install from DVD media is flawed?  Then we should report a bug to them so
that it may be corrected.

On my systems there is indeed a difference between "echo" and "echo -e" as
is the case for you.  So they appear to be operating correctly in that
regard at least.

Anyway, it's not really up to me to find anything out about any systems
because mine all work fine with and without your version of the function. 
I was just hoping to determine the differences to try and help out the
Asterisk project. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-04 08:11 Marquis        Note Added: 0118954                          
======================================================================




More information about the asterisk-bugs mailing list