bugzilla-daemon at mindrot.org
2014-Nov-06 02:02 UTC
[Bug 2307] New: tab completion of filenames with spaces
https://bugzilla.mindrot.org/show_bug.cgi?id=2307 Bug ID: 2307 Summary: tab completion of filenames with spaces Product: Portable OpenSSH Version: 6.7p1 Hardware: Other OS: OpenBSD Status: NEW Severity: minor Priority: P5 Component: sftp Assignee: unassigned-bugs at mindrot.org Reporter: anthony at cathet.us Using OpenBSD -current. sftp> mkdir foo\ bar sftp> cd foo\ ^I If there are any files in the current directory, but none that would match foo\ *, this tab completes as if the filename were empty. If there are no other files in the current directory, pressing tab has no effect. In both cases it should tab complete to "foo\ bar/". Another possibly related inconsistency: sftp> mkdir foo\ bar foo\ baz After typing "cd foo^I", the prompt prints both alternatives and completes to "cd foo\ ba". If you type "cd foo\ ^I", the prompt prints both alternatives but leaves the input string as "cd foo\ ". -- You are receiving this mail because: You are watching the assignee of the bug.
Possibly Parallel Threads
- [Bug 2238] New: sftp exits on bad tab completion
- [Bug 3547] New: sftp crash with 'invalid multibyte character' when pressing Tab to complete specific Chinese filenames
- sftp tab completion patch (First release - NOT FOR INCLUDING YET)
- Revisiting sftp tab completion patch
- [PATCH]: sftp: Avoid paths beginning with "//"