[BusyBox 0003904]: console "corruption" while editing long lines

bugs at busybox.net bugs at busybox.net
Sat Jun 28 18:49:36 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=3904 
====================================================================== 
Reported By:                nuclearcat
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   3904
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-28-2008 11:23 PDT
Last Modified:              06-28-2008 11:49 PDT
====================================================================== 
Summary:                    console "corruption" while editing long lines
Description: 
if i add in /etc/profile coloring (added in additional information example
content)

To reproduce:

1)enter "tc filter add dev ifb0 parent 1:0 protocol all flow hash keys
src,dst,proto,proto-src,proto-dst divisor 1024", press enter
2)press UP (so it will show this line again), Press HOME.
3)In my case it will show cursor on symbol o (first o in word protocol).
If i try to press right arrow button twice, it will start showing
beginning of the line(word "tc"), so "protocol" will be changed to
"prtcocol"

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

---------------------------------------------------------------------- 
 vda - 06-28-08 11:49  
---------------------------------------------------------------------- 
Telepathic powers were needed to figure out that you are talking about
shell. I assume it's ash - I was able to reproduce it.

It happens in parse_and_put_prompt() function. It has no way of knowing
that parts of PS1 string are control sequences. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-28-08 11:23  nuclearcat     New Issue                                    
06-28-08 11:23  nuclearcat     Status                   new => assigned     
06-28-08 11:23  nuclearcat     Assigned To               => BusyBox         
06-28-08 11:49  vda            Note Added: 0008664                          
======================================================================




More information about the busybox-cvs mailing list