[BusyBox 0000648]: Patch for busybox shell (tab completion)

bugs at busybox.net bugs at busybox.net
Thu Jan 19 09:11:21 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=648 
====================================================================== 
Reported By:                sw
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   648
Category:                   New Features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             01-18-2006 13:51 PST
Last Modified:              01-19-2006 01:11 PST
====================================================================== 
Summary:                    Patch for busybox shell (tab completion)
Description: 
Hello,

this patch improves tab completion for the shell by making it more
compatible
with bash's behaviour. Without patch, tab completion for . and .. does
not
work as expected. The original code was introduced with SVN revision
2905.

The patch also reduces the busybox size by a few bytes  :-) 

Regards
Stefan

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

---------------------------------------------------------------------- 
 vodz - 01-19-06 01:05  
---------------------------------------------------------------------- 
> Without patch, tab completion for . and .. does not
work as expected.

Hmm. For "." my cmdedit works as bash 2.05b.0(1)-release
For ".." you may be right. 

---------------------------------------------------------------------- 
 vodz - 01-19-06 01:11  
---------------------------------------------------------------------- 
Also.
If current directory have file like "..file", my cmdedit works like bash.
For make bash-like tab completion require add code in found you the
place:
if found "../" without other "..any_matches" add '/', else do not add
'/'.
I think, best if do not change to cmdedit. Bash have bloat features for
busybox. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-18-06 13:51  sw             New Issue                                    
01-18-06 13:51  sw             Status                   new => assigned     
01-18-06 13:51  sw             Assigned To               => BusyBox         
01-19-06 01:05  vodz           Note Added: 0000948                          
01-19-06 01:11  vodz           Note Added: 0000949                          
======================================================================




More information about the busybox-cvs mailing list