Hi, I've been thinking about completion of network servers/services for some time, so we could complete links for wget, curl and others. I've noticed that there is one really low hanging fruit out there - we can use kio slaves (and gnome-vfs and possibly others)! I wrote a really simple completion script for kio, since you can use KDE's kioclient like this:
kioclient ls ftp://someserver/path/abc/ This command simply lists contents of the remote directory. There is another really cool feature, that we get for free: > konqueror ftp://someserver/[tab] Kio now presents a password dialog if needed. After you are successfully logged in, you can proceed normally. The question is, how could the external VFS methods be integrated into fish? 1. we can use VFS from currently running desktop environment for all commands 2. we can use "native" VFS for each class of command (kio for kde apps, gnome-vfs for gnome apps, fuse for wget/curl/...), so VFS implementation differences won't cause problems 3. we can provide all VFS methods at the same time, just assign them different key bindigs (like C-k for kio, C-g for gnome-vfs, ...) 3. is the easiest to implement, but it probably isn't very nice to use. 1. is just a bit harder, but it is much nicer to use. 2. is the most proper implementation, but it requires a lot of manual work I guess... ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
