Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^7: CPAN and readline on windows

by xdg (Monsignor)
on Mar 25, 2009 at 23:17 UTC ( #753288=note: print w/ replies, xml ) Need Help??


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

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.


Comment on Re^7: CPAN and readline on windows
Re^8: CPAN and readline on windows
by BrowserUk (Pope) on Mar 25, 2009 at 23:20 UTC
    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

        Very strange! I even created a new user account and tried it there--just in case I've applied some configuration to my cmd sessions that could be influencing the problem--but it makes no difference.

        None of the navigation keys--left/right/up/down/home/end--appear to doing anything at all.

        No matter. I now know how to disable it, and that's preferable for me. I like my control keys to serve their designated functions anyway.


        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 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
        I think it is doskey

        No. Cmd.exe native back to nt 3.5 and os/2 1/2/3/4.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-26 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (163 votes), past polls