http://www.perlmonks.org?node_id=939951


in reply to Re: Using Tab Completion on Windows in cmd.exe
in thread Using Tab Completion on Windows in cmd.exe

Well, Stamm wants to write a console Perl script that features tab completion. It seems most (all?) Perl modules tested so far seem to rely on some unix feature or other, or just don't support tab completion.

Tab completion does not necessarily means name completion. For example, an interactive Eliza program might use it as well. So if the user types

# I like tab c(tab)
tab completion might turn it into
# I like tab completion.
to which the correct response would be of course
Tell me more.

Don't use '#ff0000':
use Acme::AutoColor; my $redcolor = RED();
All colors subject to change without notice.
  • Comment on Re^2: Using Tab Completion on Windows in cmd.exe

Replies are listed 'Best First'.
Re^3: Using Tab Completion on Windows in cmd.exe
by ikegami (Patriarch) on Nov 24, 2011 at 22:18 UTC
    Ok, so not in cmd, but at his own prompt.
      Sorry for the misleading title. I used cmd.exe to say Windows vanilla shell instead of fancy stuff like powershell or cygwin.
        You're making it worse; your question doesn't have anything to do with any of those.