[BusyBox 0000404]: Miscalculation of prompt length in command-line editing

bugs at busybox.net bugs at busybox.net
Mon Sep 5 16:04:14 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=404 
====================================================================== 
Reported By:                Charles
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   404
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             08-26-2005 23:51 PDT
Last Modified:              09-05-2005 09:04 PDT
====================================================================== 
Summary:                    Miscalculation of prompt length in command-line
editing
Description: 
    The length of prompt is mis-calcluated when command-line prompt string
contains pairs of '\[' and '\]' characters. For example, setting PS1 to
'\[\033]0;\u@\h:\w\007\][\u@\h \w]\$ ' will cause problems in command-line
editing when the commands entered are long enough.

====================================================================== 

---------------------------------------------------------------------- 
 vodz - 09-05-05 09:01  
---------------------------------------------------------------------- 
I destroy this bug in revision 11335 

---------------------------------------------------------------------- 
 vodz - 09-05-05 09:04  
---------------------------------------------------------------------- 
I destroy this bug in revision 11334 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-26-05 23:51  Charles        New Issue                                    
08-26-05 23:51  Charles        Status                   new => assigned     
08-26-05 23:51  Charles        Assigned To               => BusyBox         
08-26-05 23:51  Charles        File Added: cmdedit.patch                    
08-26-05 23:56  Charles        Issue Monitored: Charles                     
09-05-05 09:01  vodz           Note Added: 0000489                          
09-05-05 09:04  vodz           Note Added: 0000490                          
======================================================================




More information about the busybox-cvs mailing list