Thanks for this.
I run Strawberry Perl portable, and seldom use the debugger, so only today discovered that perl -dE 1 gives me the same warning. Which surprised me, as I start Perl from a shortcut that calls my own batch file before calling portableshell.bat, and in my batch file I have set TERM=dumb.
Turns out that between versions 5.18.2 and 5.20.0 the relevant line in portableshell.bat was changed from set TERM=dumb to set TERM=. (So I hadn’t noticed that the second batch file was overriding this set command in the first batch file. Careless. :-( ) By commenting out this line I am now able to set TERM in my own batch file. Problem solved.
Just thought I’d mention this here in case it helps someone else searching for help on the same problem.
|