Reputation: 299
ActiveState Perl - 5.26 on Windows 10 - 64 bit.
When I am trying to launch cpan from CMD - I see the following error:
C:\Users\orenm>cpan
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES environment variables didn't work. at C:\Perl64\lib/Term/ReadLine/readline.pm line 410.
Why does it happen? What shall I do with it?
Upvotes: 8
Views: 4380
Reputation: 81
It's trying to figure out your terminals size. You can use a 'dumb' terminal.
set TERM=dumb
will eliminate the warning.
Upvotes: 8