SUSE Support

Here When You Need Us

perl debugger hangs when output is viewed via a pager

This document (3382989) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Desktop 10



The perl debugger hangs when the output is piped into a pager such as less and that pager is exited, e.g. when running
perl -d | less


Since control-C is ignored,often you can use  control-Z  to suspend the process and then kill it
kill %1 
Sometimes the hung debugger also ignorescontrol-Z; the process then needs to be killed from a separate login.

This isssue has been reported to Engineering and is expected to be fixed in the next Service Pack for the affected products.

Additional Information

** 2004-10-17 18:44:43.000000000 +0100
--- 2006-08-04 11:55:21.000000000 +0100
*** 277,282 ****
--- 277,286 ----
my $self = shift;
my ($prompt, $preput) = @_;
+ # make sure the outstream fd inside the readline library is
+ # in sync (see
+ $Attribs{outstream} = $Attribs{outstream};
# ornament support (now prompt only)
$prompt = ${$Attribs{term_set}}[0] . $prompt . ${$Attribs{term_set}}[1];)


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3382989
  • Creation Date: 27-Mar-2007
  • Modified Date:23-Feb-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.