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.
| [reply] |
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.
| [reply] |
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
| [reply] |
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
| [reply] |