PowerShell / PowerShell/Win32-OpenSSH
libedit for sftp
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
Summary of the new feature / enhancement
As mentioned multiple times since 2016, sftp binary shipped with Windows is still barely usable, tab completion is not hard to implement, and upstream openssh says clearly in their documentation:
--with-libedit Enable libedit support for sftp.
But in the 2016 issue (#261) where this issue had been first raised, one contributor didn't even know if
sftp autocomplete work in the Unix version of OpenSSH?
And a collaborator said auto-completion is "provided by terminal" and closed the issue! Can you please at least do some research if you have no clue how things work?
auto complete functionality is provided by the terminals (like cygwin) and not by the sftp.
sftp protocol doesn't deal with auto complete. please use terminals that support the auto complete (like cygwin).
Not to mention sftp's auto-completion has nothing to do with "terminal", no command line editing ever had anything to do with terminal at all! I'm shocked how he can be a collaborator of this repo with such limited knowledge about openssh and unix in general.
Proposed technical implementation details (optional)
--with-libedit
when building this project
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Windows sftp build entry point and investigate how the upstream --with-libedit option is supported. Research libedit integration and whether the existing sftp command-line behavior can provide editing and tab completion. Done means the Windows sftp binary builds with libedit and provides the requested interactive completion behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100