windows – 如何让ActivePerl与cygwin的屏幕很好地配合?
发布时间:2020-12-14 02:25:48 所属栏目:Windows 来源:网络整理
导读:我想使用cygwin工具(屏幕)进行开发,并从cygwin环境调用ActiveState Perl调试器会引发以下错误. bash-3.2$perl -d test.plThe system cannot find the path specified.Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work.
我想使用cygwin工具(屏幕)进行开发,并从cygwin环境调用ActiveState Perl调试器会引发以下错误.
bash-3.2$perl -d test.pl The system cannot find the path specified. Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES environment variables didn't work. The resiz e program didn't work. at F:/Perl/lib/Term/ReadKey.pm line 362. Compilation failed in require at F:/Perl/lib/Term/ReadLine/Perl.pm line 64. at F:/Perl/lib/Term/ReadLine/Perl.pm line 64 Term::ReadLine::Perl::new('Term::ReadLine','perldb','GLOB(0x18e2e0c)','GLOB(0x1883e14)') called at F:/Perl/lib/perl5db.pl line 6073 DB::setterm called at F:/Perl/lib/perl5db.pl line 2237 DB::DB called at testReliance1.pl line 2 Attempt to reload Term/ReadLine/readline.pm aborted. Compilation failed in require at F:/Perl/lib/Term/ReadLine/Perl.pm line 64. END failed--call queue aborted at testReliance1.pl line 64. at testReliance1.pl line 64 bash-3.2$ 我找不到任何解决方法. 为调试器提供虚假终端可能有效,但不知道可行性和如何继续. 解决方法
从
“Environment” section of the Term::ReadLine documentation :
作为解决方法直到解决不兼容问题,您可以禁用Term :: ReadLine bash$PERL_RL=0 perl -d test.pl (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- 存储空间稍后添加镜像驱动器
- winapi – 调用Win32函数在Lua中返回带外星人的字
- windows – 如何在每个批处理脚本运行后清除变量
- windows – 使用ShellExecuteEx启动外部应用程序
- windows – 有什么区别b / w MMC.exe和certmgr.m
- Windows上的Java / MongoDB消息长度错误,但Linux
- windows-server-2008 – 为Windows 7部署构建uEF
- windows-server-2012-r2 – 如何使Windows服务器
- windows-7 – 如何为MSDT创建包
- windows phone 8:从代码中打开app中的facebook页
热点阅读