Invoke x-terminal-emulator rather than xterm in perl5db.pl

In Debian systems, xterm might not exist or might not be the preferred
terminal emulator. Use x-terminal-emulator instead

Bug-Debian: http://bugs.debian.org/668490
Forwarded: not-needed

Gbp-Pq: Topic debian
Gbp-Pq: Name perl5db-x-terminal-emulator.patch
This commit is contained in:
Dominic Hargreaves 2012-04-14 11:34:05 +01:00 committed by openKylinBot
parent 66418b2cd2
commit 70d32b50b6
1 changed files with 1 additions and 1 deletions

View File

@ -6985,7 +6985,7 @@ properly set up.
sub xterm_get_fork_TTY {
( my $name = $0 ) =~ s,^.*[/\\],,s;
open XT,
qq[3>&1 xterm -title "Daughter Perl debugger $pids $name" -e sh -c 'tty 1>&3;\
qq[3>&1 x-terminal-emulator -T "Daughter Perl debugger $pids $name" -e sh -c 'tty 1>&3;\
sleep 10000000' |];
# Get the output from 'tty' and clean it up a little.