[viewglob-general] Feature request
Brought to you by:
sjbach
From: David H. <dh...@sc...> - 2005-09-09 21:11:28
|
I stumbled upon viewglob by accident, but I this is one those rear aps that perfectly extends all the modern xterms giving you the full power of the regular shell and providing just that extra bit that makes it users go : "Wow, I've been waiting for this extention for ages!!" The auto 'raise-and-relocate' of the globbing window, the onto-the-fly updating, ... But here are the 3 features I would like to have before I make this a default first program to run in all my xterms :-) 1) A new display: -------------- Instead of the vgmini and vgclassic, I would really appreciate a 'vgmatchesonly' for instance if I now do a "ls ~/msx-e*/*/C*/R*" in the shell I get this : /home/david/msx-emu/Catapult/CVS/Repository /home/david/msx-emu/Catapult/CVS/Root /home/david/msx-emu/msxtar/CVS/Repository /home/david/msx-emu/msxtar/CVS/Root /home/david/msx-emu/openMSX/Contrib/README /home/david/msx-emu/openMSX/Contrib/README.cbios /home/david/msx-emu/openMSX/Contrib/README.msxdos_bootsectors /home/david/msx-emu/openMSX/Contrib/README.openmsx-control /home/david/msx-emu/openMSX/CVS/Repository /home/david/msx-emu/openMSX/CVS/Root /home/david/msx-emu/openmsx-debugger/CVS/Repository /home/david/msx-emu/openmsx-debugger/CVS/Root The 'vgmatchesonly' display would simply show these lines instead of the current 6 dirs that I have to expand myself to look what I've selected. Since a keep most of my stuff in my home directory (yes unsorted and all, I'm lazy :-) , it would also help for things like "ls *.mp3". Since now in the +200 files I have in my homedir there are maybe 10 mp3 files, but some songs start with the letter 'a' others with a 'k','s',... and I still not see them all selected in a glance using the currently available displays. 2) Cursor place dependancy ----------------------- If I type 'ls *.mp3 *.avi' And the cursor is on the '*.mp3' part I would like to see only the matching mp3 files, having my cursor in the *.avi part would only show those files (or dirs ending in .avi, ofcourse) 3) auto '*'-affix when globbing ---------------------------- I'm a frequent user of the <TAB><TAB> feature of bash if you know wat I mean. for instance 'ls .b'+<TAB> gives me a bell signal, pressing <TAB> a second time prints this nice list .bash_history .bash_logout .bash_profile .bashrc .blackboxrc If I then type an 'a'+tab my entry line is 'ls .bash' pressing <TAB> will give a bell again, since bash can not complete without me specifying an extra letter, and so on. If the 'vgmatchesonly' display would (as an option?) automatically ad an * to the search term I wouldn't need to press <TAB> twice to get a list, since the list would appear in the display immediately after I typed the 'ls .b' In the current displays this ofcourse works as I would like it (if hidden files would all be visible :-\ ), but it doesn't fit in a pure 'vgmatchesonly' logic :-) Anyway, this is a great app, but to make it a killer-bash-extention it needs the vgmatchesonly display and the auto '*'-affix (IMHO that is ;-) Anyway, keep up the good work on this beauty. Regards, David Heremans -- openMSX - the open source MSX emulator that aims for perfection http://openmsx.sf.net/ |