Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Using Tab Completion on Windows in cmd.exe

by Stamm (Acolyte)
on Nov 24, 2011 at 18:47 UTC ( #939935=note: print w/ replies, xml ) Need Help??


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

I don't know how to install those libraries. It's not Perl and I can only find resources for Unix. :-(

And tab completion doesn't work with Term::ReadLine::Perl either.

It seemed a perfectly simple and reasonable luxury to have for a command-line program...


Comment on Re^4: Using Tab Completion on Windows in cmd.exe
Re^5: Using Tab Completion on Windows in cmd.exe
by Anonymous Monk on Nov 24, 2011 at 19:08 UTC

    I don't know how to install those libraries. It's not Perl and I can only find resources for Unix. :-(

    Bwaaah, boo hoo hooo, waaaah

    :D

    Here is a guide     http://ingar.satgnu.net/devenv/mingw32/base.html    

    It won't tell you where to download these two particular ones, but the same instructions can apply

    And tab completion doesn't work with Term::ReadLine::Perl either.

    I do believe history, the alternative cavac was presenting uses arrow keys (up/down)

    For me, with arrow keys, his example cycles through a history list (the program source, since i typed it in interactively, perl - )

Re^5: Using Tab Completion on Windows in cmd.exe
by cavac (Chaplain) on Nov 24, 2011 at 19:12 UTC

    It seemed a perfectly simple and reasonable luxury to have for a command-line program...

    Well, it is perfectly simple and reasonable on Linux and Unix. As for Windows, for the longest time it has been a luxury.

    First Microsoft OS to support it was IMHO Windows XP in 2003, and it's still not very good. Not comparable in the way modern shells like bash do it by actually "knowing" with files are even compatible with the command you just typed. Like doing mplayer h<TAB> might choose hello.mov over hello.c when configured correctly.

    If you really want to know why Perl modules don't support every usefull feature on every shell, take a look at Wikipedia's comparison of computer shells.

    Don't use '#ff0000':
    use Acme::AutoColor; my $redcolor = RED();
    All colors subject to change without notice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939935]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2014-09-20 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls