Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: When cpan returns the dreaded "won't install without force"

by DrHyde (Prior)
on Mar 19, 2013 at 11:36 UTC ( #1024275=note: print w/replies, xml ) Need Help??

in reply to When cpan returns the dreaded "won't install without force"

You can scroll any reasonable terminal with shift-PgUp/shift-PgDn. Or if you run your terminal with GNU screen, C-a ESC makes it scrollable a line at a time using the arrow keys. And finally, if you want to log the output from the CPAN shell, pipe through tee.
  • Comment on Re: When cpan returns the dreaded "won't install without force"

Replies are listed 'Best First'.
Re^2: When cpan returns the dreaded "won't install without force"
by marto (Archbishop) on Mar 19, 2013 at 12:02 UTC

    GNU screen isn't available for Windows, we're told the user is using the "command prompt" so they're probably using a Microsoft Windows machine, thought obviously it would be nice had they explicity stated the OS, rather than have people read between the lines. Every terminal I know of has a scroll back limit, so being able to page/scroll up/down is may be of little consequence given that you may be looking for something outside this configurable range, while it's wise to have this configured to sensible size. For Windows, by default the "command prompt" doesn't store a very large history at all. I agree that the sensible solution is to log this to a file yourself, or use cpanp or alike, which does this automatically.

Re^2: When cpan returns the dreaded "won't install without force"
by Lady_Aleena (Curate) on Mar 24, 2013 at 05:07 UTC

    DrHyde, I know scrolling up and down the Windows command prompt window is easy, however selecting the text to copy and paste to a bug report is not easy. If I have to select pages upon pages of text to copy to a bug report, I can easily get lost (especially when the lines scroll to the right). If I have the report in a nice text file which I can open in a text editor, submitting bug reports would be so much easier. As far as I can tell, I can not wrap lines in my command prompt window.

    Have a cookie and a very nice day!
    Lady Aleena
      In that case you want tee(1). If it isn't installed as standard on your OS, it's trivial to write using File::Tee.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024275]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2018-04-20 04:13 GMT
Find Nodes?
    Voting Booth?