Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 11 Sep 2003 09:46:52 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <91993759328.20030911094652@familiehaase.de> To: Andrew DeFaria CC: cygwin AT cygwin DOT com Subject: Re: Unable to debug perl 5.8.0 program In-Reply-To: References: MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Hello Andrew, Thursday, September 4, 2003, 10:57:02 PM, you wrote: AD> Recently I started receiving the following error when trying to user AD> perl -d. It only seems to happen with some perl scripts and not other, AD> more simple perl scripts: AD> $ perl -d CheckinPreop.pl AD> Loading DB routines from perl5db.pl version 1.19 AD> Editor support available. AD> Enter h or `h h' for help, or `man perldebug' for more help. AD> main::(CheckinPreop.pl:42): my $site; AD> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The AD> COLUMNS and LINES environment variables didn't work. The resize program AD> didn't work. at AD> /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/Term/ReadKey.pm line 343. AD> Compilation failed in require at AD> /usr/lib/perl5/site_perl/5.8.0/Term/ReadLine/Perl.pm line 58. AD> Term::ReadLine::Perl::new('Term::ReadLine','perldb','GLOB(0x10164648)','GLOB(0x1014a8e8)') AD> called at /usr/lib/perl5/5.8.0/perl5db.pl line 2225 AD> DB::setterm called at /usr/lib/perl5/5.8.0/perl5db.pl line 773 AD> DB::DB called at CheckinPreop.pl line 42 AD> cqc::CODE(0x10279bdc)(//sons-clearcase/Views/official/Tools/lib/cqc.pm:101): AD> 101: Disconnect; AD> DB<1> q AD> $ echo -e "Lines: $LINES\nColumns: $COLUMNS" AD> Lines: 24 AD> Columns: 80 AD> This happens in an rxvt window as well as a Windows console window. From your cygcheck: perl 5.8.0-3 Please try to upgrade to 5.8.0-5 at first. There are good chances that the binmode bug fixed in 5.8.0-5 resolves this problem. -- Best regards, Gerrit mailto:gerrit AT familiehaase DOT de -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/