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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Unable to debug perl 5.8.0 program Date: Thu, 11 Sep 2003 10:54:08 -0700 Lines: 53 Message-ID: References: <91993759328 DOT 20030911094652 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, zh In-Reply-To: <91993759328.20030911094652@familiehaase.de> Gerrit P. Haase wrote: > 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. Thanks that did the trick. Also caused me to finally update to 1.5.3. That was a little scary but all's been smooth so far. Obligatory witty saying: I hit the CTRL key but I'm still not in control! -- 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/