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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 3 18:12:57 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:                     feedback
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-03 18:12 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0118925) qwell (administrator) - 2010-03-03 18:12
 https://issues.asterisk.org/view.php?id=16858#c118925 
---------------------------------------------------------------------- 
That description is much more useful.

What terminal application are you using?  The output of `echo $TERM` would
be good too.

It seems there may be something about your system that is causing you to
see this and not others.  I have no doubt that your comment about not using
strunvis is correct, but we need to be able to reproduce this.

Is there anything you're aware of that might be considered "unusual" about
your system that could lead to reproducing this? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-03 18:12 qwell          Note Added: 0118925                          
======================================================================




More information about the asterisk-bugs mailing list