Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 13:43:07 +0100
From:      Dermot McNally <dermot@traveldev.com>
To:        current@freebsd.org
Subject:   Proposed enhancement to FTP autocompletion
Message-ID:  <3992A35B.4D213DFB@traveldev.com>

next in thread | raw e-mail | index | archive | help
Hi,

Something that has constantly annoyed me about the filename completion
in ftp (its great usefulness notwithstanding) is how the completion of
directory names works differently to in (say) bash. My preferred
behaviour is that, when a directory name is completed, a slash is
appended. This makes it easier to enter long paths.

I set out to try to change ftp's behaviour in this way. I've made it
work for the case of local files, but obviously remote files are a bit
more complicated. I haven't looked comprehensively into what's involved
for this, and there's a good chance that it would be unrealistic to
expect to make it work for all flavours of remote FTP server. Before I
tackle this, I wanted to solicit feedback - is this something people
would find useful? Assuming it's possible to do it without making things
really inefficient, I can't see any snags with adding the trailing
slash. It will Do The Right Thing in all cases I can think of (except
"get directory.tar.gz", I suppose). Also, to what extent would this
cause divergence with NetBSD, which appears to be the source of
autocompletion in the first place?

Dermot


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3992A35B.4D213DFB>