On Wed, Jun 23, 1999 at 03:48:21PM -0400, Dave Sill wrote:
> But filename completion and command recall are only the tip of the
> iceberg that was TOPS-20 command completion. At any point on the
> command line, you could hit a key and get an immediate list of
> possible values. E.g., at an empty line, you'd get a list of all

        Many in the GNU camp have pondered making getopt
        handle one specific argument itself, outputting
        the possible options in some syntax, and exitting.
        A shell might in some way detect the programs that
        support this and ask them what options they accept
        (and cache that). No one has hacked it yet; the
        biggest disadvantage would be the detection of what
        programs support this special option and what don't.

        Some shells (zsh comes to mind, maybe tcsh) support
        programmable completion, which can do all you described.
        Setting it up is a pain though..
-- 
Havoc Consulting | unix, linux, perl, mail, www, internet, security consulting
+358 50 5486010  | software development, unix administration, training

Reply via email to