On 2/15/06, Nicolas Bock <[EMAIL PROTECTED]> wrote: > Hello list, > > when I try to tab-complete a path following the cd command, and that > path does not exist, fish prints out a strange character instead of > complaining that the path does not exist. This looks like this for > example: > > cd Pa$<100/> > > where I hit the tab key right after the "a" of "Pa". Although a > backspace will delete $<100/> on character at a time, it seems that > fish does not consider it at all present. In the above example, when I > press backspace once > > cd Pa$<100/ > > and then press tab to complete the path I get a list of paths which > begin with "P" and the line > > cd P > > All of this is on OS X by the way, using a gnome-terminal. I just > tried this in the Terminal application and there I don't get $<100/>. > When I hit the tab key right after the "a" in "Pa", the cursor just > sits there and nothing happens. It therefore seems to be only a > problem with the gnome-terminal/OS X combination. Oh, well, maybe > after all not something to do with fish but with gnome-terminal on OS > X. But maybe this report is still helpful...
My first guess would be that this is a terminal/terminfo problem. Most terminal emulators take quite a few 'liberties' with actually implementing the terminal type they claim to emulate. When fish can't find any suitable completions, it indicates this to the user by flashing the screen. But if the terminal emulator doesn't understand the sequence that the terminfo database says should cause a screen flash, it will of course result in garbage on-screen. To verify this theory, you can execute a command like: echo foo; tput flash; echo bar if there are any garbage characters between foo and bar, I think we've found the cause. > > Thanks for a great shell, nick > Glad you like it! -- Axel ------------------------------------------------------- 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&kid3432&bid#0486&dat1642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
