Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: CPAN and readline on windows

by BrowserUk (Patriarch)
on Mar 25, 2009 at 19:52 UTC ( [id://753233]=note: print w/replies, xml ) Need Help??


in reply to Re^5: CPAN and readline on windows
in thread CPAN and readline on windows

the minimal readline support on Windows ...

You mean it does actually do something?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^7: CPAN and readline on windows
by xdg (Monsignor) on Mar 25, 2009 at 23:17 UTC

    I don't get history between cpan shell sessions, but I can hit the up-arrow to get previous lines. Crippled versus readline on *nix, but handy on occasion.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

      but I can hit the up-arrow to get previous lines.

      Hm. I wonder why that works for you and not for me.

      Could it be that you use a *nix shell clone (rather than cmd.exe), under windows that maps the arrow keys for you?


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        I wonder why that works for you and not for me.

        It works for me, too - and I'm using the cmd.exe shell.

        There was a recent report of a similar situation with the perldl shell, too. A guy using windows found that the arrow keys wouldn't work for him in the perldl shell. Like you, my first thought was that he wasn't running the cmd.exe shell .... but he was. (That's as far as we got.)

        I haven't a clue what could be causing the difference in behaviour. For me, it's the same behaviour on 2000, XP and Vista (SP1). The arrow keys work as expected.

        Cheers,
        Rob
        I think it is doskey that enables up/down history list, right arrow completion, tab filename expansion... and it appears in windows xp and later, its on by default

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-19 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found