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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 4 18:01:03 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 18:01 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0118986) jw-asterisk (reporter) - 2010-03-04 18:01
 https://issues.asterisk.org/view.php?id=16858#c118986 
---------------------------------------------------------------------- 
A question - why is your name, Marguis, annotated as being the "reporter"? 
My name also bears that label and both cannot be "reporter" for this bug
surely?

And to seanbright:
   - why use egrep when grep would do?
   - and why use the -r flag on a single file? You cannot recurse a file.
   - and why use the -i flag when to locate the exact string 'strvis'?
I am ignoring your request, seanbright (manager?!), because it seems so
badly constructed, displays a poor understanding of grep/egrep, and really
serves absolutely no purpose what-so-ever because I have already indicated
which version of asterisk is involved.  Do you seriously expect to discover
something different to what shows in svn or the current source.

BTW I would venture to suggest that asterisk's instability derives from
"too many hands" as evidenced in this thread, and from the lack of a single
strong developer or two who take effective/dominant ownership of the
source. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-04 18:01 jw-asterisk    Note Added: 0118986                          
======================================================================




More information about the asterisk-bugs mailing list