Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by Anonymous Monk
on Nov 24, 2011 at 18:36 UTC ( #939934=note: print w/ replies, xml ) Need Help??


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

libtermcap.a or libcurses.a is missing. Anybody know what I should be doing?

Install libetrmcap or libcurses, obviously :)

Or try Term::ReadLine::Perl


Comment on Re^3: Using Tab Completion on Windows in cmd.exe
Re^4: Using Tab Completion on Windows in cmd.exe
by Stamm (Acolyte) on Nov 24, 2011 at 18:47 UTC
    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...

      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 - )

      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://939934]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2014-12-18 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (48 votes), past polls