Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cpan error: Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work

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?

like image 376
Oren Maurer Avatar asked Oct 16 '22 07:10

Oren Maurer


1 Answers

It's trying to figure out your terminals size. You can use a 'dumb' terminal.

set TERM=dumb

will eliminate the warning.

like image 183
Bill Smith Avatar answered Oct 30 '22 14:10

Bill Smith